#dropdown:hover .dropdown-menu {
  display: flex;
}

#dropdown .dropdown-menu {
  position: absolute;
  top: 95%;
  left: -100%;
  transform: translateX(-30%);
  right: 0;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
  float: left;
  min-width: 1100px;
  overflow: hidden;
  padding: 0;
  margin: 2px 0 0;
  font-size: 1rem;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border-top: 2px solid #004666;
  border-bottom: 2px solid #004666;
  border-radius: 0.25rem;
}

#dropdown .dropdown-menu.show {
  display: block;
}

#dropdown .dropdown-menu .nav-tabs {
  display: flex;
  flex-direction: column;
  gap: 5px 0;
  flex-wrap: wrap;
  width: 400px !important;
  height: 300px;
  justify-content: space-between;
  background: url("../images/navtab.webp") no-repeat center center/cover;
  padding: 20px 40px !important;
  padding-right: 0 !important;
  margin: 0;
  list-style: none;
  border: 0 !important;
}

#dropdown .dropdown-menu .nav-tabs .nav-item {
  width: 100% !important;
  border: none !important;
}

#dropdown .nav-tabs .nav-link.active {
  color: #004666 !important;
  background-color: #fff !important;
  margin: 0 !important;
  border-top-left-radius: 30px !important;
  border-bottom-left-radius: 30px !important;
}

#dropdown .nav-tabs .nav-link {
  color: #fff !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: calc(-1 * var(--bs-nav-tabs-border-width));
  border: 0;
  border-radius: 0 !important;
  width: 100% !important;
  border-top-left-radius: 30px !important;
  border-bottom-left-radius: 30px !important;
}

#dropdown .nav-tabs .nav-link i {
  font-size: 12px;
}

#dropdown .nav-tabs .nav-link:hover {
  color: #004666 !important;
  background-color: #fff !important;
  border-top-left-radius: 30px !important;
  border-bottom-left-radius: 30px !important;
}

#dropdown .dropdown-menu .tab-content {
  width: 100%;
  height: 300px;
  padding: 15px;
  background-color: #fff;
  border-radius: 0 0 30px 30px;
}
#dropdown .dropdown-menu .tab-content .tab-pane{
  height: 100%;
}

#dropdown .dropdown-menu .tab-content ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 100%;
  /* background-color: rgb(223, 223, 223); */
}

#dropdown .dropdown-menu .tab-content ul li {
  margin: 0 !important;
  margin-right: 30px !important;
}

#dropdown .dropdown-menu .tab-content ul li a {
  color: #004666 !important;
  font-size: 14px;
  padding: 5px 0;
  width: 100%;
  text-decoration: none;
}

#dropdown .dropdown-menu .tab-content ul li a:hover {
  color: #004666 !important;
  text-decoration: underline;
}

@media only screen and (max-width: 600px) {
  #dropdown .dropdown-menu {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 300px !important;
    left: 0;
    transform: translateX(0);
    min-width: 0;
    padding: 0 !important;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: none;
  }

  #dropdown .dropdown-menu .nav-tabs {
    width: 300px !important;
  }

  #dropdown .dropdown-menu .tab-content {
    border-radius: 0 !important;
    height: 300px !important;
    overflow: scroll;
  }
}