/* Responsive layer for both original SSBP archive themes. */
.ssbp-restored {
  --ssbp-ink: #172633;
  --ssbp-blue: #003366;
  --ssbp-focus: #9c3f00;
  color: var(--ssbp-ink);
  margin: 0;
}
.ssbp-page-table {
  float: none;
  inline-size: min(100%, 56rem);
  max-inline-size: 100%;
  margin-inline: auto;
}
.ssbp-round {
  min-block-size: 100vh;
  background-color: var(--ssbp-blue);
}
.ssbp-restored hr {
  max-inline-size: 100%;
  box-sizing: border-box;
}
.ssbp-page-table img {
  max-inline-size: 100%;
  block-size: auto;
}
.ssbp-page-table :is(.header, .ssbp-header-cell) {
  block-size: auto;
  background: #fff;
}
.ssbp-page-table :is(.header, .ssbp-header-cell) img {
  display: block;
  inline-size: 100%;
  max-inline-size: 760px;
  margin-inline: auto;
}
.ssbp-reading {
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.ssbp-reading :is(td, th) {
  font-size: inherit;
  line-height: inherit;
}
.ssbp-reading font:is([size="1"],[size="2"],[size="3"]) {
  font-size: inherit;
}
.ssbp-reading :is(a[href], .link) {
  text-decoration: underline;
  text-underline-offset: .15em;
}
.ssbp-reading :is(pre, code) {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ssbp-reading :is(table, textarea, select, input) {
  max-inline-size: 100%;
  box-sizing: border-box;
}
.ssbp-reading :is(textarea, select, input:not([type="checkbox"], [type="radio"], [type="hidden"])) {
  min-block-size: 2.75rem;
  font-size: 1rem;
}
.ssbp-reading textarea {
  resize: vertical;
}
.ssbp-content-cell {
  min-inline-size: 0;
  white-space: normal;
}
.ssbp-table-scroll {
  max-inline-size: 100%;
  overflow-x: auto;
  margin-block: 1rem;
}
.ssbp-navigation a[href] {
  display: flex;
  align-items: center;
  min-inline-size: 1.5rem;
  min-block-size: 1.75rem;
  box-sizing: border-box;
  padding: .3rem .55rem;
  line-height: 1.25;
  white-space: normal;
}
.ssbp-navigation a.ssbp-empty-duplicate[href] {
  display: none;
}
.ssbp-classic-links font {
  line-height: 1.35;
}
.ssbp-navigation [aria-current="page"] {
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: .15em;
}
.ssbp-restored :is(a[href], button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--ssbp-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff;
}
.ssbp-navigation a[href]:focus-visible {
  outline: 3px solid #ffe38e;
  outline-offset: -3px;
  box-shadow: none;
}
.ssbp-skip {
  position: fixed;
  inset-block-start: .5rem;
  inset-inline-start: .5rem;
  z-index: 10;
  transform: translateY(-180%);
  display: inline-flex;
  align-items: center;
  padding-inline: .75rem;
  min-block-size: 2.75rem;
  background: #fff;
  color: var(--ssbp-blue);
}
.ssbp-skip:focus {
  transform: none;
}
.ssbp-footer {
  background: #fff;
  padding: .65rem 1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.archive-missing-photo {
  display: inline-block;
  padding: .55em .75em;
  background: #edf3f8;
  color: #243d52;
  border: 1px solid #b7cadb;
  font: .9rem/1.45 Verdana, Arial, sans-serif;
}
.archive-reference {
  margin: 1.5em 0;
  padding: .8em 1em;
  border-inline-start: 3px solid var(--ssbp-blue);
  background: #edf3f8;
}
.ssbp-sheet .ssbp-page-table {
  table-layout: fixed;
}
@media screen and (max-width: 52rem) {
  .ssbp-page-table,
  .ssbp-page-table > :is(tbody, thead, tfoot),
  .ssbp-page-table > :is(tbody, thead, tfoot) > tr,
  .ssbp-page-table > :is(tbody, thead, tfoot) > tr > :is(td, th) {
    display: block;
    float: none;
    box-sizing: border-box;
    inline-size: 100%;
    min-inline-size: 0;
    block-size: auto;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .ssbp-page-table > :is(tbody, thead, tfoot) > tr {
    margin: 0;
  }
  .ssbp-page-table > :is(tbody, thead, tfoot) > tr > .ssbp-content-cell {
    padding: clamp(.65rem, 2vw, 1.2rem);
  }
  .ssbp-nav-cell {
    padding: .5rem;
  }
  .ssbp-menu-frame,
  .ssbp-classic-links {
    inline-size: 100%;
  }
  .ssbp-round .ssbp-menu-frame .border,
  .ssbp-classic .ssbp-menu-frame > tbody > tr:has(img[src="/files/images/navbar_base.gif"]):not(:has(a[href])) {
    display: none;
  }
  .ssbp-classic .ssbp-menu-frame td {
    block-size: auto;
    inline-size: 100%;
  }
  .ssbp-classic-links > tbody,
  .ssbp-navigation > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
  }
  .ssbp-classic-links > tbody > tr {
    display: block;
  }
  .ssbp-classic-links > tbody > tr:first-child:not(:has(a[href])),
  .ssbp-classic-links > tbody > tr > td:first-child:not(:only-child):not(:has(a[href])) {
    display: none;
  }
  .ssbp-classic-links > tbody > tr > td {
    display: block;
    inline-size: 100%;
  }
  .ssbp-navigation a[href] {
    min-block-size: 2.75rem;
    padding: .45rem .65rem;
    overflow-wrap: anywhere;
  }
  .ssbp-classic-footer > :is(td, th):empty {
    display: none;
  }
  .ssbp-historical-form .ssbp-reading :is(table[role="presentation"], table[role="presentation"] > tbody,
      table[role="presentation"] > tbody > tr, table[role="presentation"] > tbody > tr > :is(td, th)) {
    display: block;
    inline-size: 100%;
    block-size: auto;
    min-inline-size: 0;
    white-space: normal;
  }
  .ssbp-sheet .ssbp-page-table img {
    max-inline-size: 100%;
  }
}
@media print {
  .ssbp-skip {
    display: none;
  }
}
@media (forced-colors: active) {
  .ssbp-restored :is(a[href], button, input, select, textarea, [tabindex]):focus-visible {
    outline-color: Highlight;
    box-shadow: none;
  }
}
