#topnav {position: fixed; width: 100%; z-index: 1049;top: 0px;}
#content:has(#theme-menu) #topnav {position: absolute;}
body:not(.home) #topnav {background: white;}
#topnav, #topnav > nav {height: 70px;}
body:not(.home) #content {padding-top: 70px;}
#topnav .navbar-light .btn-link i {color: #333;font-size: 2em;line-height: 1;}
#main-menu {flex-grow: 1; align-items: center; flex-basis: auto;}
#main-menu .nav-item a {color: var(--text-color); font-size: .9em;}
#main-menu .megamenu .nav-item a:hover {color: var(--black);}
#main-menu .nav-item a.dropdown-toggle::after{display: none;}
#main-menu .nav-item a.dropdown-toggle > i {transition: rotate .5s; margin-left: .25em;}
#main-menu .nav-item a.dropdown-toggle.show > i {transform: rotate(180deg);}
#main-menu .nav-item .list-unstyled a {transition: all .5s;}
#main-menu .nav-item .list-unstyled a:hover {padding-left: 6px;}
#main-menu .megamenu .col-megamenu .nav-link:hover {background-color: var(--light-blue-1); transition: background-color .5s;}
#main-menu .nav-item a.dropdown-item {padding: 0.5rem 1rem;text-transform: initial;font-weight: normal;font-size: .875em; border-left: 1px solid var(--border-color);}
#main-menu .nav-item .nav-title {font-weight: 600; display: flex;align-items: center; justify-content: space-between;text-transform: capitalize;}
#main-menu .nav-item > .nav-link > .nav-title {text-transform: initial;}
#register-link {text-transform: uppercase; font-weight: 600;}

.nav-title-section {
  font-weight: 600;
  color: #7C7C7C;
  font-size: .8rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 6px;
  margin-bottom: 1rem;
}

.header-img {
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 280px;
  height: auto;
}

.badge-new {
  background-color: var(--main-green);
  font-weight: 400;
}

@media all and (min-width: 992px) {
  #topnav, #topnav > nav {height: 90px;}
  body:not(.home) #content {padding-top: 90px;}
  #main-menu .has-megamenu {position:static!important;}
  #main-menu .has-megamenu:hover .megamenu {display: block; top: 90px; box-shadow: 0px 52px 42px 11px rgb(0 0 0 / 5%);}
  #main-menu .megamenu {left:0; right:0; width:100%; margin-top:0; border-radius: 0; border: 0; background: var(--light-blue-1);}
  #main-menu .navbar-nav-height {height: 90px;}
  #main-menu .navbar-nav-height li {display: flex;}
  #main-menu .nav-item a.dropdown-item {font-weight: 600; color: #444444;padding: 0.5rem 0;border: 0;}

  .line {
    height: 2px;
    background-color: var(--main-green);
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    visibility: hidden;
  }

  #main-menu .has-megamenu:hover .line {
    visibility: visible;
  }

  .nav-first-level {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #main-menu .dropdown-menu:not(.megamenu) {
      border-width: 2px 0 0 0;
      border-style: solid;
      border-color: #f5f9fc;
      top: 44px;
      border-radius: 5px;
      box-shadow: 0px 52px 42px 11px rgb(0 0 0 / 5%);
      text-transform: uppercase;
      font-size: 1em;
  }

   #main-menu .megamenu::before {
    content: '';
    position: absolute;
    top: -90px;
    bottom: 0;
    left: 25%;
    right: 25%;
    z-index: -1;
  }

  #main-menu .megamenu::after {
    content: '';
    width: 100vw;
    height: 8vh;
    position: absolute;
    top: 436px;
    left: 0;
    right: 0;
  }

  .item-zindex-10 {
    z-index: 1001;
  }

  .has-megamenu:hover .backdrop {
    background-color: rgba(0, 0, 0, 0.075);
    position: fixed;
    top: 90px;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
  }
}

@media( max-width: 991px){
  #main-menu .megamenu,
  #main-menu .dropdown-menu {border: 0px;}
  #main-menu .navbar.fixed-top .navbar-collapse,
  #main-menu .navbar.sticky-top .navbar-collapse{
    overflow-y: auto;
    max-height: 90vh;
    margin-top:10px;
  }

  .nav-title-section {
    font-weight: 500;
    font-size: .7rem;
    border-bottom: 0;
    margin-bottom: .5rem;
  }

  .header-img {
    max-width: 360px;
  }

}