.b-header {
    position: relative;
    z-index: 7;
}

.b-header:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(180deg, rgba(62, 66, 66, 0.12) 0%, rgba(56, 68, 68, 0) 100%);
}

.b-header__main {
    font-family: "Roboto";
}

.b-header__container {
    display: flex;
    position: relative;
}

.b-header__logo-wrap {

}

.b-header__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.b-header__logo img {
    display: inline-block;
    max-width: 100%;
    vertical-align: bottom;
}

.b-header__top-nav {
    flex: 1;
    padding: 0 30px;
}

.b-header-nav {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    height: 100%;
}

.b-header-nav ul {
    display: flex;
    height: 100%;
    margin-bottom: 0;
}

.b-header-nav li {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
    padding: 0;
    color: var(--color-mine-shaft);
    border-bottom: 2px solid transparent;
}
.b-header-nav li:before {
    display: none;
}

.b-header-nav li a {
    padding: 0 32px;
}
.b-header__main a {
    font-size: 14px;
    line-height: 18px;
    color: inherit;
    border-bottom: none;
}

.b-header-nav li.active {
    font-weight: 700;
    color: var(--color-vera-teal-1);
    border-bottom-color: var(--color-vera-teal-3);
}

.b-header-nav li:hover {
    background-color: var(--color-vera-teal-5);
}

.b-header-nav li a,
.b-user-nav__item--about .b-user-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 100%;
}

.b-header__search {
    position: absolute;
    top: 0;
    right: 150px;
    z-index: 2;
    height: 80px;
    width: calc(100% - 150px - 80px - 32px);

    display: flex;
    align-items: center;
    justify-content: space-between;

    pointer-events: none;
    visibility: hidden;

    font-size: 18px;
    line-height: 24px;

    background: #fff;
}

.b-header__search-logo {
    display: none;
}

header.activeSearch .b-header__search {
    pointer-events: all;
    visibility: visible;
}

.b-header__search-label {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.b-search__input {
    width: 0;
    height: 48px;
    border: 0;
    padding: 0;
    outline: none;

    line-height: 44px;
    color: var(--color-black-1);

    background: var(--color-black-5);

    transition: 0.5s;
}

.b-search__closer {
    margin-left: 20px;
    width: 20px;
    height: 20px;

    background-repeat: no-repeat;
    background-position: center;
}

header.activeSearch .b-search__input {
    padding: 12px 48px 12px 12px;
    width: 100%;
    max-width: 726px;
    border: 1px solid var(--color-black-3);
}

.b-header__user-nav {
    position: relative;
    margin-left: auto;
}

.b-header__bottom-nav {
    display: flex;
    align-items: stretch;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}

.b-header__bottom-nav > a {
    flex: 1 0 0;
    text-decoration: none;
    color: var(--color-mine-shaft);
}

.b-header__bottom-nav > a + a {
    border-left: 1px solid var(--color-black-4);
}

.b-user-nav {
    display: flex;
    height: 100%;
}

.b-user-nav__list {
    display: flex;
    margin-bottom: 0;
}

.b-user-nav__item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    padding: 0;
    z-index: 3;
    background-color: var(--color-black-5);
}

.b-user-nav__item:before {
    display: none;
}

.b-user-nav__item--about {
    z-index: 1;
    border-bottom: 2px solid transparent;
}

.b-user-nav__item--about .b-user-nav__link {
    width: initial;
    height: initial;
    padding: 0 32px;
}
.b-user-nav__item--about .b-user-nav__link:hover {
    background: none;
}

.b-user-nav__item--about:hover {
    background-color: var(--color-vera-teal-5);
}

.b-header.activeSearch .b-user-nav__item {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.b-header.activeSearch .b-user-nav__item.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.b-user-nav__link {
    height: 100%;
    width: 50px;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

/*.b-user-nav__item.is-active .b-user-nav__link,*/
.b-user-nav__link:hover {
    background: var(--color-vera-teal-5);
}

.b-user-nav__icon--search {
    width: 18px;
    height: 18px;
}

.b-user-nav__link--burger {
    position: relative;
    z-index: 200;
    transition: 0.5s;
}
.b-user-nav__icon--close {
    opacity: 0;
    width: 0;
    height: 0;
}

.b-user-nav__item.is-active {
    z-index: 4;
}
.b-user-nav__item.is-active svg:not(.b-user-nav__icon--close) {
    opacity: 0;
    width: 0;
    height: 0;
}

.b-user-nav__item.is-active .b-user-nav__icon--close {
    opacity: 1;
    width: 20px;
    height: 20px;
}

.b-user-nav__item.is-active svg {
    fill: var(--color-vera-teal-1);
}
.b-user-nav__link:active svg {
    fill: var(--color-vera-teal-1);
}

.en .b-user-nav__item--about {
    display: flex;
}

@media (max-width: 1199px) {
    .b-header-nav li a {
        padding: 0 25px;
    }
    .b-user-nav__item--about .b-user-nav__link {
        padding: 0 25px;
    }
    .b-header__main a {
        font-size: 13px;
    }
}
@media (max-width: 1023px) {
    .b-header__search {
        left: 0;
        right: initial;
        width: calc(100% - 60px);
    }
    .b-header__search-logo {
        display: block;
        padding-left: 16px;
        padding-right: 12px;
    }
    .b-header__container {
        flex-wrap: wrap;
    }
    .b-header__top-nav {
        position: relative;
        width: 100%;
        flex: none;
        order: 9;
        padding: 0;
    }
    .b-header__top-nav:before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: -32px;
        right: -32px;
        height: 1px;
        background-color: var(--color-black-4);
    }
    .b-header-nav {
        margin-left: -32px;
        margin-right: -32px;
    }
    .b-header-nav ul {
        width: 100%;
        height: initial;
    }
    .b-header-nav li {
        width: 100%;
        min-height: 51px;
        text-align: center;
        border-bottom: 2px solid transparent;
    }
    .b-header-nav li:not(:last-child) {
        border-right: 1px solid var(--color-black-4);
    }
    .b-header-nav li a {
        flex: 1 1;
        justify-content: center;
        padding: 8px 30px;
    }
    .b-user-nav__item.is-active {
        position: absolute;
        top: 0;
        right: -32px;
        height: 100%;
        z-index: 999;
    }
}

@media (max-width: 767px) {
    .b-header-nav {
        margin-left: -15px;
        margin-right: -15px;
    }
    .b-header-nav li {
        padding: 0;
    }
    .b-header-nav li a {
        padding: 9px;
    }
    .b-header__main a {
        font-size: 12px;
        line-height: 16px;
    }
    .b-header__top-nav:before {
        left: -15px;
        right: -15px;
    }
    .b-header__user-nav {
        margin-right: -15px;
    }
    .b-user-nav__item.is-active {
        right: 0;
    }
}
@media (max-width: 455px) {
    .b-user-nav__item--about .b-user-nav__link {
        padding: 0 10px;
    }
}

