.hs-search-field {
  position: relative;
}
.hs-search-field__input {
  box-sizing: border-box;
  width: 100%;
}
.hs-search-field__bar button svg {
  height: 10px;
}
.hs-search-field__suggestions {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hs-search-field--open .hs-search-field__suggestions {
  border: 1px solid #000;
}
.hs-search-field__suggestions li {
  display: block;
  margin: 0;
  padding: 0;
}
.hs-search-field__suggestions #results-for {
  font-weight: bold;
}
.hs-search-field__suggestions a,
.hs-search-field__suggestions #results-for {
  display: block;
}
.hs-search-field__suggestions a:hover,
.hs-search-field__suggestions a:focus {
  background-color: rgba(0, 0, 0, 0.1);
  outline: none;
}


/* Menu */
.menu .menu__wrapper {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Menu items */
.menu__item {
  position: relative;
}

.menu__link {
  font-size: 14px;
  line-height: 28px;
  text-decoration: none;
}

.menu__link:hover,
.menu__link:focus,
.menu__link:active {
  text-decoration: none;
}

.menu__link--active-link,
.menu__link--active-branch {
  font-weight: bold;
}

@media (max-width: 999px) {
  .menu__item {
    display: block;
    width: 100%;
  }

  .menu__link {
    display: block;
    font-size: 18px;
  }
}

/* Menu items - top level */

.menu__item--depth-1 {
  display: inline-block;
  padding: 0;
}

@media (min-width: 1000px) {
  .menu__item--depth-1 {
    display: flex;
    align-items: center;
    height: 100%;
    text-transform: uppercase;
  }
}

.menu__item--depth-1 > .menu__link {
  padding: 0 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  transition: color 0.2s ease;
}

@media (max-width: 999px) {
  .menu__item--depth-1 > .menu__link {
    opacity: 0.7;
  }
}

@media (min-width: 1000px) {
  .menu__item--depth-1 > .menu__link {
    color: #002a3a;
    justify-content: center;
  }
}

.menu__item.menu__item--depth-1.menu__item--has-submenu:hover > .menu__link,
.menu__item--depth-1 > .menu__link:hover {
  color: #fff;
}

@media (max-width: 999px) {
  .menu__item.menu__item--depth-1.menu__item--has-submenu:hover > .menu__link,
  .menu__item--depth-1 > .menu__link:hover {
    opacity: 0.7;
  }
}

@media (min-width: 1000px) {
  .menu__item.menu__item--depth-1.menu__item--has-submenu:hover > .menu__link,
  .menu__item--depth-1 > .menu__link:hover {
    color: #fdc300;
  }

  .menu__item--depth-1 > .menu__link.menu__link--toggle {
    padding: 0 26px 0 20px;
  }
}

.menu__item .menu__link i {
  font-size: 16px;
  padding: 10px;
}

@media (min-width: 1000px) {
  .menu__item .menu__link i {
    font-size: 10px;
    margin-left: 8px;
    margin-bottom: 2px;
    padding: 0;
  }
}

.menu__item .menu__link--active-link:after {
  bottom: -3px;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  width: 100%;
}


/* Menu items - submenus */

@media (max-width: 999px) {
  .menu .menu__submenu {
    border-radius: 0;
    text-align: left;
    text-transform: none;
    top: 100%;
    width: auto;
    border: none;
    box-shadow: none;
    background: none;
    color: #fff;
    padding: 0 0 0 20px;
    height: 0;
    overflow-y: hidden;
    transition: height 0.5s ease;
  }

  .menu .menu__submenu .menu__submenu-container {
    display: block;
    padding-bottom: 12px;
  }

  .menu__submenu.menu__submenu--level-3 {
    padding: 0 26px 0 20px;
  }

  /* .menu__submenu.menu__submenu--level-3.show {
  padding-bottom: 12px;
} */
}

@media (min-width: 1000px) {

  .menu .menu__submenu {
    border-radius: 0;
    display: none;
    left: 0;
    position: absolute;
    text-align: left;
    text-transform: none;
    top: 100%;
    width: 360px;
    z-index: 99;
    border: none;
    box-shadow: 0px 10px 20px rgba(20, 20, 20, 0.65);
    background: linear-gradient( 45deg, rgba(28,34,37,1) 0%, rgba(0,42,58,1) 100%);
    color: #fff;
    padding: 15px;
  }  

  .menu__item.menu__item--has-submenu:hover > .menu__submenu  {
    display: block;
  }
}

/* Keeps the first menu item's drop down menu aligned to the left of the top level menu item */

.menu__item--depth-1:first-child .menu__submenu--level-2 {
  transform: unset;
}

.menu__submenu .menu__item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0;
  width: 100%;
}

.menu__submenu .menu__item:hover > .menu__link {
  color: #fff;
  background-color: none;
}

@media (max-width: 999px) {
  .menu__submenu .menu__item:hover > .menu__link {
    opacity: 0.7;
  }
}

@media (min-width: 1000px) {
  .menu__submenu .menu__item:hover > .menu__link {
    color: #252c30;
    background-color: #fdc300;
  }
}

.menu__submenu > .menu__item:last-of-type {
  border-bottom: none;
}

.menu__submenu .menu__link {
  display: block;
  padding: 6px 10px;
  transition: background-color 0.3s;
  width: 100%;
  color: #fff;
  font-weight: 300;
}

@media (max-width: 999px) {
  .menu__submenu .menu__link {
    font-size: 16px;
    opacity: 0.7;
    font-weight: 500;
  }
}

.menu__submenu .menu__link.menu__link--toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu__item .menu__link i {
  transform: rotate(-90deg);
  transition: transform 0.5s ease;
}

.menu__item .menu__link i.rotate {
  transform: rotate(0deg);
}

.menu .menu__submenu--level-3 {
  left: 100%;
  top: -15px;
}

/* Flyouts for the last two top level menu items go left to keep page responsive */

.menu .menu__item--depth-1:nth-last-child(-n+2) .menu__submenu--level-3 {
  left: auto;
  right: 100%;
  top: 0;
}


/* Creates the triangle at the top of the submenu drop down */

@media (min-width: 1000px) {

  .menu__submenu--level-2 > .menu__item:first-child > .menu__link {
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 999px) {
  .menu__submenu {
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: static;
    transform: unset;
    width: 100%;
  }

  .menu__submenu .menu__item {
    border-bottom: none;
    padding: 0;
  }

  .menu__submenu .menu__link {
    display: block;
    padding: 0 20px;
    transition: none;
    width: 100%;
  }

  .menu__submenu .menu__item .menu__link:hover,
  .menu__submenu .menu__item .menu__link:focus {
    background-color: inherit;
    transition: none;
  }
}

/* Menu icons */

@media(min-width: 1000px) {
  .menu__submenu .menu__child-toggle {
    margin-left: auto;
    padding: 0 1.05rem;
  }

  .menu__child-toggle {
    position: absolute;
    right: 5px;
    top: 30px;
    z-index: 2;
  }

  .menu__item--depth-1 > .menu__child-toggle {
    position: static;
    right: 0;
    top: 0;
    vertical-align: middle;
  }

  .menu__child-toggle-icon {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top-style: solid;
    border-top-width: 7px;
    display: block;
    height: 0;
    margin-left: 1px;
    width: 0;
  }
}

@media (max-width: 999px) {
  .menu__child-toggle {
    background-position: center right 30px;
    background-repeat: no-repeat;
    background-size: 20px;
    border: none;
    cursor: pointer;
    height: 55px;
    padding: 15px 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
  }

  .menu__child-toggle-icon {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgc3Ryb2tlPSIjOTc5ODlGIiBzdHJva2Utd2lkdGg9IjIuNCIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCB4PSIxLjIiIHk9IjkuNiIgd2lkdGg9IjE2LjgiIGhlaWdodD0iMSIgcng9Ii41Ii8+PHJlY3QgdHJhbnNmb3JtPSJyb3RhdGUoOTAgOS42IDkuNikiIHg9IjEuMiIgeT0iOS42IiB3aWR0aD0iMTYuOCIgaGVpZ2h0PSIxIiByeD0iLjUiLz48L2c+PC9zdmc+);
    background-repeat: no-repeat;
    display: block;
    height: 20px;
    margin-left: auto;
    margin-right: 1.05rem;
    transition: transform 0.4s;
    width: 20px;
  }

  .menu__item--open > .menu__child-toggle .menu__child-toggle-icon {
    transform: rotate(45deg);
    transition: transform 0.4s;
  }
}

header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-primary .menu__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

@media (min-width: 1000px) {
  header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-primary .menu__wrapper {
    flex-direction: row;
  }
}

header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-secondary .menu__wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
}

@media (min-width: 1000px) {
  header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-secondary .menu__wrapper {
    flex-direction: row;
  }
}


header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-secondary .menu__item {
  padding: 0;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-secondary .menu__item .menu__link {
  line-height: 1;
}

@media (max-width: 999px) {
  header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-secondary .menu__item .menu__link {
    text-transform: none;
  }  
}

@media (min-width: 1000px) {

  header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-secondary .menu__item:first-of-type .menu__link {
    background-color: #fdc300;
    color: #002a3a;
    padding: 10px 20px;
    border-radius: 200px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.13);
    transition: color 0.2s ease, padding 0.2s ease, margin-right 0.2s ease;
  }

  header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-secondary .menu__item:first-of-type .menu__link:hover {
    color: #fff;
    padding: 12px 27px;
    margin-right: -7px;
  }
}

header#top .mobile-search-open,
header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-secondary .menu__item:last-of-type .menu__link {
  margin-left: 39px;
  font-size: 0;
  height: 18px;
  width: 24px;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

header#top .mobile-search-open::before,
header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-secondary .menu__item:last-of-type .menu__link::before {
  content: "\f002";
  font-size: 18px;
}

@media (max-width: 999px) {
  header#top .row .span_9 .menu-container #hs_cos_wrapper_navigation-secondary .menu__item:last-of-type {
    display: none;
  }
}

header#top .mobile-search-open::before {
  padding: 2px;
}

header#top .mobile-search-open {
  margin: 20px;
}

@media (min-width: 1000px) {
  header#top .mobile-search-open {
    display: none;
  }  
}

/* 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: space-between;
  } 
}

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






