@import url('https://fonts.googleapis.com/css?family=Oswald:500');

/* ########################################################################## */
/* #############	FOOTER	  ############################################### */
/* ########################################################################## */

.b-footer-flex{
    background-color: #353f4c;
    padding: 30px 0 56px 0;
    width: 100%;
    font-family: 'Inter', sans-serif;
    line-height: 17px;
    font-size: 12px;
}
.b-footer-flex__wrapper{
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 25px;
}
.b-footer-flex__top{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;

    width: 100%;
    padding-bottom: 38px;
    border-bottom: 1px solid #868c94;
}
.b-footer-flex__logo{
    order: 1;
    min-width: 202px;
    height: 52px;
    background: url('https://www.auslogics.com/includes/images/footer/logo.svg') left top no-repeat;
    opacity: 0.7;
    vertical-align: top;
    margin-top: 10px;
}
.b-footer-flex__desc{
    order: 2;
    padding: 0 25px;
    margin-top: 18px;
    color: #9a9fa6;
    line-height: 16px;
    vertical-align: top;
}
.b-footer-flex__social{
    order: 3;
    padding-top: 6px;
    margin-top: 10px;
    text-align: center;
    min-width: 256px;
    vertical-align: top;
}

.b-footer-flex__sociallink{
    display: inline-block;
    width: 46px;
    height: 46px;
    margin: 0 9px;
    background: center;
    border-radius: 7px;
    opacity: 0.5;
}
.b-footer-flex__sociallink:hover{
    opacity: 1;
}

.b-footer-flex__middle{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    border-bottom: 1px solid #868c94;
    color: #9a9fa6;
    text-align: left;
}
.b-footer-flex-sublist{
    display: inline-block;
    vertical-align: top;
    width: 200px;
    margin: 30px 0;
    padding: 0;
    list-style-type: none;
}
html[lang='es'] .b-footer-flex-sublist{
    width: 210px;
}
.b-footer-flex-sublist__header{
    padding-bottom:26px !important;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    line-height: 22px;
}
.b-footer-flex-sublist li{
    padding: 0 0 0 0;
}

.b-footer-flex-sublist a{
    display: inline-block;
    height: 27px;
    line-height: 27px;
}
.b-footer-flex a{
    display: inline-block;
    color: #868c94;
    text-decoration: none;
    vertical-align: top;
}
.b-footer-flex a:hover{
    color: white;
    text-decoration: none;
}

.b-footer-flex-bottom{
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-content: space-evenly;
    align-items: stretch;
    width: 100%;
    height: 50px;
    margin-top: 30px;
    color: #9a9fa6;
}
.b-footer-flex-bottom__switcher {
    width: 190px;
    min-width: 150px;
    text-align: left;
}

.b-footer-flex-bottom__link-menu{
    line-height: 25px;
    box-sizing: border-box;
}
.b-footer-flex-bottom__caption{
    line-height: 25px;
}

.b-lang-switcher {
    position: relative;
}
.b-lang-switcher__content {
    position: absolute;
    left: 0;
    bottom: calc(100% - 1px);
    border: 1px solid #54606e;
    background-color: #2a3440;
    width: 100%;
    box-sizing: border-box;
}
.b-lang-switcher__choose {
    border: 1px solid #54606e;
    background-color: #2a3440;
    position: relative;
}
#j-lang-control-bottom {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: calc(100% - 10px) center no-repeat;
}
.b-footer-flex .b-lang-switcher__link {
    font-size: 13px;
    line-height: 27px;
    padding: 5px 9px 5px 62px;
    display: inline-block;
    width:100%;
    height: 38px;
    box-sizing: border-box;
    background: 19px center / 27px 27px no-repeat;
}
.b-footer-flex .b-lang-switcher__link:hover {
    color: #868c94;
    background-color: #353f4b;
}

@media (max-width: 765px) {
    .b-footer-flex{
        font-size: 14px;
    }
    .b-footer-flex-sublist a{
        display: inline-block;
        height: 51px;
        line-height: 51px;
    }
}

@media (max-width: 784px) and (min-width: 530px) {
    .b-footer-flex__social {
        order: 2;
    }
}
@media (max-width: 784px) and (min-width: 450px) {
    .b-footer-flex__logo{
        order: 1;
    }
    .b-footer-flex__desc{
        order: 3;
    }
    .b-footer-flex__middle {
        display: flex;
        flex-flow: column wrap;
        justify-content: start;
        align-items: center;
        max-height: 650px;
    }
    .b-footer-flex-sublist_1{
        order: 1;
    }
    .b-footer-flex-sublist_2{
        order: 3;
    }
    .b-footer-flex-sublist_3{
        order: 4;
    }
    .b-footer-flex-sublist_4{
        order: 2
    }
}

@media (min-width: 450px) and (max-width: 765px) {
    .b-footer-flex__middle {
        max-height: 1200px;
    }
}
/*FOR only IE*/
@media (max-width: 784px) and (min-width: 450px) and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .b-footer-flex__middle{
        max-height: 1850px;
    }
}

@media (max-width: 784px) {
    .b-footer-flex__top{
        flex-flow: row wrap;
        justify-content: space-around;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 449px) {
    .b-footer-flex__middle {
        display: flex;
        flex-flow: column nowrap;
        justify-content: start;
        align-items: center;
    }
}

@media (max-width: 888px) and (min-width: 661px)  {
    .b-footer-flex-bottom {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: center;
        height: auto;
    }
    .b-footer-flex-bottom__switcher {
        width: 25%;
    }
    .b-footer-flex-bottom__link-menu {
        width: 75%;
        padding-left: 15px;
    }
    .b-footer-flex-bottom__caption {
        width: 100%;
    }
}

@media (max-width: 660px) {
    .b-footer-flex-bottom{
        flex-flow: column nowrap;
        justify-content: space-between;
        align-items: center;
        height: 220px;
    }
    .b-footer-flex-bottom__link-menu {
        width: 100%;
    }
    .b-footer-flex-bottom__caption {
        width: 100%;
    }
}

@media (min-width: 1000px) {
    html[lang="de"] .b-footer-flex-bottom, html[lang="ru"] .b-footer-flex-bottom {
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: center;
        height: auto;
    }

    html[lang="de"] .b-footer-flex-bottom__switcher, html[lang="ru"] .b-footer-flex-bottom__switcher {
        width: 25%;
    }

    html[lang="de"] .b-footer-flex-bottom__link-menu, html[lang="ru"] .b-footer-flex-bottom__link-menu {
        width: 75%;
        padding-left: 15px;
    }

    html[lang="de"] .b-footer-flex-bottom__caption, html[lang="ru"] .b-footer-flex-bottom__caption {
        max-width: 100%;
        width: 100%;
    }
}