* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 8px;
  color: #194784;
  font-family: Arial, Helvetica, sans-serif;
  background: #a9b8d5 url("../images/landing/Circle-Background-Pattern.jpg") repeat;
}
#bodytwo {
  min-height: calc(96vh - 16px);
  background: url("../images/landing/Circle-Background.jpg") no-repeat center top;
  padding-top: 370px;
  padding-bottom: 24px;
}
.landing-panel {
  width: 280px;
  margin-left: calc(50% + 112px);
  text-align: center;
}
.search-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
#landing-query {
  box-sizing: content-box;
  width: 220px;
  height: 25px;
  padding: 0 25px 0 5px;
  border: none;
  border-radius: 8px;
  background: white url("../images/landing/Circle-Search-Bar.png") no-repeat left top;
  color: #152b4a;
  font-size: 18px;
}
.search-submit {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.search-submit img {
  display: block;
  width: 36px;
  height: 27px;
  object-fit: contain;
}
.links { margin-top: 7px; font-size: 16px; font-weight: bold; }
.links a { display: block; width: fit-content; margin: 0 auto 3px; }
a { color: #194784; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, input:focus-visible, button:focus-visible {
  outline: 3px solid #194784;
  outline-offset: 3px;
}
.extra-links {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #19478455;
}
.search-note { font-size: 12px; margin: 8px 0; }
#search-results {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #7c98bb;
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  text-align: left;
  color: #193552;
}
#search-results ul { padding-left: 20px; margin-bottom: 0; }
#search-results li { margin-bottom: 8px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 850px) {
  #bodytwo {
    background-size: 900px auto;
    padding-top: 320px;
  }
  .landing-panel {
    width: min(340px, calc(100% - 24px));
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255,255,255,.92);
  }
}

/* Use a clean search field instead of the fixed-size bar artwork. */
.search-row {
  width: 100%;
  gap: 6px;
}

#landing-query {
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
  width: auto;
  height: 28px;
  padding: 2px 8px;
  border: 2px solid #354776;
  border-radius: 8px;
  background: #fff;
  color: #152b4a;
  font: 16px Arial, Helvetica, sans-serif;
}

.search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
}

/* Wider desktop search results. */
@media (min-width: 851px) {
  #search-results {
    width: 800px;
    margin-left: -520px;
    overflow-wrap: anywhere;
  }
}

.site-footer {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.875rem;
  text-align: right;
  color: #001a33;
}

.site-footer p {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  font-size: inherit;
  text-align: right;
}
