
#header {
    position: relative;
    overflow: visible !important;
    z-index: 10;
    padding: 0;
    display: flex;
    align-items: center;     
    justify-content: space-between; 
    flex-wrap: wrap; 
  }
  
  .menu-container {
    width: 100%;
    padding: 6px 0;
    overflow-x: visible; 
  }
  
  .menu {
    display: inline-flex;
    flex-wrap: wrap;  
    align-items: stretch;
    gap: 8px;
    padding: 0 12px;
    margin: 0;
    list-style: none;
    white-space: normal; 
    position: relative;
    z-index: 21;
  }
  
  .menu > .dropdown {
    position: relative;
    z-index: 22;
    flex: 0 0 auto;
  }
  
  .menu > .dropdown > a {
    display: inline-flex; 
    align-items: center;
    min-height: 25px;
    padding: 8px 16px;
    color: #e9f2f7;
    background: rgba(0,0,0,.15);
    border: 1px solid rgba(255,255,255,.18);
    border-bottom-color: rgba(0,0,0,.25);
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.15;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-decoration: none;
  }

  .menu > .dropdown > a:hover,
  .menu > .dropdown > a:focus {
    background: rgba(41,128,185,.9);
    color: #fff;
    border-color: rgba(255,255,255,.25);
    outline: none;
  }
  
  .menu > .dropdown:hover > a,
  .menu > .dropdown.selected > a {
    background: #fff;
    color: #24414b;
    border-color: rgba(0,0,0,.25);
  }
  
  .menu > .dropdown > a::after { 
    content: none; 
  }

  .menu > .dropdown:has(> .dropdown_menu) > a::after {
    content: "▾";
    font-size: 12px;
    margin-left: 8px;
    opacity: .8;
  }
  
  .menu .dropdown:hover > .dropdown_menu {
    display: block;
    animation: growDown 300ms ease-in-out forwards;
  }

  .menu .dropdown_menu li:hover { 
    background-color: #2f4150; 
  }
  
  .menu .dropdown:hover > .dropdown_menu li {
    display: block;
    opacity: 1;
  }
  
  .menu a,
  .menu a:hover,
  .menu a:focus {
    text-decoration: none !important;
  }
  
  .menu .dropdown { 
    padding-bottom: 10px; 
  }

  
  @keyframes growDown {
    0%   { 
      transform: scaleY(0); 
    }
    80%  { 
      transform: scaleY(1.1); 
    }
    100% { 
      transform: scaleY(1); 
    }
  }
  
.menu > .dropdown > a { 
  color: #e9f2f7 !important; 
} 

.menu > .dropdown:hover > a,
.menu > .dropdown:has(> .dropdown_menu:hover) > a {
  background: #fff !important;
  color: #24414b !important;
  border-color: rgba(0,0,0,.25) !important;
  text-decoration: none !important;
}

.menu > .dropdown { 
  position: relative; z-index: 1; 
}
.menu > .dropdown:hover { 
  z-index: 10000; 
}

.menu .dropdown { 
  padding-bottom: 0; 
} 

.menu .dropdown_menu::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -10px; height: 10px;
}


.menu .dropdown:hover > .dropdown_menu {
  display: block;
  animation: growDown 300ms ease-in-out forwards;
}

.menu .dropdown_menu li {
  display: none;
  opacity: 0;
  color: #fff;
  background: transparent;
  padding: 0;
  font-size: 16px;
}

.menu .dropdown:hover > .dropdown_menu li { 
  display: block; opacity: 1; 
}

.menu .dropdown_menu li:hover { 
  background: rgba(255,255,255,.06); 
}

.menu a, .menu a:hover, .menu a:focus { 
  text-decoration: none !important; 
}

.menu,
.menu ul,
.menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu .dropdown_menu li a {
    display: block;
    width: 100%;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
  }

.menu .dropdown { 
  position: relative; 
}

.menu .dropdown_menu {
  min-width: 100%;
  width: max-content;
  max-width: min(40rem, 90vw);
  position: absolute;
  top: 100%;                                       
  left: 0;
  min-width: 240px;
  background: #2f4150;                             
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  z-index: 9999;
  overflow: hidden;
  display: none;
  transform-origin: top center;
  padding: 0;
  margin-top: 0;
}

.menu .dropdown_menu li { 
  margin: 0; padding: 0; 
}

.menu .dropdown_menu li a {
  display: block;
  white-space: nowrap;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
}

.menu .dropdown_menu li a:hover { 
  background: rgba(255,255,255,.08); 
}

.menu .dropdown:hover > .dropdown_menu {
  display: block;
  animation: growDown 300ms ease-in-out forwards;
}

.menu, .menu ul, .menu li { list-style: none; margin: 0; padding: 0; }
