.site-header {
  position: relative;
  z-index: 10;
}

.main-header {
  width: 100%;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

.header-email,
.header-location {
  background-repeat: no-repeat;
  background-position: left 4px;
}

.header-location {
  background-image: url(../img/icon-marker.png);
}

.header-email {
  background-image: url(../img/icon-email.png);
  padding-left: 20px;
}

.site-navigation {
  display: flex;
}

.header_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-cta {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*.header-phone {
    display: flex;
    align-items: center;
    color: rgb(var(--text-color));
    justify-content: center;
    background-color: transparent;
    padding: 15px 30px;
    border: 2px solid rgb(var(--primary-color));
    border-radius: 50px;
    margin: 0 20px 0 45px;
    transition: .4s;
}

.header-phone:hover { 
    color: #ffffff;
    background-color: rgb(var(--primary-color));
    border-color: rgb(var(--primary-color));
}
*/

/*.header-phone .emg-phone {
    display: inline-block;
    color: rgb(var(--text-color));
    font-size: 16px;
    font-weight: 900;
    padding-left: 5px;
    position: relative;
    line-height: 1.1;
}*/

/*.header-phone .emg-phone:after {
    display: none;
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    line-height: 50px;
    background-image: url(../img/header/call.png);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
}

.header-phone:hover .emg-phone {
    color: #ffffff !Important;
}*/

/*.header-phone span {
    color: rgb(var(--text-color));
    font-size: 16px;
    transition: .4s;
}

.header-phone:hover span {
    color: #ffffff;
}
*/

.navbar-brand {
  padding: 0;
  margin-right: 10px;
}

.header_bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-bottom {
  position: relative;
}

.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.5;
  font-weight: 700;
  color: rgb(var(--primary-color));
  display: block;
}

.emg-desktop-nav li a:hover {
  text-decoration: underline;
}

.emg-desktop-nav > li > .emg-nav-item > a {
  font-size: 16px;
  color: #fff;
  background-color: transparent;
  padding: 10px 25px;
  position: relative;
  z-index: 1;
}

.emg-desktop-nav > li:hover > .emg-nav-item > a {
  background-color: rgb(var(--primary-color));
  color: #ffffff;
  text-decoration: none;
}

.emg-desktop-nav > li.menu-item-has-children > .emg-nav-item > a {
  padding-right: 32px;
  position: relative;
}

.emg-desktop-nav > li {
  transition: 0.3s;
}

.emg-desktop-nav li.menu-item-has-children .nav-arrow {
  width: 18px;
  height: 18px;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.3s ease-out;
  background-image: url(../img/nav/nav-arrow-white.svg);
}

.emg-desktop-nav
  > li.menu-item-has-children:hover
  > .emg-nav-item
  > .nav-arrow {
  transform: rotate(180deg) translateY(50%);
  background-image: url(../img/nav/nav-arrow-white.svg);
}

.emg-desktop-nav .nav-arrow {
  z-index: 11;
}

.emg-desktop-nav ul.sub-menu {
  z-index: 9;
}

.emg-desktop-nav ul.sub-menu {
  transition: transform 0.4s ease-out, opacity 0.1s ease-out;
  position: absolute;
  opacity: 0;
  top: 100%;
  left: 0;
  visibility: hidden;
  padding: 10px 15px;
  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, 0.15) 0px 8px 16px 0px;
  background-color: #fff;
}

.emg-desktop-nav li ul {
  background-color: rgb(var(--secondary-color));
}

.emg-desktop-nav > li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(-2px);
}

.emg-desktop-nav ul.sub-menu li {
  flex: 0 0 100%;
  text-align: left;
}

.emg-desktop-nav ul.sub-menu li a {
  padding: 8px 0;
  white-space: normal;
  text-transform: none;
  transition: 0.3s;
}

.emg-desktop-nav ul.sub-menu li a:hover {
  /*background-color: rgb(var(--secondary-color));*/
  color: rgb(var(--primary-color));
}

.emg-desktop-nav > li.current-menu-item > .emg-nav-item > a {
  background-color: rgb(var(--secondary-color));
}

.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 150px;
  transition: transform 0.4s;
  transform: translateX(-100%);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgb(0, 0, 0, 0.12),
    0 1px 5px 0 rgb(0, 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 25px;
  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: #ffffff;
}

#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: 0.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 0.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 > .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: 10px;
}

#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;
}

.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: 4px;
  background-color: rgb(var(--base-ham-bg));
  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(--base-ham-bg));
}

button:focus:not(:focus-visible) {
  outline: 0;
}

.hamburger:hover {
}
.hamburger:focus,
.hamburger:active {
  outline: none;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -12px;
}

.hamburger-inner::after {
  bottom: -12px;
}

.emg-desktop-nav > li.emg-mega-menu {
  position: unset;
}

.emg-desktop-nav .emg-mega-menu > .emg-nav-item {
  position: relative;
}

.emg-desktop-nav .emg-mega-menu > ul.sub-menu {
  width: 100%;
  max-width: 800px;
  left: max(0px, 50% - 400px) !important;
  margin: 0 auto;
  padding: 15px 20px 30px;
}

.emg-desktop-nav .emg-mega-menu > ul.sub-menu .emg-mega-title {
  font-weight: bold;
}

.emg-desktop-nav .emg-mega-menu .emg-mega-title > .emg-nav-item {
  margin-bottom: 10px;
}

.emg-desktop-nav
  .emg-mega-menu
  > ul.sub-menu
  .emg-mega-title
  > .emg-nav-item
  a {
  cursor: default;
  font-size: 20px;
  position: relative;
  color: rgb(var(--primary-color));
  padding-bottom: 10px;
}

.emg-desktop-nav
  .emg-mega-menu
  > ul.sub-menu
  .emg-mega-title
  > .emg-nav-item
  a:hover {
  text-decoration: none;
}

.emg-desktop-nav
  .emg-mega-menu
  > ul.sub-menu
  .emg-mega-title
  > .emg-nav-item
  a:before {
  content: "";
  position: absolute;
  width: 200px;
  max-width: 100%;
  height: 2px;
  background-color: rgb(var(--primary-color));
  left: 0;
  bottom: 0;
}

.emg-desktop-nav
  .emg-mega-menu
  > ul.sub-menu
  .emg-mega-title
  > .emg-nav-item
  a:hover {
  background-color: transparent;
  color: rgb(var(--primary-color));
}

.emg-desktop-nav .emg-mega-menu > ul.sub-menu .emg-mega-title li.menu-item a {
  font-weight: 700;
  font-size: 17px;
}

.emg-desktop-nav .emg-mega-menu > ul.sub-menu .emg-mega-title .nav-arrow {
  display: none;
}

.emg-desktop-nav .emg-mega-menu ul.sub-menu ul.sub-menu {
  padding: 0;
}
.emg-desktop-nav .emg-mega-menu > ul.sub-menu .emg-mega-title > ul.sub-menu {
  box-shadow: none;
}

.emg-desktop-nav .emg-mega-menu > ul.sub-menu li {
  display: none;
}
.emg-desktop-nav .emg-mega-menu:hover > ul.sub-menu li {
  display: block;
}
.emg-desktop-nav .emg-mega-menu > ul.sub-menu > li {
  flex: 1;
}
.emg-desktop-nav .emg-mega-menu > ul.sub-menu ul.sub-menu {
  visibility: visible;
  position: relative;
  opacity: 1;
  top: unset;
  left: unset;
  transform: translateY(0);
}

.header-phone-number {
  background: url(/wp-content/uploads/2025/03/phone-icon.svg);
  background-position: left;
  background-repeat: no-repeat;
  padding-left: 50px;
  color: #0061a6;
  font-size: 21px;
  font-weight: 500;
  text-align: left;
  line-height: 32px;
}
.header-phone-number span {
  font-size: 14px;
  color: #2b2b2b;
  font-weight: 400;
  display: block;
  line-height: 14px;
}
.phone-section {
  display: flex;
  gap: 25px;
}

@media screen and (max-width: 1199px) {
  .emg-desktop-nav > li > .emg-nav-item > a {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media screen and (max-width: 991px) {
  .mobile-menu-wrap,
  .emg_ham {
    display: flex;
  }

  .emg-nav-wrap {
    display: none !important;
  }

  .header-top-right {
    display: block;
  }

  .header-top-right span {
    margin-bottom: 5px;
  }
  .header-phone-number {
    padding-left: 44px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    line-height: 25px;
    background-size: 40px;
  }
  a.header-phone-number:hover {
    color: #fff;
  }
  .header-phone-number span {
    font-size: 13px;
    color: #e1e1e1;
    font-weight: 400;
    display: block;
    line-height: 16px;
  }
  .phone-section {
    display: flex;
    gap: 16px;
  }
}

@media screen and (max-width: 991px) {
  .header_top {
    justify-content: space-between;
  }

  .header-phone {
    padding: 10px 20px;
    margin: 0 15px 0 10px;
  }

  .header_bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

@media screen and (max-width: 768px) {
  .header_top {
    justify-content: space-between;
  }

  .header-cta img {
    display: none;
  }

  .header-cta {
    /* display: block; */
    text-align: center;
  }

  .header-phone {
    padding: 10px 20px;
    margin: 0 0 10px 0;
  }
}

@media screen and (max-width: 600px) {
  .navbar-brand img {
    width: 175px;
  }
  .header-phone-number {
    padding-left: 36px;
    font-size: 16px;
    line-height: 22px;
    background-size: 30px;
  }
  .header-phone-number span {
    font-size: 12px;
    line-height: 16px;
  }
  .phone-section {
    gap: 10px;
  }
}

@media screen and (max-width: 480px) {
  .navbar-brand img {
    width: 160px;
  }
}
