.dxd-global-header {
  position: relative;
}

.dxd-global-header .top-row {
 display: flex;
  align-items: end; 
}

{# SOCIAL ICONS #}
.header-social {
 display: flex;
  align-items: flex-end;
}

.header-social a {
 padding: 5px 5px 0 5px;
}

.header-social i {
  font-size: 14px;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

{# CALL TO ACTION #}
.header-cta-con {
 display: flex;
  justify-content: end;
  align-items: flex-end;
}

{# MAIN NAV #}
.header-menu {
 display: flex;
  justify-content: center;
}

.header-menu ul {
  display: flex !important;
}

.header-menu ul ul {
  flex-direction: column;
  width: 200px;
}

.header-menu li {
 margin-bottom: 0px; 
}

.header-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a {
  max-width: none; 
  display: flex;
}

.hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children>a:after {
 display: none; 
}

.break-line {
  display: block;
  width: 100%;
  height: 1px;
}

.submenu-toggle {
 position: absolute;
  right: 0;
}

{# MOBILE NAV #}
.hamburger {
  display: none;
  position: absolute;
  left: 10px;
  top: 20px;
  z-index: 999;
  border: none;
}

{# FIVE #}

.hamburger .line{
  width: 30px;
  height: 1px;
  display: block;
  margin: 8px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.hamburger:hover{
  cursor: pointer;
}

.hamburger.is-active{
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}

.hamburger.is-active .line:nth-child(2){
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

.hamburger.is-active .line:nth-child(2){
  -webkit-transition-delay: 0.3s;
  -o-transition-delay: 0.3s;
  transition-delay: 0.3s;
}


.hamburger.is-active .line:nth-child(2){
  opacity: 0;
}

.hamburger.is-active .line:nth-child(1),
.hamburger.is-active .line:nth-child(3){
  width: 20px;
  -webkit-transform-origin: right;
  -moz-transform-origin: right;
  -ms-transform-origin: right;
  -o-transform-origin: right;
  transform-origin: right;
}

.hamburger.is-active .line:nth-child(1){
  -webkit-transform: translateY(9px) rotate(45deg);
  -ms-transform: translateY(9px) rotate(45deg);
  -o-transform: translateY(9px) rotate(45deg);
  transform: translateY(9px) rotate(45deg);
}

.hamburger.is-active .line:nth-child(3){
  -webkit-transform: translateY(-9px) rotate(-45deg);
  -ms-transform: translateY(-9px) rotate(-45deg);
  -o-transform: translateY(-9px) rotate(-45deg);
  transform: translateY(-9px) rotate(-45deg);
}


/* Only show the hamburger button on small screens */
@media (max-width: 575px) {
  .hamburger {
    display: block;
  }

  .dxd-navigation {
    display: none;
  }

  .menu-open .dxd-navigation {
    display: flex;
    width: 100%;
  }
}




.dxd-navigation .header-social .header-inner,
.dxd-navigation .header-cta-con .header-inner{
  display: none;
}

@media (max-width: 575px) {
  .header-social .header-inner,
  .header-cta-con .header-inner
  {
    display: none;
  }
  .dxd-navigation .header-social .header-inner,
  .dxd-navigation .header-cta-con .header-inner{
    display: flex;
    padding-top: 30px;
  }
  .dxd-navigation .header-cta-con {
   justify-content: start; 
  }
  .dxd-navigation .header-social a{
    padding: 10px;
  }
  .dxd-navigation .header-social i {
   font-size: 18px; 
  }
  
  .header-logo .head-inner {
   max-width: 250px; 
    text-align: center;
    margin: auto;
  }
  .dxd-navigation {
    padding-top: 25px;
    height: 100vh;
    position: absolute;
    z-index: 99;
  }
  .header-menu {
    justify-content: left;
  }
  .dxd-navigation .header-menu ul {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .dxd-navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    position: static;
    padding-left: 20px;
    visibility: visible;
    opacity: 1;
    margin-bottom: 15px;
  }
  .dxd-navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children a {
    padding: 5px 20px;
    font-size: 16px;
  }
  
  .dxd-navigation.menu-active {
    
  }
}

@media (max-width: 576px) {
  .dxd-global-header .container {
      max-width: 100%;
  }
}

@media (max-width: 769px) {
  .dxd-global-header .container {
      max-width: 100%;
  }
}

:root {
    --animate-duration: .5s;
    --animate-delay: .25s;
    --animate-repeat: 1;
}
@media (max-width: 575px) {
  .dxd-navigation.menu-active {
      -webkit-animation-name: fadeIn;
      animation-name: fadeIn;

      -webkit-animation-duration: 1s;
      animation-duration: 1s;
      -webkit-animation-duration: var(--animate-duration);
      animation-duration: var(--animate-duration);
      -webkit-animation-fill-mode: both;
      animation-fill-mode: both;

      -webkit-animation-delay: 0s;
      animation-delay: 0s;
      -webkit-animation-delay: var(0s);
      animation-delay: var(0s);
  }

  .dxd-navigation.menu-active .header-menu {
      -webkit-animation-name: fadeInUp;
      animation-name: fadeInUp;

      -webkit-animation-duration: 1s;
      animation-duration: 1s;
      -webkit-animation-duration: var(--animate-duration);
      animation-duration: var(--animate-duration);
      -webkit-animation-fill-mode: both;
      animation-fill-mode: both;

      -webkit-animation-delay: .25s;
      animation-delay: .25s;
      -webkit-animation-delay: var(.25s);
      animation-delay: var(.25s);
  }


  .dxd-navigation.menu-active .header-social {
      -webkit-animation-name: fadeInUp;
      animation-name: fadeInUp;

      -webkit-animation-duration: 05s;
      animation-duration: 05s;
      -webkit-animation-duration: var(--animate-duration);
      animation-duration: var(--animate-duration);
      -webkit-animation-fill-mode: both;
      animation-fill-mode: both;

      -webkit-animation-delay: .45s;
      animation-delay: .45s;
      -webkit-animation-delay: var(.45s);
      animation-delay: var(.45s);
  }


  .dxd-navigation.menu-active .header-cta-con {
      -webkit-animation-name: fadeInUp;
      animation-name: fadeInUp;

      -webkit-animation-duration: 05s;
      animation-duration: 05s;
      -webkit-animation-duration: var(--animate-duration);
      animation-duration: var(--animate-duration);
      -webkit-animation-fill-mode: both;
      animation-fill-mode: both;

      -webkit-animation-delay: .65s;
      animation-delay: .65s;
      -webkit-animation-delay: var(.65s);
      animation-delay: var(.65s);
  }
}
@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 10%, 0);
        transform: translate3d(0, 10%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 10%, 0);
        transform: translate3d(0, 10%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

