#header {
    font-size: 16px;
    color: #fff;
    background-color: var(--bg-blue);
    padding: 26px 0 26px;
    left: 0;
    width: 100%;
    top: 0;
    z-index: 20;
    margin-bottom: 20px;
    position: -webkit-sticky;
    position: sticky;
    scroll-margin-top: 1em;
}
#header a {
    color: inherit;
}
.phone {
    letter-spacing: 0.3px;
}
nav li {
    list-style: none;
}
#header nav > ul {
    display: flex;
}
#header nav > ul ul {
    display: none;
}
nav a {
    display: block;
}
#header nav > ul > li {
    /*width: 33.333333%;*/
    width: 30.333%;
    padding-top: 26px;
    padding-bottom: 27px;
    margin-top: -26px;
    margin-bottom: -27px;
}
#header nav a {
    padding: 13px 10px;
    text-align: center;
}
#header nav > ul > li:nth-child(1) > a.active {
    background-color: var(--yellow);
    color: var(--white);
}
#header nav a.active, #header nav li.active > a, #header nav a:hover, #header nav > ul > li:hover > a {
    background-color: var(--yellow);
    color: var(--white);
}
#header nav > ul > li > a {
  white-space: nowrap;
}
/*#header nav > ul > li > a.active, #header nav > ul > li > a:hover {
    box-shadow: var(--box-shadow);
}*/
@media(min-width: 1020px) {
    #header nav > ul > li > ul {
        position: absolute;
        background: #fff;
        /*margin-top: 27px;*/
        border: 1px solid #011c4b;
    }
    #header nav > ul li:hover > ul {
        display: block;
    }
    #header nav > ul > li > ul > li a:hover/*, #header nav > ul > li > ul ul*/ {
        background-color: #011c4b;
    }
    #header nav > ul > li > ul a {
        color: var(--bg-blue);
        padding: 23px 35px;
        text-align: left;
        width: 266px;
    }
    #header nav > ul ul ul {
        background: #fff;
        position: absolute;
        left: 100%;
        top: 0;
        border: 1px solid #011c4b;
    }
    #header nav > ul > li > ul > li > a::before {
        content: "›";
        position: absolute;
        right: 25px;
    }
}
#header a.phone, #header a.email {
    display: flex;
    align-items: center;
    justify-content: right;
}
#header a.phone:hover, #header a.email:hover {
  color: var(--yellow);
}
#header .phone-box {
    display:flex;
    justify-content: flex-end;
    align-items: center;
}
#header .phone-box > div, #header a span {
    position: relative;
}
#header .phone-box > div {
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}
#header a span::before, #header .phone-box > div:before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: var(--yellow);
    background-image: url(/images/sprite.png);
    background-repeat: no-repeat;
}
 #header .phone-box > div a span:before {
     display:none !important;
 }
/*#header a:hover span::before {
    box-shadow: var(--box-shadow);
}*/
#header .phone-box > div::before {
    background-position: 0 0;
}
#header a.email span::before {
    background-position: -27px 0;
}
#header .logo {
}
.header-home {
    padding-top: 96px;
}
#menu-mobile-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-blue);
    height: 100%;
    z-index: 100;
    color: #fff;
}
#header nav > ul > li > ul.hint-text {
  color: var(--black);
  padding: 20px;
  width: 335px;
}
#header nav > ul > li > ul.hint-text p {
  margin-bottom: 10px;
}
#header nav > ul > li > ul.hint-text p:last-child {
  margin-bottom: 0px;
}


@media(max-width: 1019px) {
    #header a.phone, #header a.email {
        margin-left: 10px;
    }
    #header a.phone, #header a.email, #header a.phone span, #header a.email span {
        width: 26px;
        height: 26px;
    }
    #header a.phone span::before, #header a.email span::before {
        left: 0;
    }
    #header {
        padding: 6px 0;
    }
    .logo img {
        width: 162px;
    }
    .mobile-header button, #menu-mobile-popup button {
        height: 52px;
        margin-left: -20px;
        position: relative;
        padding: 20px 18px 20px 20px;
        margin-top: -6px;
        width: 60px;
        border: 0 none;
        margin-bottom: -6px;
        background: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .mobile-header button span, .mobile-header button::before, .mobile-header button::after, #menu-mobile-popup button::before, #menu-mobile-popup button::after {
        height: 2px;
        content: "";
        background: white;
        margin: 4px 0;
        flex: none;
        width: 100%;
    }
    .mobile-header button::after {
        width: 75%;
    }
    .mobile-header button:active::after {
        width: 100%;
    }
    #menu-mobile-popup button {
        margin-bottom: 0;
    }
    #menu-mobile-popup button::before, #menu-mobile-popup button::after {
        height: 3px;
        width: 18px;
    }
    #menu-mobile-popup button::before {
        transform: rotate(45deg) translate(7px,5px);
    }
    #menu-mobile-popup button::after {
        transform: rotate(-45deg) translate(3px,-1px)
    }
    .menu-mobile-close {
        background-color: var(--bg-blue);
    }
    .menu-mobile-close + div {
        overflow-y: auto;
        overflow-x: hidden;
        height: calc(100% + -52px);
    }
    #menu-mobile-popup .footer-box-bottom {
        padding-bottom: 40px;
        padding-top: 60px;
    }
}

.header_logo {
    display: block;
}