/* HEADER */

header {
    background-color: #fff;
    transition: all .5s cubic-bezier(.4, 0, .25, 1);
}

.header__strip {
    display: block;
    background-color: #1d3561;
    width: 100%;
    height: 10px;
}

.header__content {
    padding: 0 24px;
    box-sizing: border-box;
}

.header__content__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 125px;
    max-width: 1240px;
    margin: auto;
    box-sizing: border-box;
}

.header__content__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 867px;
    margin: auto;
    box-sizing: border-box;
}

.header__content__menu a {
    color: #1d3561;
    font-size: 18px;
    text-align: center;
    white-space: nowrap;
    padding: 8px 18px;
}

.header__content__menu a.active {
    color: #fff;
    background-color: #1d3561;
    border-radius: 18px;
}

.header__content__social {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 195px;
    box-sizing: border-box;
}

.header__content__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c61529;
    border-radius: 50%;
    padding: 9px;
}

.header__content__logo {
    min-width: 181px;
}

.header__content__logo svg {
    height: auto;
    transition: all .5s cubic-bezier(.4, 0, .25, 1);
}

.header__menu__fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    border-bottom: 3px solid #e5e5e5;
    z-index: 99;
    transition: all .5s cubic-bezier(.4, 0, .25, 1);
}

.header__menu__fixed .header__content__logo svg {
    width: 140px;
    height: auto;
    transition: all .5s cubic-bezier(.4, 0, .25, 1);
}

.header__menu__fixed .header__content__wrapper {
    min-height: 80px;
}


@media screen and (max-width: 1366px) {
    .header__content {
        padding: 0 24px;
        box-sizing: border-box;
        max-width: none;
    }

}

@media screen and (max-width: 1200px) {
    .header__content__logo {
        min-width: 140px;
    }

    .header__content__logo svg {
        max-width: 140px;
        height: auto;
    }

    .header__menu__fixed .header__content__logo {
        min-width: auto;
    }

    .menu-mobile {
        display: block;
    }

    .menu-desktop {
        display: none;
    }

    .menu-mobile-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 12px 24px;
    }

    .menu-nav-button {
        background-color: #fff;
        cursor: pointer;
        border: none;
        padding: 0;
    }

    .menu-nav-button .menu-bar {
        display: flex;
        width: 30px;
        height: 4px;
        margin: 6px 0;
        background-color: #1d3561;
    }

    .menu-overlay {
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #000;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .menu-overlay-open {
        opacity: 0.7;
        visibility: visible;
        transition: opacity .5s cubic-bezier(0, 0, .3, 1);
    }

    .menu-overlay-content {
        position: absolute;
        top: 0;
        height: 100vh;
        padding: 24px 76px 24px 48px;
        overflow: hidden;
        transform: translateX(-305px);
        transition: transform .5s cubic-bezier(0, 0, .3, 1);
        background-color: #fff;
        z-index: 9999;
    }

    .menu-overlay-content-open {
        position: fixed;
        transition: transform .5s cubic-bezier(0, 0, .3, 1);
        will-change: transform;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateX(0);
    }

    .menu-overlay-content a {
        display: block;
        padding: 10px 0;
        color: #1d3561;
        font-size: 28px;
        text-decoration: none;
        transition: 0.3s;
    }

    .menu-overlay-content a:hover,
    .menu-overlay-content a:focus {
        color: #c61529;
    }

}