/* Small restoration repairs; the original palette, type, layout and photos stay. */
html { scroll-padding-top: 90px; }
body { overflow-wrap: break-word; }
img { max-width: 100%; }
.archive-note { max-width: 920px; margin: 16px auto; padding: 12px 16px; border-left: 3px solid #726fb9; background: #f5f4fa; color: #444; font: 400 14px/1.6 "Roboto", sans-serif; text-align: left; }
.archive-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; padding: 20px 15px; font: 400 14px/1.6 "Roboto", sans-serif; }
footer .archive-links a { color: #e3e1ff; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset:disabled { opacity: .72; }
fieldset:disabled input, fieldset:disabled button, fieldset:disabled select, fieldset:disabled textarea { cursor: not-allowed; }
.legacy-form > .archive-note { margin: 16px auto 40px; }
.legacy-form main { max-width: 900px; margin: 24px auto; padding: 20px; }
.legacy-form { background-color: #f6f2e9; }
.legacy-form form .archive-note { font-size: 14px; }
.not-found { min-height: 100vh; display: grid; place-items: center; background: #222 url('/images/header_background.jpg') center/cover; }
.not-found main { margin: 24px; padding: 30px; text-align: center; background: rgba(255,255,255,.94); }
.marks-page { background-color: #eee9df; }
.marks-page .welcome { padding: 0 16px; }
.marks-page main { padding-bottom: 24px; }
.marks-page .otkr_img { height: 300px; object-fit: contain; background: #fff; }
.marks-page .nav-link:focus, a:focus-visible, button:focus-visible { outline: 2px solid #726fb9; outline-offset: 3px; }
.resource-unavailable { min-height: 80px; display: grid; place-items: center; }
@media (max-width: 820px) {
  .navbar-header { min-height: 50px; }
  .navbar-brand { margin-left: 15px !important; }
  .navbar-toggle { min-width: 44px; min-height: 44px; }
  header { margin-top: 0 !important; }
  header .intro-text { padding-top: 130px; padding-bottom: 60px; }
  header .intro-heading { line-height: 1.25; }
  .btn-xl { max-width: 100%; white-space: normal; padding: 18px 24px; font-size: 16px; }
  .ot-portfolio-item { width: 100% !important; max-width: 420px; }
  figure.effect-bubba h2 { font-size: 25px; }
  #about .section-title > p { width: 100% !important; }
  .section-title p { margin-left: 0; margin-right: 0; }
  .modal-dialog { margin: 10px; }
  .modal-body { padding: 15px; }
  .modal-body h2 { font-size: 26px; }
  .modal-body img { height: auto !important; }
  .noMob { display: block !important; }
  .legacy-form > div[style] { width: calc(100% - 24px) !important; margin: 20px 12px !important; }
  .legacy-form > div#wrapper { width: 100% !important; margin: 0 !important; }
  .legacy-form main { min-width: 0 !important; width: calc(100% - 24px) !important; max-width: 100% !important; margin: 12px !important; }
  .legacy-form h1 { font-size: 30px; }
  .legacy-form select { height: auto; white-space: normal; }
  .marks-page .menu, .marks-page main, .marks-page footer { width: calc(100% - 24px); }
  .marks-page .hello { font-size: 30px; }
  .marks-page li { margin: 6px; }
  .marks-page .welcome img { float: none; display: block; width: 100%; height: auto; }
  .marks-page .col-md { margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
