/* HEADER */
/* ====== */

.back {
    width: 100%;
    float: right;
    text-align: right;
    color: white;
}

.link a {
    color: #f15a24;
}

.back-arrow {
    width: 14.30px;
    transform: rotate(180deg);
    color: #f15a24;
}

@media (max-width: 67em) {
    .cms-header-compatible {
        height: auto !important;
        position: absolute;
    }
}

.cms-header {
    height: 360px;
    border-bottom: 9px solid #000000;
    box-sizing: border-box;
    background-color: #FFFFFF;
}
.cms-header__text {
    margin-bottom: 24px;
    width: 520px;
    height: auto;
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1px;
}
.cms-header__logo {
    margin-bottom: 25px;
}
.cms-header__logo .logo-img_full {
    height: 170px;
}

@media (min-width: 67em) {
    .cms-header-hide {display:none !important;}
}

@media (max-width: 67em ) {
    .cms-header {
        height: auto;
        border-bottom: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        transition: top 0.4s, max-height 0.1s linear;
    }
    .cms-header__text-and-logo-wrapper {
        position: relative;
        padding: none;
        height: 100%;
    }
    .cms-header__text-and-logo {
        max-height: 143px;
        height: 143px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        background-color: #ffffff;
        transition: top 0.4s, max-height 0.1s linear;
        padding: 20px 20px 10px 20px;
    }
    .black-border { border-bottom: 9px solid #000000; }
    .cms-header.smaller {
        max-height: 109px;
        transition: top 0.4s, max-height 0.1s linear;
    }
    .cms-header__text-and-logo.smaller {
        max-height: 100px;
        transition: top 0.4s, max-height 0.1s linear;
    }
    .cms-header__logo {
        height: fit-content;
        margin: 0;
        align-self: flex-start;
    }
    .cms-header__logo .logo-img_full {
        height: 96px;
    }
    .cms-header__logo .logo-img_no-text {
        height: 53px;
    }

    .cms-header__text {
        display: none;
    }
}


/* NAVBAR */
/* ====== */

@media (min-width: 67em) {
    .navlink-wrapper:hover { font-weight: bold; }
    .md-bold {
        font-family: "Helvetica Neue", Helvetica, sans-serif;
        font-weight: bold;
    }
    .md-yellow { color: #F1A51D; }
}

.hidden { display: none !important; }
.toggle-menu { display: none; }

a.navlink {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
}
.navbar a span::after {
    display: block;
    content: attr(title);
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    font-weight: bold;
    content: attr(data-name);
    line-height: 1;
    height: 1px;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    z-index: 1;
    width: 100%;
    transition: top 0.4s;
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    border-bottom: 9px solid transparent;
}

.main-menu-bg { background-color: #000000; }
.sub-menu-bg { background-color: #FFFFFF; }
.expanded-menu-bg { background-color:rgba(245, 245, 245, 0.9); }

.menu-grid {
    margin: auto;
    box-sizing: border-box;
    min-height: 72px;
    padding: 20px 0 16px 0;
    display: grid;
    grid-template-columns: 180px repeat(8, max-content) 1fr;
    grid-auto-columns: max-content;
    column-gap: 2em;
    color: #FFFFFF;
}

.sub-menu .menu-grid,
.expanded-menu .menu-grid {
    grid-template-columns: 180px repeat(6, max-content);
    color: #3C3732;
}

.main-menu .border-left {
    border-left: 1px solid #FFFFFF;
    padding-left: 10px;
}
.sub-menu .border-left, .expanded-menu .border-left {
    border-left: 1px solid #3C3732;
    padding-left: 10px;
}

.main-menu .navlink-wrapper, .sub-menu .navlink-wrapper { height: 36px; }
.navlink-wrapper.parent-link { padding-bottom: 14px; }

.navlink {
    font-size: 13px;
}

.mobile-arrow-right, .mobile-arrow-left { display: none; }

@media (min-width: 67em) {
    .sub-menu > .menu-grid > div:first-child { visibility: hidden; }
}

@media (max-width: 52em) {
    .navbar_responsive {
        overflow-y: scroll;
    }
}
@media (max-width: 67em) {
    .body-override { margin-top: 143px !important; }
    .body-overlay {
        position: fixed;
        display: none;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ffffff;
        z-index: 1;
        opacity: 0.5;
    }
    .toggle-menu {
        display: block;
        width: 7vmin;
        align-self: flex-start;
        cursor: pointer;
        padding-top: 4px;
    }
    .navbar {
        width: 320px;
        max-width: 100vw;
        height: 100vh;
        top: 0;
        right: -320px;
        box-sizing: border-box;
        border-bottom: 9px solid transparent;
        transition: right 0.2s ease-in;
    }
    .navbar_responsive {
        top: 0;
        right: 0;
        transition: right 0.2s ease-in;
        overflow: hidden;
        border-bottom: none;
    }
    .main-menu-bg,
    .sub-menu-bg,
    .expanded-menu-bg {
        background-color: #ffffff;
        height: 100vh;
        z-index: 10;
    }
    .sub-menu-bg, .expanded-menu-bg {
        position: absolute;
        width: 320px;
        max-width: 100vw;
        top: 0;
        bottom: 0;
        right: -320px;
        background-color: #FFFFFF;
        z-index: 20;
        transition: right 0.2s ease-in;
    }
    .sub-menu_visible, .expanded-menu_visible {
        right: 0;
        transition: right 0.2s ease-in;
    }
    .menu-grid,
    .sub-menu .menu-grid,
    .expanded-menu .menu-grid {
        width: 100%;
        grid-template-columns: 1fr;
        column-gap: 0;
        padding: 0;
    }
    .menu-grid .navlink-wrapper:first-child {
        background: #FFFFFF;
    }
    .main-menu .navlink-wrapper,
    .sub-menu .navlink-wrapper,
    .expanded-menu .navlink-wrapper {
        height: auto;
        padding: 20px;
        border: 1px solid #3C3732;
        border-collapse:collapse;
        display: flex;
        justify-content: space-between;
        align-content: center;
        color: #3C3732;
        background: #F5F5F5;
    }
    .navlink {
        font-size: 20px;
    }
    .border-left {
        border: none;
        padding-left: 20px;
        border: 1px solid #3C3732;
        border-collapse:collapse;
    }
    .expanded-menu .border-left { padding-left: 0; }
    .mobile-arrow-right {
        display: block;
        padding-left: 20px;
        width: 20px;
        cursor: pointer;
    }
    .mobile-arrow-left {
        display: block;
        padding-right: 20px;
        width: 20px;
        cursor: pointer;
    }
    .mobile-hidden {
        display: none;
    }
}


.navbar-search.navlink-wrapper {
    grid-row: 1;
    grid-column: -1;
}
.navbar-search a > span {
    color: white;
    font-weight: normal;
}
@media (min-width: 67em) {
    .navbar-search { width: 70px; }
}
@media (max-width: 67em) {
    .navbar-search.navlink-wrapper {
        background-color: #FFFFFF;
        grid-column: 1;
        grid-row: 8;
        margin: 0;
    }
    .navbar-search > div { width: 100%; }
    .navbar-search a > span { color: #78736E; }
}



/* FOOTER */
/* ====== */

.address {
    white-space: pre-line;
}
.footer__wrapper {
    background: #000000;
    margin-top: 60px;
}
.footer {
    height: 360px;
    margin: auto;
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(3, max-content) 1fr;
    grid-template-rows: max-content auto;
    column-gap: 36px;
}
.footer__column {
    border-left: 1px solid #FFFFFF;
    padding-left: 14px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
}
.footer,
.footer__column a,
.footer__column span,
.footer-bottom > div,
.footer-bottom a {
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    font-weight: normal;
    font-size: 12px;
    line-height: 1.5;
    color: #FFFFFF;
}
.footer__column a:hover {
    color: #F0A51E;
    font-weight: bold;
    text-decoration: none;
}
.footer__column > a::after {
    display: block;
    content: attr(data-name);
    font-weight: bold;
    line-height: 1;
    height: 0;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
}

.footer__address {
    grid-column: 1 / span 3;
    grid-row: 2;
    align-self: end;
}

.footer__logo {
    grid-column: 4 / span 1;
    grid-row: 2;
    align-self: end;
    justify-self: end;
}

.footer__column.logos {
    justify-self: end;
    border: none;
}
.footer__column.logos h3 {
    font-size: 12px;
    margin-top: 0;
    font-variant: small-caps;
    text-transform: none;
}
.logo-row {
    display: flex;
}
.logo-row img {
    width: 30px;
    padding-right: 1rem;
}
.logo-row a:last-child img { padding-right: 0; }

.logo-hover { position: relative; }
.logo-hover img:last-child { display: none; }
.logo-hover:hover img:last-child {
    display: inline;
    position: absolute;
    top: 0;
    left: 0;
}

.footer-bottom-wrapper {
    background-color: #3C3732;
}
.footer-bottom > div {
    display: flex;
    height: auto;
    padding: 14px 0;
    color: #96918C;
}
.footer-bottom a {
    color: #96918C;
}
.footer-bottom #toTop {
    cursor: pointer;
}

@media (max-width: 52em) {
    .footer__address {
        align-self: start;
    }
    .footer__wrapper {
        height: auto;
    }
    .footer {
        display: flex;
        flex-direction: column;
        padding-left: 30px;
        height: 100%;
    }
    .footer__column {
        border: none;
        padding: 0;
        padding-bottom: 24px;
    }
    .footer__logo {
        justify-self: start;
        align-self: start;
    }
    .logo-row {
        justify-content: flex-start;
    }

    .footer-bottom > div {
        flex-direction: column;
        height: auto;
        padding: 14px 30px 30px 30px;
    }
    .footer-bottom > div > div {
        padding-top: 16px;
    }
    .footer-bottom .rights { text-align: justify; }

    .footer-bottom > div > div:nth-child(2) { order: 3; }
    .footer-bottom > div > div:nth-child(3) { order: 2; }

}

/* WEBFLOW FOOTER */

.webflow-footer__wrapper {
    color: #f9f8f6;
    background-color: #1f1f1f;
    font-family: 'Helvetica Neue', sans-serif;
    padding-top: 30px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.footer-content-bottom {
    grid-column-gap: 16px;
    display: flex;
}

.footer-content-bottom-left {
    width: 100%;
    max-width: 42rem;
}
.text-xxs {
    font-size: .75rem;
}

.footer-content-bottom-right {
    grid-column-gap: 16px;
    text-align: right;
    flex: 1;
    justify-content: flex-end;
    display: flex;
}

.webflow-footer p {
    font-weight: 300;
    line-height: 145%;
}

.link-white {
    transition: color .2s;
}

.webflow-footer a {
    background-color: rgba(0, 0, 0, 0);
    color: #f9f8f6;
}

.webflow-footer .link-white:hover {
    color: #f0b91e;
}

.webflow-footer a:active, a:hover {
    outline: 0;
    text-decoration: none;
}

.horizontal-rule {
    margin-bottom: 20px;
    height: 1px;
    background-color: #454545;
}

.margin-bottom-xl {
    margin-bottom: 64px;
}

@media screen and (max-width: 767px),
       screen and (max-height: 929px) {
    .footer-content-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .webflow-footer__wrapper {
        position: relative;
    }
}

/* WEBFLOW HEADER */

.WH {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100%;
    background-color: black;

    & a {
        color: white;
        text-decoration: none;
    }
    & a:hover {
        color: #f0b91e;
    }

    & .container {
        flex: 0 1 1120px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0px 20px;
        color: white;
    }

    & .logo-with-links {
        display: flex;
        align-items: center;
        gap: 50px;
    }

    & .links {
        display: flex;
        gap: 20px;
        & a {
            font-size: 16px;
            font-weight: 600;
        }
    }

    & .logout {
        & > div:nth-child(2) {
            text-align: right;

            & > a {
                color: #96918C;
                font-weight: 600;
            }
            & > a:hover {
                color: #f0b91e;
            }
        }
    }
    & .login {
        a {
            font-weight: 600;
        }
    }
}
