.menu {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    height: 100%;
    font-size: 18px;
}

.menu .menu-wrapper {
    position: relative;
    padding: 16px;
    border-bottom: 1px solid #d4d7e5;
    border-top: 1px solid #d4d7e5;
}

.menu .menu-footer {
    padding: 20px 0px;
    display: grid;
    gap: 20px;
}

.menu .menu__list {
    height: 100%;
    margin: 0;
    display: -ms-flexbox;
    display: flex;
}

.menu .menu__list > li {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.menu .menu__list > li:not(:last-child) {
    margin-right: 30px;
}

.menu .menu__list > li > a {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    font-size: 1em;
    line-height: normal;
    font-weight: 500;
    letter-spacing: normal;
    color: #002544;
    white-space: nowrap;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-align: center;
    align-items: center;
    text-transform: none;
}

.menu .menu__dropdown {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.menu .menu__dropdown-list {
    position: absolute;
    top: 100%;
    left: 0px;
    border-radius: 30px;
    background: #fff;
    padding-top: 23px;
    padding-bottom: 23px;
    box-shadow: 5px 4px 22px 0 rgba(0, 58, 108, 0.1);
}

.menu .menu__dropdown-list .menu__dropdown-list {
    top: -18px;
    left: calc(100% + 15px);
}

.menu .menu__dropdown-list .menu__dropdown-list::before {
    content: "";
    width: 15px;
    height: 100%;
    background: transparent;
    position: absolute;
    right: 100%;
    left: auto;
    top: 0;
    display: block;
}

.menu .menu__dropdown-list li a {
    display: block;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: normal;
    color: #002544;
    text-transform: none;
}

.menu__dropdown-arrow {
    position: relative;
    background-color: transparent;
    width: 24px;
    height: 24px;
}

.menu__dropdown-arrow::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    -webkit-mask-image: url("../img/icons/z_menu_icon.svg");
    mask-image: url("../img/icons/z_menu_icon.svg");
    background: #002544;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: auto;
    mask-size: auto;
    transition: background var(--animation-duration) var(--timing-func);
}

.menu .menu__dropdown-list {
    pointer-events: none;
    opacity: 0;
    transition: transform 700ms ease, opacity 200ms linear;
    transform-origin: top;
    transform-style: preserve-3d;
}

.menu .switch-back {
    display: none;
    background: url("../img/icons/z_switch_back_icon.svg") 0px 50% no-repeat;
    font-weight: 700;
    font-size: 15px;
    line-height: 130%;
    color: #141517;
    padding-bottom: 20px;
    padding-top: 20px;
    padding-left: 25px;
    padding-right: 25px;
    text-align: center;
    border-bottom: 1px solid #d4d7e5;
}

.menu-overlay {
    pointer-events: none;
    position: fixed;
    display: block;
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    background: #fff;
    transform: scaleY(0);
    transform-origin: bottom;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.menu-overlay.active {
    transform: scaleY(1);
}

.nav > li > a {
    padding: 0;
}

.nav > li > a:hover,
.nav > li > a:focus {
    text-decoration: none;
    background-color: transparent;
}

.menu-burger {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: none;
    position: relative;
    width: 101px;
    height: 50px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--primary-color);
    font-weight: 500;
    font-size: 13px;
    line-height: 160%;
    color: #fff;
    line-height: 1;
}

.menu-burger span {
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    transition: transform var(--animation-duration) var(--timing-func);
    transform: translateY(-100%);
}

.menu-burger span img {
    margin-right: 4px;
}

.menu-burger.active span {
    transform: translateY(0);
}

.rs-header {
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
}

.rs-header__wrapper {
    height: 130px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.rs-header__logo {
    position: relative;
    z-index: 2;
    -ms-flex: 0 0 140px;
    flex: 0 0 140px;
    margin-right: 57px;
}

.rs-header__logo img {
    width: 100%;
}

.rs-header__btn {
    margin-left: 30px;
}

.rs-header .header-contacts-list {
    margin-left: 60px;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
}

.rs-header .header-contacts-list a {
    white-space: nowrap;
    transition: color var(--animation-duration) var(--timing-func);
}

.header-lang-picker {
    margin-left: auto;
    display: -ms-flexbox;
    display: flex;
    gap: 5px;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase;
}

.header-lang-picker li:not(:last-child)::after {
    content: "|";
    color: #002544;
    margin-left: 5px;
}

.header-lang-picker a {
    white-space: nowrap;
    transition: color var(--animation-duration) var(--timing-func);
}

.header-lang-picker .current-item {
    color: #ba222b;
}

.rs-header .mobile-menu-contacts__title {
    font-weight: 600;
    font-size: 15px;
    line-height: 130%;
    color: #0b0f19;
    margin-bottom: 20px;
}

.rs-header .mobile-menu-contacts__list {
    max-width: 350px;
    font-weight: 500;
    font-size: 15px;
    line-height: 130%;
    color: #002544;
    display: grid;
    gap: 20px;
}

.rs-header .mobile-menu-contacts__list a {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
}

.rs-header .mobile-menu-contacts__list a[href^="tel:"]::before {
    content: url("../img/icons/phone_icon.svg");
}

.rs-header .mobile-menu-contacts__list a[href^="mailto:"]::before {
    content: url("../img/icons/mail_icon.svg");
}

.rs-header .mobile-menu-contacts__list li.loc {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
}

.rs-header .mobile-menu-contacts__list li.loc::before {
    content: url("../img/icons/loc_icon.svg");
}

.rs-header .mobile-menu-contacts__list li.clock {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
}

.rs-header .mobile-menu-contacts__list li.clock::before {
    content: url("../img/icons/clock_icon.svg");
}

.rs-header .mobile-menu-btn {
    display: grid;
}

@media (min-width: 1023.98px) {
    .menu .menu-footer {
        display: none;
    }
}

@media (min-width: 1400.98px) {
    .menu .menu-wrapper {
        display: contents;
    }

    .menu .menu__dropdown-list {
        max-width: 526px;
        width: -webkit-max-content;
        width: max-content;
    }

    .menu .menu__dropdown-list li a {
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    }

    .menu .menu__list li {
        height: 100%;
    }

    .menu .menu__list > li > a {
        height: 100%;
        position: relative;
        transition: color var(--animation-duration) var(--timing-func);
    }

    .menu .menu__list > li > a span {
        transition: 0.3s;
        background: linear-gradient(currentColor 0 0) bottom/var(--d, 0) 2px no-repeat;
    }

    .menu .menu__list > li.current-menu-item > a,
  .menu .menu__list > li:hover > a {
        color: var(--primary-color);
    }

    .menu .menu__list > li.current-menu-item > a span,
  .menu .menu__list > li:hover > a span {
        --d: 100%;
    }

    .menu .menu__list > li.current-menu-item > .menu__dropdown-arrow::before,
  .menu .menu__list > li:hover > .menu__dropdown-arrow::before {
        background: var(--primary-color);
    }

    .menu .menu__dropdown-list li > a {
        transition: color var(--animation-duration) var(--timing-func);
    }

    .menu .menu__dropdown-list li:hover > a {
        color: var(--primary-color);
    }

    .menu__dropdown.hover > .menu__dropdown-list {
        opacity: 1;
        pointer-events: auto;
    }

    .menu-overlay {
        display: none;
    }

    .rs-header .mobile-menu-contacts {
        display: none;
    }

    .rs-header .mobile-menu-btn {
        display: none;
    }
}

@media (max-width: 1680px) {
    .menu {
        font-size: 16px;
    }

    .menu .menu__list > li:not(:last-child) {
        margin-right: 20px;
    }

    .menu .menu__dropdown-list li a {
        white-space: normal;
    }

    .rs-header__wrapper {
        gap: 20px;
    }

    .rs-header__logo {
        margin-right: 0px;
    }

    .rs-header__btn {
        margin-left: 0px;
    }

    .rs-header .header-contacts-list {
        margin-left: 0px;
    }
}

@media (max-width: 1400.98px) {
    .menu {
        background: #fff;
        pointer-events: none;
        height: auto;
        right: 15px;
        top: 130px;
        position: fixed;
        border: 1px solid #d4d7e5;
        border-radius: 15px;
        width: 375px;
        font-size: 15px;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        overflow: hidden;
    }

    .menu.active {
        visibility: visible;
        pointer-events: auto;
    }

    .menu .menu__list {
        display: block;
        height: auto;
    }

    .menu .menu__list > li {
        height: auto;
        margin-right: 0 !important;
        margin-left: 0;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .menu .menu__list > li > a {
        color: #002544;
        font-weight: 500;
        line-height: normal;
        letter-spacing: normal;
    }

    .menu .menu__dropdown {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .menu .menu__dropdown-list {
        background: #fff;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translate(0px, 0px);
        pointer-events: auto;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        height: auto;
        min-width: auto;
    }

    .menu .menu__dropdown-list .menu__dropdown-list {
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
    }

    .menu .menu__dropdown-list li a {
        white-space: normal;
        padding-left: 0;
        padding-right: 0;
        padding-top: 10px;
        padding-bottom: 10px;
        color: #002544;
        font-size: 15px;
        font-weight: 500;
        line-height: normal;
        letter-spacing: normal;
    }

    .menu__dropdown-arrow {
        margin-left: 20px;
        transform: rotate(-90deg);
    }

    .menu {
        -webkit-clip-path: inset(0% 0% 100% 0%);
        clip-path: inset(0% 0% 100% 0%);
        transition: -webkit-clip-path var(--animation-duration) var(--timing-func);
        transition: clip-path var(--animation-duration) var(--timing-func);
        transition: clip-path var(--animation-duration) var(--timing-func), -webkit-clip-path var(--animation-duration) var(--timing-func);
    }

    .menu.active {
        -webkit-clip-path: inset(0% 0% 0% 0%);
        clip-path: inset(0% 0% 0% 0%);
    }

    .menu .switch-back {
        display: block;
    }

    .menu .menu-wrapper {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .menu .menu__dropdown {
        position: static;
    }

    .menu .menu__dropdown-list .menu__dropdown-list {
        top: 0;
        left: 0;
    }

    .menu .menu__dropdown-list {
        position: absolute;
        padding: 16px;
        left: 0;
        top: 0;
        width: 100%;
        min-height: 100%;
        z-index: 2;
        transform: translateX(-100%);
        border-radius: 0;
        transition: transform var(--animation-duration) var(--timing-func);
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .menu .menu__dropdown-list::-webkit-scrollbar {
        width: 0;
    }

    .menu .menu__dropdown-list.is-active {
        transform: none;
    }

    .menu-burger {
        display: block;
        position: relative;
        z-index: 2;
    }

    .rs-header__logo {
        margin-right: auto;
    }
}

@media (max-width: 1400.98px) and (max-width: 1023.98px) {
    .menu {
        width: 100%;
        border-radius: 0px;
        top: 0;
        left: 0;
        padding-top: 68px;
        border: none;
        height: 100svh;
        padding-right: max(15px, (100% - 768px) / 2);
        padding-left: max(15px, (100% - 768px) / 2);
    }
}

@media (max-width: 1400.98px) and (max-width: 767.98px) {
    .menu {
        padding-top: 68px;
        padding-left: max(15px, (100% - 375px) / 2);
        padding-right: max(15px, (100% - 375px) / 2);
    }
}

@media (max-width: 1023.98px) {
    .menu .menu-wrapper {
        padding: 16px 0px;
    }

    .menu-burger {
        height: 37px;
        border-radius: 51px;
    }

    .rs-header__wrapper {
        height: 68px;
    }

    .rs-header__logo {
        -ms-flex: 0 0 78px;
        flex: 0 0 78px;
    }

    .rs-header__btn {
        display: none;
    }

    .rs-header .header-contacts-list {
        display: none;
    }

    .header-lang-picker {
        /* display: none; */
    }
}

@media (max-width: 767.98px) {
    .rs-header__wrapper {
        height: 68px;
    }
}

@media (any-hover: hover) {
    .menu__dropdown:hover > .menu__dropdown-list {
        opacity: 1;
        pointer-events: auto;
    }

    .rs-header .header-contacts-list a:hover {
        color: var(--primary-color);
    }

    .header-lang-picker a:hover {
        color: var(--primary-color);
    }
}

.rs-header .header-search  {
	position:  relative;
}
.rs-header .search-btn  {
	outline:  none!important;
}
.rs-header .search-full {
  display: none;
  top: 0;
  background: #fff;
  height: 31px;
  position: absolute;
  right: 0;
  text-align: right;
  width: 300px;
  white-space: nowrap;
  z-index: 10;
} 
.rs-header .search-full.active {
  display: block;
}
.rs-header .search-form {
  height: 100%;
}
.rs-header .search-close {
  position: absolute;
  right: 0;
  top: 0;
  background: #c6c6c6;
  height: 31px;
  width: 47px;
  font-size: 20px;
  padding: 2px 15px;
  color: #424242;
}
.rs-header .search-input-box {
  display: block;
  text-align: right;
  padding-right: 53px;
  width: 100%;
  height: 100%;
}
.rs-header .search-form input {
  border: 0 none;
  padding: 1px;
  color: #424242;
  margin: 0;
  outline: medium none;
  text-align: right;
  width: 100%;
  height: 100%;
  max-width: 90%;
  background-color: transparent;
  font-size: 16px;
  line-height: 1.5;
}
.rs-header .search-input-box .search-btn-inner {
  padding-right: 10px;
  color: #999999;
}

@media (max-width: 488px)  {
	.rs-header .search-full {		
		width: 195px;		
	}
}