@include media-breakpoint-up(xl) {
  .mega-menu-custom .sub-menu-list {
    h3 {
      color: #8a91a1;
      text-shadow: none;
    }

    ul li a {
      &:before {
        background: $quaternary-bg;
      }

      &:hover:before {
        width: 12px;
        height: 12px;
      }

      &:hover {
        color: $quaternary-bg;
      }
    }
  }
}

#header-type-6 .top-nav {
  float: none;
}

.dropdown .dropdown-menu.mega-menu-custom {
  padding: 40px 20px;

  @include media-breakpoint-up(xl) {
    display: flex !important;
  }
}

@media (min-width: 1200px) {

  header .mega-menu-custom .sub-menu-list h3,
  .mega-menu-custom .sub-menu-list .h3 {
    color: #41448e;
    text-shadow: none;
    text-transform: math-auto !important;
    font-weight: 900 !important;
    letter-spacing: 0;
  }

  header .mega-menu-custom .sub-menu-list {
    padding: 10px;
  }

  header .mega-menu-custom .sub-menu-list ul {
    display: block;
  }

  header .mega-menu-custom .sub-menu-list ul li a {
    color: #41448e;
  }

  header .mega-menu-custom .sub-menu-list ul li a:before {
    background: #FF9900;
  }
}

@media (max-width: 1199.98px) {
  #header-type-6 .mobile-navbar {
    top: 70px !important;
    height: calc(100% - 70px) !important;
  }

  header.header-main .search-box form {
    background: #FF9900;
  }

  header.header-main .search-box form input[type="submit"] {
    background: url(../../Images/search-white.svg) no-repeat center center;
    width: 20px;
    height: 30px;
    left: 25px;
    position: relative;
    top: -2px;
  }

  .dropdown .dropdown-menu.mega-menu-custom {
    padding: 0px 0px 0px 0px;
    flex-direction: column;
  }

}

@media (max-width: 767.98px) {

  header.header-main nav.navbar .search-box form input {
    &[type="submit"] {
      top: -2px;
    }

    &[type="text"] {
      padding-left: 55px !important;
    }
  }

  .dropdown .dropdown-menu.mega-menu-custom {
    padding: 0px 0px 0px 0px;
    flex-direction: column;
  }

}