/* custom overrides (loaded last) */
@media (max-width: 767px) {
  .headerAndNavContainer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
  }
  /* eyebrow (secondary nav) collapses on scroll to reclaim space */
  .secondaryNav {
    overflow: hidden;
    max-height: 300px;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  .secondaryNav.eyebrow-collapsed {
    max-height: 0 !important;
    opacity: 0 !important;
  }
}

/* Contact page: map uses a fixed-height iframe, so drop the .scMap
   aspect-ratio spacer (padding-top:125%) that leaves a big empty gap
   between the contact columns and the map. */
.block_a668b16c463445b582468ac3c201c03b .scMap { padding-top: 0 !important; }

/* Mobile page: app-store badges centered below the phone/app module */
.blockWrap_mobileAppBadges { clear: both; }
.mobileAppBadges { text-align: center; }
.mobileAppBadges ul { margin: 1.5em 0 0 0 !important; padding: 0 !important; list-style: none !important; font-size: 0; }
.mobileAppBadges li { display: inline-block !important; vertical-align: middle; margin: 0 12px !important; }
.mobileAppBadges img { height: 52px !important; width: auto !important; max-width: none !important; display: inline-block !important; }
@media (max-width: 480px) {
  .mobileAppBadges li { display: block !important; margin: 0 auto 14px !important; }
  .mobileAppBadges img { margin: 0 auto; }
}

/* Footer bottom bar: copyright (left) + Download Our App (right) on one row */
.footerContent .appDownload .secondaryTitle { margin: 0 0 .5em 0; }
.footerContent .appDownload ul { margin: 0; padding: 0; list-style: none; font-size: 0; }
.footerContent .appDownload li { display: inline-block; vertical-align: middle; margin: 0 0 0 12px; }
.footerContent .appDownload li:first-child { margin-left: 0; }
.footerContent .appDownload img { height: 38px; width: auto; display: block; }

@media only screen and (min-width: 768px) {
  /* divider spans full width above the bottom bar */
  .footerContent .blockWrap_a947967bfe954a6a9761613052288ba0 { clear: both; width: 100%; margin-right: 0; }
  /* copyright sits on the left */
  .footerContent .blockWrap_e1ab2a4fc0ca471fbc30e07bb0a2d0f9 { clear: both; float: left; width: 48%; margin-right: 0; }
  /* hide empty spacer block between copyright and app badges */
  .footerContent .blockWrap_d6e1858f40e64497a900cc2568b58e1a { display: none; }
  /* Download Our App + badges right-justified on the same row as copyright */
  .footerContent .blockWrap_db86d595c9424d9f9d4d0403895bf81e { float: right; width: 48%; margin-right: 0; text-align: right; }
  .footerContent .blockWrap_db86d595c9424d9f9d4d0403895bf81e .appDownload ul { text-align: right; }
  /* anything after wraps cleanly to its own row */
  .footerContent .blockWrap_cb85c47e89f74a4dba1ddf7a55e99c67 { clear: both; }
}
