@import url("https://fonts.googleapis.com/css2?family=Antonio:wght@100..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Permanent+Marker&family=Young+Serif&display=swap");

:root {
  font-size: 16px;
  --ndsu-green: #00583d;
  --ndsu-green-dark: rgb(0, 88, 61);
  --ndsu-yellow: #ffc425;
  --dark-green: #003524;
  --lime-green: #bed73b;
  --teal: #51aba0;
  --lemon-yellow: #fef389;
  --sage: #a0bd78;
  --pale-sage: #d7e5c8;
  --rust: #be5e27;
  --morning-sky: #9dd9f7;
  --night: #0f374b;
  --white: rgb(251, 251, 249);
  --main-width: 1280px;
  --link-hover-gold: 255, 196, 37;
  --c-neutral-800: 40, 44, 47;
  --accent-moss: rgb(214, 228, 199);
  --c-neutral-200: rgb(215, 218, 219);
}

a,
a:hover {
  text-decoration: none;
  color: inherit;
}

button {
  background-color: inherit;
  border: none;
}

strong {
  font-family: "new-spirit", serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  min-width: 100vw;
  line-height: 1.5em;
  min-height: 100vh;
  min-width: 100vw;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--white);
  display: flex;
  flex-flow: column nowrap;
}

#content {
  flex-grow: 1;
}

.pagination {
  align-items: center;
  flex-wrap: wrap;
}

.pagination .paginate_button a.page-link {
  padding: 1rem;
}

#content a:not(.ndsu-button, .pagination > li > a),
.ndsu-link {
  color: rgba(120, 93, 3, 1);
  position: relative;
  text-decoration-color: rgba(120, 93, 3, 1);
  text-decoration: none;
  transition: all 300ms ease-in-out;
}

#content a:hover:not(.ndsu-button, .arrow-link),
.ndsu-link:hover {
  text-decoration: underline;
}

#content a:has(.arrow-link):hover {
  text-decoration: none !important;
}

.list-collection {
  margin: 0;
  padding: 0;
}

.list-collection-item {
  padding: 1em;
  border-top: 1px solid var(--c-neutral-200);
}

.list-collection-item:last-of-type {
  border-bottom: 1px solid var(--c-neutral-200);
}

#content a.arrow-link:hover::after {
  margin-left: 0.75em;
  text-decoration: none !important;
}

.arrow-link::after {
  transition: all 0.3s ease-in-out;
  font-family: "Font Awesome\ 5 Free";
  font-weight: 700;
  content: "\f061";
  color: inherit;
  right: 0;
  margin-left: 0.25em;
  height: 100%;
  width: min-content;
  vertical-align: center;
}

.cas-button {
  height: min-content;
}

.pagination > li > a,
.pagination > li.active > a {
  font-size: 0.89rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  outline: 1px solid var(--ndsu-yellow);
  outline-offset: 0;
  color: var(--ndsu-yellow);
  background-color: var(--ndsu-green);
  border: 0.0625rem solid;
  border-color: var(--ndsu-yellow);
  outline-color: var(--ndsu-yellow);
  padding: 1.5rem;
  transition: all 0.3s ease-in-out 0ms;
}

.ndsu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  outline: 1px solid var(--ndsu-yellow);
  outline-offset: 0;
  color: var(--ndsu-yellow);
  background-color: var(--ndsu-green);
  border: 0.0625rem solid;
  border-color: var(--ndsu-yellow);
  outline-color: var(--ndsu-yellow);
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease-in-out 0ms;
}

.ndsu-button:focus,
.ndsu-button:active {
  text-decoration: none;
  color: white;
  outline-style: dashed;
  outline-color: var(--teal);
  outline-width: 2px;
  outline-offset: 2px;
}

.ndsu-button:hover,
.ndsu-button[data-active="true"],
.pagination > li.active > a,
.pagination > li > a:hover,
.pagination > li.active > a:hover {
  text-decoration: none;
  color: white;
  border-color: var(--white);
  outline-color: var(--white);
  outline-style: solid;
  outline-width: 4px;
  outline-offset: -4px;
  background-color: var(--ndsu-green);
}

#content .ndsu-button:hover,
#content .ndsu-button[data-active="true"],
.pagination > li.active > a,
.pagination > li.active > a:hover,
.pagination > li > a:hover {
  outline-color: var(--ndsu-yellow);
  border-color: var(--ndsu-yellow);
}

.ndsu-icon-button {
  color: var(--ndsu-yellow);
  transition: all 0.3s ease-in-out 0ms;
}

.ndsu-icon-button:hover {
  color: var(--white);
}

.btn-ndsu {
  background-color: var(--ndsu-green);
  color: #eee;
}

.btn-ndsu:hover {
  background-color: var(--dark-green);
  color: var(--ndsu-yellow);
}

.alert {
  border-radius: 0px;
  border: none;
}

.alert-info {
  background-color: var(--morning-sky);
  color: var(--night);
}

.alert h1,
.alert h2,
.alert h3,
.alert h4,
.alert h5,
.alert h6 {
  color: inherit;
}

.help-block {
  color: #dc3545;
}

.datefield-popup.well {
  background: white;
  opacity: 1;
  border: solid 1px black;
  border-radius: 5px;
}

.datefield-popup.well .topLabel {
  color: #222;
}

.glyphicon {
  font-family: "Font Awesome\ 5 Free";
  font-weight: 900;
  color: #222;
}

.glyphicon-calendar::before {
  content: "\f133";
}

.glyphicon-chevron-right::before {
  content: "\f054";
}

.glyphicon-chevron-left::before {
  content: "\f053";
}

button,
input,
table,
td,
th {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "new-spirit", serif;
  margin: 0 0 0.5rem;
  line-height: 120%;
  font-weight: 300;
  color: var(--dark-green);
}

h1 {
  font-size: clamp(2.3125rem, 2.3125rem + 1.1458vw, 4.25rem);
}

h2 {
  font-size: clamp(2rem, 2rem + 1.1458vw, 3rem);
}

h3 {
  font-size: clamp(1.625rem, 1.625rem + 1.1458vw, 2.4375rem);
}

h4 {
  font-size: clamp(1.4375rem, 1.4375rem + 1.1458vw, 1.875rem);
}

h5,
h6 {
  font-size: 1.25em;
  font-size: clamp(1.25rem, 1.25rem + 1.1458vw, 1.5rem);
}

blockquote {
  font-size: 16px;
}

#header {
  background-color: var(--ndsu-green);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 12;
}

.conform-width {
  width: min(calc(100vw - 1em), var(--main-width));
  max-width: 100%;
  margin: 0 auto;
}

.green-bar {
  background-color: var(--ndsu-green);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.75em;
}

.cta-nav-group {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 0 1.5rem;
}

#mainNav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.75rem;
}

.page-title-wrapper[data-stuck="true"] + #mainNav {
  padding-block: 0.4rem;
}

#mainNav > .nav-menu {
  display: flex;
  flex-direction: row;
  height: max-content;
  margin: 0px;
  margin-block-start: 0;
  padding-inline-start: 0;
  gap: 1em;
}

.page-item.active .page-link {
  background-color: var(--ndsu-green);
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border-radius: 0;
}

#navbarToggler {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0;
}

#scrollTop {
  position: fixed;
  bottom: 3rem;
  right: 2rem;
  animation: showScrollBtn ease-in both;
  animation-timeline: scroll();
  animation-range: 200px 225px;
  z-index: 1000;
  padding: 0.5em;
}

#scrollTop:hover {
  outline-color: var(--ndsu-yellow);
}

.navbar {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  list-style: none;
  z-index: 1000;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.nav-item {
  width: 100%;
  max-width: max-content;
  align-items: center;
  position: relative;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0);
  border-image: initial;
  font-weight: 500;
}

#mainNav > .nav-menu > .nav-home > .active-nav,
.nav-home:hover > .nav-link {
  background-size: 0;
  color: var(--ndsu-yellow);
}

#mainNav > .nav-menu > .nav-item:first-child:not(.nav-home) > .nav-link {
  background-position-x: 0;
  padding: 0.5rem 0.75rem 0.5rem 0;
}

.site-footer p {
  margin: 0.5rem 0;
  padding: 0;
}

.site-footer a {
  text-decoration: underline;
  text-decoration-color: var(--ndsu-yellow);
}

.site-footer a:hover {
  text-decoration: none;
}

.nav-item .nav-link {
  color: var(--white);
  padding: 0.5rem 0.75rem;
  transition:
    background 200ms linear,
    color 200ms ease-in-out;
  line-height: 175%;
  background-size: 0 2px;
  background-image: linear-gradient(var(--white), var(--white));
  background-repeat: no-repeat;
  background-position: bottom left;
  background-position-x: 0.75em;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0);
  border-image: initial;
}

.nav-item:has(.sub-menu-open) {
  border-color: var(--dark-green);
  border-bottom-color: var(--ndsu-green-dark);
  background-color: var(--ndsu-green);
}

#mainNav > .nav-menu > .nav-item:first-child:not(.nav-home) > .nav-link:hover,
#mainNav > .nav-menu > .nav-item:first-child:not(.nav-home) > .active-nav {
  background-size: calc(100% - 0.75rem) 2px;
  color: var(--pale-sage);
}

.nav-item:not(.nav-home) > .nav-link:hover,
.nav-item > .active-nav,
.nav-item:has(.sub-menu-open) > .nav-link {
  background-size: calc(100% - 1.5rem) 2px;
  color: var(--pale-sage);
}

.modal {
  z-index: 3001;
}

.modal .modal-dialog .modal-content .modal-header {
  flex-direction: column;
}

#mainSubtitle {
  font-size: 14px;
}

#siteNavButton {
  display: none;
}

.logo-wrapper {
  overflow: hidden;
  max-width: 26rem;
  width: 100%;
  transition: all 0.3s ease-in-out 0ms;
  animation: shrink-logo linear both;
  animation-timeline: scroll();
  animation-range: 100px 175px;
}

.logo-wrapper > a > img {
  height: 100%;
  width: 100%;
}
.fa-home {
  color: var(--white);
}

.nav-title-group {
  background-color: var(--ndsu-green-dark);
  color: var(--white);
  box-shadow: inset 0px 150px 300px 0px rgba(0, 0, 0, 0.25);
  max-height: min-content;
}

.page-title-wrapper {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

.page-title-wrapper[data-stuck="true"] {
  visibility: hidden;
  height: 0px;
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  word-wrap: normal;
}

header h2.page-title {
  flex: 1 1 100%;
  align-content: center;
  font-style: normal;
  line-height: 130%;
  letter-spacing: 0%;
  -webkit-text-decoration: "none";
  text-decoration: "none";
  text-wrap: balance;
  font-size: clamp(1.4375rem, 1.4375rem + 1.1458vw, 1.875rem);
  font-weight: 300;
  margin: 1rem 0 0.25rem 0;
  color: var(--accent-moss);
}

header .search-form {
  margin-left: 1em;
  width: 14em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
  -webkit-clip-path: none;
  clip-path: none;
}

.sr-navigation {
  position: absolute;
  z-index: 3000;
}

.sr-navigation ul {
  margin: 0;
  padding: 0;
}

.sr-navigation a {
  background-color: rgba(0, 0, 0, 0.5);
}

.sr-navigation a {
  color: var(--white);
}

.sr-navigation a:hover,
.sr-navigation a:focus,
.sr-navigation a[aria-expanded="true"],
.sr-navigation a.active {
  color: var(--ndsu-yellow);
}

.sr-navigation a.active-branch {
  color: "";
}

.sr-navigation a.active-branch:hover,
.sr-navigation a.active-branch:focus,
.sr-navigation a.active-branch[aria-expanded="true"],
.sr-navigation a.active-branch.active {
  color: var(--ndsu-yellow);
}

.site-footer {
  background-color: var(--ndsu-green);
  color: var(--white);
  padding: 3em;
  z-index: auto;
  margin-top: 2em;
}

.site-footer h5 {
  font-weight: 600;
  color: var(--white);
}

.site-footer-contact {
  display: flex;
  flex-flow: row nowrap;
  align-items: baseline;
  gap: 0.5em;
  margin: 0;
}

.site-footer-content {
  display: block;
}

.site-footer-container {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
}

footer {
  padding: 1em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  background-color: var(--white);
  color: rgba(var(--c-neutral-800, 135, 146, 148), 1);
  border-top: 5px solid var(--ndsu-yellow);
  line-height: 1.15em;
  font-size: 0.95rem;
}

.footer-inner {
  padding: 1.5em 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 0fr 0fr 0fr 0fr 0fr 0fr;
  gap: 0px 0px;
  color: rgb(87, 92, 91);
  grid-template-areas:
    "logo" "social" "contact"
    "nav" "logo-alt" "meta";
}

.footer-inner > .footer-brand {
  grid-area: logo;
  fill: var(--ndsu-green-dark);
}

.footer-inner > .footer-brand img {
  filter: grayscale(100%) invert(100%) contrast(100%);
  transition: all 150ms ease;
  max-width: 100%;
  /*margin-bottom: 1rem;*/
}

.footer-inner > .footer-brand > p {
  margin: 0 0 1rem;
  color: rbg(40, 44, 47);
  font-size: clamp(0.9375rem, 0.9375rem + 0.2778vw, 1.0625rem);
  font-weight: 400;
}

.footer-inner > .footer-meta a {
  margin: 0 0 1rem;
  line-height: 145%;
  font-size: clamp(0.8125rem, 0.8125rem + 0.2778vw, 0.9375rem);
  font-weight: 400;
  color: var(--ndsu-green);
  text-decoration: none;
  transition:
    text-decoration 200ms linear,
    color 200ms ease-in-out;
}

/* .footer-inner > .footer-brand > p:hover, */
.footer-inner > .footer-meta a:hover {
  text-decoration: underline;
  text-decoration-color: var(--ndsu-yellow);
  color: rgba(120, 93, 3, 1);
}

.footer-inner > .footer-brand > a:hover > img {
  opacity: 0.8;
}

.footer-inner > .footer-alt-brand {
  grid-area: logo-alt;
  margin-inline: auto;
  width: 100%;
  max-width: min(92vw, 80rem);
}

.footer-inner > .footer-alt-brand img {
  max-height: 5rem;
}

.footer-inner > .footer-nav {
  grid-area: nav;
  columns: 1;
  column-gap: 0;
  max-width: 100%;
}

.footer-inner > .footer-nav ul {
  display: block;
  padding-inline: 0;
  margin: 0;
}

.footer-inner > .footer-nav a {
  display: inline-block;
  padding: 0.25rem 0;
  min-width: min-content;
}

.footer-inner > .footer-socials {
  grid-area: social;
  display: flex;
  gap: 1em;
}

.footer-inner > .footer-socials a {
  color: var(--ndsu-green);
  transition: color 200ms ease-in-out;
}

.footer-inner > .footer-socials a:hover {
  color: #000;
}

.footer-inner > .footer-meta {
  grid-area: meta;
}

.footer-inner > .footer-nav a {
  color: var(--ndsu-green);
  background-image: linear-gradient(var(--ndsu-green), var(--ndsu-green));
  padding: 0.25em 0;
  background-size: 0 2px;
  background-position: bottom left;
  background-repeat: no-repeat;
  transition:
    background-size 200ms linear,
    color 200ms ease-in-out;
  font-size: clamp(0.75rem, 0.75rem + 0.2778vw, 0.875rem);
  font-weight: 400;
  line-height: 175%;
}

.footer-inner > .footer-nav a:hover {
  background-size: 100% 2px;
  color: var(--ndsu-green-dark);
}

#searchOpen {
  position: relative;
  cursor: pointer;
  z-index: 8;
}

#searchform {
  right: calc(-0.5rem);
  top: -0.66rem;
  width: 1rem;
  display: flex;
  position: absolute;
  align-items: center;
  background-color: var(--white);
  z-index: 9;
  visibility: hidden;
  padding: 0px;
  transition: 300ms;
  overflow: hidden;
  opacity: 0;
}

#searchOpen .search-open {
  visibility: visible;
  opacity: 1;
  width: 45vw;
  max-width: 35rem;
}

.search-open .ndsu-icon-button {
  margin: 0.66rem;
}

#searchform > .ndsu-icon-button {
  color: var(--ndsu-green-dark);
}

#searchform_input,
#searchform_input:focus,
#searchform_input:active,
#searchform_input:focus-visible {
  border: none;
  outline: none;
  width: 100%;
  height: 3rem;
  max-height: 100%;
  font-size: clamp(0.9375rem, 0.9375rem + 0.2778vw, 1.0625rem);
  color: var(--ndsu-green-dark);
}

.sub-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: -1px;
  display: none;
  background-color: var(--ndsu-green-dark);
  border: 1px solid var(--dark-green);
  z-index: -1;
  width: max-content;
}

.has-children {
  z-index: 0;
  position: relative;
}

.has-children > .nav-link > svg {
  color: var(--ndsu-yellow);
  margin-left: 0.5rem;
  transition: color 200ms ease-in-out;
}

.has-children > .nav-link > svg:hover,
.nav-item:has(.sub-menu-open) > .nav-link > svg {
  color: var(--white);
}

.has-children > .sub-menu-open {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
}

.img-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: text-top;
}

.img-wrapper img {
  display: block;
  position: relative;
}

.img-wrapper.full-size-img {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.img-wrapper.full-size-img img {
  top: 0;
  left: 0;
  width: auto;
}

.img-wrapper.full-size-img.left-align img {
  left: 0%;
}

.img-wrapper.full-size-img.center-align img {
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.img-wrapper.full-size-img.right-align img {
  left: auto;
  right: 0;
}

.img-wrapper.full-size-img.middle-align img {
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.img-wrapper.full-size-img.middle-align.center-align img {
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.img-wrapper.img-frame {
  border: 1px solid;
  padding: 0.25em;
}

.img-wrapper.img-frame::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 0.25em solid var(--white);
  z-index: 1;
}

.img-wrapper.img-shadow {
  -webkit-box-shadow: 1px 1px 6px #000;
  box-shadow: 1px 1px 6px #000;
}

body > p,
body [class*="text-column-"],
body .multi-sections {
  margin-top: 1em;
}

body p + p {
  margin-top: 0.5em;
}

body .subtitle {
  font-size: 1.125em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

body.gray {
  background-color: #e5e5e5;
}

body .multi-sections {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

body .multi-sections .sub-section {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 170px;
  flex: 1 1 170px;
}

body .sub-section + .sub-section {
  margin-left: 1em;
}

body .sub-section p {
  margin-top: 0.25em;
  font-size: 0.75em;
}

body .quick-picture-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

body .quick-picture-container h4 {
  margin-top: 0;
}

body .quick-picture-container .picture {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 40%;
  flex: 1 1 40%;
}

body .quick-picture-container .full-size-frame {
  width: 100%;
}

body .quick-picture-container .full-size-picture {
  width: 100%;
  padding-bottom: 80%;
}

body .quick-picture-container .description {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 60%;
  flex: 1 1 60%;
}

body .quick-picture-container .picture + .description,
body .quick-picture-container .description + .picture {
  margin-left: 2em;
}

body .quick-picture-container figcaption h5 {
  color: #000;
  margin-bottom: 0;
}

body .text-column-2 {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}

body .text-column-3 {
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
}

body .text-column-4 {
  -webkit-column-count: 4;
  -moz-column-count: 4;
  column-count: 4;
}

body [class*="text-column-"] {
  -webkit-column-gap: 2em;
  -moz-column-gap: 2em;
  column-gap: 2em;
}

main > *:first-child {
  margin-top: 1.5em;
}

.run-mode-notification {
  width: max-content;
  text-wrap: nowrap;
  font-size: 1em;
  font-weight: 650;
}

.run-mode-notification > span {
  color: var(--ndsu-yellow);
}

/* Animations */
@keyframes shrink-logo {
  from {
    max-height: 5rem;
  }
  to {
    max-height: 3rem;
  }
}

@keyframes showScrollBtn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Media queries */
@media (min-width: 768px) {
  .site-footer > .site-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
  }
  footer > .footer-inner {
    display: grid;
    grid-template-columns: 0.25fr 1fr 1fr 1.25fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 0fr 1fr;
    grid-template-areas:
      "logo logo logo logo-alt nav nav social"
      "contact contact contact logo-alt nav nav social"
      "meta meta meta none none none none";
  }
  footer > .footer-inner > .footer-brand img {
    padding: 0 0 1rem;
  }
  .footer-inner > .footer-nav {
    columns: 2;
  }

  .footer-inner > .footer-socials {
    margin-inline: 0.25em;
  }
  footer {
    padding: 3rem;
  }
}

@media (max-width: 574px) {
  header .green-bar h1 img {
    max-width: 210px;
    height: auto;
  }
}

@media (max-width: 991px) {
  header .search-form {
    width: 13em;
  }
}

@media (max-width: 767px) {
  #scrollTop {
    bottom: 1rem;
    right: 1rem;
  }
  .green-bar > .logo-wrapper {
    max-width: 14rem;
    opacity: 1;
    transition: opacity 300ms ease;
  }
  header > .green-bar > .logo-wrapper > a {
    width: 150px;
    height: 50px;
  }
  header .page-title-wrapper {
    padding: 0.75rem 1rem;
  }
  header .page-title-wrapper[data-stuck="true"] {
    visibility: visible;
    height: auto;
    position: relative !important;
    clip: unset;
    overflow: hidden;
    word-wrap: normal;
  }
  header h2.page-title {
    font-size: 1.25em;
    font-weight: bold;
    padding: 0.25em 0;
    margin-right: 1em;
  }
  header .page-title-wrapper .run-mode-notification {
    display: none;
  }
  header .search-form {
    margin-left: 0;
    width: 14em;
  }
  .cta-nav-group > a {
    display: none;
  }
  #searchOpen .search-open {
    width: 80vw;
  }
  /* The CSS selector from hell */
  #header
    > .green-bar
    > .logo-wrapper:has(+ .cta-nav-group > #searchOpen > .search-open) {
    opacity: 0;
  }
  #mainNav {
    display: none;
    justify-content: space-between;
    flex-direction: column;
    gap: 0.5em;
    transition: all 0.3s ease;
    align-items: flex-end;
    padding-bottom: 1rem;
  }
  #mainNav > a,
  #mainNav > .nav-menu .nav-item {
    width: max-content;
    align-self: flex-end;
    background-color: inherit;
    border: none;
  }
  #siteNavButton {
    display: block;
    max-height: fit-content;
  }
  #mainNav > .nav-menu {
    flex-direction: column;
    gap: 0.5em;
  }
  .nav-title-group > .nav-expand {
    display: flex !important;
    height: auto !important;
  }
  .sub-menu {
    background-color: inherit;
  }
  .sub-menu:not(.sub-menu-open) {
    display: none;
  }
  .nav-item:has(.sub-menu-open) > .nav-link {
    display: flex;
    align-items: center;
    justify-self: flex-end;
  }
  .sub-menu.sub-menu-open {
    position: relative;
    display: block;
    max-height: initial;
    padding-inline: 1rem 0;
    margin-left: 0.75rem;
    margin-block: 0.5rem 1rem;
    border-left: 1px solid var(--pale-sage);
    border-right: none;
    border-top: none;
    border-bottom: none;
  }
  .footer-inner {
    padding: 1.5em 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0fr 0fr 0fr 0fr 0fr 0fr;
    gap: 0.5rem;
    grid-template-areas:
      "logo"
      "social"
      "contact"
      "nav"
      "logo-alt"
      "meta";
  }
  .footer-inner > .footer-brand img {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 574px) {
  header .row.page-title-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }
  header .search-form {
    width: auto;
  }
}

@media (max-width: 1199px) {
  .navbar .nav-link {
    padding: 1.25em;
  }
}

@media (max-width: 767px) {
  .navbar-mobilize {
    display: none;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-mobile,
  .navbar-mobile.expanded {
    display: block;
  }
}

@media (max-width: 767px) {
  .navbar .nav-link {
    padding: 1.125em;
  }
  .navbar-mobile {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
}

@media (max-width: 991px) {
  body .multi-sections {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  body .quick-picture-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  body .quick-picture-container .picture + .description,
  body .quick-picture-container .description + .picture {
    margin-left: 0;
    margin-top: 2em;
  }
}

@media (max-width: 767px) {
  body [class^="text-column-"] {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
  body .multi-sections {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  body .multi-sections .sub-section {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
  }
  body .sub-section + .sub-section {
    margin-left: 0;
  }
  body .picture {
    -ms-flex-item-align: stretch;
    align-self: stretch;
  }
}
