/* Keep the original font sizes from main.css and adapt the layout to small screens. */
#container { max-width: 1200px; }
#navbar { height: auto; min-height: 40px; display: flow-root; }
#navbar a { padding-top: 10px; height: 30px; }
.search-results { width: 100%; max-width: 1100px; display: flow-root; }
#search-hits { width: 42%; padding-right: 2rem; box-sizing: border-box; }
#search-item { width: 58%; }
#termZone ol { list-style: none; padding: 0; margin: 0; }
#termZone h4 { font-weight: normal; }
#termZone li { margin-bottom: 1.5rem; }
#container #listZone li h3 { margin-top: 1rem; font-weight: normal; }
#results { list-style: none; margin: 0; padding: 0; }
.list-page-links { line-height: 2.4; }
.list-page-links button, select { font: inherit; }
.list-page-links button { border: 1px solid #aaa; background: #eee; padding: 0 .35rem; cursor: pointer; }
.list-page-links button:disabled { color: #999; cursor: default; }
.input-search { height: 32px; box-sizing: border-box; border-radius: 4px; }
#container p[style] { max-width: 100%; }
.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; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #a74000; outline-offset: 3px; }
@media (max-width: 760px) {
  #header-container, #header { height: auto; min-height: 65px; }
  #header img { width: 100%; max-width: 723px; height: auto; display: block; }
  #container { padding: 28px 18px; }
  #navbar ul { margin-left: 18px; }
  #navbar a { padding-right: 20px; }
  #search-item, #search-hits { float: none; width: 100%; padding: 0; }
  #search-item:not(:has(#termZone:empty)) { margin-bottom: 2rem; }
  #footer { height: auto; min-height: 84px; display: flow-root; }
  .footer-para { max-width: calc(100% - 40px); }
  .footer-para span { line-height: 1.5; }
}
