/* ==========================================================================
   RaaS Navigation & Header System
   Solid White Background, Guaranteed Fixed Header & Mobile Navigation
   ========================================================================== */

/* Universal Solid White Background for Header and Mega-Menu */
#header,
header#header,
header#header.header,
header#header.header.light,
header#header .menu,
header#header .mega-menu,
header#header .mega-menu > section.menu-list-items,
.mega-menu > section.menu-list-items {
  background-color: #ffffff !important;
  background: #ffffff !important;
}

header#header {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-height: 75px !important;
  z-index: 9999 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  margin: 0 !important;
}

header#header .menu {
  width: 100% !important;
  display: block !important;
  position: relative !important;
}

header#header .mega-menu {
  min-height: 75px !important;
  width: 100% !important;
  position: relative !important;
  margin: 0 auto !important;
}

header#header .mega-menu > section.menu-list-items {
  min-height: 75px !important;
  height: auto !important;
  padding: 0 !important;
  display: block !important;
  width: 100% !important;
  clear: both !important;
}

/* Brand Logo */
header#header .mega-menu .menu-logo {
  padding: 17px 0 !important;
  margin: 0 !important;
  float: left !important;
  display: block !important;
  height: auto !important;
  line-height: normal !important;
}

header#header .mega-menu .menu-logo img {
  height: 40px !important;
  max-height: 40px !important;
  width: auto !important;
  display: block !important;
}

/* Navigation Menu Links */
header#header .mega-menu .menu-links {
  float: right !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

header#header .mega-menu .menu-links > li {
  float: left !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

header#header .mega-menu .menu-links > li > a {
  color: #1e293b !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 75px !important;
  height: 75px !important;
  padding: 0 15px !important;
  display: inline-block !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

header#header .mega-menu .menu-links > li > a:hover,
header#header .mega-menu .menu-links > li.active > a {
  color: #299be8 !important;
}

/* Header Call-To-Action Button */
header#header .mega-menu .search-cart {
  float: right !important;
  padding: 16px 0 16px 14px !important;
  margin: 0 !important;
  height: 75px !important;
  display: flex !important;
  align-items: center !important;
}

header#header .mega-menu .search-cart .nav-cta-btn {
  background: #299be8 !important;
  color: #ffffff !important;
  padding: 9px 18px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  display: inline-block !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(41, 155, 232, 0.3) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

header#header .mega-menu .search-cart .nav-cta-btn:hover {
  background: #1c82c7 !important;
  box-shadow: 0 4px 12px rgba(41, 155, 232, 0.45) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Sticky Navigation Bar on Scroll (Fixed, 100% Solid White across viewport)
   ========================================================================== */
.mega-menu.desktopTopFixed,
.mega-menu.desktopTopFixed .menu-list-items,
.header.light .mega-menu.desktopTopFixed .menu-list-items,
.mega-menu.desktopTopFixed > section.menu-list-items {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-height: 70px !important;
  height: 70px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  z-index: 99999 !important;
}

.mega-menu.desktopTopFixed .menu-list-items .menu-logo {
  padding: 15px 0 !important;
}

.mega-menu.desktopTopFixed .menu-list-items .menu-logo img {
  height: 38px !important;
  max-height: 38px !important;
}

.mega-menu.desktopTopFixed .menu-list-items .menu-links > li > a {
  line-height: 70px !important;
  height: 70px !important;
  color: #1e293b !important;
}

.mega-menu.desktopTopFixed .menu-list-items .menu-links > li.active > a,
.mega-menu.desktopTopFixed .menu-list-items .menu-links > li > a:hover {
  color: #299be8 !important;
}

.mega-menu.desktopTopFixed .menu-list-items .search-cart {
  padding: 14px 0 14px 14px !important;
  height: 70px !important;
}

/* ==========================================================================
   Mobile Header & Dropdown
   ========================================================================== */
@media screen and (max-width: 991px) {
  header#header,
  header#header .mega-menu,
  header#header .mega-menu > section.menu-list-items {
    min-height: 60px !important;
    height: auto !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
  }
  .mega-menu.mobileTopFixed,
  .mega-menu.mobileTopFixed .menu-list-items,
  .header.light .mega-menu.mobileTopFixed .menu-list-items {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.1) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    z-index: 99999 !important;
  }
  .mega-menu .menu-mobile-collapse-trigger {
    height: 50px !important;
    top: 5px !important;
    display: block !important;
  }
  .mega-menu .menu-mobile-collapse-trigger:before,
  .mega-menu .menu-mobile-collapse-trigger:after,
  .mega-menu .menu-mobile-collapse-trigger span {
    background: #1e293b !important;
  }
  .mega-menu .menu-links {
    background: #ffffff !important;
    background-color: #ffffff !important;
    padding: 10px 0 !important;
    width: 100% !important;
  }
  .mega-menu .menu-links > li > a {
    line-height: 44px !important;
    height: auto !important;
    color: #1e293b !important;
    padding: 0 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }
  .mega-menu .search-cart {
    padding: 12px 20px !important;
    height: auto !important;
    float: none !important;
    display: block !important;
  }
  .mega-menu .search-cart .nav-cta-btn {
    display: block !important;
    text-align: center !important;
  }
}
