.site-header {
    position: relative;
    z-index: 10;
}

.main-header {
    width: 100%;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.08);
}

.header-top {
    padding: 4px 0;
    background-color: #21221c;
}

.site-address {
    opacity: .7;
    font-size: 16px;
    display: block;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: left center;
    vertical-align: -webkit-baseline-middle;
    padding-left: 20px;
}

.header-top-left img {
    margin-right: 10px;
}

.header-cta {
    display: flex;
    align-items: center;
}

.header-cta .emg-phone {
    display: inline-block;
    font-size: 24px;
    padding-left: 60px;
    font-weight: 600;
    position: relative;
    line-height: 1.1;
    letter-spacing: 1.25px;
}

.header-cta .emg-phone:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: #fff;
    background-image: url(../img/call.png);
    left: 0;
    top: 50%;
    border-radius: 50%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
}

.header-cta .emg-phone span {
    line-height: 1.2;
    display: block;
    font-size: 15px;
    font-weight: normal;
}

.header-cta .btn {
    padding: 12px 30px;
}

.navbar-brand {
    padding: 8px 0;
}

.emg_ham {
    display: none;
    position: relative;
    z-index: 110;
}

.header-bottom {
    position: relative;
}

.header_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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: 17px;
    line-height: 1.3335;
    font-weight: 700;
    font-family: var(--primary-font);
    color: rgb(var(--text-color));
    display: block;
    text-decoration: none;
}

.emg-desktop-nav > li > .emg-nav-item > a {
    font-size: 18px;
    color: #ffff;
    padding: 48px 20px;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
}
.emg-desktop-nav > li:hover > .emg-nav-item > a {
    background-color: rgb(var(--secondary-color));
    color: #fff;
}

.emg-desktop-nav > li.menu-item-has-children > .emg-nav-item > a {
    padding-right: 30px;
    position: relative;
}

.emg-desktop-nav > li {
    transition: .3s;
}

.emg-desktop-nav li.menu-item-has-children .nav-arrow {
    width: 15px;
    height: 15px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(../img/nav-arrow-white.png);
    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: rgb(var(--primary-color));
}

/*.emg-desktop-nav > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}*/

.emg-desktop-nav li.menu-item-has-children:hover > ul.sub-menu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.emg-desktop-nav > li.menu-item-has-children:hover > ul.sub-menu ul.sub-menu{
    left: 222px;
    top: 0;
}
.emg-desktop-nav ul.sub-menu li {
    flex: 0 0 100%;
    text-align: left;
}

.emg-desktop-nav ul.sub-menu li a {
    color:#fff;
    padding: 8px 20px;
    white-space: normal;
    text-transform: none;
    transition: .3s;
}

.emg-desktop-nav ul.sub-menu li a:hover {
    background-color: rgb(var(--secondary-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;
    background-color: #243C72;
}

#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: 500;
    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-arrow-black.png);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
}

#emg-mobile-menu ul > li.show-child-menu >.emg-nav-item > .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: 15px;
    overflow: visible;
}

.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: 35px;
    height: 3px;
    background-color: #ffff;
    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: #ffff;
}

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: 1439px) {

/*    .emg-desktop-nav > li > .emg-nav-item > a {
        font-size: 16px;
        padding: 48px 12px;
    }*/

    .header-cta .btn {
        padding-right: 20px;
        padding-left: 20px;
    }

    .header-cta .emg-phone {
        font-size: 20px;
        padding-left: 48px;
        letter-spacing: 0;
    }

    .header-cta .emg-phone:after {
        width: 40px;
        height: 40px;
        line-height: 40px;
        background-size: 20px;
    }
}

@media screen and (max-width: 1199px) {
    
    .mobile-menu-wrap,
    .emg_ham {
        display: flex;
    }

    .emg-nav-wrap {
        display: none !important;
    }
}


@media screen and (max-width: 1199px) {

}

@media screen and (max-width: 991px) {

    .header_top {
        justify-content: space-between !important;
    }

}

@media screen and (max-width: 768px) {

    .navbar-brand img {
        width: 150px;
    }
}

@media screen and (max-width: 600px) {

    .header-cta .emg-phone {
        font-size: 18px;
        padding-left: 0;
    }
    .header-cta .emg-phone:after {
        display: none;
    }

    .header-cta .emg-phone span {
        margin-bottom: 3px;
    }

    .header-cta .btn {
        padding-right: 15px;
        padding-left: 15px;
        font-size: 14px;
    }    
}



@media screen and (max-width: 480px) {
    .navbar-brand img {
        width: 140px;
    }
    .header-cta .btn {
        display: none;
    }

}



