.nav-area {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 2000;
    transition: top 0.6s;
    padding: 0;
    height: 127px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: right;
    padding-right: 80px;
}

.logo-mobile {
  display: block;
  max-width: 80px;
}

.logo-mobile:after {
  content: '';
  position: absolute;
  background-color: #FAFAFA;
  width: 100dvw;
  height: 80px;
  inset: -16px 0 0 0;
  z-index: -1;
}

@media screen and (min-width: 576px) {
  .logo-mobile {
    padding: 10px 0;
    max-width: 100px;
  }
  
  .logo-mobile:after {
    height: 95px;
  }
}

.logo-mobile-img {
  height: auto;
  width: 100%;
}

.top-wrapper .logo {
  margin: 0 auto 0 10.2%;
}

@media screen and (max-width: 850px) {
  .top-wrapper .logo {
    margin-left: 10px;
  }
}

@media screen and (max-width: 1000px) {
  .top-wrapper .logo {
    margin-left: 20px;
  }
}

{# Ensure all elements down to the menu <a> have the full height of the header #}
{# So the purple box fills the header exacty when selected. #}
.in-nav-menu,
.in-nav-menu .hs-menu-wrapper,
.in-nav-menu .hs-menu-wrapper > ul,
.in-nav-menu .hs-menu-wrapper > ul .hs-menu-depth-1 > a,
.language-selector,
.active-language {
  height: 100%;
}

{# Give the impression of vertically aligned text. #}
.in-nav-menu .hs-menu-wrapper > ul .hs-menu-depth-1 > a::before,
.active-language::before {
  content: "";
  display: block;
  height: calc(50% - 29px);
}

.in-nav-menu .hs-menu-wrapper > ul .hs-menu-depth-1 > a {
  display: flex;
  align-items: center;
  padding: 0 19px;
  text-align: center;
}

@media screen and (max-width: 1000px) {
  .in-nav-menu .hs-menu-wrapper > ul .hs-menu-depth-1 > a {
    padding: 0 10px;
  }
}

.language-selector {
  position: relative;
  min-width: 110px;
}

.language-selector.active:hover,
.language-selector.active:focus {
  background: white;
  background: linear-gradient(0deg, rgba(17,43,66,1) 0%, rgba(17,43,66,1) 80%, rgba(255,255,255,1) 80%);
}

.language-selector.active:hover h3,
.language-selector.active:focus h3 {
  color: white;
}

.language-selector.active:hover svg,
.language-selector.active:focus svg {
   filter: invert(1);
}

.active-language {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0;
}
.language-selector.active .active-language {
  cursor: pointer;
}

.language-selector--selected {
  background: linear-gradient(0deg, rgba(17,43,66,1) 0%, rgba(17,43,66,1) 80%, rgba(255,255,255,1) 80%);
}

.language-selector--selected svg {
  filter: invert(1);
}

.language-selector--selected .active-language {
  color: #fff;
}

.language-dropdown,
.language-dropdown > li {
  list-style-type: none;
}

.language-dropdown {
  background-color: #112B42;
  position: absolute;
  padding: 20px;
  width: 100%;
}

.language-dropdown--hidden {
  display: none;
}

.language-dropdown-icon {
  margin-left: 5px;
  cursor: pointer;
}

.language-dropdown-icon--flipped {
  transform: rotate(180deg) translateY(-6px);
  margin-bottom: 8px;
}

.lang_switcher_link {
  color: #ffffffB2;
  text-decoration: none;
  display: block;
  font-size: 19px;
}

.lang_switcher_link:hover,
.lang_switcher_link:focus,
.lang_switcher_link:focus-within {
  color: white;
  font-weight: 800;
}


.body-container-wrapper {
  margin-top: 127px;
}
@media screen and (max-width: 576px) {
  .body-container-wrapper {
    margin-top: 99px;
  }
}

@media screen and (max-width: 850px) {
  .in-nav-menu {
    display: none;
  }
}

@media screen and (min-width: 575px) {
  .slicknav_menu .slicknav_btn {
    padding: 50px 46px 40px 30px !important;
  }
}

@media screen and (min-width: 850px) {
  .slicknav_menu {
    display: none;
  }
  
  .hs-menu-children-wrapper {
    display: none;
    background-color: #112B42;
    color: #ffffffB2;
    position: fixed;
    margin-left: 0px;
    margin-top: -2px;
    list-style-type: none;
    text-decoration: none;
    padding: 20px;
    font-size: 16px;
    min-width: 350px;
  }
  
  .hs-menu-item .hs-menu-depth-2 {
    padding-bottom: 5px;
    margin-top: 4.5px; /* Needed to counter change in text size affecting container */
  }
  
  .hs-menu-item .hs-menu-depth-2:hover,
  .hs-menu-item .hs-menu-depth-2:focus,
  .hs-menu-item .hs-menu-depth-2:focus-within {
    margin-top:0;
  }
  
  .hs-menu-item .hs-menu-depth-2:hover a,
  .hs-menu-item .hs-menu-depth-2:focus a,
  .hs-menu-item .hs-menu-depth-2:focus-within a {
    font-size: 19px;
  }

  .hs-menu-wrapper.hs-menu-flow-horizontal ul li a {
    text-decoration: inherit;
    color: inherit;
    cursor: auto;
    font-weight: 800;
    font-size: 16px;
  }

  .hs-menu-wrapper > ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style-type: none;
    text-decoration: none;
    margin-bottom: 0;
    padding-left: 30px;
  }

  .hs-menu-wrapper > ul .hs-menu-depth-1:hover,
  .hs-menu-wrapper > ul .hs-menu-depth-1:focus,
  .hs-menu-wrapper > ul .hs-menu-depth-1:focus-within {
    background: #ffffff;
    background: linear-gradient(0deg, rgba(17,43,66,1) 0%, rgba(17,43,66,1) 80%, rgba(255,255,255,1) 80%);
    color: white;
  }
  
  .hs-menu-wrapper > ul li:hover .hs-menu-children-wrapper,
  .hs-menu-wrapper > ul li:focus .hs-menu-children-wrapper,
  .hs-menu-wrapper > ul li:focus-within .hs-menu-children-wrapper {
    display: block;
  }
  
  .hs-menu-children-wrapper > .hs-menu-depth-2:hover {
    background: #112b42;
    color: white;
  }
  
  .hs-menu-wrapper > ul li.hs-menu-depth-1 {
    padding: 0;
    height: 100%;
  }
}

@media screen and (min-width: 1000px) {
  .hs-menu-children-wrapper {
    font-size: 18px;
    min-width: 370px;
  }
  
  .hs-menu-item .hs-menu-depth-2:hover a,
  .hs-menu-item .hs-menu-depth-2:focus a,
  .hs-menu-item .hs-menu-depth-2:focus-within a,
  .lang_switcher_link {
    font-size: 21px;
  }
  
  .hs-menu-wrapper.hs-menu-flow-horizontal ul li a,
  .active-language {
    font-size: 18px;
  }
}

@media screen and (min-width: 1200px) {
  .hs-menu-children-wrapper {
    font-size: 19px;
    min-width: 380px;
  }
  
  .hs-menu-item .hs-menu-depth-2:hover a,
  .hs-menu-item .hs-menu-depth-2:focus a,
  .hs-menu-item .hs-menu-depth-2:focus-within a,
  .lang_switcher_link {
    font-size: 22px;
  }
  
  .hs-menu-wrapper.hs-menu-flow-horizontal ul li a,
  .active-language {
    font-size: 19px;
  }
}
