/* custom overrides (loaded last) */
/* accessibility: keyboard skip-to-content link, visible only on focus */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 10px 16px;
  background: #003e7e;
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 6px 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}
@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;
  }
}
/* top contact strip: each icon sits tight against its text with even spacing.
   The theme positions the location/phone/hours icons absolutely (left:-20px)
   with mismatched widths and margin-tops, so the icon-to-text gap and vertical
   alignment look uneven. Reflow icon + text inline, centered, even 8px gap. */
/* distribute the three items with equal gaps between them: address flush left,
   hours flush right, phone evenly spaced in between. The blocks must shrink-wrap
   to their content (the theme clones them at a fixed third-width at runtime),
   otherwise the equal-gap distribution is thrown off. */
.secondaryNavContent {
  justify-content: space-between !important;
  gap: 1.5em;
}
.secondaryNavContent .blockContainer {
  padding-left: 0;
  padding-right: 0;
  width: auto !important;
  flex: 0 0 auto !important;
}
.secondaryNavContent .blockInnerContent {
  display: inline-block;
}
.secondaryNavContent .blockInnerContent p {
  display: inline;
  margin: 0;
}
/* the theme hides the email/fax in this strip; keep them hidden (our inline
   rule above would otherwise re-show them) */
.secondaryNavContent .blockText p.contactFax,
.secondaryNavContent .contactEmail,
.secondaryNavContent .addressMapLink br {
  display: none !important;
}
.secondaryNavContent .blockInnerContent:before {
  position: static !important;
  left: auto !important;
  top: auto !important;
  margin: 0 8px 0 0 !important;
  vertical-align: middle !important;
}
/* keep icon and text on one line so they never break apart (desktop strip) */
@media only screen and (min-width: 1025px) {
  .secondaryNavContent .blockInnerContent,
  .secondaryNavContent .blockText p {
    white-space: nowrap;
  }
}
/* enlarge the header logo: the theme caps the logo container at 292px and then
   renders the image at only 66.67% of that (~195px). Widen the container and let
   the image fill it so the brand mark + "Clarks Summit, PA" line read clearly. */
.headerContent h1.logo,
.headerContent div.logo {
  max-width: 320px !important;
}
.headerContent h1.logo img,
.headerContent div.logo img {
  width: 100% !important;
  max-width: 320px !important;
}
@media (max-width: 767px) {
  .headerContent h1.logo,
  .headerContent div.logo {
    max-width: 230px !important;
  }
  .headerContent h1.logo img,
  .headerContent div.logo img {
    max-width: 230px !important;
  }
}
/* footer newsletter: center the Lumistry capture embed inside its section
   (the template's two-column form/heading layout is replaced by a single
   centered widget) */
.block_d66f6a80367049f7b70e5a4e6d422571.layoutD {
  -ms-flex-pack: center !important;
  justify-content: center !important;
}
.block_d66f6a80367049f7b70e5a4e6d422571 .blockForm.lumistryCapture {
  width: 100% !important;
  max-width: 680px !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
}
.block_d66f6a80367049f7b70e5a4e6d422571 .blockForm.lumistryCapture [data-lumistry-capture] {
  margin-left: auto !important;
  margin-right: auto !important;
}
