.site-header {
    position: relative;
    z-index: 10;
}

.main-header {
    width: 100%;
    padding: 0 0;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand img {
    margin-bottom: -65px;
}

.header-top {
    padding-top: 30px;
}

.header_top {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.header-top-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-header .emg-phone {
    position: relative;
    color: #000;
    font-size: 25px;
    font-weight: 700;
    padding-left: 35px;
    line-height: 1.3;
}

.main-header .emg-phone:before {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    top: 7px;
    left: 0;
    background-image: url(../img/call-icon.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.header-bottom .container {
    border-radius: 50px;
}

body.home .header-bottom .container {
    margin-bottom: -45px;
}


.header_bottom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.site-navigation {
    padding-right: 25px;
}

.emg_ham {
    display: none;
    position: relative;
    z-index: 110;
}


nav.emg-nav-wrap {
    margin-left: auto;
}

.emg-desktop-nav {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    margin: 0;
}

.emg-desktop-nav>li {
    margin: 0;
}

.emg-desktop-nav li {
    list-style: none;
    position: relative;
}

.emg-desktop-nav li a {
    font-size: 18px;
    line-height: 1.412;
    font-weight: 700;
    font-family: var(--primary-font);
    color: rgb(57, 55, 56);
    display: block;
    text-decoration: none;
}

.emg-desktop-nav>li:not(:last-child) {
    margin-right: 5px;
}

.emg-desktop-nav > li > .emg-nav-item > a {
    font-size: 20px;
    color: rgb(255, 255, 255);
    padding: 28px 15px;
    position: relative;
    z-index: 1;
    transition: .3s;
}

.emg-desktop-nav > li:hover > .emg-nav-item > a{
    color: #fff !important;
    background-color: #040707 !important;
}

.emg-desktop-nav > li.menu-item-has-children > .emg-nav-item > a {
    padding-right: 25px;
    position: relative;
    z-index: 10;
}


.emg-desktop-nav>li {
    transition: .3s;
}

.emg-desktop-nav li.menu-item-has-children .nav-arrow {
    width: 18px;
    height: 18px;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(../img/nav/nav-arrow-white.svg);
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform .3s ease-out;
}

.emg-desktop-nav>li.menu-item-has-children:hover>.emg-nav-item>.nav-arrow {
    transform: rotate(180deg) translateY(50%);
}

.emg-desktop-nav .nav-arrow {
    z-index: 11;
}

.emg-desktop-nav ul.sub-menu {
    z-index: 9;
}

.emg-desktop-nav ul {
    transition: transform .4s ease-out, opacity .1s ease-out;
    position: absolute;
    opacity: 0;
    top: 100%;
    left: 0;
    visibility: hidden;
    padding: 10px 0;
    transform: translateY(30px);
    border-radius: 3px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    z-index: 1;
    min-width: 220px;
    box-shadow: rgba(0, 0, 0, .15) 0px 8px 16px 0px;
    background-color: #ffff;
}

.emg-desktop-nav li ul {
    background-color: #fff;
}

.emg-desktop-nav>li:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.emg-desktop-nav ul.sub-menu li {
    flex: 0 0 100%;
    text-align: left;
}

.emg-desktop-nav ul.sub-menu li a {
    color: rgb(var(--primary-color));
    padding: 8px 20px;
    white-space: normal;
    text-transform: none;
    transition: .3s;
}

.emg-desktop-nav ul.sub-menu li a:hover {
    background-color: rgb(var(--primary-color));
    color: #fff;
}

.emg-desktop-nav>li:last-child>ul.sub-menu {
    left: auto;
    right: 0;
}


.mobile-menu-wrap {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 300px;
    max-width: 95%;
    position: fixed;
    top: 0;
    z-index: 100;
    background: #fff;
    text-align: left;
    height: 100vh;
    overflow-y: auto;
    padding: 0 0 90px;
    transition: transform .4s;
    transform: translateX(-100%);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgb(0, 0, 0, .12), 0 1px 5px 0 rgb(0, 0, 0, .2);

    display: none;
}

.mobile-menu-show .mobile-menu-wrap {
    transform: translateX(0);
}

.mobile-menu-logo {
    width: 100%;
    margin-bottom: 30px;
    padding: 20px 15px 30px;
    text-align: center;
}

#emg-mobile-menu,
#emg-mobile-menu ul {
    margin-bottom: 0;
}

#emg-mobile-menu {
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
}

#emg-mobile-menu ul {
    padding: 0;
}

#emg-mobile-menu,
#emg-mobile-menu ul {
    margin-bottom: 0;
}

#emg-mobile-menu ul li {
    list-style: none;
    position: relative;
}

#emg-mobile-menu ul>li {
    vertical-align: middle;
}

#emg-mobile-menu>ul>li:not(:last-child) {
    margin-bottom: 5px;
}

#emg-mobile-menu ul li .emg-nav-item {
    display: block;
    width: 100%;
    position: relative;
}

#emg-mobile-menu li.current-menu-item>.emg-nav-item>a,
#emg-mobile-menu ul li li.current-menu-item a,
#emg-mobile-menu li a:hover {
    background: rgb(var(--primary-color));
    color: #fff;
}

#emg-mobile-menu li a {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--primary-font);
    color: rgb(var(--text-color));
    padding: 8px 20px;
    display: block;
    position: relative;
    transition: .3s;
    text-decoration: none;
}

#emg-mobile-menu li li a {
    padding-left: 34px;
}

#emg-mobile-menu ul>li.menu-item-has-children .nav-arrow {
    width: 30px;
    height: 38px;
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
    transition: transform .3s ease-out;
    position: absolute;
    right: 10px;
    top: 0;
    background-image: url(../img/nav/nav-arrow-black.svg);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
}

#emg-mobile-menu ul>li.show-child-menu .nav-arrow {
    transform: rotate(180deg);
}

#emg-mobile-menu li:not(.current-menu-ancestor) ul,
#emg-mobile-menu li:not(.current-menu-parent) ul {
    display: none;
}

#emg-mobile-menu>ul>li>ul {
    padding-top: 5px;
}

#emg-mobile-menu li ul {
    padding-left: 0;
}

#emg-mobile-menu ul {
    padding: 0;
}

#emg-mobile-menu,
#emg-mobile-menu ul {
    margin-bottom: 0;
}

.hamburger {
    padding: 15px 0;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    margin-left: 20px;
    overflow: visible;
    align-items: center;
}

.hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 40px;
    height: 5px;
    background-color: rgb(var(--primary-color));
    border-radius: 0;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze.is-active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--squeeze .hamburger-inner::before {
    transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}

.hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}

.hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: rgb(var(--primary-color));
}

button:focus:not(:focus-visible) {
    outline: 0;
}

.hamburger:hover {}

.hamburger:focus,
.hamburger:active {
    outline: none;
}

.hamburger:hover {}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -12px;
}

.hamburger-inner::after {
    bottom: -12px;
}


@media screen and (max-width: 1199px) {
    .header_top {
        justify-content: space-between;
    }

    .header-top-center {
        display: none;
    }

    .emg-desktop-nav>li>.emg-nav-item>a {
        font-size: 17px;
    }
}

@media screen and (max-width: 991px) {

    body:not(.home) .main-header {
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .08);
    }

    .mobile-menu-wrap,
    .emg_ham {
        display: flex;
    }

    .emg-nav-wrap {
        display: none !important;
    }
}


@media screen and (max-width: 991px) {
    .header-top {
        padding-top: 0;
    }

    .navbar-brand img {
        margin-bottom: 0;
        width: 250px;
    }

    body.home .header-bottom .container {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    .navbar-brand img {
        width: 240px;
    }

    .main-header .emg-phone {
        font-size: 18px;
        padding-left: 28px;
    }

    .main-header .emg-phone:before {
        top: 0px;
    }
}


@media screen and (max-width: 600px) {

    .navbar-brand img {
        width: 200px;
    }

    .main-header .emg-phone {
        padding-left: 30px;
        margin-right: 0;
    }

    .main-header .emg-phone span {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .navbar-brand img {
        width: 160px;
    }

    .hamburger {
        margin-left: 10px;
    }

    .main-header .emg-phone {
        padding-left: 5px;
    }
    .main-header .emg-phone:before {
        display: none;
    }
}
