.no-list.hs-error-msgs.inputs-list li {
    background-color: white;
    z-index: 999999;
    position: absolute;
    width: 202px;
    padding: 10px;
    border: 1px solid red;
}

span[data-hs-cos-type="language_switcher"]:empty + .header__language-switcher-label {
  display: none;
}

.header__language-switcher-wrapper {
  margin-left: 3rem;
}

.header__language-switcher-label {
  line-height: 1;
  color: var(--base-color);
  font-family: var(--secondary-font-family);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .05rem;
  text-decoration: none;
  text-transform: uppercase;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.header__language-switcher-wrapper .globe_class {
  width: 0px;
  height: 0px;
  background-image: unset;
}

ul.lang_list_class {
    width: max-content;
    text-align: left;
}

.header__language-switcher-wrapper.lang-switcher-open {
  z-index: 200;
}

.header__language-switcher-wrapper.lang-switcher-open .lang_list_class {
  display: block;
}

.header__language-switcher-label::after {
  background-image: url(https://7917815.fs1.hubspotusercontent-na1.net/hubfs/7917815/OpenComp/icons/chevron%20down.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 8px;
  margin-left: 6px;
  position: relative;
  top: -1px;
  transition: all .2s ease;
  width: 12px;
}

.header__language-switcher-wrapper.lang-switcher-open .header__language-switcher-label::after {
  transform: rotate(-180deg);
}

.lang_switcher_link {
    text-decoration: none;
    cursor: pointer;
    color: var(--base-color);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .025rem;
    line-height: 1.71;
}

.header__language-switcher-wrapper .lang_switcher_link:hover,
.header__language-switcher-wrapper .lang_switcher_link:focus {
  text-decoration: underline;
  color: var(--base-color);
}

.header__language-switcher-wrapper .lang_list_class:after, 
.header__language-switcher-wrapper .lang_list_class:before {
  left: unset;
  right: 3rem;
}

@media (max-width: 1199px) {
  .header__language-switcher-wrapper {
    border: 1px solid;
    padding: 2rem;
    min-width: min(450px, 85%);
    display: none;
    margin-left: unset;
    margin-top: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  body.mobile-open .header__language-switcher-wrapper {
    display: flex;
  }
  
  .header__language-switcher-label {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header__language-switcher-label__text {
    margin-right: auto;
  }
  
  .header__language-switcher-wrapper .lang_list_class {
    top: unset;
    bottom: calc(100% + 4.5rem);
    left: 0;
    transform: unset;
    min-width: min(80vw, 400px);
    padding: 0 0 20px;
  }
  
  .header__language-switcher-wrapper .lang_list_class:after, 
  .header__language-switcher-wrapper .lang_list_class:before {
    display: none;
  }
  
  .menu-primary>.hs-menu-wrapper>ul {
    background: #fff !important;
    position: relative;
    z-index: 1;
  }
}

@media(min-width: 1200px) {
  .header__mega-menu .menu-primary .hs-menu-wrapper {
    display:flex !important;
    align-items: center;
    gap: 2rem;
  }