/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box; }

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none; }

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0; }

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none; }

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5; }

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1; }

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance; }

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor; }

/* Make images easier to work with */
img,
picture {
  width: 100%;
  max-width: 100%;
  display: block;
  object-fit: cover; }

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit; }

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em; }

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex; }

html {
  scroll-behavior: smooth; }

body {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 1rem;
  font-family: "PT Sans", Helvetica, sans-serif;
  color: #333333;
  background-color: white; }

:is(h1, h2, h3, h4, h5, h6) {
  font-family: "Montserrat", sans-serif;
  font-weight: normal; }

h1 {
  font-size: 1.5625rem;
  line-height: 1;
  margin: 0 0 1.25rem 0; }
  @media screen and (min-width: 768px) {
    h1 {
      font-size: 1.95312rem; } }
h2 {
  font-size: 1.25rem;
  line-height: 1;
  margin: 1.25rem 0 0.8rem 0; }
  @media screen and (min-width: 768px) {
    h2 {
      font-size: 1.5625rem; } }
h3 {
  font-size: 1.25rem;
  line-height: 1;
  margin: 1.25rem 0 0.8rem 0; }
  @media screen and (min-width: 768px) {
    h3 {
      font-size: 1.25rem; } }
img {
  display: block;
  width: 100%;
  max-width: 100%;
  object-fit: cover; }

figure {
  margin: 0 0 0 0; }
  figure figcaption {
    padding: 5px;
    text-align: center;
    background-color: #e0ea7f;
    color: #4e4e4e; }

time {
  display: block; }

table {
  width: 100%; }
  table thead {
    text-align: left; }
  table tr th[scope=col] {
    text-align: left; }
  table tr th[scope=row] {
    text-align: right; }
  table tr th, table tr td {
    padding: 5px 10px 5px 10px; }

/* Sitewide link defaults */
a:link {
  color: #016bff;
  text-decoration: underline;
  text-underline-offset: 4px; }

a:visited {
  color: #016bff;
  text-decoration: underline;
  text-underline-offset: 4px; }

a:hover {
  color: #016bff;
  background-color: #f5b333;
  text-decoration: underline; }

a:active {
  color: #016bff;
  text-decoration: underline; }

button,
.button a {
  color: #333333;
  background-color: #fce9c5;
  padding: 5px 15px 3px 15px;
  border: 1px solid #016bff;
  text-decoration: none;
  border-radius: 4px; }
  button:hover,
  .button a:hover {
    cursor: pointer;
    background-color: white; }
  button.small,
  .button a.small {
    font-size: 0.8rem;
    padding: 4px 10px 2px 10px; }
  button.large,
  .button a.large {
    font-size: 1.25rem;
    padding: 4px 10px 2px 10px; }
  button.dismiss,
  .button a.dismiss {
    border: none;
    color: #016bff;
    background-color: #e5e6ea; }
    button.dismiss:hover,
    .button a.dismiss:hover {
      background-color: #828282; }
  button.danger,
  .button a.danger {
    border: none;
    color: #D8000C;
    background-color: #ffe5e5; }
    button.danger:hover,
    .button a.danger:hover {
      color: #ffe5e5;
      background-color: #D8000C; }

/* Forms */
form {
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem; }
  @media screen and (min-width: 768px) {
    form {
      flex-direction: row;
      align-items: flex-end;
      justify-content: flex-start; } }
  form p, form div {
    margin-bottom: 0; }
  form label {
    font-weight: 700;
    display: block;
    margin-bottom: 5px; }
  form input[type="text"], form select {
    padding: 3px 5px 3px 5px;
    border: 1px solid #828282;
    background-color: white; }
  form .input-container.checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 6px; }
    form .input-container.checkbox * {
      margin: 0 0 0 0; }
    form .input-container.checkbox label {
      font-weight: normal; }
  form .helptext {
    font-size: 1rem;
    margin-top: 0.8rem;
    display: block; }
    form .helptext ul {
      margin-bottom: 1rem;
      padding-left: 0;
      list-style-type: none; }
  form .htmx-indicator {
    display: none; }
  form .htmx-request .htmx-indicator {
    display: block;
    width: 1.95312rem;
    height: 1.95312rem; }
  form .htmx-request .htmx-indicator:after {
    content: " ";
    display: block;
    width: 1.95312rem;
    height: 1.95312rem;
    border-radius: 100%;
    border: 5px solid #31708F;
    border-color: #31708F transparent #31708F transparent;
    animation: rotating-split-ring 2s linear infinite; }

@keyframes rotating-split-ring {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }

.flow > *:first-child {
  margin-top: 0; }

.flow > * + * {
  margin-top: var(--flow-space, 1rem); }

.flow-thin > * + * {
  margin-top: var(--flow-thin-space, 0.5rem); }

.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw); }

.list-reset {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  list-style-type: none; }

.list-inline {
  display: flex;
  flex-direction: row; }

.responsive-object {
  position: relative; }
  .responsive-object iframe, .responsive-object object, .responsive-object embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }

.embed {
  width: 100%; }

.hidden {
  display: none; }

.row {
  display: flex;
  flex-direction: row; }
  .row > * {
    margin: 0 0 0 0; }
  .row.spread {
    justify-content: space-between; }
    .row.spread *:last-child {
      text-align: right; }

/* Messages */
.messages {
  padding: 0 0 0 0;
  display: flex;
  flex-direction: column;
  list-style-type: none; }
  .messages li {
    padding: .5rem 1rem; }
    .messages li.info {
      color: #31708F;
      background-color: #D9EDF7; }
    .messages li.success {
      color: #4F8A10;
      background-color: #DFF2BF; }
    .messages li.warning {
      color: #9F6000;
      background-color: #FEEFB3; }
    .messages li.error {
      color: #D8000C;
      background-color: #ffe5e5; }

.errorlist {
  display: flex;
  flex-direction: column;
  color: #D8000C;
  background-color: #ffe5e5; }
  .errorlist li {
    padding: .5rem 1rem; }

/* Pagination */
.pagination-count {
  text-align: center;
  margin-bottom: 0; }

.pagination {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  gap: 1rem;
  justify-content: center;
  font-size: 1rem;
  padding: 0 0 0 0; }
  .pagination .active a:link {
    color: #016bff;
    text-decoration: none; }

header {
  display: grid;
  grid-template-columns: [full-start] 30px [main-start] 1fr [main-end] 30px [full-end];
  place-items: center;
  padding: 20px 20px 20px 20px;
  color: #333333;
  background-color: white; }
  header > * {
    grid-column: main; }
  header .logo {
    width: 10rem; }
    @media screen and (min-width: 768px) {
      header .logo {
        width: 10rem; } }
    header .logo a {
      display: block; }
      header .logo a:hover {
        background-color: transparent; }
      header .logo a img {
        max-width: 100%; }
  header .strapline {
    text-align: center; }

.layout-main {
  margin: 1.5625rem 0 1.5625rem 0;
  line-height: 1.4;
  display: grid;
  grid-template-columns: [full-start] 30px [main-start] 1fr [main-end] 30px [full-end];
  flex: 1 0 auto;
  align-content: start; }
  @media screen and (min-width: 768px) {
    .layout-main {
      margin: 2.44141rem 0 2.44141rem 0;
      column-gap: 3.05176rem;
      grid-template-columns: [full-start] 1fr [main-start] minmax(min-content, 98ch) [main-end] 1fr [full-end]; } }
  @media screen and (min-width: 1260px) {
    .layout-main {
      column-gap: 4.76837rem;
      grid-template-columns: [full-start] 1fr [main-start] minmax(min-content, 138ch) [main-end] 1fr [full-end]; } }
  .layout-main:has(> .masthead) {
    margin-top: 0; }
  .layout-main > * {
    grid-column: main; }
  .layout-main .masthead {
    padding: 1.5625rem 0 1.5625rem 0;
    margin-bottom: 25px;
    background-color: #eff0f2;
    grid-column: full;
    display: grid;
    grid-template-columns: subgrid; }
    @media screen and (min-width: 768px) {
      .layout-main .masthead {
        padding: 2.44141rem 0 2.44141rem 0; } }
    .layout-main .masthead > * {
      grid-column: main; }
  .layout-main figure.banner {
    grid-column: full;
    margin: 0 0 1.5625rem 0;
    padding: 0 0 0 0; }
  .layout-main .figure-image.width-full {
    margin-bottom: 1.5625rem;
    grid-column: full;
    display: grid;
    grid-template-columns: subgrid; }
    @media screen and (min-width: 768px) {
      .layout-main .figure-image.width-full {
        margin-bottom: 1.95312rem; } }
  .layout-main .figure-image.width-full.overlay {
    background-repeat: no-repeat;
    background-position: center left;
    background-size: cover;
    min-height: 250px;
    display: grid;
    grid-template-columns: subgrid; }
    .layout-main .figure-image.width-full.overlay .overlay-text {
      font-size: 1.5625rem;
      background-color: rgba(0, 187, 210, 0.85);
      color: white;
      padding: 2rem 2rem;
      grid-column: main;
      display: flex;
      flex-direction: column;
      justify-content: center; }
      .layout-main .figure-image.width-full.overlay .overlay-text p {
        text-align: center;
        margin-bottom: 0; }

body.home .layout-main {
  margin-top: 0; }

.layout-1col {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  margin-bottom: 1.5625rem; }
  @media screen and (min-width: 768px) {
    .layout-1col {
      margin-bottom: 1.95312rem; } }
.layout-2col-even {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  margin-bottom: 1.5625rem; }
  @media screen and (min-width: 768px) {
    .layout-2col-even {
      column-gap: 3.8147rem;
      row-gap: 3.05176rem;
      grid-template-columns: 1fr 1fr;
      margin-bottom: 2.44141rem; } }
.layout-3col-even {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  margin-bottom: 1.5625rem; }
  @media screen and (min-width: 768px) {
    .layout-3col-even {
      column-gap: 1.95312rem;
      grid-template-columns: 1fr 1fr 1fr;
      margin-bottom: 2.44141rem; } }
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 10px 20px;
  border-top: 1px solid #016bff;
  background-color: white; }
  footer .social a {
    display: block;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    font-size: 1rem;
    text-decoration: none; }
    @media screen and (min-width: 768px) {
      footer .social a {
        font-size: 1.25rem; } }
    footer .social a:hover {
      text-decoration: underline;
      background-color: transparent; }
  footer .social.active a {
    text-decoration: underline; }

.navigation-primary {
  text-align: center;
  background-color: #cbdc27; }

ul.navigation {
  display: flex;
  justify-content: center;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  list-style-type: none; }
  ul.navigation li {
    margin-bottom: 0; }
    ul.navigation li a {
      display: block;
      padding: 0.5rem 0.5rem 0.5rem 0.5rem;
      font-size: 1rem;
      text-decoration: none; }
      @media screen and (min-width: 768px) {
        ul.navigation li a {
          padding: 0.75rem 1rem 0.75rem 1rem;
          font-size: 1.25rem; } }
      ul.navigation li a:hover {
        text-decoration: underline;
        background-color: transparent; }
    ul.navigation li.active a {
      text-decoration: underline; }

/* General */
.figure-image img {
  display: block;
  max-width: 100%;
  margin: 1rem auto 1rem auto;
  border-width: 1px;
  border-style: solid solid solid solid;
  border-color: #333333; }

.introduction {
  padding: 1.5625rem 1.5625rem 1.5625rem 1.5625rem;
  display: grid;
  place-items: center;
  color: #4e4e4e;
  background-color: #d2faff;
  text-align: center;
  text-wrap: pretty;
  font-size: 1.5625rem;
  margin-bottom: 1.5625rem; }

/* Events */
body.events .intro {
  padding: 1rem 1rem 1rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e5e6ea;
  background-color: #eff0f2; }
  body.events .intro p:last-child {
    margin-bottom: 0; }

ul.events {
  padding: 0 0 0 0;
  list-style-type: none; }
  ul.events > li {
    margin-bottom: 2.44141rem; }
    ul.events > li .content {
      margin-top: 1rem; }
      @media screen and (min-width: 768px) {
        ul.events > li .content {
          display: flex;
          flex-direction: row;
          column-gap: 1.5625rem; }
          ul.events > li .content .image {
            flex: 0 0 150px; }
            ul.events > li .content .image:has(.sash) {
              position: relative; }
            ul.events > li .content .image .sash {
              position: absolute;
              bottom: 0;
              left: 0;
              width: 100%;
              padding: 3px;
              text-align: center;
              background-color: #D8000C;
              color: white; } }
    ul.events > li .date {
      font-size: 1.25rem; }
