/*
 * UNIVERSALS ----------------------------------------------------------------------------------------------------------
*/

@font-face {
  font-family: 'Calibri';
  src: url('/assets/fonts/calibri-font-family/calibri-regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Calibri';
  src: url('/assets/fonts/calibri-font-family/calibri-italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Calibri';
  src: url('/assets/fonts/calibri-font-family/calibri-bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Calibri';
  src: url('/assets/fonts/calibri-font-family/calibri-bold-italic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

:root {
  --dark-red: rgb(189, 20, 45);
  --dark-blue: rgb(25, 73, 129);
  --bright-blue: rgb(0, 113, 188);
  --blue-black: rgb(0, 16, 73);
  --dark-gold: rgb(229, 175, 34);
  --light-gold: rgb(237, 199, 100);
  --pale-gold: rgb(246, 230, 198);
  --light-brown: rgb(198, 156, 109);
  --red: #a30009;
}

body {
  margin: 0;
  font-family: "Red Hat Display", Geneva, sans-serif;
  letter-spacing: 0.05em;
}

h1 {
  font: normal 3.4em 'Playfair Display';
  color: var(--dark-blue);
  margin: 0.3em 0;
  letter-spacing: initial;
  line-height: 1.1;
}

h2 {
  font: 500 1.5em 'Playfair Display';
  color: var(--dark-red);
  letter-spacing: initial;
  margin: 1em 0 0.3em;
}

h3 {
  font: 500 1.3em 'Playfair Display';
  color: var(--bright-blue);
  letter-spacing: initial;
  margin: 0.6em 0 0.2em;
}

#error h3 {
  padding: 0.5em 1em;
  margin-top: 0;
  color: var(--dark-red);
  background-color: var(--dark-gold);
  border: 1px solid var(--dark-red);
}

h6 {
  font-weight: normal;
  font-size: 0.83em;
  margin: 0 0 0.75em;
}

p {
  margin: 0.3em 0;
}

p b {
  font-weight: 900;
}

iframe {
  border: none;
}

.instagram {
  width: min(325px, 100%);
  height: 500px;
}

.no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.relative {
  position: relative;
}

.relative iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.centered {
  text-align: center;
}

.box-centered {
  margin: 0 auto;
}

.padded {
  padding: 2em 1em;
}

.padded-md {
  box-sizing: border-box;
  padding: 1.5em;
  line-height: 1.5;
}

.padded-lg {
  padding: 3em 1em 4.5em;
}

.flex {
  display: flex;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-between {
  display: flex;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-space {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.flex-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flex-grow {
  flex-grow: 1;
}

.flex-start {
  align-self: flex-start;
}

.absolute-expand {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.spacer {
  width: 0.5em;
  flex-shrink: 0;
}

.spacer.lg {
  width: 1.5em;
}

.spacer.xl {
  width: 5em;
}

.scale {
  display: block;
  width: 100%;
  opacity: 0;
}

.bg-pale-gold {
  background-color: var(--pale-gold);
}

.flex-450 {
  flex-basis: 450px;
}

.tricol-grid {
  display: grid;
  grid-template-columns: 1fr minmax(660px, 1fr) 1fr;
  grid-template-rows: auto;
  column-gap: 1.5em;
}

.two-col {
  grid-area: 1 / 1 / 1 / 3;
}

.only-laptop,
.only-phone,
.only-phone-inline,
.not-pc,
.not-pc-inline-block,
.lte-tablet,
.lte-tablet-sm {
  display: none;
}

button,
.button {
  padding: 0.75em 1.25em;
  border: 3px solid transparent;
  border-radius: 1.5em / 50%;
  color: rgb(255, 255, 255);
  background-color: var(--dark-red);
  cursor: pointer;
}

.button {
  display: inline-block;
  text-decoration: none;
}

button:hover,
.button:hover,
.button.active {
  color: var(--dark-red);
  border-color: var(--dark-red);
  background-color: rgb(255, 255, 255);
}

.content a.button:hover {
  text-decoration: none;
}

button:focus,
.button:focus {
  outline: 0;
}

.button.gold {
  background-color: var(--dark-gold);
  border-color: var(--dark-gold);
}

.button.gold:hover,
.button.gold.active {
  color: var(--dark-gold);
  background-color: rgb(255, 255, 255);
}

/*
 * HEADER --------------------------------------------------------------------------------------------------------------
*/

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

header {
  background-color: rgb(255, 255, 255);
  pointer-events: all;
}

.pattern {
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  width: 100%;
  height: 25px;
  background: var(--dark-gold) url('../assets/Lt_Gold_Triangle.png') right / auto 100%;
}

.pattern a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 162px;
  color: var(--dark-red);
  text-decoration: none;
  letter-spacing: 0.16em;
  font-weight: 900;
  background-color: var(--dark-gold);
}

.pattern a:hover {
  color: rgb(255, 255, 255);
  background-color: var(--dark-red);
}

.mid-bar {
  display: flex;
  padding: 2.6em 0.8em 0.2em;
}

.mid-bar .logo {
  display: none;
  width: 100%;
  max-width: 165px;
}

.mid-bar .logo img {
  width: 100%;
  display: block;
}

.tagline-hamburger {
  flex-grow: 1;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  padding-left: 3%;
}

.tagline {
  width: 470px;
}

.tagline img {
  width: 100%;
  display: block;
}

/*
 * NAVIGATION ----------------------------------------------------------------------------------------------------------
*/

nav.pc {
  position: relative;
  display: flex;
  width: 100%;
  background: var(--dark-blue);
}

nav.pc .logo {
  position: relative;
  width: 165px;
  height: 46px;
  margin-left: 2em;
  z-index: 11;
}

nav.pc .logo img {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.nav-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-grow: 1;
  font-size: 1.02em;
  padding-right: 1.5em;
}

nav.pc .category {
  flex-grow: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
}

nav.pc .category>a {
  z-index: 1;
}

@media only screen and (min-width: 1195px) {
  .nav-wrapper {
    height: auto !important; /* Needed for if a user opens the nav menu in the mobile
                                version, and then resizes the browser to the pc version
                                without closing the menu first */
  }
}

.hamburger {
  display: none;
  height: 53px;
  padding: 10px 25px;
  font-size: 28px;
}

nav.pc .category:hover,
nav.pc .category.active,
nav.pc .subpages a:hover,
nav.pc .subpages a.active,
nav.mobile .category.active,
nav.mobile .subpages a.active {
  color: var(--dark-gold);
}

/* SUBPAGES */

nav.pc .subpages,
nav.mobile .subpages {
  background-color: rgb(255, 255, 255);
  height: 0;
  font-size: 0.9em;
  overflow: hidden;
}

nav.pc .subpages {
  width: 208px;
  position: absolute;
  top: 32px;
  left: -1em;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  z-index: 10;
  opacity: 0;
}

nav.pc .subpages::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--dark-blue);
}

nav.pc .subpages a,
nav.mobile .subpages a {
  color: var(--dark-blue);
}

nav.pc .subpages a {
  display: block;
  padding: 0.6em 1em;
  text-align: left;
  text-decoration: none;
}

nav.pc .subpages a:first-child {
  padding-top: 1em;
}

nav.pc .subpages a:last-child {
  padding-bottom: 1em;
}

nav.pc .category:last-child .subpages {
  left: unset;
  right: 0;
  top: 46px;
}

nav .countdown {
  display: none;
  margin: 0.3em 0 0.5em;
  flex-grow: 1;
  font-size: 1.2em;
  text-align: center;
  font-weight: 900;
  color: rgb(255, 255, 255);
}

.pipe {
  color: rgb(0, 132, 219);
  font-size: 1.5em;
  font-weight: normal;
}

nav.mobile {
  display: none;
  position: relative;
  left: 100%;
  transition: left 0.5s;
  flex-grow: 1;
  background: var(--dark-blue);
  background: -moz-linear-gradient(left, rgb(25, 73, 129) 0%, rgb(0, 113, 188) 100%);
  background: -webkit-linear-gradient(left, rgb(25, 73, 129) 0%, rgb(0, 113, 188) 100%);
  background: linear-gradient(to right, rgb(25, 73, 129) 0%, rgb(0, 113, 188) 100%);
  color: rgb(255, 255, 255);
  font-size: 1.1em;
  overflow: auto;
  pointer-events: all;
}

nav.mobile .category {
  border-bottom: 1px solid rgb(255, 255, 255);
}

nav.mobile a {
  display: block;
  flex-grow: 1;
  padding: 1em 2.5em 1em 1.75em;
  color: rgb(255, 255, 255);
  text-decoration: none;
}

nav.mobile .category.active .flex a {
  color: var(--dark-gold);
}

nav.mobile .subpages a {
  padding: 0.75em 2em 0.75em 3.5em;
}

nav.mobile .subpages a:first-child {
  padding-top: 1.5em;
}

nav.mobile .subpages a:last-child {
  padding-bottom: 1.5em;
}

.category .arrow {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 2em;
  color: rgba(255, 255, 255, 0.8);
}

.category .arrow img {
  height: 40px;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  transition: transform 0.2s;
}

.category .arrow.active img {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

nav.footer {
  display: none;
  background-color: var(--dark-red);
  pointer-events: all;
}

nav.footer a {
  flex-grow: 1;
  display: inline-block;
  padding: 1em 0.5em;
  font-size: 0.9em;
  border-left: 2px solid rgb(255, 255, 255);
  color: rgb(255, 255, 255);
  text-decoration: none;
  text-align: center;
}

nav.footer a:first-child {
  border-left: none;
}

/*
 * CONTENT -------------------------------------------------------------------------------------------------------------
*/

/* TICKER */

.ticker {
  position: relative;
  background-color: rgb(255, 255, 255);
  overflow: hidden;
  margin: 0;
}

.ticker li {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 50px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1em;
  color: var(--dark-red);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.07em;
  opacity: 0;
  z-index: 1;
}

/* PAGE */

.title {
  position: relative;
}

.title img {
  display: block;
  width: 100%;
}

.day-of-learning a {
  position: absolute;
  top: 84%;
  font-size: 1.1vw;
  background-color: transparent;
  border: 1px solid rgb(255, 255, 255);
}

.day-of-learning a:nth-of-type(1) {
  left: 53%;
}

.day-of-learning a:nth-of-type(2) {
  left: 66%;
}

.day-of-learning a:nth-of-type(3) {
  left: 78%;
}

h1.mb-less {
  margin-bottom: 0.15em;
}

h1.mb-more {
  margin-bottom: 1.1em;
}

h1.mt-less,
h2.mt-less {
  margin-top: 0.15em;
}

p.mb-more {
  margin-bottom: 0.75em;
}


.blurb {
  padding: 15px;
  background-color: #f0f0f0;
  border: 2px solid rgb(188, 22, 22);
  border-radius: 8px;
}

.breadcrumbs {
  font-size: 0.9em;
  padding: 1em 1.5em;
  color: rgb(125, 125, 125);
  border-bottom: 1px solid var(--pale-gold);
}

.breadcrumbs a {
  font-weight: bold;
  color: var(--dark-blue);
}

.content {
  padding: 1.5% 3% 2.3% 7%;
  word-break: break-word;
}

.content.balanced {
  padding: 1.5% 5%;
}

.content.cover {
  margin: 4%;
  padding: 1.2% 4% 3.5%;
  background-color: var(--pale-gold);
}

.content.cover h1 {
  margin: 0.1em 0.7em 0.4em;
  text-align: center;
}

.content.cover h2 {
  margin-bottom: 1.5em;
  font-weight: normal;
}

.content hr {
  width: 20%;
  min-width: 70px;
  margin: 10px 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #a1a1a1;
  border-left: none;
  border-right: none;
  background-color: transparent;
}

.content p,
.content li {
  line-height: 1.5;
}

.content li {
  margin: 0.2em 0;
}

main a {
  color: rgb(146, 18, 15);
}

.content a:hover,
footer a:hover {
  text-decoration: underline;
}

.content img {
  max-width: 100%;
}

.responsive-img {
  max-width: 100%;
  margin: 0 auto;
}

.content ul {
  padding-left: 2.5em;
}

.container {
  max-width: 1268px;
  margin: 0 auto;
}

.contained {
  width: 100%;
  max-width: 660px;
}

main p,
main li,
main legend,
main label,
main input,
main form span {
  font-size: 1.2em;
}

main p.larger {
  font-size: 1.5em;
}

.gold-band {
  height: 0.5em;
  background-color: var(--dark-gold);
}

.anchor {
  position: relative;
  top: -250px;
}

main .images {
  flex-shrink: 0;
  width: 33.33%;
  max-width: 422px;
  text-align: center;
}

main .images img {
  display: block;
  width: 100%;
  margin-bottom: 0.4em;
}

main .images :last-child {
  margin-bottom: 0;
}

.sidebar-link {
  display: block;
  box-sizing: border-box;
  margin-bottom: 0.4em;
  padding: 1em;
}

.sidebar-link img {
  box-sizing: border-box;
  padding: 1em;
  border: 3px dashed var(--light-brown);
}

.always-sm {
  width: 100%;
  max-width: 400px;
}

.ghosted-background {
  position: relative;
  background: url('../assets/Ghosted_Fair_1920.jpg');
  background-size: cover;
}

.ghosted-background h1 {
  font-weight: 800;
  font-size: 4.4vw;
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
  margin: 0 0 3.5%;
}

.pn-logo {
  width: 33%;
  padding: 3.2% 5.2%;
  /*background-color: rgb(255, 255, 255);*/
  box-sizing: border-box;
  margin-bottom: 1%;
}

.pn-logo img {
  width: 100%;
}

.dot-border {
  position: relative;
  flex-grow: 1;
  border-top: 14px dotted var(--dark-gold);
}

.card {
  padding: 3% 8%;
  margin-right: 5%;
  background-color: rgb(255, 255, 255);
  text-align: center;
}

.card:last-child {
  margin-right: 0;
}

main .countdown {
  position: relative;
  margin: 0 1em;
  max-width: 350px;
  color: rgb(255, 255, 255);
}

main .countdown img:not(.scale) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

main .countdown p {
  margin: 0;
  text-align: center;
}

.logo-col {
  display: flex;
  flex-direction: column;
  padding: 0 1em;
  text-align: center;
}

.logo-col img {
  margin: 2vw 0;
}

table {
  border-collapse: collapse;
  word-break: keep-all;
}

tr {
  vertical-align: top;
}

td {
  padding-right: 2em;
  padding-bottom: 1em;
  min-width: 84px;
}

table h5 {
  margin: 0 0 0.75em;
  font-size: 0.83em;
}

table.two-col td,
table.three-col td,
table.four-col td {
  box-sizing: border-box;
  padding: 0.5em;
  border: 1px solid #ccc;
}

table.two-col td {
  width: 50%;
  text-align: center;
}

table.three-col td {
  width: 33.333%;
  text-align: center;
}

table.four-col td {
  width: 25%;
  text-align: center;
}

/* PROJECTS SLIDESHOW */

.projects {
  position: relative;
  overflow: hidden;
  margin-top: 2vw;
}

.project {
  display: flex;
  position: absolute;
  top: 0;
  left: 10vw;
  width: 100%;
  color: var(--blue);
  opacity: 0;
}

.project .image {
  flex-shrink: 0;
  width: 29%;
  max-width: 300px;
  margin-bottom: 1.5em;
}

.project .image img {
  width: 100%;
  margin-bottom: 0.75em;
}

.project h1 {
  color: var(--dark-red);
  font-size: 3.1em;
  margin: 0;
}

.project h2 {
  margin: 0.3em 0;
}

.dark-blue {
  color: var(--dark-blue);
}

.project h4 {
  margin: 0 0 0.75em;
}

.project .text {
  padding-left: 2em;
  margin-bottom: 0.8em;
}

.project p {
  margin: 0.5em 0;
}

.controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  border-top: 1px solid var(--dark-blue);
}

.controls p {
  color: var(--orange);
  font-size: 0.8em;
  letter-spacing: 0.03em;
  opacity: 0;
  cursor: default;
}

.controls p:hover {
  color: var(--dark-gold);
}

/* NAV CATEGORIES */

.nav-categories {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3.5%;
  padding: 1%;
  background-color: rgb(255, 255, 255);
}

.nav-categories .cat {
  position: relative;
  display: block;
  margin: 1%;
  width: 23%;
  color: inherit;
  overflow: hidden;
  background-size: 100% 100%;
  transition: background-size 0.3s;
}

.nav-categories .cat:hover {
  background-size: 110% 110%;
}

.nav-categories a:hover .flex-grow {
  padding-top: calc(50% - 0.5em);
  padding-bottom: calc(50% - 0.5em);
  color: var(--dark-red);
  font-weight: 700;
}

.nav-categories .flex-grow {
  padding: 1.75em 1em;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
  transition: padding 0.3s;
}

.details {
  box-sizing: border-box;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0.6em 1em;
  color: #444;
  font-size: 0.8em;
  background-color: #eee;
  transition: top 0.3s;
  overflow: auto;
  word-break: break-all;
}

.details p {
  margin-bottom: 1em;
}

.nav-categories .cat:hover .details,
.nav-categories .cat.active .details {
  top: 0;
}

/* ALERTS */

p.alert-success,
p.alert-failure {
  padding: 10px;
  text-align: center;
  font-size: 16px;
}

p.alert-success {
  background-color: #8DD66B;
  border: 1px solid #6FAA53;
  color: #4B7238;
}

p.alert-failure {
  background-color: #E8716F;
  border: 1px solid #B25553;
  color: #7F3D3B;
}

/* RESOURCE/GALLERIES */

.resource-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 450px;
}

.resource-wrapper,
.gallery-wrapper {
  align-self: start;
  margin-bottom: 5px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  position: relative;
}

.gallery-wrapper {
  width: 30%;
}

.gallery-wrapper h4 {
  margin: 0.5em 0;
}

.resource-wrapper h4 {
  margin: 0.2em 0 0.5em;
}

.gallery-wrapper img,
.resource-wrapper img{
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.resource-wrapper form {
  display: flex;
}

.resource-wrapper input[type="text"] {
  flex-grow: 1;
}

.gallery-title {
  text-align: center;
  margin: 0.3em 5%;
}

/* FORMS */

form.contained {
  width: 100%;
  max-width: 660px;
}

form p {
  margin: 0 0 0.15em;
}

fieldset {
  margin: 0.5em 0 1em;
  padding: 0.5em 1em 0.5em;
}

fieldset > fieldset:not(.bordered) {
  padding: 0;
  border: none;
}

fieldset.bordered {
  margin-bottom: 0.5em;
}

legend {
  padding: 0 0.5em;
  font-weight: bold;
  color: var(--bright-blue);
  border-color: rgb(119, 119, 119);
}

input[type="submit"]:not(.button),
input[type="button"]:not(.button),
input[type="text"],
input[type="email"],
input[type="reset"],
input[type="date"],
input[type="number"],
select,
textarea {
  box-sizing: border-box;
  padding: 0.2em 0.5em;
}

input[type="submit"],
input[type="button"] {
  cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
  margin: 0 0.5em;
  cursor: pointer;
}

input[type="number"] {
  margin-bottom: 1em;
  margin-top: 0.25em;
  width: 3em;
  flex-shrink: 0;
}

.radio-label-pair {
  display: flex;
  align-items: center;
  margin-bottom: 0.6em;
}

textarea {
  resize: none;
}

.star {
  color: var(--dark-red);
  font-weight: bold;
  font-family: "Red Hat Display", Geneva, sans-serif;
}

div.inline-form-group,
div.halves-form-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

div.inline-form-group input[type="text"] {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

div.inline-form-group input[type="text"],
div.inline-form-group label,
div.inline-form-group select {
  margin-right: 15px;
}

div.inline-form-group input[type="text"]:last-child,
div.inline-form-group label:last-child,
div.inline-form-group select:last-child {
  margin-right: 0;
  max-width: calc(100% - 10ch);
}

div.inline-form-group label {
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}

div.halves-form-group form,
div.halves-form-group div {
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
  text-align: center;
}

#hotlink {
  color: inherit;
  text-decoration: none;
}

.col-lt-1194 table td:last-child {
  width: 35%;
}

table.form-grid td {
  padding-right: 10px;
  padding-bottom: 10px;
}

table.form-grid td:last-child {
  padding-right: 0;
}

.full-width {
  width: 100%;
}

#PhoneNpa,
#PhoneNxx {
  width: 3em;
}

#PhoneXxxx {
  width: 4em;
}

/*
 * SLIDESHOW
*/

.slideshow {
  position: relative;
  overflow: hidden;
}

.slideshow p {
  font-size: 1.5vw;
}

.slideshow p.larger {
  font-size: 2vw;
}

.slideshow button {
  padding: 0.9vw 1.8vw;
  font-size: 1.35vw;
}

.slide {
  opacity: 0;
}

.slide > img {
  position: absolute;
  top: 0;
  width: 100%;
}

.center-content {
  position: relative;
  width: 35%;
  opacity: 0;
  z-index: 1;
  text-align: center;
  transition: opacity 0.4s;
  background-color: rgb(255, 255, 255, 0.5);
  border-radius: 50%;
}

.center-content:not(.slide1) {
  width: 25%;
}

.center-content:not(.slide1) img:not(.scale) {
  margin-bottom: 2em;
  top: -50px;
}

.center-content:not(.slide1) button {
  top: 50px;
}

.center-content img,
.center-content button {
  position: relative;
  transition: top 0.4s;
}

.center-content.fade-in {
  opacity: 1;
}

.center-content.fade-in img:not(.scale),
.center-content.fade-in button {
  top: 0;
}

.center-content img:not(.scale) {
  display: block;
  width: 100%;
}

.center-content .absolute-expand {
  box-sizing: border-box;
  padding: 3em 2em;
}

.center-content.slide1 .absolute-expand {
  padding: 1.7vw 0;
}

.center-content p {
  margin: 0;
  color: var(--dark-blue);
}

.slideshow .arrow {
  position: absolute;
  top: 0;
  width: 55px;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}

.slideshow .arrow img {
  box-sizing: border-box;
  width: 100%;
  padding: 10% 25%;
  cursor: pointer;
  opacity: 0.5;
}

.slideshow .arrow img:hover {
  opacity: 1;
}

.slideshow .arrow.left {
  left: 0;
}

.slideshow .arrow.right {
  right: 0;
}

.gallery .slide {
  background-color: rgb(100, 100, 100);
}

.gallery .slide > img {
  left: 0;
  right: 0;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  max-height: 100%;
}

/*div.slide-nav-wrapper {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   margin: 0 auto;
   padding-bottom: 5px;
   text-align: center;
}

div.slide-nav {
   display: inline-block;
   width: 15px;
   height: 15px;
   border: 3px solid #eee;
   border-radius: 15px;
   cursor: pointer;
   -webkit-transition: background-color 0.5s;
   transition: background-color 0.5s;
   box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.75);
}

div.slide-nav.active {
   background-color: #eee;
}*/

/* Spinner Animation from https://projects.lukehaas.me/css-loaders/ */

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
}

.loader {
  color: #EAEAEA;
  font-size: 11px;
  text-indent: -99999em;
  margin: 0 auto;
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 1em;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
}

.loader:before,
.loader:after {
  position: absolute;
  content: '';
}

.loader:before {
  width: 5.2em;
  height: 10.2em;
  background: #ffffff;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.2em 5.1em;
  -moz-transform-origin: 5.2em 5.1em;
  -ms-transform-origin: 5.2em 5.1em;
  -o-transform-origin: 5.2em 5.1em;
  transform-origin: 5.2em 5.1em;
  -webkit-animation: load2 2s infinite ease 1.5s;
  animation: load2 2s infinite ease 1.5s;
}

.loader:after {
  width: 5.2em;
  height: 10.2em;
  background: #ffffff;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 5.1em;
  -webkit-transform-origin: 0 5.1em;
  -moz-transform-origin: 0 5.1em;
  -ms-transform-origin: 0 5.1em;
  -o-transform-origin: 0 5.1em;
  transform-origin: 0 5.1em;
  -webkit-animation: load2 2s infinite ease;
  animation: load2 2s infinite ease;
}

@-webkit-keyframes load2 {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load2 {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* ROTATING MARQUEE */

.logo-scroller {
  position: relative;
  padding: 15px 0;
  width: 100%;
  border-top: 12px solid var(--dark-gold);
  border-bottom: 12px solid var(--dark-gold);
  background-color: rgb(255, 255, 255);
  overflow: hidden;
  z-index: 1;
}

.logo-scroller .frame {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo-scroller a {
  position: relative;
}

.logo-scroller img {
  max-height: 100px;
  max-width: 200px;
}

/* ENTERTAINMENT */

.content.cover.free {
  background-color: rgb(255, 255, 255);
}

.content.cover.free h2 {
  font-family: 'Red Hat Display';
  letter-spacing: 0.1em
}

.free .flex-wrap {
  justify-content: center;
}

.entertainment {
  display: block;
  flex-direction: column;
  border: 1px solid #0000006D;
  box-shadow: 4px 4px 5px #0000006D;
  margin: 2em;
  width: 450px;
  font-size: 0.9em;
}

.entertainment-img {
  display: block;
  width: 100%;
  height: auto;
}

.entertainment-video iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 450/300;
}

.entertainment-info {
  padding: 0.2em 2em 1.8em;
}

.entertainment p {
  margin: 0.9em 0 0;
}

p.entertainment-title {
  color: var(--dark-blue);
  font-size: 1.5em;
  margin-bottom: 0;
}

p.ellipsis-fallback {
  line-height: 1;
  margin: 0 0 0.25em;
}

.entertainment-description {
  overflow: hidden;
}

.entertainment-description p {
  line-height: 1.6rem;
  margin-top: 0.9rem;
}

@supports (-webkit-line-clamp: 4) {
  .entertainment-description {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }

  p.ellipsis-fallback {
    display: none;
  }
}

@supports (-webkit-touch-callout: none) {
  .entertainment-description {
    display: block;
    -webkit-line-clamp: initial;
    -webkit-box-orient: initial;
    max-height: 7.05rem;
  }

  p.ellipsis-fallback {
    display: inline;
  }
}

p.entertainment-childpage {
  margin-top: 0;
}

/*
 * FOOTER --------------------------------------------------------------------------------------------------------------
*/

footer {
  color: rgb(255, 255, 255);
}

footer h2 {
  color: inherit;
  font-weight: 800;
}

footer p {
  margin: 1.25em 0;
  line-height: 1.3;
}

footer p b {
  font-weight: 700;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  text-decoration: none;
  color: var(--dark-gold);
}

.blue-area {
  margin-top: 8em;
  background-color: var(--dark-blue);
  line-height: 1.8;
}

.blue-area > .flex > .flex-grow {
  padding: 1em 2.6em 2em;
  flex-basis: 1%;
}

.bottom-logo {
  width: 290px;
  height: 290px;
  margin-top: -145px;
}

.bottom-logo > div {
  padding: 40px;
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
}

.bottom-logo img:not(.scale) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.quick-links {
  align-self: flex-start;
}

.quick-links img {
  display: block;
}

footer .fine-print {
  padding: 1em 5% 1.2em;
  font-size: 0.8em;
  text-align: center;
  background-color: var(--blue-black);
}

footer .fine-print p {
  line-height: 1.8;
}

footer .fine-print a {
  color: var(--dark-gold);
}

footer .fine-print a:hover {
  text-decoration: underline;
}

.go-top {
  cursor: pointer;
}

/*
 * SMALLER PCs
*/

@media (max-width: 1640px) {
  .nav-wrapper {
    font-size: 1em;
  }

  nav.pc .subpages {
    width: 205px;
  }

  .contained {
    max-width: 550px;
  }

  .tricol-grid {
    grid-template-columns: 1fr minmax(550px, 1fr) 1fr;
  }
}

/*
 * LAPTOPS
*/

@media (max-width: 1350px) {
  .only-laptop {
    display: initial;
  }

  .not-laptop {
    display: none;
  }

  header h1 {
    font-size: 2.6em;
  }

  .nav-wrapper {
    font-size: 0.9em;
  }

  .contained {
    max-width: 450px;
  }

  .tricol-grid {
    font-size: 0.85em;
    grid-template-columns: 1fr minmax(450px, 1fr) 1fr;
  }
}

/*
 * TABLETS
*/

@media (max-width: 1194px) {
  h1 {
    font-size: 3em;
  }

  .not-pc-inline-block {
    display: inline-block;
  }

  .not-pc {
    display: block;
  }

  .pc-only,
  div.pc-only,
  .only-laptop,
  .gt-tablet {
    display: none;
  }

  .lte-tablet {
    display: initial;
  }

  .bottom-logo.lte-tablet {
    display: inline-block;
  }

  .not-laptop,
  .mid-bar .logo,
  nav .countdown,
  nav.mobile {
    display: initial;
  }

  .mid-bar {
    padding: 0.5% 3%;
  }

  .tagline-hamburger {
    padding-top: 1.5%;
  }

  .tagline {
    width: 100%;
    max-width: 525px;
  }

  .col-lt-1194 {
    flex-direction: column;
  }

  main .col-lt-1194 .images {
    width: 100%;
    max-width: none;
  }

  .menu-icon,
  nav.footer {
    display: flex;
  }

  .contained {
    max-width: 600px;
    margin: 0 auto;
  }

  .tricol-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    column-gap: 0;
    row-gap: 1.5em;
    font-size: 1em;
  }

  .projects {
    font-size: 0.85em;
  }

  .project .image {
    width: 21%;
  }

  .logo-col {
    align-items: center;

  }

  .logo-col img {
    width: 100%;
    max-width: 500px;
  }

  footer .fine-print {
    padding-bottom: 4.5em;
  }

  nav.pc .logo,
  .nav-wrapper {
    display: none;
  }

  footer .spacer:not(.lg) {
    width: 1em;
  }

  .blue-area {
    text-align: center;
  }

  .blue-area > .flex {
    justify-content: center;
    text-align: left;
  }

  .blue-area>.flex>.flex-grow {
    flex-basis: unset;
    flex-grow: 0;
  }

  .nav-categories .cat {
    width: 31.3%;
  }

  .entertainment {
    margin: 1em;
  }
}

@media (max-width: 850px) {
  h1 {
    font-size: 2.7em;
  }

  .lte-tablet-sm {
    display: initial;
  }

  .responsive-img.lte-tablet-sm {
    display: block;
  }

  .flex.lte-tablet-sm {
    display: flex;
  }

  .gt-tablet-sm {
    display: none;
  }

  .day-of-learning a {
    top: 82%;
    font-size: 2.6vw;
  }

  .day-of-learning a:nth-of-type(1) {
    left: 8%;
  }

  .day-of-learning a:nth-of-type(2) {
    left: 38%;
  }

  .day-of-learning a:nth-of-type(3) {
    left: 66%;
  }

  .content {
    padding: 1.5% 4% 4%;
  }

  .quick-links>.flex {
    flex-direction: column-reverse;
  }

  footer .fine-print {
    padding-bottom: 5.5em;
  }

  .entertainment {
    margin: 1em 0.5em;
  }

  .content.cover.free h2 {
    margin-bottom: 1em;
    font-size: 1.25em;
  }
}

@media (max-width: 775px) {
  .mid-bar {
    padding: 1% 5%;
  }

  .mid-bar .logo {
    max-width: 130px;
  }

  .tagline-hamburger {
    flex-direction: column;
    justify-content: space-between;
    padding-top: 0;
  }

  .tagline {
    max-width: 460px;
    align-self: flex-end;
  }

  .menu-icon {
    align-self: flex-end;
    width: 60px;
    height: 60px;
  }

  .ticker {
    font-size: 0.8em;
  }

  .ghosted-background h1 {
    font-size: 6vw;
  }

  .content.cover {
    margin: 0;
  }

  .nav-categories .cat {
    width: 48%;
  }

  .card {
    font-size: 0.9em;
  }

  .project,
  .flex-col-lt-775 {
    flex-direction: column;
  }

  .fb-page {
    margin-bottom: 5vw;
  }

  .project .image {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: initial;
  }

  .project .image img {
    max-width: 300px;
  }

  .project .text {
    padding-left: 0;
  }
}

/*
 * PHONES
*/

@media (max-width: 610px) {
  table.two-col td,
  table.three-col td,
  table.four-col td {
    width: 100%;
    display: block;
  }

  .tricol-grid {
    font-size: 0.85em;
  }
}

@media (max-width: 580px) {
  .mid-bar .logo {
    max-width: 105px;
  }

  .menu-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5em;
  }

  .tagline-hamburger {
    justify-content: flex-end;
  }

  nav.footer a {
    font-size: 0.7em;
    border-width: 1px;
  }

  .content.cover .flex-between {
    flex-direction: column;
  }

  .card {
    font-size: 1em;
    margin-right: 0;
    margin-bottom: 5%;
  }

  .card:last-child {
    margin-bottom: 0;
  }

  .blue-area {
    font-size: 0.9em;
    margin-top: 9em;
  }

  .blue-area>.flex>.flex-grow {
    padding: 1em 1em 2em;
  }

  footer .fine-print {
    padding-bottom: 4.6em;
  }

  .entertainment {
    max-width: 550px;
  }
}

/* MEDIUM PHONE */

@media (max-width: 460px) {
  h1 {
    font-size: 2.3em;
  }

  .menu-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1em;
  }

  nav.footer a.gt-phone-md {
    display: none;
  }

  nav .countdown {
    font-size: 4.2vw;
  }

  .nav-categories {
    max-width: 275px;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5em;
  }

  .nav-categories .cat {
    width: calc(100% - 1em);
    margin: 0.5em;
  }

  .logo-scroller img {
    max-height: 70px;
  }

  .bottom-logo {
    width: 200px;
    height: 200px;
    margin-top: -100px;
  }

  .bottom-logo > div {
    padding: 20px;
  }

  .blue-area {
    margin-top: 7em;
  }

  .blue-area>.flex {
    text-align: center;
  }

  .blue-area>.flex:nth-child(2) {
    flex-direction: column;
    align-items: center;
  }

  .blue-area>.flex>.flex-grow {
    width: 198px;
    padding-bottom: 0;
  }

  .blue-area .flex.lte-tablet-sm {
    padding-top: 2em;
  }

  .quick-links {
    align-self: unset;
  }

  .content.cover.free h2 {
    margin-bottom: 0.5em;
    font-size: 1.15em;
  }

  .entertainment {
    margin: 0.75em 0;
  }

  .entertainment-info {
    padding: 0.2em 0.75em;
  }

  .entertainment p {
    margin: 0.5em 0;
  }

  p.entertainment-title {
    font-size: 1.25em;
    margin-bottom: 0;
  }
}

@media (max-width:410px) {
  .only-phone {
    display: block;
  }

  .not-phone {
    display: none;
  }

  .only-phone-inline {
    display: inline;
  }

  form.contained table.form-grid td {
    display: block;
  }

  main .countdown p {
    font-size: 4.8vw;
  }

  main .countdown p.larger {
    font-size: 5.7vw;
  }
}

/*
 * BACKOFFICE
*/

.backoffice header,
.backoffice nav {
  height: 46px;
}

.dropdown-header {
  cursor: pointer;
}

.dropdown-header span {
  display: inline-block;
  -webkit-transition: transform 0.5s, -webkit-transform 0.5s;
  -moz-transition: transform 0.5s, -webkit-transform 0.5s;
  -o-transition: transform 0.5s, -webkit-transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
  transform: rotate(-90deg);
  -ms-transition: transform 0.5s, -webkit-transform 0.5s;
}

.dropdown-header span.active {
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}

.dropdown {
  display: block;
  overflow: hidden;
}

div.image-options-top,
div.image-options-bottom {
  box-sizing: border-box;
  position: absolute;
  left: 0;
  width: 100%;
  padding: 15px 20px 10px;
}

div.small-images div.image-options-top,
div.small-images div.image-options-bottom {
  position: relative;
  padding: 10px 20px;
}

div.image-options-top {
  display: flex;
  align-items: center;
  top: 0;
  background-color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 0.05em 0.1em white;
  font-weight: bold;
}

div.image-options-bottom {
  bottom: 0;
}

.gray-out {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 11;
}

.modal {
  position: absolute;
  top: 20%;
  width: 100%;
  max-width: 700px;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 10px;
  background-color: #f7f7f7;
  z-index: 11;
}

.modal-small {
  max-width: 400px;
}

.gray {
  color: #666;
}

div.tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

div.tabs p {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 33.333%;
  flex: 1 1 33.333%;
  margin: 0;
  padding: 10px;
  text-align: center;
  cursor: pointer;
}

div.tabs p:hover,
.tabs p.active {
  background-color: rgba(242, 201, 69, 0.3);
}

ul.sortable {
  padding-left: 0;
}

.sortable li {
  list-style: none;
  padding: 0.2em;
  margin: 0 0.2em;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: grab;
  float: left;
}

.sortable img {
  display: block;
  max-width: 100px;
  max-height: 100px;
}

.event-highlight-editor {
  width: calc(50% - 30px);
}
