

{# Menu Global #}

.menu--mobile {
  display: block;
}

/* Menu items */

.menu__item {
  position: relative;
}

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

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

.menu__item {
  display: block;
  width: 100%;
  padding: 0;
}

.menu__link {
  display: block;
  font-size: 22px;
  line-height: 2.18;

}

/* Menu items - top level */

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

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

.menu__item--depth-1>.menu__link--active-link:after {
  content: none;
}

/* Menu items - submenus */

.menu__submenu {
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  display: none;
  left: 0;
  position: absolute;
  text-align: left;
  text-transform: none;
  top: 100%;
  width: 270px;
  z-index: 99;
}

.menu__item--open>.menu__submenu {
  display: block;
}

.menu__submenu--level-2 {
  transform: translateX(-50%);
}

/* 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 {
  padding: 0;
  width: 100%;
}

.menu__submenu .menu__link {
  display: block;
  width: 100%;
}

.menu__submenu--level-3 {
  left: 100%;
  top: 0;
}

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

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

/* Accounts for child toggle */

.menu__submenu .menu__item--has-submenu>.menu__link {
  padding-right: 3rem;
}

.menu__submenu {
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: static;
  transform: unset;
  width: 100%;
}

.menu__submenu .menu__link {
  display: block;
  padding: 0 1rem 0;
  transition: none;
  width: 100%;
  font-size: 20px;
}

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

.menu__item--has-submenu>.menu__link {
  width: 90%;
}

.menu__submenu--level-3 .menu__item .menu__link {
  padding: 0.7rem 3rem;
}

/* Menu icons */
.menu__child-toggle {
  background-position: center right 30px;
  background-repeat: no-repeat;
  background-size: 20px;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute;
  right: 0;
  top: 14px;
  width: 10%;
}

.menu__child-toggle-icon {
  background-repeat: no-repeat;
  display: block;
  height: 20px;
  margin-left: auto;
  margin-right: 1.05rem;
  transition: transform 0.4s;
  width: 20px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(131deg) brightness(105%) contrast(105%);
}

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


{# Social Links #}
header .hs-social-follow {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center
}

header .hs-social-follow__link {
  box-sizing: content-box;
  display: inline-block;
  height: 24px;
  padding: 8px;
  width: 24px;
}

header .hs_cos_wrapper_type_icon {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%
}

#hs_cos_wrapper_social_follow .hs-social-follow {
  justify-content: flex-start;
}

#hs_cos_wrapper_social_follow .hs-social-follow__link {
  width: 24px;
  height: 24px;
  background-color: rgb(225, 49, 137);
  border-radius: 50%;
}

#hs_cos_wrapper_social_follow .hs_cos_wrapper_type_icon svg {
  width: min(16px, 100%);
  height: min(16px, 100%);
  fill: #fff;
}

#hs_cos_wrapper_social_follow .hs-social-follow__link:hover,
#hs_cos_wrapper_social_follow .hs-social-follow__link:focus {
  background-color: var(--white);
}

#hs_cos_wrapper_social_follow .hs-social-follow__link:hover .hs_cos_wrapper_type_icon svg {
  fill: var(--purple);
}

#hs_cos_wrapper_social_follow .hs-social-follow__link:active {
  background-color: var(--white);
}


{# Search #}

.hs-search-field {
  position: relative;
}

.hs-search-field__input {
  box-sizing: border-box;
  width: 100%;
}

.hs-search-field__bar button{
  margin: 0;
  padding: 0;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  z-index: 1;
  cursor: pointer;
  display: flex;
}

.hs-search-field__bar button svg {
  height: 14px;
  fill: var(--secondary);
}

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



.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  z-index: 1000;
  background-color: #CAD8DF;
  transform: translateY(0%);
}

@media (min-width: 768px) {
  .header {
    min-height: 140px;
  }  
}
.header.hidden  {
  transform: translateY(-100%);
}

