.main-header__navbar {
    width: 100%;
    height: 51px;
}

.main-header__sites__list {
    text-transform: none !important;
}

.main-header__lang {
    margin-left: 1.75rem !important;
    padding: 0;
    list-style: none;
    text-align: center;
}

.main-header__magnifier {
    margin-left: 0 !important;
}


.primary-menu__link {
    text-transform: uppercase !important;
}

.primary-menu__item__search {
    opacity: 0;
    max-width: 0;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .2s all ease-in-out;
}

.primary-menu__item__search .open-searchbox {
    padding: 0 !important;
    transition: .2s all ease-in-out;
}

.primary-menu__item__search.scroll-show {
    display: flex;
    opacity: 1;
    max-width: 100px;
    transition: .2s all ease-in-out;
}

.primary-menu__item__search.scroll-show  .open-searchbox {
    padding: 0 1.25rem !important;
    transition: .2s all ease-in-out;
}

.primary-menu__item__search:not(.scroll-show) .open-searchbox::before {
    display: none;
}

.primary-menu__item__logo {
    padding: 0;
    opacity: 0;
    max-width: 0;
    padding: .5em 0;
    transition: .2s all ease-in-out;
}

.primary-menu__item__logo a {
    display: none;
}

.primary-menu__item__logo.scroll-show {
    display: flex;
    opacity: 1;
    max-width: 100px;
    padding: .5em .5em .5em 1.5em;
    transition: .2s all ease-in-out;
}

.primary-menu__item__logo.scroll-show a {
    display: block;
}

@media screen and (min-width: 1330px) {
    .main-header__navbar {
        flex-grow: unset !important;
        justify-content: space-between !important;
        margin-left: 2rem !important;
        height: 51px;
    }

    .main-header__sites {
        width: 100%;
        padding-left: 0 !important;
        height: 100%;
    }

    .main-header__sites__list {
        font-weight: 500 !important;
        font-size: .85rem;
        height: 100%;
    }

    .main-header__sites li {
        flex-grow: 1;
        justify-content: center;
    }

    .main-header__sites li:first-of-type {
        justify-content: flex-start;
    }

    .main-header__sites li:last-of-type {
        justify-content: flex-end;
    }

    .main-header__sites li a {
        max-width: none !important;
    }

    .main-header__project--desktop a {
        font-size: .85rem !important;
        font-weight: 500 !important;
        padding-top: .85em;
        padding-bottom: .85em;
    }

    .primary-menu__link {
        font-size: .85rem;
        font-weight: 500;
    }
}


@media screen and (max-height: 900px) and (min-width: 1090px) and (max-width: 1330px) {
    body {
        padding-top: 0 !important;
    }

    .main-header {
        position: sticky !important;
        top: -86px !important;
        margin-bottom: 2.9rem !important;
    }

    .main-header__top {
        padding: .5rem 1.25rem !important;
        height: 86px !important;
    }

    .main-header__navbar {
        flex-grow: unset !important;
        justify-content: space-between !important;
        margin-left: 4rem !important;
        max-height: 30px;
    }

    .main-header__sites {
        width: 100%;
        padding-left: 0 !important;
        height: 100%;
    }

    .main-header__sites__list {
        font-size: 11px;
        font-weight: 500 !important;
        height: 100%;
        max-width: 520px;
    }

    .main-header__sites li {
        flex-grow: 1;
        justify-content: center;
        min-height: unset !important;
    }

    .main-header__sites li:first-of-type {
        justify-content: flex-start;
    }

    .main-header__sites li:last-of-type {
        justify-content: flex-end;
    }

    .main-header__sites li a {
        padding-bottom: .5em;
        max-width: none !important;
    }

    .main-header__project--desktop a {
        padding-top: .6666666667em;
        padding-bottom: .6666666667em;
        font-size: 11px;
        font-weight: 500 !important;
    }

    .main-header__tools {
        display: flex;
        align-items: flex-end;
    }

    .main-header__magnifier .open-searchbox {
        font-size: 1em;
        background-color: var(--light);
        padding: .6666666667em;
        border-radius: 100%;
    }

    .main-header__lang {
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .main-header__lang li {
        position: relative;
        padding: 0 .5em;
        border: none !important;
    }

    .main-header__lang li::after {
        content: "";
        position: absolute;
        right: -2px;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 4px;
        height: 4px;
        background: #d8d8d8;
        border-radius: 100%;
    }

    .main-header__lang li:last-of-type:after {
        display: none;
    }

    .main-header__socials {
        display: none;
    }

    .primary-menu__link {
        font-size: 11px;
        padding: 1rem 1.25rem !important;
    }

    .primary-menu__item__search {
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .primary-menu__item__search .open-searchbox {
        font-size: 1em;
        color: var(--white);
        height: 100%;
        width: 100%;
    }

    .primary-menu__item__search .open-searchbox:hover {
        color: #10337f;
        background-color: var(--white);
    }

    .primary-menu__item__logo img {
        filter: brightness(0) invert(1);
        height: 25px;
    }
}

@media screen and (max-width: 1090px) {
    .main-header__tools {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .main-header__lang {
        margin-left: 0 !important;
    }

    .primary-menu__item__logo {
        display: none;
    }

    .primary-menu__item__search {
        display: none;
    }
}
