/*
 * Small, framework-independent foundation for the static Menoslag mirror.
 * Page-specific presentation remains in the site's authored inline styles.
 */
:root {
  --bs-primary: #ff6400;
  --bs-light: #f8f9fa;
  --bs-border-color: #dee2e6;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
  --bs-secondary-color: #6c757d;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bs-body-color);
  background: var(--bs-body-bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

hr { margin: 1rem 0; border: 0; border-top: 1px solid currentColor; opacity: .25; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: .5rem; font-weight: 500; line-height: 1.2; }
p { margin-top: 0; margin-bottom: 1rem; }
.door li p { margin: 0; }
ol, ul { margin-top: 0; margin-bottom: 1rem; padding-left: 2rem; }
ol ol, ol ul, ul ol, ul ul { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
img, svg { vertical-align: middle; }
button, input, optgroup, select, textarea { margin: 0; font: inherit; line-height: inherit; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
button:not(:disabled), [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled) { cursor: pointer; }
textarea { resize: vertical; }
table { caption-side: bottom; border-collapse: collapse; }
[hidden] { display: none !important; }

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 12px;
  padding-left: 12px;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }
.container-fluid { width: 100%; margin-inline: auto; padding-inline: 12px; }

.row { display: flex; flex-wrap: wrap; margin-right: -12px; margin-left: -12px; }
.row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding-right: 12px; padding-left: 12px; }
.col-6 { flex: 0 0 auto; width: 50%; }
@media (min-width: 768px) { .col-md-4 { flex: 0 0 auto; width: 33.333333%; } }
@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-lg-12 { flex: 0 0 auto; width: 100%; }
}
@media (min-width: 1200px) { .col-xl-5 { flex: 0 0 auto; width: 41.666667%; } }

.btn {
  display: inline-block;
  padding: .375rem .75rem;
  border: 1px solid transparent;
  border-radius: .375rem;
  background: transparent;
  color: inherit;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  user-select: none;
}
.btn-primary { color: #fff; background: var(--bs-primary); border-color: var(--bs-primary); }
.form-control {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  border: 1px solid #ced4da;
  border-radius: .375rem;
  background: #fff;
  color: #212529;
  line-height: 1.5;
}
.input-group { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; }
.input-group > .form-control { position: relative; flex: 1 1 auto; width: 1%; min-width: 0; }
.input-group-lg > .form-control, .input-group-lg > .btn { padding: .5rem 1rem; font-size: 1.25rem; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow-wrap: break-word; background: #fff; border: 1px solid rgba(0,0,0,.175); border-radius: .375rem; }
.badge { display: inline-block; padding: .35em .65em; font-size: .75em; font-weight: 700; line-height: 1; text-align: center; vertical-align: baseline; }

.navbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: .5rem 0; }
.navbar > .container, .navbar > .container-fluid { display: flex; flex-wrap: inherit; align-items: center; justify-content: space-between; }
.navbar-brand { display: inline-block; padding-block: .3125rem; margin-right: 1rem; font-size: 1.25rem; white-space: nowrap; }
.navbar-nav { display: flex; flex-direction: column; margin: 0; padding-left: 0; list-style: none; }
.nav-link { display: block; padding: .5rem 1rem; }
.img-fluid { max-width: 100%; height: auto; }
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important; }

.modal, .offcanvas { display: none; }
.modal.show { position: fixed; inset: 0; z-index: 1055; display: block; overflow: auto; background: rgba(0,0,0,.5); }
.modal-dialog { position: relative; width: auto; margin: .5rem; pointer-events: none; }
.modal-content { position: relative; display: flex; flex-direction: column; width: 100%; pointer-events: auto; background: #fff; border: 1px solid rgba(0,0,0,.2); }
@media (min-width: 576px) { .modal-dialog { max-width: 500px; margin: 1.75rem auto; } .modal-lg { max-width: 800px; } }
.collapse:not(.show) { display: none; }
.collapsing { height: 0; overflow: hidden; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-flex { display: flex !important; }
@media (min-width: 768px) { .d-md-block { display: block !important; } .d-md-flex { display: flex !important; } .d-md-none { display: none !important; } }
@media (min-width: 992px) { .d-lg-block { display: block !important; } .d-lg-flex { display: flex !important; } .d-lg-none { display: none !important; } }
@media print { .d-print-none { display: none !important; } .d-print-block { display: block !important; } }

.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-sticky { position: sticky !important; }
.top-0 { top: 0 !important; }
.start-0 { left: 0 !important; }
.end-0 { right: 0 !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-grow-0 { flex-grow: 0 !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-shrink-1 { flex-shrink: 1 !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }
.align-items-stretch { align-items: stretch !important; }
.gap-1 { gap: .25rem !important; }
.gap-2 { gap: .5rem !important; }
@media (min-width: 992px) { .justify-content-lg-end { justify-content: flex-end !important; } }

.m-0 { margin: 0 !important; }
.mt-2 { margin-top: .5rem !important; } .mt-3 { margin-top: 1rem !important; } .mt-4 { margin-top: 1.5rem !important; } .mt-5 { margin-top: 3rem !important; } .mt-n1 { margin-top: -.25rem !important; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: .25rem !important; } .mb-2 { margin-bottom: .5rem !important; } .mb-3 { margin-bottom: 1rem !important; }
.me-1 { margin-right: .25rem !important; } .me-2 { margin-right: .5rem !important; } .me-4 { margin-right: 1.5rem !important; } .me-auto { margin-right: auto !important; } .me-n1 { margin-right: -.25rem !important; }
.ms-auto { margin-left: auto !important; } .mx-n3 { margin-inline: -1rem !important; } .my-2 { margin-block: .5rem !important; }
.p-0 { padding: 0 !important; } .p-1 { padding: .25rem !important; } .p-2 { padding: .5rem !important; } .p-3 { padding: 1rem !important; }
.pt-0 { padding-top: 0 !important; } .pt-2 { padding-top: .5rem !important; } .pt-4 { padding-top: 1.5rem !important; } .pt-5 { padding-top: 3rem !important; }
.pb-0 { padding-bottom: 0 !important; } .pb-3 { padding-bottom: 1rem !important; } .pb-4 { padding-bottom: 1.5rem !important; }
.pe-3 { padding-right: 1rem !important; }
.px-0 { padding-inline: 0 !important; } .px-2 { padding-inline: .5rem !important; } .px-3 { padding-inline: 1rem !important; } .px-4 { padding-inline: 1.5rem !important; }
.py-1 { padding-block: .25rem !important; } .py-5 { padding-block: 3rem !important; }

.border { border: 1px solid var(--bs-border-color) !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid var(--bs-border-color) !important; }
.border-bottom { border-bottom: 1px solid var(--bs-border-color) !important; }
.border-top-0 { border-top: 0 !important; } .border-start-0 { border-left: 0 !important; } .border-end-0 { border-right: 0 !important; }
.rounded { border-radius: .375rem !important; } .rounded-0 { border-radius: 0 !important; }
.rounded-circle { border-radius: 50% !important; } .rounded-pill { border-radius: 50rem !important; }
.rounded-start-pill { border-radius: 50rem 0 0 50rem !important; } .rounded-end-pill { border-radius: 0 50rem 50rem 0 !important; }
.bg-primary { background-color: var(--bs-primary) !important; } .bg-light, .text-bg-light { background-color: var(--bs-light) !important; }
.bg-transparent { background-color: transparent !important; }
.text-center { text-align: center !important; } .text-start { text-align: left !important; }
.text-muted { color: var(--bs-secondary-color) !important; } .text-reset { color: inherit !important; }
.text-decoration-none { text-decoration: none !important; } .text-nowrap { white-space: nowrap !important; } .text-wrap { white-space: normal !important; }
.text-break { overflow-wrap: break-word !important; word-break: break-word !important; }
.overflow-auto { overflow: auto !important; } .overflow-hidden { overflow: hidden !important; } .overflow-visible { overflow: visible !important; }
.lh-1 { line-height: 1 !important; }

.visually-hidden, .visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
