
/* HEADER CUSTOM */

.body-container-wrapper {
    margin-top: 0px !important;
}

@media (max-width: 999px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .body-wrapper {
    transition: margin-left 0.5s linear, margin-right 0.5s linear;
  }

  .header-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 99;
    transition: background-color 0.5s linear, left 0.5s linear;
  }

  .menu-open .header-overlay {
    bottom: 0;
    left: 300px;
    background-color: rgba(0, 0, 0, 0.8);
    transition: background-color 0.5s linear, left 0.5s linear;
  }

  .menu-open .body-wrapper {
    margin-left: 300px;
    margin-right: -300px;
  }
}

.header .dnd-section {
  padding: 0;
}

.mobile-search {
  display: none;
}

#header-space {
  background-color: #fdc300;
}

#header-outer {
  width: 100%;
  top: 0;
  left: 0;
  position: fixed;
  padding: 0;
  background-color: #fff;
  z-index: 99;
  overflow: visible;
  box-shadow: 0 3px 45px rgba(0, 0, 0, 0.15);
}

@media (max-width: 999px) {
  #header-outer {
    transition: margin-left 0.5s linear, margin-right 0.5s linear;
  }

  .menu-open #header-outer {
    margin-left: 300px;
    margin-right: -300px;
  }
}


#header-space,
#header-outer {
  height: 54px;
}

@media (min-width: 1000px) {
  #header-space,
  #header-outer {
    height: 100px;
  }

  #header-outer {
    height: 100px;
    transition: height 0.3s ease;
  }

  #header-outer.shrink-navbar {
    height: 68px;
  }
}

header#top {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  display: block;
  position: relative;
  z-index: 9998;
  width: 100%;
}

header#top .container {
  max-width: 880px;
}

header#top .hs-image-widget {
  height: 30px !important;
  max-width: unset !important;
  width: auto;
}

@media (min-width: 1000px) {
  header#top .hs-image-widget {
    height: 50px !important;
    transition: height 0.3s ease;
  }

  .shrink-navbar header#top .hs-image-widget {
    height: 40px !important;
  }
}

@media only screen and (min-width: 1000px) {

  header#top .container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0px 90px;
    position: relative;
  }
}

header#top .row {
  display: flex;
  align-items: center;
}

@media (max-width: 999px) {
  header#top .row {
    justify-content: center;
  } 
}

header#top,
header#top > .container,
header#top > .container > .row,
header#top .row .span_3,
header#top .row .span_9,
header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-primary,
header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-primary .menu,
header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-primary .menu .menu__wrapper {
  height: 100%;
}

.mobile-menu-open {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 20px;
  width: 22px;
  margin: 20px;
}

.mobile-menu-open span {
  height: 1px;
  width: 20px;
  background-color: #000;
  display: block;
}

.mobile-menu-open span:first-of-type {
  margin-bottom: 6px;
}

.mobile-menu-open span:last-of-type {
  margin-top: 6px;
}

.mobile-menu-close {
  padding: 20px;
  margin: 20px 20px 20px auto;
}

.mobile-menu-close span {
  height: 2px;
  width: 20px;
  background-color: #fff;
  display: block;
}

.mobile-menu-close span:first-of-type {
  transform: rotate(45deg) translateX(1px);
}

.mobile-menu-close span:last-of-type {
  transform: rotate(-45deg) translateX(1px);
}

@media (min-width: 1000px) {
  .mobile-menu-close,
  .mobile-menu-open {
    display: none;
  }
}

header#top .row .span_3 {
  display: flex;
  float: none;
  width: auto;
  position: relative;
  margin-right: 0;
  align-items: center;
}

.hs_cos_wrapper_type_linked_image a {
  display: flex;
}

header#top .row .span_9 {
  display: flex;
  float: none;
  text-align: center;
  width: 100%;
  z-index: 1;
  position: relative;
  flex-grow: 1;
}

header#top .row .span_9 .menu-container {
  width: 100%;
}

header#top .logo-spacing {
  display: none;
}

@media (min-width: 1000px) {

  header#top .logo-spacing {
    display: flex;
    align-items: center;
  }
}

header#top .logo-spacing a {
  cursor: none;
}

header#top .logo-spacing a img {
  opacity: 0;
}

@media (min-width: 1000px) {
  header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-secondary {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9999;
    height: 100%;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 999px) {

  header#top .row .span_9 {
    position: fixed;
    background: linear-gradient(145deg, #002a3a, #176482);
    left: 0;
    bottom: 0;
    top: 0;
    width: 300px;
    height: 100vh;
    overflow-x: hidden;
    flex-direction: column;
    margin-left: -300px;
    transition: margin-left 0.5s linear;
  }

  .menu-open header#top .row .span_9 {
    margin-left: 0;
  }
}

#search-outer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: bottom 0s linear 0.4s;
}

#search-outer.show {
  bottom: 0;
  transition: none;
}

#search-outer #search {
  background-color: #fff;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: scaleY(0);
  transition: opacity 0.2s linear,  transform 0s linear 0.2s;
  opacity: 0;
}

#search-outer.show  #search {
  transform: scaleY(1);
  opacity: 1;
  transition: transform 0.2s linear;
}

#search-outer #search form {
  opacity: 0;
  margin-top: -100px;
  transition: opacity 0.4s linear 0.3s, margin-top 0.4s linear 0.3s;
}

#search-outer.show #search form {
  opacity: 1;
  margin-top: 0;
}

#search-outer #close {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.5s, opacity 0.4s linear 0.3s;
  opacity: 0;
}

#search-outer.show #close {
  opacity: 1;
}

#search-outer #close:hover {
  transform: rotate(90deg);
}

#search-outer #close span {
  height: 2px;
  width: 20px;
  background-color: #000;
  display: block;
  transition: background-color 0.5s;
}

#search-outer #close:hover span {
  background-color: #fdc300;
}

#search-outer #close span:first-of-type {
  transform: rotate(45deg) translateX(1px);
}

#search-outer #close span:last-of-type {
  transform: rotate(-45deg) translateX(1px);
}

#search-outer form label {
  display: none;
}

#search-outer form input {
  border: none;
  font-size: 26px;
  text-align: center;
}

@media (min-width: 1000px) {
  #search-outer form input {
    font-size: 40px;
  }
}

#search-outer form input:focus-visible {
  outline: none !important;
}






