/* Gutknecht Moore – base styles: element defaults, grid, navigation, utilities.
   Own stylesheet; replaces the former third-party bootstrap.min.css (4.6.1) and
   normalize.min.css. Values match the previous rendering so that css/main.css and
   css/site.css (loaded afterwards) behave exactly as before.
   Breakpoints: sm 576px · md 768px · lg 992px · xl 1200px */

/* ---------- element defaults ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
header, footer, nav, section { display: block; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
}
[hidden] { display: none !important; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: 0 !important; }

h1, h2, h3, h4, h5, h6, .h4 { margin-top: 0; margin-bottom: .5rem; font-weight: 500; line-height: 1.2; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
p { margin-top: 0; margin-bottom: 1rem; }
address { margin-bottom: 1rem; font-style: normal; line-height: inherit; }
ul, ol { margin-top: 0; margin-bottom: 1rem; }
ul ul, ul ol, ol ul, ol ol { margin-bottom: 0; }
b, strong { font-weight: bolder; }

a { color: #007bff; text-decoration: none; background-color: transparent; }
a:hover { color: #0056b3; text-decoration: underline; }
a:not([href]):not([class]), a:not([href]):not([class]):hover { color: inherit; text-decoration: none; }

img { vertical-align: middle; border-style: none; }
svg { overflow: hidden; vertical-align: middle; }

button { margin: 0; border-radius: 0; font-family: inherit; font-size: inherit; line-height: inherit;
         text-transform: none; overflow: visible; -webkit-appearance: button; }
button:not(:disabled) { cursor: pointer; }
button:focus:not(:focus-visible) { outline: 0; }
button::-moz-focus-inner { padding: 0; border-style: none; }

/* ---------- layout ---------- */
.img-fluid { max-width: 100%; height: auto; }

.container { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
@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; } }
/* (main.css widens .container to 1320px) */

.row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.col-sm-6, .col-sm-12, .col-md-4, .col-md-6, .col-md-8, .col-md-12,
.col-lg-4, .col-lg-8, .col-lg-9, .col-lg-12 { position: relative; width: 100%; padding-right: 15px; padding-left: 15px; }
@media (min-width: 576px) {
  .col-sm-6  { flex: 0 0 50%;  max-width: 50%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 768px) {
  .col-md-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-6  { flex: 0 0 50%;        max-width: 50%; }
  .col-md-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-12 { flex: 0 0 100%;       max-width: 100%; }
}
@media (min-width: 992px) {
  .col-lg-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9  { flex: 0 0 75%;        max-width: 75%; }
  .col-lg-12 { flex: 0 0 100%;       max-width: 100%; }
}

/* ---------- navigation (mobile menu toggled by js/site.js) ---------- */
.navbar { position: relative; display: flex; flex-wrap: wrap; align-items: center;
          justify-content: space-between; padding: .5rem 1rem; }
.navbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.navbar-brand { display: inline-block; padding-top: .3125rem; padding-bottom: .3125rem; margin-right: 1rem;
                font-size: 1.25rem; line-height: inherit; white-space: nowrap; }
.navbar-brand:hover, .navbar-brand:focus { text-decoration: none; }
.navbar-nav { display: flex; flex-direction: column; padding-left: 0; margin-bottom: 0; list-style: none; }
.nav-link { display: block; padding: .5rem 1rem; }
.nav-link:hover, .nav-link:focus { text-decoration: none; }
.navbar-nav .nav-link { padding-right: 0; padding-left: 0; }
.navbar-collapse { flex-basis: 100%; flex-grow: 1; align-items: center; }
.collapse:not(.show) { display: none; }
.navbar-toggler { padding: .25rem .75rem; font-size: 1.25rem; line-height: 1; background-color: transparent;
                  border: 1px solid transparent; border-radius: .25rem; }
.navbar-toggler:hover, .navbar-toggler:focus { text-decoration: none; }
.navbar-toggler-icon { display: inline-block; width: 1.5em; height: 1.5em; vertical-align: middle;
                       background: 50% / 100% 100% no-repeat; }
@media (max-width: 991.98px) {
  .navbar-expand-lg > .container { padding-right: 0; padding-left: 0; }
}
@media (min-width: 992px) {
  .navbar-expand-lg { flex-flow: row nowrap; justify-content: flex-start; }
  .navbar-expand-lg > .container { flex-wrap: nowrap; }
  .navbar-expand-lg .navbar-nav { flex-direction: row; }
  .navbar-expand-lg .navbar-nav .nav-link { padding-right: .5rem; padding-left: .5rem; }
  .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
  .navbar-expand-lg .navbar-toggler { display: none; }
}
.navbar-light .navbar-brand,
.navbar-light .navbar-brand:hover,
.navbar-light .navbar-brand:focus { color: rgba(0, 0, 0, .9); }
.navbar-light .navbar-nav .nav-link { color: rgba(0, 0, 0, .5); }
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus { color: rgba(0, 0, 0, .7); }
.navbar-light .navbar-nav .active > .nav-link { color: rgba(0, 0, 0, .9); }
.navbar-light .navbar-toggler { color: rgba(0, 0, 0, .5); border-color: rgba(0, 0, 0, .1); }
.navbar-light .navbar-toggler-icon {   /* three-line "hamburger" icon */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- utilities ---------- */
.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; }
.p-0  { padding: 0 !important; }
.pt-2 { padding-top: .5rem !important; }
.pb-2 { padding-bottom: .5rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center !important; }
@media (min-width: 768px) {
  .mt-md-0 { margin-top: 0 !important; }
  .text-md-left  { text-align: left !important; }
  .text-md-right { text-align: right !important; }
}
@media (min-width: 992px) {
  .mt-lg-0 { margin-top: 0 !important; }
}

/* ---------- print ---------- */
@media print {
  *, *::before, *::after { text-shadow: none !important; box-shadow: none !important; }
  img { page-break-inside: avoid; }
  h2, h3, p { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
  .navbar { display: none; }
}
