
/* =========================================================
   NYC SKYLINE CRUISES
   Lightweight Sticky Header
   ========================================================= */

/* Main sticky header */
#header.header.light {
  position: sticky;
  top: 0;
  z-index: 10000;
  width: 100%;
  background: #ffffff;
  border: 0 !important;
  box-shadow: 0 2px 10px rgba(15, 35, 55, 0.08);
}

/* Remove legacy Mega Menu borders and shadows */
#header .mega-menu,
#header .mega-menu > section.menu-list-items,
#header .mega-menu.desktopTopFixed > section.menu-list-items,
#header .mega-menu.mobileTopFixed > section.menu-list-items {
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Navigation container */
#header .mega-menu {
  min-height: 72px;
}

#header .mega-menu > section.menu-list-items {
  min-height: 72px;
}

/* Prevent old theme fixed positioning from conflicting
   with the sticky header */
#header .mega-menu.desktopTopFixed > section.menu-list-items,
#header .mega-menu.mobileTopFixed > section.menu-list-items {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
}

/* Remove unwanted gray divider lines */
#header .mega-menu .menu-list-items,
#header .mega-menu .menu-logo,
#header .mega-menu .menu-links {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

@media (min-width: 992px) {

  #header .mega-menu > section.menu-list-items {
    padding: 0 20px;
  }

  /* Logo */
  #header .mega-menu .menu-logo {
    padding: 0;
    margin: 0;
  }

  #header .mega-menu .menu-logo > li > a {
    display: flex;
    align-items: center;
    height: 72px;
    padding: 0;
  }

  #header .mega-menu .menu-logo > li > a img {
    display: block;
    height: 40px;
    width: auto;
    margin: 0;
    padding: 0;
  }

  /* Navigation links */
  #header .mega-menu .menu-links > li > a {
    display: flex;
    align-items: center;
    height: 72px;
    line-height: 1.3;
    padding: 0 13px;

    color: #263241 !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    text-decoration: none;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* Hover */
  #header .mega-menu .menu-links > li > a:hover,
  #header .mega-menu .menu-links > li.active > a {
    color: #d16b2a !important;
  }

}

/* =========================================================
   MOBILE / TABLET NAVIGATION
   ========================================================= */

@media (max-width: 991px) {

  #header .mega-menu {
    min-height: 64px;
  }

  #header .mega-menu > section.menu-list-items {
    min-height: 64px;
    padding: 0 15px;
  }

  /* Mobile logo */
  #header .mega-menu .menu-logo {
    padding: 0;
    margin: 0;
  }

  #header .mega-menu .menu-logo > li > a img {
    height: 40px;
    width: auto;
    max-width: 100%;
  }

  /* Mobile menu */
  #header .mega-menu .menu-links {
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #header .mega-menu .menu-links > li > a {
    color: #263241 !important;
    background: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
  }

  #header .mega-menu .menu-links > li > a:hover {
    color: #d16b2a !important;
  }

}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

#header .mega-menu a:focus-visible {
  outline: 2px solid #d16b2a;
  outline-offset: 3px;
}

/* End NYC Sticky Header */
