/*
███████  ██████   ██████  ████████ ███████ ██████
██      ██    ██ ██    ██    ██    ██      ██   ██
█████   ██    ██ ██    ██    ██    █████   ██████
██      ██    ██ ██    ██    ██    ██      ██   ██
██       ██████   ██████     ██    ███████ ██   ██
*/

#footer {
    margin: 0 auto;
    max-width: 1400px;
    display: block;
}

#footer_inner {
    color: #fff;
    margin: 45px;
    margin-bottom: 0;
    padding: 34px;
    background-color: #054884;
    overflow: hidden;
}

#footer_inner a {
    color: #fff;
}

#footer_inner>div:first-child {
    text-align: right;
    padding-right: 40px;
}

#footer_inner>div:nth-child(2) {
    border-left: 1px solid #fff;
    height: 190px;
}

#footer_inner>div:not(:first-child) {
    font-family: "DaxPro-Wide";
	font-weight: 500;
    margin-top: 15px;
}

#logo_vivi_footer h1 {
    margin: 0;
}

#logo_vivi_footer h1 img {
    width: 100%;
    height: auto;
}

#footer_contact {
    margin: 20px 0;
}

#footer_contact p,
#footer_contact_links p {
    margin-bottom: 5px;
}

#main_nav_footer ul {
    padding-left: 45%;
    list-style: none;
}

#secondary_nav_footer ul {
    list-style: none;
}

#main_nav_footer li,
#secondary_nav_footer li {
    padding: 4px 0;
}

#main_nav_footer ul a,
#secondary_nav_footer ul a {
    color: #fff;
    font-family: "DaxPro-Wide";
	font-weight: 500;
    padding: 4px 0;
}

#footer_some_links {
    padding-left: 30px;
}

#footer_some_links a {
    margin: 4px;
    display: inline-block;
}

#haku_form_footer {
	display: flex;
	height: 35px;
	justify-content: flex-end;
	margin-right: 10px;
}

#footer_inner .lang-links {
    display: flex;
    font-family: "DaxPro-Wide";
	font-weight: 500;
    height: 22px;
	justify-content: flex-end;
    margin: 0;
	margin-bottom: 15px;
    margin-right: 10px;
}

#footer_inner .lang-links ul {
    padding-left: 0;
}

#footer_inner .lang-links ul li {
    display: inline-block;
    height: 22px;
}

#footer_inner .lang-links ul li.last:before {
    border-left: solid 1px #fff;
    content: " ";
    display: inline-block;
    height: 13px;
    margin-left: 17px;
    padding-right: 17px;
    position: relative;
    top: 2px;
}

#footer_inner .lang-links ul li a {
    color: #fff;
}

#footer_search {
    display: flex;
    justify-content: space-between;
}

#haku_form_footer .search_submit {
    height: 22px;
    display: inline-flex;
    color: #fff;
	margin-left: 0;
}

#haku_form_footer .search-icon {
    margin-left: 11px;
    display: inline-flex;
    background: url("/images/2017/search-icon.png") no-repeat;
    background-size: 22px;
    height: 22px;
    width: 22px;
}
#haku_form_footer .collapse.in,
#haku_form_footer .collapsing {
    display: inline-flex;
    -webkit-transition: none;
    transition: none;
	width: 70%;
}
#haku_form_footer .search_input {
	width: 100%;
	color: #333;
}

.footer_leimat {
    margin-top: 20px;
}

.footer_leimat img {
    width: 160px;
    margin: 10px;
    float: right;
}

@media (max-width: 768px) {
    #footer_inner {
        margin: 0;
        margin-top: 30px;
        padding: 16px;
        border-top: 4px solid rgb(0, 157, 222);
        text-align: left;
    }
    #logo_vivi_footer h1 img {
        width: 222px;
        /*height: 27px;*/
    }
    #footer_inner>div: {
        text-align: left;
    }
    #footer_inner>div:first-child {
        text-align: left;
        padding-right: 15px;
    }
    #footer_inner>div:nth-child(2) {
        border-left: none;
        height: auto;
    }
    #footer_inner>div:last-child {
        display: block;
    }
    #footer_contact {
        font-family: "DaxPro-Wide";
		font-weight: 500;
        font-size: 14px;
        margin-bottom: 40px;
        padding-right: 15px;
    }
    #footer_contact_links {
        padding-top: 33px;
        border-top: 1px solid #fff;
        padding-bottom: 2px;
    }
    #footer_contact_links p {
        padding: 11px 0;
        margin: 0;
    }
    #footer_contact_links a {
        color: #fff;
        font-family: "DaxPro-Wide";
		font-weight: 500;
    }
    #main_nav_footer ul {
        padding-left: 0;
    }
    #main_nav_footer li,
    #secondary_nav_footer li {
        text-transform: uppercase;
        padding: 15px 0;
        display: block;
    }
    #main_nav_footer a,
    #secondary_nav_footer a {
        text-transform: uppercase;
        padding: 15px 0;
        display: block;
    }
    #secondary_nav_footer ul {
        padding: 0;
        margin: 0;
    }
    #footer_some_links {
        padding: 13px 0;
        padding-left: 0;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
        margin-top: 17px;
    }
    #footer_some_links a {
        padding: 0 15px;
        margin: 0
    }
    #footer_some_links a:first-child {
        padding-left: 0;
    }
    #footer_some_links a:last-child {
        padding-right: 0;
    }
    #main_nav_footer,
    #main_nav_footer ul {
        margin-bottom: 0;
    }
    #main_nav_footer li:last-child {
        padding-bottom: 0;
    }
    #secondary_nav_footer {
        margin-top: 0;
    }
    #footer .lang-links {
        width: 100%;
        height: auto;
        margin: 0 0 15px;
        padding: 15px 0;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
    }
    #footer .lang-links ul {
        margin-bottom: 0;
    }
    #footer .evasteet {
        font-family: "DaxPro-Wide";
		font-weight: 400;
    }
    .footer_leimat {
        margin-top: 20px;
    }
    .footer_leimat img {
        width: 120px;
    }
}
