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

.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: 88px;
}

.body-container-wrapper .body-container {
  padding: 0;  
}

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

@media screen and (max-width: 850px) {
  .in-nav-menu {
    display: none;
  }
  .social-media {
   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;
  }
  .slicknav_nav .container {
    margin: 0 !important; 
  }
  
  .hs-menu-children-wrapper {
    display: none;
    background-color: #112B42;
    color: #ffffffB2;
    position: absolute;
    top: 90px;
    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 {
    border-bottom: 10px solid #112B42;
    background: #112B42;
    color: white;
  }
  
  .hs-menu-wrapper > ul .hs-menu-depth-1 {
    border-bottom: 10px solid #ffffff;
  }
  
  .hs-menu-wrapper > ul .hs-menu-depth-1.active, .hs-menu-wrapper > ul .hs-menu-depth-1.active-branch {
    border-bottom: 10px solid #112B42;
  }
  
  .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;
  }
  
  .social-media {
   display: none; 
  }
}

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

.social-media {
  position: fixed;
  top: 88px;
  right: 40px;
  width: 84px;
  height: 370px;
  background-color: rgba(150,150,150,0.67);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.social-media-text {
  height: 150px;
  position: relative;
  margin-bottom: 20px;
  width: 170px;
}

.social-media-rotate {
  transform: rotateZ(90deg);
  position: absolute;
  top: 60px;
  left: 42px;
  font-size: 20px;
  font-weight: 800;
}

.social-media-icon-container {
  width: 38px;
  height: 38px;
  padding: 25px 0;
}

.social-media-icons img {
  width: 100%;
  height: auto;
}

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

.slicknav_social .social-media-icon-container {
  display: inline-block;
  margin-right: 15px;
}