@media (max-width: 812px) {
  h1,
  .h1 {
    font-size: 1.85rem;
  }

  h2,
  .h2 {
    font-size: 1.5rem;
  }

  h3,
  .h3 {
    font-size: 1.25rem;
  }

  .display-4 {
    font-size: 2.25em;
  }
}

.bg-grey {
  background: #efefef;
}

/* -- Header --*/

.header .header-info {
  padding: 1em 0;
  background: url("https://apihoard.webit.com/api/v1/Image/78B134D96CF1D3751EEBE9FC2E387288/78B134D96CF1D3751EEBE9FC2E387288.png?size=Original")
    no-repeat center center;
  background-size: cover;
}

.header .navbar .container {
  max-width: none;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("https://apihoard.webit.com/api/v1/Image/11EDF0C15DFEE4118235B008C2868BC4/11EDF0C15DFEE4118235B008C2868BC4.jpg?size=1920x1440")
      no-repeat center top;
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@media (max-width: 567px) {
  .hero {
    padding-top: 3em;
    padding-bottom: 3em;
    min-height: 410px;
  }
}

.hero:after {
  overflow: hidden;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(18, 39, 64, 0.35);
}

.hero .hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  color: #fff;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.hero-lines {
  position: relative;
  text-align: center;
}

.hero-lines span {
  display: inline-block;
  vertical-align: middle;
  max-width: 80%;
}

.hero-lines::before,
.hero-lines::after {
  content: " ";
  height: 3px;
  width: 10%;
  background: var(--color-theme-highlight);
  display: inline-block;
  vertical-align: middle;
}

.hero h1 {
  font-size: 1.25rem;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .hero h2 {
    font-size: 3.5rem;
  }
}

.hero-btm-line {
  height: 3px;
  width: 75%;
  background: var(--color-theme-highlight);
  margin: 25px auto;
}

/*-- Homepage --*/
/* Looks like the homepage changed from home to home-page at some point but I don't know if these are relevant for the home-page the same way */
.page-home .textwithimage .fa {
  margin: 0.5em 0 0;
  color: var(--color-theme-highlight);
  font-size: 2rem;
}

.page-home .text h3::before,
.page-home .text h3::after {
  content: " ";
  height: 3px;
  width: 10%;
  margin: 0 12px;
  background: var(--color-theme-highlight);
  display: inline-block;
  vertical-align: middle;
}

.page-home .list-m4 {
  padding-top: 0;
}

@media (max-width: 567px) {
  .page-home .text h3::before,
  .page-home .text h3::after {
    width: 30%;
    margin: 12px auto;
    display: block;
  }
}

.page-home .list-img-photo {
  background-size: 85px;
}

/*-- Subpages --*/

img.float-md-right {
  display: block;
  margin: 1em auto;
}

@media (min-width: 768px) {
  img.float-md-right {
    max-width: 600px;
    margin: 1em 0 1em 2em;
  }
}

/* section:not(.page-home) .list */
section:not(.page-home-page) .list {
  padding: 0;
}

/* These were affecting everything anyway with the new home page so I just removed that check */
/* section:not(.page-home)  */
.list .list-circle .list-img-wrap {
  width: 50%;
  padding: 22% 0;
}

/* section:not(.page-home)  */
.list .list-img-photo {
  background-size: 64px;
}

/*I don't know what these styles were for*/
/*
ol {
    position: relative;
    list-style: none;
    counter-reset: my-awesome-counter;
    margin-bottom: 2em;
}

ol li {
    margin-bottom: 1.5em;
    margin-left: 1em;
    counter-increment: my-awesome-counter;
}

ol li::before {
    position: absolute;
    left: 0;
    width: 35px;
    height: 35px;
    content: counter(my-awesome-counter) ". ";
    margin-right: 1em;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.25rem;
    text-align: center;
    background: var(--color-theme-highlight);
    border-radius: 50%;
}
*/

/*Covid info page*/
.page-covid-19 .slideshow-container .slideshow-item {
  background-size: contain;
}

.wb__covidpage ol,
.wb__covidpage ul {
  padding-left: 20px;
}

.wb__covidpage li {
  padding-left: 10px;
}

.cw-red {
  width: 40%;
  margin: 2.5em auto;
  border-top-color: var(--color-theme-highlight);
}

.mask-img {
  width: 800px;
}

.page-calendar .text strong {
  text-transform: uppercase;
  color: var(--color-theme-secondary);
  font-size: 1.25rem;
}

.wb__calendar .wb__date {
  padding: 1rem 0 0.5rem;
}

.wb__calendar .wb__date p {
  margin-bottom: 0;
}

.wb__calendar .wb__date p:first-of-type {
  text-transform: uppercase;
  color: var(--color-theme-secondary);
  font-weight: 700;
  font-size: 1.25rem;
}
