/*!
 * Search overlay for the static snapshots (DEV-695 / E1).
 *
 * The live site's overlay is Algolia InstantSearch; its CSS lives in a
 * code-split chunk that the snapshot does not ship, so its class names would
 * render unstyled here. This is a small self-contained sheet in the site's own
 * type and palette (Open Sans, GBA blue #004787) instead.
 */
.snap-search[hidden] {
  display: none;
}
.snap-search {
  position: fixed;
  inset: 0;
  z-index: 10000;
  font-family: "Open Sans", "Helvetica Neue", helvetica, arial, sans-serif;
}
.snap-search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.snap-search__panel {
  position: relative;
  max-width: 720px;
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
@media (max-width: 824px) {
  .snap-search__panel {
    margin: 0;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
}
.snap-search__form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  padding: 0 8px 0 16px;
}
.snap-search__input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 18px;
  padding: 18px 8px;
  color: #5a5d5f;
  background: transparent;
}
/* The field already has an explicit close button; the browser's own clear
   cross next to it reads as two ways to do the same thing. */
.snap-search__input::-webkit-search-cancel-button,
.snap-search__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.snap-search__close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #5a5d5f;
  padding: 8px 12px;
}
.snap-search__close:hover {
  color: #004787;
}
.snap-search__status {
  padding: 12px 16px;
  color: #aeaeae;
  font-size: 14px;
}
.snap-search__results {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  overflow-y: auto;
}
.snap-search__results li {
  border-top: 1px solid #f0f0f0;
}
.snap-search__results li:first-child {
  border-top: 0;
}
.snap-search__hit {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
}
.snap-search__hit:hover,
.snap-search__hit:focus {
  background: #f0f0f0;
  outline: 0;
}
.snap-search__hit-title {
  color: #004787;
  font-weight: 600;
  margin: 0 0 4px;
  font-size: 16px;
}
.snap-search__hit-text {
  color: #5a5d5f;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}
.snap-search__hit mark {
  background: #d9e7f3;
  color: inherit;
}
