* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  background: #f5f3f4;
}

a {
  cursor: pointer;
}

.hide {
  display: none;
}

.pageWrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
}

.mainContent {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  padding-bottom: 1rem;
}

.siteFooter {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

/*main content*/

.block--indented {
  max-width: var(--max_width);
  margin: 0 auto;
}

.block--padded {
  padding: 2rem;
}

.block--narrow {
  max-width: calc(var(--max_width) * 0.85);
  margin: 0 auto;
}

/*background colors*/
.bg--red {
  background-color: #b50937;
}
.bg--brown {
  background-color: #380f1a;
}
.bg--yellow {
  background-color: #f6dfa4;
}
.bg--white {
  background-color: #fff;
}
.bg--blue {
  background-color: #009bbd;
}
.bg--gray {
  background-color: #322a2c;
}

.box + * {
  margin-top: 2rem;
}

.box--padded {
  padding: 2rem;
}

.box--shadow {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08), 0 3px 6px rgba(0, 0, 0, 0.12);
  transition: box-shadow 300ms ease-in-out, background-color 150ms ease-in-out;
}

.box--shadow:hover,
.box--shadow:focus,
.box--shadow:focus-within {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12), 0 3px 6px rgba(0, 0, 0, 0.18);
}

.box--shadow a {
  outline: none;
}

/*border colors*/
.border--blue {
  border: solid 1px #009bbd;
}

/*divider lines*/

.divider--above {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: solid 2px #f5f3f4;
}

.divider--below {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: solid 2px #f5f3f4;
}

/*footer*/

.siteFooter {
  background-color: #322a2c;
  color: #fff;
  padding: 1rem 0 3rem;
}

/*text columns*/

.textColumns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.textColumns + .textColumns {
  margin-top: 3rem;
}

.textColumns > * {
  -webkit-box-flex: 100%;
  -ms-flex: 100%;
  flex: 100%;
  margin: 0;
}

.textColumns > * + * {
  margin-top: 3rem;
}

@media only screen and (min-width: 768px) {
  .textColumns {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .textColumns > * {
    margin: 0;
  }

  .textColumns > * + * {
    margin-left: 3rem;
  }

  *[class^="col"] {
  }

  .col--primary {
    -webkit-box-flex: 1;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    max-width: 70ch;
    margin: 0 auto;
  }

  .col--sidebar {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 36%;
    flex: 1 0 36%;
  }
}

.col--primary > :first-child,
.col--sidebar > :first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.col > * + h3::before,
.col--primary > * + h3::before,
.col--sidebar > * + .block::before,
.block--indented > h2:first-child::before {
  content: "";
  display: block;
  max-width: 4.5rem;
  margin: 2rem 0 1.25rem;
  height: 0.15rem;
  background-color: #df8c19;
}

.col--primary > .block > *:first-child,
.col--sidebar > .block > *:first-child {
  padding-top: 0;
  margin-top: 0;
}

/*responsive iframes*/

.responsive-iframe {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 0 0 2rem;
}
.responsive-iframe.r16x9 {
  padding-bottom: 56.25%;
}

.responsive-iframe.r4x3 {
  padding-bottom: 75%;
}

.responsive-iframe iframe {
  position: absolute;
  width: 100% !important;
  height: 100% !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.inprogress {
  outline: solid 4px lime;
}

.pagination {
  padding: 2rem;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.page-numbers {
  display: inline-block;
  padding: 0.65em 1em;
  background: #998a8e;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  margin: 0.15rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  line-height: 1.15;
  -webkit-filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.15));
  -webkit-transition: background-color 150ms ease;
  -o-transition: background-color 150ms ease;
  transition: background-color 150ms ease;
}

.page-numbers:hover,
.page-numbers:focus {
  -webkit-filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.35));
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.35));
  background-color: #322a2c;
  color: #fff;
}

.page-numbers.current {
  background-color: #b50937;
  color: white;
  opacity: 1;
}
