* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1;
}

a {
  scroll-margin-top: 5rem;
}

img {
  max-width: 100%;
  height: auto;
}

html,
body,
.wrap-outer {
  height: 100%;
}

.wrap-outer {
  display: flex;
  flex-direction: column;
  z-index: 0;
  height: auto;
  min-height: calc(100vh - 1px);
  min-height: calc(100dvh - 1px);
}

header,
footer {
  flex-shrink: 0;
  text-align: center;
}

header {
  padding: 0.375rem 0;
}
header .site-brand {
  font-size: 2rem;
}

#mwMenuBar {
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 2;
}
body:has(dialog[data-multiselect-dropdown-dialog][open]) #mwMenuBar {
  z-index: 0;
}

.wrap-inner {
  position: relative;
  z-index: 1 !important;
}

.region-primary-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media all and (max-width: calc(40rem - 1px)) {
  .region-primary-menu {
    flex-direction: column;
  }
}

.wrap-inner {
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.page,
footer > .grid {
  position: relative;
  width: 100%;
  max-width: 50rem;
  margin: 0 auto;
}

.page {
  font-size: 1.15rem;
  text-align: justify;
}

.page {
  margin: 2rem 3%;
  padding: 1rem 2rem 2.25rem;
}
.page ol,
.page ul {
  text-align: left;
}
.page .site-brand {
  display: block;
  margin: 0 auto 1em;
  font-size: 3rem;
}
.page .site-brand .site-motto {
  font-size: 1rem !important;
}
@media all and (max-width: 40rem) {
  .page .site-brand {
    font-size: 2.25rem;
  }
}
@media all and (max-width: 35rem) {
  .page .site-brand {
    font-size: 1.75rem;
  }
}
@media all and (max-width: 35rem) {
  .page .site-brand {
    font-size: 1.75rem;
  }
  .page .site-brand .site-motto {
    font-size: 0.75rem !important;
  }
}

nav ul {
  list-style: none;
}

p,
h2,
h3,
table {
  margin: 0 0 1rem 0;
}

ul.blank li,
ol.blank li {
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  line-height: initial;
}

h1 {
  margin: 0 auto;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.75em;
}
h1:has(.subtitle) {
  margin-bottom: 0.5em;
}

.page h2 {
  font-size: 1.375em;
}
.page h3 {
  font-size: 1.125em;
}

@media all and (max-width: 48rem) {
  h1 {
    font-size: 1.5em;
  }
  .page h2 {
    font-size: 1.125em;
  }
  .page h3 {
    font-size: 1.0625em;
  }
}
@media all and (max-width: 38rem) {
  h1 {
    font-size: 1.25em;
  }
  .page h2 {
    font-size: 1.125em;
  }
  .page h3 {
    font-size: 1em;
  }
}
.subtitle {
  display: block;
  font-size: 0.75em;
}

.page {
  display: flex;
  flex-direction: column;
}

.page > * {
  order: 0;
}

.to-top {
  order: -1;
}

.to-bottom {
  order: 1;
}

@media all and (min-width: 48rem) {
  .page {
    display: initial;
  }
}
.media {
  margin: 0 auto 1em;
}
.media picture,
.media img {
  display: block;
  margin: 0 auto;
}
.media img {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: 75vw;
  max-height: 75vh;
  max-height: 75dvh;
}
.media.cap-height img {
  max-height: 35vh;
  max-height: 35dvh;
}
.media.cap-width img {
  max-width: 35vw;
}

@media all and (min-width: 48rem) {
  .img-left {
    float: left;
    max-width: 50%;
    margin: 0 1em 1em;
  }
  .img-right {
    float: right;
    max-width: 50%;
    margin: 0 1em 1em;
  }
}
.centered {
  text-align: center;
  clear: both;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-left: auto;
  margin-right: auto;
}
table caption {
  padding: 0 0.5em 0.5em;
  font-weight: bold;
  font-size: 1.2em;
}
table th {
  font-weight: bold;
}
table th,
table td {
  padding: 0.25em;
}
table img {
  max-width: inherit;
}

.pagetext ul,
.pagetext ol {
  padding: 0 0 0 1.5rem;
  margin-top: 0;
}
.pagetext ul.blank,
.pagetext ol.blank {
  padding: 0;
  margin-left: 0;
  list-style-type: none;
}
.pagetext ul li,
.pagetext ul li .list-label,
.pagetext ol li,
.pagetext ol li .list-label {
  display: list-item;
  margin-bottom: 0.5em;
}
.pagetext ul h3,
.pagetext ol h3 {
  margin-bottom: 0.5rem;
}
.pagetext ul.grid,
.pagetext ol.grid {
  text-align: center;
}

footer {
  padding: 1rem 0;
}
footer .grid > * {
  padding-bottom: 1em;
}
footer .grid > :nth-child(2) {
  text-align: right;
}
footer table {
  margin-bottom: 0;
}
footer table caption {
  display: none;
}
footer table td {
  padding: 0 1em 0 0;
}

@media all and (min-width: 30rem) and (max-width: calc(50rem - 1px)) {
  footer .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  footer .grid > :first-child {
    grid-column: 1/-1;
  }
}
@media all and (min-width: 50rem) {
  footer .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/*# sourceMappingURL=layout.css.map */
