body.no-scroll {
    overflow: hidden;
}

.custom-header {
    padding-top: 14px;
    padding-bottom: 14px;
    position: relative;
}

.custom-header.turn-off {
    display: none!important;
}

.custom-header .container {
    width: 1330px;
    max-width: 100%;
    padding-left: 25px;
    padding-right: 25px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-header .custom-logo-link {
    display: block;
    z-index: 11;
}

.custom-header .custom-header__inner {
    display: flex;
    align-items: center;
    column-gap: 44px;
}
@media(max-width:1100px){
    .custom-header .custom-header__inner {
        display: none;
    }
}

.custom-header .custom-header__inner .last-menu .menu-top-level{
    display: inline-flex;
    font-family: "Roboto";
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.68px;
    padding: 9.5px 23px;
    background-color: #FF0F28;
}

.custom-header .custom-header__inner .last-menu .menu-top-level .menu-item-title {
    color: #fff;
}

.custom-header .custom-header__menu {
    display: flex;
    align-items: center;
    column-gap: 44px;
}

.custom-header ul {
    list-style: none;
    padding: 0;
}

.custom-header .menu-top-level .menu-item-title {
    position: relative;
}

.custom-header .menu-top-level .menu-item-title:hover {
    color: #FF0F28;
    text-decoration: underline;
    text-underline-offset: 26px;
    text-decoration-thickness: 3px;
}

.custom-header .menu-top-level .menu-item-title::before {
    content: "";
    width: 0%;
    height: 3px;
    position: absolute;
    left: 0px;
    background-color: #FF0F28;
}

.custom-header .menu-top-level.active .menu-item-title::before {
    content: "";
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0px;
    bottom: -25px;
    background-color: #FF0F28;
}

.custom-header .menu-top-level.active .menu-item-title {
    color: #FF0F28;
}


.custom-header .menu-top-level.active svg {
    transform: rotate(180deg);
}

.custom-header .menu-top-level.active svg path{
    stroke: #FF0F28;
}

.custom-header .menu-item-title {
    color: var(--Black, #202026);
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: flex;
    align-items: center;
    column-gap: 12px;
    transition: all .3s ease-in-out;
}


.custom-header .menu-item-description {
    color: #3A4958;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; 
}

.custom-header .menu-item-icon {
    display: block;
    max-width: 34px;
    max-height: 34px;
}

.custom-header .menu-item-has-children a {
    display: flex;
    column-gap: 24px;
}


.custom-header .menu-item-has-children .menu-item-icon-title {
    display: flex;
    row-gap: 8px;
    flex-direction: column;
}

.custom-header .menu-item.big .has-children-inner {
    width: 1330px!important;
    left: 50%!important;
    transform: translateX(-50%)!important;
    padding: 40px 0px 35px 40px!important;
    min-height: 683px!important;
}

.custom-header .has-children-inner {
    display: none;
    position: absolute;
    z-index: 2;
    background-color: #fff;
    /* width: 1330px; */
    max-width: 100%;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    /* padding: 40px 0px 35px 40px; */
    padding: 30px;
    /* min-height: 683px; */
    top: 69px;
    border: 1px solid #9AA7B5;
}
@media(max-width:1350px){
    .custom-header .has-children-inner {
        width: 1240px;
    } 
}

@media(max-width:1250px){
    .custom-header .has-children-inner {
        width: 1100px;
    } 
}

.custom-header .big .has-children-inner::before {
    display: none;
    content: "";
    width: 1px;
    height: 100%;
    background-color: #CDCDDC;
    position: absolute;
    top: 0px;
    left: 550px;
}

@media(max-width:1250px){
    .custom-header .big .has-children-inner::before{
        left: 454px;
    } 
}

.custom-header .big .has-children-inner.has-second-level::before {
    display: block; /* Отображаем, если найден .sub-menu.second */
}

.custom-header .has-children-inner.active {
    display: block;
}

.custom-header .has-children-inner .sub-menu .menu-item-has-children {
    display: flex;
}

.custom-header .has-children-inner .sub-menu.second, .custom-header .has-children-inner .sub-menu.third {
    position: absolute;
    display: none;
}

.custom-header .big .has-children-inner .sub-menu.second {
    left: 606px;
    top: 40px;
    flex-direction: column;
    row-gap: 20px;
    max-width: 314px;
    width: 100%;
    padding: unset;
    right: unset;
    transform: unset;
    border-left: none;
}

.custom-header .has-children-inner .sub-menu.second {
    background: #fff;
    z-index: 2;
    padding: 20px 20px;
    left: calc(100% + 30px);
    top: 50%;
    transform: translateY(-50%);
    border-left: 1px solid lightgrey;
    flex-direction: column;
    row-gap: 20px;
    width: max-content;
}

@media(max-width:1350px){
    .custom-header .has-children-inner .sub-menu.second {
        left: 527px;
    } 
}

.custom-header .big .has-children-inner .sub-menu.third {
    display: none;
    flex-direction: column;
    row-gap: 20px;
    max-width: 183px;
    width: 100%;
    top: 0px;
    right: -300px;
    left: unset;
    padding: unset;
    border-left: none;
}

.custom-header .has-children-inner .sub-menu.third {
    display: none;
    flex-direction: column;
    row-gap: 20px;
    top: -20px;
    left: calc(100% + 20px);
    padding: 20px;
    background-color: #fff;
    width: 100%;
    border-left: 1px solid lightgray;
}

@media(max-width:1350px){
    .custom-header .has-children-inner .sub-menu.third {
        right: -205px;
    } 
}

.custom-header .big .has-children-inner .sub-menu.third::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 100vh;
    background-color: #CDCDDC;
    top: -40px;
    left: -55px;
}

.custom-header .has-children-inner .menu-item {
    position: relative;
}

.custom-header .big .has-children-inner .menu-item {
    position:static;
}

.custom-header .has-children-inner .sub-menu.third .menu-item a {
    column-gap: 16px;
}

.custom-header .has-children-inner .sub-menu.second .menu-item a {
    display: flex;
    align-items: center;
    column-gap: 15px;
}

.custom-header .has-children-inner .sub-menu.first {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    max-width: 455px;
}
@media(max-width:1250px){
    .custom-header .has-children-inner .sub-menu.first {
        max-width: 357px;
    }
}

.custom-header .has-children-inner .sub-menu.first > .menu-item-has-children > a {
    position: relative;
    width: 100%;
}

.custom-header .big .has-children-inner .sub-menu.first > .menu-item-has-children > a::before {
    content: "";
    display: block;
    width: 42px;
    height: 42px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCA0MiA0MiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjQyIiBoZWlnaHQ9IjQyIiBmaWxsPSJ3aGl0ZSIvPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMTI3Nl8yMzE4KSI+CjxwYXRoIGQ9Ik0yOS45NDY4IDIxLjQ5ODhMMTcuNDIxIDExLjA3MzJMMTkuMDc0NCAxOS44MDE3TDI5Ljk0NjggMjEuNDk4OFoiIGZpbGw9IiNGRjBGMjgiLz4KPHBhdGggZD0iTTI5Ljk0NjUgMjEuNDk4OEwxOS4wNTk2IDIzLjExMjNMMTcuMzc0MyAzMS44Njg0TDI5Ljk0NjUgMjEuNDk4OFoiIGZpbGw9IiNGRjBGMjgiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xMjc2XzIzMTgiPgo8cmVjdCB3aWR0aD0iMTYuMjI1NyIgaGVpZ2h0PSIxNi4yMjU3IiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTguNDk5IDEwKSByb3RhdGUoNDUuMTI3MykiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K');
    background-size: cover;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -75px;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.custom-header .big .has-children-inner .sub-menu.first > .menu-item-has-children.active > a::before {
    opacity: 1;
}
.custom-header .has-children-inner .sub-menu.first > .menu-item > a:hover .menu-item-title {
    color: #3F6BD9;
}
.custom-header .has-children-inner .sub-menu.second > .menu-item > a:hover .menu-item-title {
    color: #3F6BD9;
}
.custom-header .has-children-inner .sub-menu.third > .menu-item > a:hover .menu-item-title {
    color: #3F6BD9;
}

.custom-header .has-children-inner .sub-menu.first .menu-item-has-children.active .sub-menu.second {
    display: flex;
}

.custom-header .has-children-inner .sub-menu.second .menu-item-has-children.active .sub-menu.third {
    display: flex;
}

.custom-header .has-children-inner .sub-menu.first .last {
    margin-top: 7px;
    max-width: 455px;
    width: 100%;
    background-color: #3F6BD9;
}

.custom-header .has-children-inner .sub-menu.first .last a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9.5px;
}

.custom-header .has-children-inner .sub-menu.first .last a span {
    color: #FFF;
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.68px;
}

.custom-header .has-children-inner .sub-menu.first .last a:hover span {
    color: #fff!important;
}


.custom-header .has-children-inner .sub-menu.second > .menu-item-has-children > a {
    position: relative;
}

.custom-header .big .has-children-inner .sub-menu.second > .menu-item-has-children > a::before {
    content: "";
    display: block;
    width: 42px;
    height: 42px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCA0MiA0MiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjQyIiBoZWlnaHQ9IjQyIiBmaWxsPSJ3aGl0ZSIvPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMTI3Nl8yMzE4KSI+CjxwYXRoIGQ9Ik0yOS45NDY4IDIxLjQ5ODhMMTcuNDIxIDExLjA3MzJMMTkuMDc0NCAxOS44MDE3TDI5Ljk0NjggMjEuNDk4OFoiIGZpbGw9IiNGRjBGMjgiLz4KPHBhdGggZD0iTTI5Ljk0NjUgMjEuNDk4OEwxOS4wNTk2IDIzLjExMjNMMTcuMzc0MyAzMS44Njg0TDI5Ljk0NjUgMjEuNDk4OFoiIGZpbGw9IiNGRjBGMjgiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xMjc2XzIzMTgiPgo8cmVjdCB3aWR0aD0iMTYuMjI1NyIgaGVpZ2h0PSIxNi4yMjU3IiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTguNDk5IDEwKSByb3RhdGUoNDUuMTI3MykiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K');
    background-size: cover;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -205px;
    z-index: 1;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

@media(max-width:1350px){
    .custom-header .big .has-children-inner .sub-menu.second > .menu-item-has-children > a::before {
        right: -111px;
    }
}

.custom-header .big .has-children-inner .sub-menu.second > .menu-item-has-children.active > a::before {
    opacity: 1;
}

.custom-header__mobile {
    display: none;
    align-items: center;
    column-gap: 10px;
}

@media(max-width:1100px){
    .custom-header__mobile {
        display: flex;
    }
}

.custom-header__mobile .menu-title {
    color: #202026;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 0px;
    z-index: 11;
}

.custom-header__mobile .mobile-burger {
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 11;
    transition: all .5s ease-in-out;
}

.custom-header__mobile .mobile-burger span {
    width: 100%;
    height: 2px;
    background-color: #333;
    position: absolute;
    transition: all .5s ease-in-out;
}

.custom-header__mobile .mobile-burger span:first-child {
    top: 0px;
    left: 0px;
}

.custom-header__mobile .mobile-burger span:nth-child(2) {
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
}

.custom-header__mobile .mobile-burger span:nth-child(3) {
    left: 0px;
    bottom: 0.4px;
}

.custom-header__mobile .mobile-burger.active {
    width: 20px;
    height: 20px;
}

.custom-header__mobile .mobile-burger.active span:nth-child(2) {
    opacity: 0;
}


.custom-header__mobile .mobile-burger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.custom-header__mobile .mobile-burger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.custom-header__mobile .mobile-menu {
    position: absolute;
    width: 100%;
    height: 100vh;
    left: 0px;
    top: 0px;
    background-color: #fff;
    z-index: 10;
    padding-top: 80px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 100px;
    transform: translateX(-120%);
    transition: all .5s ease-in-out;
    overflow: auto;
}

.custom-header__mobile .mobile-menu.active {
    transform: translateX(0%);
}

/* .custom-header__mobile .mobile-menu .menu-header-mobile-container {
    height: 100%;
    overflow: auto;
} */

.custom-header__mobile .mobile-menu .menu .sub-menu {
    max-height: 0px;
    overflow: hidden;
    transition: all .8s ease-in-out;
    padding-left: 10px;
}

.custom-header__mobile .mobile-menu .menu .sub-menu.active {
    max-height: 3000px;
}

.custom-header__mobile .mobile-menu .menu .menu-item a {
    font-family: "Roboto", sans-serif;
    color: #202026;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
    display: block;
}

.custom-header__mobile .mobile-menu .menu .sub-menu a {
    color: #303095;
    border-color: #303095;
}

.custom-header__mobile .mobile-menu .menu .sub-menu .sub-menu a {
    color: #2727bd;
    border-color: #2727bd;
}

