.header {
    position: relative;
    z-index: 5
}

.header__hamburger {
    display: none;
    background: #2e5b6c;
    width: 72px;
    height: 72px;
    justify-content: center;
    align-items: center;
    margin: auto;
    border-radius: 100%
}

.header__bg {
    padding-top: 18px;
    padding-bottom: 18px;
    background: #34677b;
    z-index: 4;
    position: relative
}

.header__wrap {
    display: grid;
    grid-template-columns: 210px minmax(200px, 1fr) auto;
}

.header__logo img {
    max-width: 100%;
    max-height: 88px;
}

.header__info-list {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 0 auto;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-evenly;
}

.header__info-item__wrap {
    gap: 10px;
    display: flex;
    align-items: center
}

.header__info-item__content {
    display: flex;
    flex-direction: column;
    gap: 8px
}
.header .header__info-item__badge {
    width: 25px;
    height: 25px;
    display: flex;
    flex-direction: column;

    img {
        max-width: 100%;
        max-height: 100%;
    }
}

.header__info-item__content a {
    color: #fff;
    font-family: Proxima Nova Rg, sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: normal
}

@media (max-width: 767px) {
    .header__info-item__content a {
        font-size: calc(13.73333px + .70833vw)
    }
}

@media (min-width: 767px) {
    .header__info-item__content a {
        font-size: calc(16px + .41667vw)
    }
    .header__info-item__address a{
        font-size: calc(9px + .41667vw)
    }
}

.header__command {
    display: flex;
    align-items: center;
    gap: 35px;

    img {
        width: 40px;
        height: 40px;
    }
}

.header__nav {
    display: grid;
    grid-template-columns:1fr /*280px*/;
    background: #fff
}

.header .nav__list {
    /*display: flex;*/
    /*justify-content: space-between;*/
    /*position: relative;*/
}

.header .nav__list .parent {
    padding: 10px 0
}

/*.header .nav__list li, .header .nav__list li a {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center*/
/*}*/
.header .nav__list li a {
    color: #34677b;
    font-family: Muller, sans-serif;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border-left: 1px solid #dbdbdb;
    width: 100%;
    height: 35px;
}
.header .nav__list > li:last-child a {
    border-left: 1px solid #dbdbdb;
    border-right: 1px solid #dbdbdb;
}

/*@media (max-width: 767px) {*/
/*    .header .nav__item__link {*/
/*        font-size: calc(14.86667px + .35417vw)*/
/*    }*/
/*}*/

/*@media (min-width: 767px) {*/
/*    .header .nav__item__link {*/
/*        font-size: calc(16px + .20833vw)*/
/*    }*/
/*}*/

/*.header .current-menu-item {*/
/*    background: #469fb5;*/
/*    color: white;*/
/*}*/
/*.header .current-menu-ancestor {*/
/*    background: #469fb5;*/
/*}*/

/*.header .current-menu-item .nav__item__link {*/
/*    color: #fff;*/
/*    border: none*/
/*}*/

/*.header .current-menu-item + .nav__item .nav__item__link {*/
/*    border: none*/
/*}*/
/*.header .nav__list .current-menu-item a {*/
/*    color: white;*/
/*}*/

.header .nav__search {
    border: none;
    outline: none;
    padding: 10px 40px 10px 0;
    display: flex;
    justify-content: flex-end
}

.header .nav__search .button-search {
    border-left: 1px solid #dbdbdb;
    border-right: 1px solid #dbdbdb;
    width: 100px
}

@media (max-width: 1050px) {
    .header__info-list {
        gap: 10px;
        justify-content: center;
        flex-direction: column-reverse
    }
}

@media (max-width: 1050px) {
    .header__wrap {
        grid-template-columns: 1fr 1fr auto;
        gap: 35px
    }

    .header__command {
        grid-column-start: 1;
        grid-column-end: 4;
        border-top: 1px solid #fff;
        justify-content: center;
        align-items: center;
        padding-top: 35px
    }

    .header {
        position: relative
    }
    /*.header .nav__list li {*/
    /*    border-bottom: 1px solid #dbdbdb;*/
    /*}*/
    /*.header .nav__list li a {*/
    /*    color: white;*/
    /*    border-left: none;*/
    /*}*/

    .header__info-list {
        /*display: none*/
    }

    .header__hamburger {
        display: flex
    }

    .header__nav {
        width: 100%;
        background: #34677b;
        position: absolute;
        top: -150%;
        left: 0;
        z-index: 3;
        transition: .2s
    }

    /*.header .nav {*/
    /*    grid-template-columns:1fr;*/
    /*    border-top: 1px solid #fff;*/
    /*    height: 100%;*/
    /*    overflow: auto;*/
    /*    padding-top: 20px*/
    /*}*/

    /*.header .nav__list {*/
    /*    flex-direction: column*/
    /*}*/

    /*.header .nav__item__link {*/
    /*    color: #fff*/
    /*}*/

    .header .nav__search {
        height: 55px;
        display: none
    }

    .header__nav--active {
        top: 100%;
        transition: .2s;
    }
}

@media (max-width: 780px) {
    .header__wrap {
        grid-template-columns: 1fr auto;
    }
    .header__command {
        grid-column-start: 1;
        grid-column-end: 3;
    }
    .header__info-list {
        display: none
    }
}
.custom-menu-sub-items {
    display: flex;

    .custom-menu-sub-items__item {
        display: flex;
        flex-direction: column;
    }
}
.header .elementor-widget,
.header .elementor-element {
    position: static;
}
.header .mayak_custom-elementor-menu {
    width: 100%;
}
.header .mayak_custom-elementor-menu .hfe-menu-item,
.header .mayak_custom-elementor-menu .hfe-has-submenu-container {
    width: 100%;
}
.header .mayak_custom-elementor-menu .hfe-nav-menu li.menu-item {
    position: static;
}
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent {
    color: #34677b;
}
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent > .sub-menu {
    max-width: 100%;
    width: 100%;
    display: grid;
    gap: 10px;
    padding: 40px 70px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    box-shadow: none;
    background: #F6F7F8;
}
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent .menu-item {
    background: #F6F7F8;
}
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent .hfe-menu-toggle {
    display: none;
}
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent .sub-menu > li {
    border: none !important;
}
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent .menu-item-has-children .sub-menu {
    padding-left: 10px;
    background: transparent;
}
/*.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent .menu-item-has-children .sub-menu > .menu-item-has-children > div {*/
/*    position: relative;*/
/*    font-family: Roboto, sans-serif !important;*/
/*}*/
/*.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent .menu-item-has-children .sub-menu > .menu-item-has-children > div:after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    right: calc(100% + 5px);*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    color: black;*/
/*    display: block;*/
/*    height: 5px;*/
/*    width: 5px;*/
/*    background: black;*/
/*    border-radius: 100%;*/
/*}*/
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent .menu-item-has-children .sub-menu > .menu-item-has-children > div a {
    color: #34677b !important;
    font-family: Muller, sans-serif !important;
    font-weight: 500;
    padding-bottom: 5px;
}
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent > .sub-menu > li > div a {
    color: #34677B;
    align-items: flex-start;
    justify-content: flex-start;
    font-family: Yeseva One, sans-serif;
    font-weight: 400;
    border: none;
    height: auto;
}
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent > .sub-menu .sub-menu > li a {
    color: black;
    align-items: flex-start;
    justify-content: flex-start;
    font-family: Proxima Nova Rg, sans-serif;
    font-weight: 400;
    font-size: 20px;
    margin: 0;
    line-height: normal;
    border: none;
    height: auto;
    padding: 0;
}
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent > .sub-menu .sub-menu > li a:hover,
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent > .sub-menu > li > div a:hover {
    text-decoration: underline;
}
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent .sub-menu .current-menu-item > div a,
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent .sub-menu .current-menu-item > a {
    text-decoration: underline;
}
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent > .sub-menu .sub-menu > li {
    border: none;
}
.header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent:hover > .sub-menu .sub-menu {
    position: static !important;
    visibility: visible;
    opacity: 1;
    box-shadow: none;
}
.header .current-menu-item {
    background: #469fb5;
    color: white !important;
}
.header .current-menu-ancestor {
    background: #469fb5;
    color: white !important;
}

@media (max-width: 1050px) {
    .header .mayak_custom-elementor-menu nav > .hfe-nav-menu {
        display: grid;
        max-width: 90%;
        width: 100%;
        margin: 0 auto;
    }
    .header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent:hover .sub-menu {
        position: static !important;
    }
    .header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent > a,
    .header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent > div a {
        color: white !important;
    }
    .header nav {
        width: 100% !important;
    }

    .header .nav__list .parent a {
        border: none;
    }
    .header .nav__list .parent {
        border-bottom: 1px solid #dbdbdb;
    }
}
@media only screen and (max-width: 1024px) {
    .header .mayak_custom-elementor-menu .hfe-nav-menu__breakpoint-mobile .hfe-nav-menu__layout-horizontal .hfe-nav-menu .menu-item-has-children:hover > .sub-menu, .hfe-nav-menu__breakpoint-none .hfe-nav-menu__layout-horizontal .hfe-nav-menu .menu-item-has-children:hover > .sub-menu {
        visibility: visible;
        opacity: 1;
        -webkit-transition: none;
        transition: none;
    }
}
@media only screen and (max-width: 767px) {
    .header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent > .sub-menu {
        display: none;
    }
    .header .mayak_custom-elementor-menu .hfe-nav-menu__breakpoint-mobile .hfe-nav-menu__layout-horizontal .hfe-nav-menu .menu-item-has-children:hover > .sub-menu, .hfe-nav-menu__breakpoint-none .hfe-nav-menu__layout-horizontal .hfe-nav-menu .menu-item-has-children:hover > .sub-menu {
        display: block;
        visibility: visible;
        opacity: 1;
        -webkit-transition: none;
        transition: none;
    }
    .header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent > .sub-menu {
        padding: 15px;
    }
    .header .mayak_custom-elementor-menu .hfe-nav-menu .menu-item.parent > .sub-menu {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr))
    }
}
