/* set variables */
:root {
  --heading: 'Montserrat', 'Arial', serif;
  --text: 'Open Sans', 'Arial', sans-serif;
  --icons: 'Font Awesome 6 Pro', sans-serif;
  --white: #ffffff;
  --black: #000000;
  --darkgrey: #1d1d1d;
  --grey: #707070;
  --lightgrey: #efefef;
  --blue: #124a5c;
  --purple: #124a5c;
  --fade: all 0.15s ease-out;
}


/* set core body defaults */
body {
  position: initial !important;
  top: 0 !important;
  min-height: 100vh;
	height: 100%;
  margin: 0 auto;
  text-rendering: optimizeSpeed;
  background: var(--lightgrey);
  font-family: var(--text);
  font-size: 20px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.6;
}

/* default font styles */
h1 {
  font-family: var(--heading);
  font-size: 46px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 2px;
  margin: 0 0 45px;
}
h2 {
  font-family: var(--heading);
  font-size: 40px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: 1px;
  margin: 0 0 30px;
}
  h2.main-title {
    color: var(--black);
  }
h3 {
  font-family: var(--heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.1;
  margin: 0 0 20px;
}
h4 {
  font-family: var(--heading);
  font-size: 28px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.1;
  margin: 0 0 20px;
}
h5 {
  font-family: var(--text);
  font-size: 24px;
  font-weight: 400;
  color: var(--green);
  line-height: 1.4;
  margin: 0 0 20px;
}
h6 {
  font-family: var(--text);
  font-size: 24px;
  color: var(--blue);
  line-height: 1.1;
  margin: 0 0 20px;
}
@media screen and (max-width: 768px) {
	h2 {
    font-size: 28px;
  }
}

/* default link styles */
a {
  color: var(--blue);
  text-decoration: none;
  text-decoration-skip-ink: auto;
	transition: var(--fade);
}
a:hover {
  color: var(--black);
  text-decoration: none;
}
@media screen and (max-width: 400px) {
	a {
    word-break: break-word;
  }
}

/* default element styles */

.main p,
.main ul:not(.flex-direction-nav):not(.slides),
.main ol {
  margin: 0 0 40px;
}
.main p a {
  font-weight: 600;
}
.main ul:not(.flex-direction-nav):not(.slides) {
  list-style: outside disc;
  margin: 0 0 40px 20px;
}
  .main ul:not(.flex-direction-nav):not(.slides) ul {
    list-style: outside circle;
    padding: 5px 0;
  }
.main ol {
  list-style: outside decimal;
  margin: 0 0 40px 20px;
}
hr {
  height: 1px;
  color: #e2e2e2;
  background: #e2e2e2;
  border: 0;
  padding: 0;
  margin: 60px 0;
}
.centered,
.centering {
  display: block;
  grid-column: 1 / -1;
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.alignleft {
  float: left;
  margin: 0 40px 40px 0;
}
.aligncenter {
  float: none;
}
  .aligncenter > img {
    margin: 0 auto 40px;
  }
.alignright {
  float: right;
  margin: 0 0 40px 40px;
}
blockquote {
  padding: 30px;
  margin: 0 0 40px;
  background: #f3f3f3;
  border-radius: 22px;
}
* + blockquote:first-of-type {
  clear: both;
}
.grey-bg blockquote {
  background: var(--white);
}
  blockquote *:last-child {
    margin-bottom: 0 !important;
  }
.alignleft,
.aligncenter,
.alignright,
embed,
iframe,
object {
  max-width: 100%;
}
embed,
iframe,
object {
  display: block;
  margin: 0 auto;
}
.main .button,
.form_saved_message input[type="submit"] {
  display: inline-flex;
  align-items: center;
  padding: 5px 0;
  background: transparent;
  font-family: var(--text);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.2;
  letter-spacing: 1px;
  transition: var(--fade);
  cursor: pointer;
}
.form_saved_message input[type="submit"] {
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--blue);
}
  .main .button:hover,
  .main .button:focus,
  .form_saved_message input[type="submit"]:hover,
  .form_saved_message input[type="submit"]:focus {
    color: var(--blue);
  }
.blue-bg .button {
  border-color: var(--white);
  color: var(--white);
}
  .blue-bg .button:hover,
  .blue-bg .button:focus {
    background: var(--white);
    color: var(--blue);
  }
.button.small {
  font-size: 14px;
}
@media screen and (max-width: 1200px) {
	img {
	  max-width: 100%;
	  height: auto;
	}
	.attachment-post-thumbnail {
	  max-width: 100%;
	  height: auto;
	}
}
@media screen and (max-width: 768px) {
	.attachment-post-thumbnail,
	.alignleft,
	.aligncenter,
	.alignright {
	  float: none;
	  display: block;
	  max-width: 100%;
	  margin: 0 auto 30px;
	}
  .alignleft > img,
	.aligncenter > img,
	.alignright > img {
	  margin: 0 auto;
	}
  .to-top-btn {
    display: none;
  }
  .button {
    font-size: 16px;
  }
  .main p,.main ul,.main ol {
    font-size: 16px;
  }
}
.wp-caption-text {
  font-size: 13px;
  color: #737373;
  text-align: right;
}

/* header */

#google-translate {
  position: absolute;
  top: -30px;
  right: 10px;
}
.goog-te-gadget-simple {
  display: flex !important;
  align-items: center;
}
  #google-translate a {
    display: flex;
  }
@media screen and (max-width: 768px) {
  #google-translate {
    left: auto;
    right: 10px;
    top: -36px;
  }
}

/* interior banner */

@media screen and (min-width: 1201px) {
  #hero.interior {
    min-height: 90vh;
  }
}

/* hp sections */

.image-block .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 160px;
}
.main.image-block:nth-child(even) {
  background: #f3f3f3;
}
  .image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .image-block h4 {
    font-family: var(--heading);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }
  .image-block h2 {
    font-size: 48px;
    font-weight: 400;
  }
  .image-block h3 {
    font-family: var(--text);
    font-weight: 400;
    font-size: 28px;
    margin: 0 0 25px;
  }
  .image-block p {
    margin: 0 0 40px;
  }
@media screen and (max-width: 1024px) {
  .image-block {
    padding-top: 0;
  }
  .image-block .container {
    display: flex;
    grid-gap: 0;
  }
  .image-block:not(:nth-child(even)) .container {
    display: flex;
    flex-direction: column-reverse;
  }
  .image-block:nth-child(even) .container {
    flex-direction: column;
  }
  .image-block img {
    margin-top: 60px;
  }
  .image-block h2 {
    font-size: 34px;
  }
}

/* hp highlights gallery */

#pages-content section#highlights-gallery {
  padding-left: 10%;
  padding-right: 10%;
}
#highlights-gallery h2 {
  font-size: 48px;
  font-weight: 400;
  text-align: center;
}
@media screen and (max-width: 768px) {
  #highlights-gallery {
    padding-left: 0;
    padding-right: 0;
  }
}

/* hp contact block */

#contact-block {
  grid-column: 1 / -1;
  position: relative;
  margin: 60px 0 0;
  background: var(--blue);
}
#contact-block .text {
  position: relative;
  z-index: 9;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 30px;
}
  #contact-block * {
    color: var(--white);
  }
  #contact-block .button {
    color: var(--white);
    border-color: var(--white);
    margin: 0;
  }
    #contact-block .button:hover {
      color: var(--lightgrey);
      border-color: var(--lightgrey);
      background: transparent;
    }
  #contact-block > picture,
  #contact-block > img {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  #contact-block img {
    filter: blur(3px);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
  }
@media screen and (max-width: 768px) {
  #contact-block {
    margin: 60px 0 -60px;
  }
}

/* main content */

.main {
  padding: 90px 0;
}
@media screen and (max-width: 768px) {
  .main {
    padding: 60px 0;
  }
}

/* split pages w/ sidebar */

.main.split {
  padding: 0;
}
.main.split > .container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-gap: 30px;
  align-items: start;
}
.main.split #sidebar {
  position: sticky;
  top: 160px;
  list-style: none;
  margin: 90px 0 0;
  padding-left: 34px;
  border-left: 2px solid var(--black);
}
.admin-bar .main.split #sidebar {
  top: 192px;
}
  .main.split #sidebar .circle {
    display: inline-block;
    position: absolute;
    left: -8px;
    top: 0;
    width: 15px;
    height: 15px;
    margin-top: 20px;
    background: var(--black);
    border-radius: 50%;
    transition: all 0.3s ease-out;
  }
  .main.split #sidebar li:first-child a {
    padding-top: 0;
  }
  .main.split #sidebar a {
    display: block;
    padding: 15px 0;
    font-family: var(--heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    text-transform: uppercase;
    opacity: 0.3;
  }
  .main.split #sidebar a.current {
    opacity: 1;
  }
.main.split main .main {
  padding: 90px 30px;
}

.main.sponsorship {
	text-align: center;
}
.main.sponsorship h2 {
	margin-bottom: 25px;
}
.sponsorship-logos {
	display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  gap: 50px;
  margin: 0 0 60px;
}
.sponsorship-logos img {
	display: block;
	max-width: 100%;
  max-height: 110px;
	object-fit: contain;
}
.sponsorship-blocks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
  align-items: center;
  background: var(--white);
}
.sponsorship-block picture,
.sponsorship-block img {
	max-width: 100%;
}
.sponsorship-block {
	margin: 20px 30px;
}
.sponsorship-block img {
	display: block;
	max-width: 340px;
  max-height: 110px;
	object-fit: contain;
}
@media screen and (max-width: 1024px) {
  .sponsorship-logos {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-items: center;
  }
}
@media screen and (max-width: 580px) {
  .sponsorship-block img {
	  max-width: 100%;
  }
}

/* companies (the lineup) archive */

#companies #blocks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}
#companies .company {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 20px;
  background: var(--white);
  outline: 2px solid var(--black);
}
  #companies .company:after {
    content: '\f002';
    font-family: var(--icons);
    font-size: 70px;
    color: var(--blue);
    position: absolute;
    bottom: -20px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--fade);
  }
  #companies .company picture,
  #companies .company > img {
    max-width: 80%;
    height: auto;
    object-fit: cover;
    transition: var(--fade);
  }
  #companies .company:hover picture,
  #companies .company:hover > img {
    opacity: 0.25;
  }
  #companies .company:hover:after {
    bottom: 0;
    transform: scale(1);
    opacity: 1;
  }
  #companies .company h2 {
    font-size: 24px;
    text-align: center;
    margin: 0;
  }
#company-profile {
  background: #f3f3f3;
}
#company-profile .container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 60px;
}
  #company-profile ul {
    list-style: none;
    padding: 30px;
    margin: 0;
    border-top: 5px solid var(--blue);
    font-size: 16px;
    background: var(--white);
  }
  #company-profile ul img {
    max-width: 100%;
    margin: 0 0 30px;
  }
  #company-profile ul li {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--grey);
  }
  #company-profile ul span {
    display: block;
    font-size: 14px;
  }
@media screen and (max-width: 768px) {
  #company-profile .container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  #companies #blocks {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 580px) {
  #companies #blocks {
    grid-template-columns: repeat(2, 1fr);
  }
}