.mega-menu {
  width: 100%;
  left: 0;
  right: 0;
  background-color: #003f87;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  z-index: 99;
  pointer-events: none;
  border-radius: 0;
  top: 0;
  border: none;
}

.mega-menu.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.mega-menu a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 6px 0;
  font-weight: 500;
  transition: all ease 0.2s;
}

.mega-menu a:hover {
  color: #00bfff;
}

.mega-menu ul {
  padding-left: 0;
}

.mega-menu li {
  border-left: solid 5px #00aeef;
  border-radius: 5px 0px 0px 5px;
  margin: 2rem 0;
}

.mega-menu li a {
  padding: 0.5rem 1.5rem;
}

.mega-menu hr {
  opacity: 100% !important;
}

.navbar .dropdown-menu {
  border: none;
  box-shadow: none;
}

#megaSearchMenu>div>div>form>div>input {
  background: #003f87;
  border: 0;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  color: #fff;
  padding: 0;
  font-size: 16px;
}

#megaSearchMenu>div>div>form>div>button {
  background: #003f87;
  border: 0;
  border-bottom: 1px solid #fff;
  border-radius: 0;
}

#megaSearchMenu input:focus {
  outline: none !important;
  box-shadow: none !important;
}

#megaSearchMenu input::placeholder {
  color: #fff;
}

.navbar-toggler {
  background-color: #fff;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

header .btn-outline-light {
  color: #fff !important;
}

#searchResults {
  max-height: 600px;
  overflow-y: auto;
}

.search-result-item p {
  border-left: solid 5px #00aeef;
  border-radius: 5px 0px 0px 5px;
  padding: 0rem 1.5rem;
}

#searchbtn i:hover {
  transition: all ease 0.2s;
}

#searchToggle {
  cursor: pointer;
  font-weight: 500;
  color: #fff;
  transition: all ease 0.2s;
}

#searchToggle:hover,
#searchToggle:hover a,
#searchToggle:hover i {
  color: #00bfff !important;
}

#megaSearchMenu input::placeholder {
  font-style: italic;
}

#searchbtn,
#closesearch {
  background-color: #00b0f0 !important;
  border: none;
  border-radius: 3px;
  width: 100%;
  max-width: 120px;
  transition: all ease 0.2s;
  color: #fff;
  font-weight: 500;
}

#search-newtab-btn {
  background-color: #00b0f0 !important;
  border: none;
  border-radius: 3px;
  width: 100%;
  white-space: nowrap;
  transition: all ease 0.2s;
  color: #fff;
  font-weight: 500;
}

#closesearch {
  max-width: 40px;
  min-width: 40px;
  font-size: 15px;
}

#searchbtn:hover,
#closesearch:hover,
#search-newtab-btn:hover {
  background-color: #0078d0 !important;
}

#searchDiv {
  border-bottom: 1px solid #fff;
  padding: 0.5rem 0;
  /* width: 20%; */
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

#megaSearchMenu {
  top: unset;
  position: static;
  border: none;
}

@media screen and (max-width: 992px) {
  body:has(#megaSearchMenu.show) {
    overflow: hidden;
  }

  #megaSearchMenu {
    position: absolute;
    top: 0;
    height: 100%;
    min-height: 100vh;
  }

  #megaSearchMenu>div>div>form>div>input,
  #searchDiv {
    width: 100%;
  }

  #searchDiv {
    border: none;
    margin-top: 1rem;
  }

  #searchResults {
    max-height: 400px;
  }

  #searchbtn {
    max-width: 100%;
  }
}

/* Διαβουλεύσεις dropdown */
#menu-menu .dropdown-menu {
  background-color: #003f87;
  border: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  min-width: 270px;
  padding: 0.4rem 0;
}

#menu-menu .dropdown-item {
  color: #fff !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  border-left: 4px solid transparent;
  transition: all 0.15s ease;
  background-color: transparent;
}

#menu-menu .dropdown-item:hover,
#menu-menu .dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #00aeef !important;
  border-left-color: #00aeef;
}

#menu-menu .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 0.3rem 0;
}