#main-footer {
    padding-top: 40px; /* was 240px */
    z-index: 999999;
    /* min-height: 100vh; */
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
}

footer {

    position: relative;
    overflow-x: hidden;
    z-index: 10000;
}

footer.move-top {
    -webkit-transition: 1s all;
    -moz-transition: 1s all;
    -o-transition: 1s all;
    transition: 1s all;

}


#main-footer #language-container {
    margin-top: 0;
    border-top: none;
    border-bottom: 1px solid rgba(207, 195, 186, .15);
}

#main-footer #main-menu-container {
    border-top: 1px solid rgba(207, 195, 186, .15);
    border-bottom: 1px solid rgba(207, 195, 186, .15);
    /*margin-top: -1px;*/
}

#main-footer.grey-footer #main-menu-container {
    border-top: 1px solid rgba(48, 42, 39, .15);
    border-bottom: 1px solid rgba(48, 42, 39, .15);
}

#main-footer.grey-footer #language-container {
    border-bottom: 1px solid rgba(48, 42, 39, .15);
}

.grey-footer .wpml-ls-statics-footer a, .grey-footer  .wpml-ls-statics-footer a:hover {
    color: #141414;
}
.grey-footer .wpml-ls-statics-footer .wpml-ls-current-language>a, .grey-footer .wpml-ls-statics-footer .wpml-ls-current-language>a:hover {
    color: #7f7f7f;
}

#main-footer #language-switcher,
#whats-switcher,
#email-switcher {
    border-right: 1px solid rgba(207, 195, 186, .15);
}

#main-footer.grey-footer #language-switcher,
#main-footer.grey-footer #whats-switcher,
#main-footer.grey-footer #email-switcher {
    border-right: 1px solid rgba(48, 42, 39, .15);
}

#main-footer.grey-footer #main-menu li a {
    color: #302A27;
}

#main-footer.grey-footer #selected-language,
#main-footer.grey-footer .selected-language,
#main-footer.grey-footer #language-row p.active,
#main-footer.grey-footer #language-row a.active,
#main-footer.grey-footer #main-menu li a::after {
    color: #302A27;
}

#main-footer.grey-footer #main-menu li a::after {
    background-color: #302A27;
}

#main-footer.grey-footer #buttons-menu li a {
    border: 1px solid rgba(207, 195, 186, 1);
    color: #302A27;
}

#main-footer.grey-footer #buttons-menu li a:hover,
#main-footer.grey-footer #buttons-menu li a:focus {
    color: #FFF;
}

#main-footer.grey-footer #buttons-menu li:nth-of-type(2) a {
    border: 1px solid #FFF;
}

.brown-footer {
    background: #675950;
}

.grey-footer {
    background-color: #E2E3E3;
}

.grey-footer #footer-container h5,
.grey-footer .footer-widget-center .textwidget p,
.grey-footer .footer-widget-left .textwidget p {
    color: #302A27;
}

#language-fixed {
    width: 100%;
}

#language-fixed.fixed {
    position: fixed;
}

#main-footer {
    /*height: 1000px;*/

}

#footer-container {
    margin-top: auto;
    position: relative;
    overflow-y: hidden;
}


/*.footer-menu-wrapper.relative {*/
/*    margin-top: 40px;*/
/*}*/

.footer-menu-wrapper.start {
    top: -500px !important;
}

.footer-menu-wrapper.absolute {
    left: 0;
    width: 100%;
    /*position: relative;*/
    position: absolute;
    top: -500px;
    z-index: 99;
    /*background-color: #675950;*/
    /*transform: translateY(-200px);*/
}

.footer-menu-wrapper {
    position: absolute;
    top: -500px;
    width: 100%;
    flex-basis: 100%;
}


.footer-menu-wrapper.fixed:before {
    content: " ";
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-color: #675950;
}


#footer-container {
    padding-top: 151px;
}

#footer-container .row {
    align-items: stretch;
    padding-bottom: 90px;
}

/*#footer-container .row.visible {*/
/*    transform: translateY(0);*/
/*}*/
#footer-content-wrapper {
    /*position: absolute !important;*/
    margin-top: auto;
}

#footer-container h5 {
    font-family: 'Trim Poster Expanded';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(207, 195, 186, .15);
    /* White */
    color: #FFFFFF;
    display: block;
    width: 100%;
    margin-bottom: 16px;

}

.grey-footer #footer-container h5 {
    border-bottom: 1px solid rgba(48, 42, 39, .2);
}

.footer-widget-left {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;

}

.footer-widget-left h5:nth-of-type(2) {
    margin-top: auto;
}

.footer-widget-left .textwidget p {
    font-weight: 300;
    font-size: 18px;
    line-height: 26px;
    display: flex;
    align-items: flex-end;
    letter-spacing: 0.005em;
    /* Latte */
    color: #CFC3BA;
    opacity: 0.7;
}

.footer-widget-center .textwidget p {
    font-style: normal;
    /*font-weight: normal;*/
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.2px;
    /* Latte */
    color: #CFC3BA;
    opacity: 0.7;
}

.footer-widget-center #gallery-1 {
    padding-top: 35px;
}

.footer-widget-center #gallery-1 {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.footer-widget-center #gallery-1 .gallery-item {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-right: 10px;
}

.footer-widget-center #gallery-1 .gallery-item:nth-of-type(2) img {
    opacity: .75;
}

.footer-widget-center #gallery-1 img {
    border: none;
    /*max-width: 110px;*/
}

/*.grey-footer .footer-widget-center #gallery-1 img {*/
/*    -webkit-filter: grayscale(1) invert(1);*/
/*    filter: grayscale(1) invert(1);*/
/*}*/

#menu-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    margin: 0;
}

#menu-social li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-right: 14px;
}

#menu-social li a {
    font-size: 22px;
    color: #CFC3BA;
    opacity: .5;

}

.grey-footer #menu-social li a {
    color: #302A27;
    opacity: .3;
}

.grey-footer #menu-social li a:hover,
.grey-footer #menu-social li a:focus {
    opacity: 1;
}

#menu-social li a:hover,
#menu-social li a:focus {
    opacity: 1;
}

#menu-footer-menu {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    counter-reset: my-awesome-counter;
}

.footer-widget-right h5 {
    margin-bottom: 0 !important;
}

#menu-footer-menu li {
    display: flex;
    flex-wrap: wrap;
    padding-left: 32px;
    border-bottom: 1px solid rgba(207, 195, 186, .15);

    position: relative;
    flex-basis: 100%;
    width: 100%;

}

#menu-footer-menu li a {
    counter-increment: my-awesome-counter;
}

#menu-footer-menu li a::before {
    content: "0" counter(my-awesome-counter);
    font-family: 'Trim Mono Web';
    font-style: normal;
    font-weight: 600;
    font-size: 10px;
    line-height: 12px;
    color: #CFC3BA;
    opacity: 0.7;
    display: block;
    position: absolute;
    top: 22px;
    left: -32px;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}


#menu-footer-menu li a::after {
    /*font-family: "Font Awesome 5 Free";*/
    /*font-weight: 900;*/
    /*content: "\f061";*/
    background-image: url("/wp-content/uploads/2021/07/external-white-1.svg");
    content: "";
    background-repeat: no-repeat;
    position: absolute;
    top: 24px;
    right: 0;
    display: block;
    height: 12px;
    width: 12px;
    font-size: 8px;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
    background-size: 9px;
    opacity: .6;
    /*transform: rotate(-45deg);*/
}

#menu-footer-menu li a:hover:before,
#menu-footer-menu li a:focus:before,
#menu-footer-menu li a:hover:after,
#menu-footer-menu li a:focus:after,
#menu-footer-menu li a:hover,
#menu-footer-menu li a:focus {
    opacity: 1;
    color: #FFF;
}

#menu-footer-menu li a {

    width: 100%;
    text-align: left;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.3px;
    color: #CFC3BA;
    opacity: 0.7;
    position: relative;
    padding: 16px 0 19px 0;
}

.grey-footer #menu-footer-menu li {
    border-bottom: 1px solid rgba(48, 42, 39, .2);
}

.grey-footer #menu-footer-menu li a {
    color: #302A27;
    opacity: .3;
}

.grey-footer #menu-footer-menu li a:hover,
.grey-footer #menu-footer-menu li a:focus {
    color: #302A27;
    opacity: 1;
}

.grey-footer #menu-footer-menu li a::before {
    color: #302A27;
    opacity: 1;
}

.grey-footer #menu-footer-menu li a:after {
    background-image: url("/wp-content/uploads/2021/07/→1-svg.png");
}

#menu-footer-menu li a:hover,
#menu-footer-menu li a:focus {
    color: #FFF;
    font-weight: 500;
    text-decoration-line: none;
}

#footer-copy {
    border-top: 1px solid rgba(207, 195, 186, .15);
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 0;
    padding-right: 0;
}

.grey-footer #footer-copy {
    border-top: 1px solid rgba(48, 42, 39, .2);
}

.footer-bottom-left {
    flex-basis: auto;
    width: inherit;
    margin-left: 0;
}

.footer-bottom-center {
    flex-basis: auto;
    width: inherit;

    margin-left: auto;
    margin-right: auto;
}

.footer-bottom-right {
    flex-basis: auto;
    width: inherit;
    margin-right: 0;
}

.footer-bottom-left p {
    font-size: 12px;
    line-height: 22px;
    color: #FFF;
    font-weight: 400;
    letter-spacing: .3px;
}

.grey-footer .footer-bottom-left p,
.grey-footer .footer-bottom-center p {
    color: #302A27;
}

.footer-bottom-center p {
    text-align: center;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;

    color: #CFC3BA;

}

.footer-bottom-center p span {
    opacity: .5;
}

.grey-footer .footer-bottom-center p {
    text-align: center;
    /*opacity: .5;*/
    color: #302A27;
}

.footer-bottom-center p a {
    opacity: 1;
    color: #CFC3BA;
    text-transform: uppercase;
    text-decoration-line: none;
    position: relative;
}

.footer-bottom-center p a:after {
    content: "";
    display: block;
    position: absolute;
    bottom: -1px;
    width: 0;
    height: 1px;
    left: 0;
    background-color: #CFC3BA;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;

}

.grey-footer .footer-bottom-center p a:after {
    content: "";
    display: block;
    position: absolute;
    bottom: -1px;
    width: 0;
    height: 1px;
    left: 0;
    background-color: #302A27;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;

}

.footer-bottom-center p a:hover:after,
.footer-bottom-center p a:focus:after {
    width: calc(100% - 7px);
}

.grey-footer .footer-bottom-center p a {
    color: #302A27;
}

#menu-privacy, #menu-privacy-menu {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
}

#menu-privacy li:first-of-type, #menu-privacy-menu li:first-of-type {
    margin-left: 0;
}

#menu-privacy li, #menu-privacy-menu li {
    margin-left: 20px;
    line-height: 22px;
}

#menu-privacy li a, #menu-privacy-menu li a {
    font-size: 12px;
    line-height: 22px;
    /* identical to box height, or 183% */
    text-align: right;
    letter-spacing: 0.5px;
    text-decoration-line: underline;
    font-weight: 400;
    /* White */
    color: #FFFFFF;
}

.brown-footer #menu-privacy li a:hover, 
.brown-footer #menu-privacy li a:focus, .brown-footer #menu-privacy-menu li a:hover, 
.brown-footer #menu-privacy-menu li a:focus {
    color: #CFC3BA;
    opacity: 0.7;
}

.grey-footer #menu-privacy li a, .grey-footer #menu-privacy-menu li a {
    color: #302A27;
}

.grey-footer #menu-privacy li a:hover,
.grey-footer #menu-privacy li a:focus, .grey-footer #menu-privacy-menu li a:hover,
.grey-footer #menu-privacy-menu li a:focus {
    color: #302A27;
    opacity: .3;
}

#footer-mobile-menu {
    display: none;
}

#footer-menu-wrapper {
    z-index: 2;
}

@media (max-width: 991.8px) {
    .footer-bottom-left,
    .footer-bottom-center,
    .footer-bottom-right {
        width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    #footer-container .footer-widget-left:first-of-type {
        margin-top: 40px;
    }

    #footer-mobile-menu .container {
        padding: 0;
    }

    footer #language-row {
        border-top: 1px solid rgba(207, 195, 186, .15);
    }

    footer.grey-footer #language-row {
        border-top: 1px solid rgba(48, 42, 39, .15);
    }

    footer #language-row div.col-md-3 {
        padding-left: 0;
    }

    #language-row .header-link-wrapper div.icon {
        margin-left: 0;
    }

    .language-switcher .header-link-wrapper {
        width: 210px;
        flex-basis: 210px;
    }

    #language-container-bottom .col-md-3 {
        border-bottom: 1px solid rgba(48, 42, 39, .2);
        border-left: 1px solid rgba(48, 42, 39, .2);
        border-right: 1px solid rgba(48, 42, 39, .2);;
    }

    #language-container-bottom .col-md-3:last-of-type {
        border-bottom: none;
    }

    #main-footer #language-row .col-md-3 {
        border-bottom: 1px solid rgba(207, 195, 186, .15);
        border-left: none;
        border-right: none;
    }

    #main-footer.grey-footer #language-row .col-md-3 {
        border-bottom: 1px solid rgba(48, 42, 39, .15);
        border-left: none;
        border-right: none;
    }

    #main-footer #language-row .col-md-3:last-of-type {
        border-bottom: none;
    }

    #language-bottom-wrapper .language-switcher .language-wrapper {
        order: 2;
        margin-left: auto;
        margin-right: 18px;
    }

    #footer-menu-wrapper .language-switcher .language-wrapper {
        order: 2;
        margin-left: auto;
        margin-right: 0;
    }

    .footer-widget-left .textwidget p {
        font-size: 14px;
    }

    #footer-container h5 {
        font-size: 15px;
        margin-top: 78px;
    }

    #footer-container .row {
        padding-bottom: 0;
    }

    #footer-copy {
        border-top: none;
    }

    .footer-bottom-left p, .footer-bottom-center p {
        text-align: center;
    }

    #menu-privacy, #menu-privacy-menu {
        justify-content: center;
    }

    #footer-copy .col-lg-4 {
        margin-bottom: 14px;
    }

    #menu-privacy li,  #menu-privacy-menu li,  {
        margin: 0 10px;
    }

    .footer-bottom-center {
        order: 3;
    }

    .footer-widget-center .textwidget p {
        font-size: 14px;
    }

    .grey-footer #footer-copy {
        border-top: none;
    }

    #footer-mobile-menu {
        display: block;
    }

    .footer-menu-wrapper.start {
        margin-top: 0;
        top: -87px !important;
    }

    #footer-mobile-menu #main-menu li {
        text-align: left;
    }

    #footer-mobile-menu #buttons-menu {
        justify-content: flex-start;
        padding-left: 0;
    }

    #footer-container {
        padding-top: 420px;
    }

}

@media (max-width: 575.8px) {
    #footer-menu-wrapper {
        padding: 0 25px;
        z-index: 2;
    }

    #main-footer #language-container {
        padding: 0 15px;
    }


}