/*
 * Working-copy chrome only: the notice banner, the masthead search and the
 * footer credit. Kept apart from squarespace-prtpo/custom-css.css, which is
 * the remediation PRTPO pastes into Squarespace.
 */
.proto-banner {
  position: relative;
  z-index: 10000;
  margin: 0;
  padding: 8px 16px;
  background: #081b33;
  color: #fff;
  font: 400 14px/1.4 Jost, futura-pt, "Helvetica Neue", Arial, sans-serif;
  text-align: center;
}
.proto-banner p {
  margin: 0;
}
.proto-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.proto-banner a:focus-visible {
  outline-color: #fff !important;
  box-shadow: 0 0 0 2px #081b33 !important;
}
/* The kit's paragraph-link hover colour (p a:hover) would turn this link
   PRTPO green on the navy banner (3.1:1); it stays white. */
.proto-banner p a:hover,
.proto-banner p a:focus-visible {
  color: #fff;
}

/* Masthead search: one field, one button, joined, with inset focus rings.
   It takes its own row under the template's header so the navigation keeps
   its single line. */
#header.site-header {
  flex-wrap: wrap;
}
#header .prtpo-omni-wrap {
  order: 99;
  flex: 1 0 100%;
}
.prtpo-omni-wrap {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  /* Clear of the navigation's focus ring, which reaches 5px past each link. */
  margin: 10px 0 0;
}
.prtpo-omni {
  position: relative;
  display: flex;
  width: min(420px, 100%);
}
.prtpo-omni__input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 2px solid #054f66;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  background: #fff;
  color: #272727;
  font: 400 16px/1.2 Jost, futura-pt, "Helvetica Neue", Arial, sans-serif;
}
.prtpo-omni__input::placeholder {
  color: #5f5f5f;
}
.prtpo-omni__button {
  min-height: 44px;
  min-width: 44px;
  margin: 0;
  padding: 0 16px;
  border: 2px solid #054f66;
  border-radius: 0 4px 4px 0;
  background: #054f66;
  color: #fff;
  font: 500 16px/1 Jost, futura-pt, "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
}
.prtpo-omni__button:hover {
  background: #081b33;
  border-color: #081b33;
}
html body .prtpo-omni__input:focus-visible {
  outline: 3px solid #081b33 !important;
  outline-offset: -5px !important;
  box-shadow: none !important;
}
html body .prtpo-omni__button:focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: -7px !important;
  box-shadow: none !important;
}
.prtpo-omni__list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10002;
  margin: 4px 0 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #054f66;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(8, 27, 51, 0.18);
  max-height: 70vh;
  overflow-y: auto;
  text-align: left;
}
.prtpo-omni__list[hidden] {
  display: none;
}
.prtpo-omni__group {
  margin: 0;
  padding: 8px 14px 4px;
  color: #577029;
  font: 600 13px/1.3 Jost, futura-pt, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.prtpo-omni__option {
  margin: 0;
  padding: 8px 14px;
  min-height: 24px;
  color: #272727;
  font: 400 15px/1.35 Jost, futura-pt, "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
}
.prtpo-omni__option small {
  display: block;
  color: #4a4a4a;
  font-size: 13px;
}
.prtpo-omni__option[aria-selected="true"],
.prtpo-omni__option:hover {
  background: #e6efd9;
}
.prtpo-omni__empty {
  margin: 0;
  padding: 8px 14px;
  color: #3e3e3e;
  font: 400 15px/1.35 Jost, futura-pt, "Helvetica Neue", Arial, sans-serif;
}
/* An empty search answer sits under PRTPO's hairline, the same green rule
   the kit draws between sections. */
.prtpo-hairline-empty {
  border-top: 1px solid #85ab3f;
  padding-top: 10px;
}
.prtpo-omni-wrap--mobile {
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

/* Search results page. */
.prtpo-results {
  margin: 0 0 40px;
}
.prtpo-results__count {
  margin: 0 0 18px;
  color: #3e3e3e;
}
.prtpo-results__group {
  margin: 28px 0 8px;
}
.prtpo-results ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.prtpo-results li {
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid #d6d6d6;
}
.prtpo-results li a {
  font-weight: 600;
}
.prtpo-results li p {
  margin: 4px 0 0;
}

/* Squarespace's own script sizes gallery images; in the copy they take the
   width of their grid cell. */
.sqs-gallery-design-grid {
  overflow: hidden;
}
.sqs-gallery-design-grid-slide {
  float: left;
  box-sizing: border-box;
}
.sqs-gallery-design-grid-slide .margin-wrapper {
  padding: 6px;
}
.sqs-gallery-design-grid-slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* The contact form's note when a visitor presses Submit in the copy. */
.prtpo-form-note {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-left: 4px solid #85ab3f;
  background: #fff;
  color: #3e3e3e;
  font-size: 16px;
  line-height: 1.5;
}

/* Footer additions. */
.prtpo-footer-extra {
  clear: both;
  padding: 18px 0 30px;
  font-size: 14px;
}
.prtpo-footer-extra p {
  margin: 0 0 6px;
}

/* Without scripts, the template's own menu label shows a word instead of the
   icon sprite it loads from prtpo.org. */
.mobile-nav-toggle-label .prtpo-label-text {
  font: 500 16px/1 Jost, futura-pt, "Helvetica Neue", Arial, sans-serif;
  color: #054f66;
}

@media (max-width: 640px) {
  .prtpo-omni-wrap {
    justify-content: center;
  }
}
