#footer {
    --logo-width: 16%;
    --logo-margin-right: 8%;
}

.footerTop {
    display: flex;
    align-items: flex-start;
    background: var(--color-beige);
    padding: 0 var(--gutter-right) 0 var(--gutter-left);
    margin-top: calc(var(--gutter-v) * 8);
}
.footer {
    flex:1;
}
/**************************************************************************************************/
/********* LOGO
/**************************************************************************************************/
.footerTop .logo {
    position: relative;
    width: var(--logo-width);
    padding: 4% 4% 4% 0;
    margin-right: var(--logo-margin-right);
    display: block;
    background: #fff;
    margin-top: calc(var(--gutter-v) * -2);
}
.footerTop .logo::before {
    content: '';
    display: block;
    position: absolute;
    right: 0; top: 0;
    left: calc(var(--gutter-left) * -1);
    bottom: 0;
    background: inherit;
    box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.3);
    z-index: 1;
}
.footerTop .logo svg {
    position: relative;
    z-index: 2;
}
.footerTop .logoSubTitle {
    position: relative;
    font-size: var(--font-size-S);
    font-weight: normal;
    font-style: italic;
    margin-top: 1em;
    z-index: 2;
}
/**************************************************************************************************/
/********* MENU
/**************************************************************************************************/
.footerTop .mod-menu {
    display: flex;
    justify-content: space-between;
    margin: calc(var(--gutter-v) * 3) auto calc(var(--gutter-v) * 4);
}
.footerTop .mod-menu a {
    text-transform: none;
    font-weight: normal;
    font-size: 3vw;
}
.footerTop .mod-menu a:hover::before {
    color: rgba(0,0,0,.8);
}

/**************************************************************************************************/
/********* SECONDARY
/**************************************************************************************************/
.footerSecondary {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: calc(var(--gutter-v) * 3);
}
.footerSocials {
    margin-bottom: -5px;
}
.footerSocials .socials li svg {
    width: 32px;
}
.footerSocials .socials li a:hover svg {
    fill: currentColor;
}

/** logo talowa **/
.logoTalowaFooter svg {
	width: 80px;
}


.footerSecondary .mod-languages li a {
    padding-bottom: 5px;
}
.footerSecondary .mod-languages li:last-child::before {
    margin-bottom: 5px;
}
.footerNewsletter {
    text-align: right;
}
.footerNewsletter span:last-child {
    display:block;
}


/**************************************************************************************************/
/********* BOTTOM
/**************************************************************************************************/
.footerBottom {
    padding: 0 var(--gutter-right) 0 var(--gutter-left);
    background: var(--color-beige);
    display: flex;
    background: #000;
    color: #fff;
}
.footerBottom::before {
    content: '';
    position: relative;
    width: var(--logo-width);
    margin-right: var(--logo-margin-right);

}
.terms {
    font-size: var(--font-size-S);
    padding: var(--gutter-v) 0;
}
.copyRight {
    font-size: var(--font-size-S);
    padding: var(--gutter-v) 0;    
    margin-left: auto;
}


/**************************************************************************************************/
/********* RESPONSIVE
/**************************************************************************************************/

@media screen and (max-width: 1285px) {
    #footer {
        --logo-width: 130px;
    }
}

@media screen and (max-width: 935px) {
    #footer {
        --logo-width: 110px;
    }
    .footerTop .mod-menu {
        display: flex;
        justify-content: space-between;
        margin-bottom: calc(var(--gutter-v) * 2);
    }
    .footerSecondary {
        flex-wrap: wrap;
        align-items: flex-start;
    }
}
@media screen and (max-width: 935px) and (min-width: 761px) {
    .footerSocials {
        order: 2;
    }
    .footerSecondary .mod-languages {
        order: 1;
        width: 100%;
        margin-bottom: 1.5em;
    }
    .footerNewsletter {
        order: 3;
    }
}

@media screen and (max-width: 760px) {
    #footer {
        --logo-width: 90px;
    }
    .footerTop .mod-menu a {
        font-size: 1.5rem;
    }
    .footerNewsletter {
        width: 100%;
        text-align: left;
        margin-top: 1.5rem;
    }
}

@media screen and (max-width: 550px) {
    .footer {
        width: 100%;
    }
    .footerTop .logo {
        padding: 30px;
        margin-right: 0;
        margin-top: calc(var(--gutter-v) * -4);
        background: #fff;
        box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.3);
        width: 205px;
        text-align: center;
    }
    .footerTop .logo svg {
        margin: 0 auto;
    }
    .footerTop .logo::before {
        content: none;
    }
    .footerTop {
        flex-direction: column;
        align-items: center;
    }
    .footerTop .mod-menu {
        margin-top: calc(var(--gutter-v) * 2);
        justify-content: space-around;
        flex-wrap: wrap;
    }
    .footerTop .mod-menu a {
        padding: 0 .5em 1em .5em;
    }

    .footerSocials {
        order: 2;
        width: 100%;
        text-align: center;
        margin-bottom: 1.5em;
    }
    .footerSocials .socials {
        justify-content: center;
    }
    .logoTalowaFooter {
        order: 3;
        margin: 0 auto;
    }
    .footerSecondary .mod-languages {
        order: 1;
        width: 100%;
        text-align: center;
        margin-bottom: 1.5em;
    }
    .footerSecondary .mod-languages ul {
        justify-content: center;
    }
    .footerNewsletter {
        order: 3;
        width: 100%;
        text-align: center;
    }

    .footerBottom::before {
        content: none;
    }
}