@import "/css/fonts/font.css";

.bg-blue {
  background-color: var(--bs-blue);
}

.bg-indigo {
  background-color: var(--bs-indigo);
}

.bg-purple {
  background-color: var(--bs-purple);
}

.bg-pink {
  background-color: var(--bs-pink);
}

.bg-red {
  background-color: var(--bs-red);
}

.bg-orange {
  background-color: var(--bs-orange);
}

.bg-yellow {
  background-color: var(--bs-yellow);
}

.bg-green {
  background-color: var(--bs-green);
}

.bg-teal {
  background-color: var(--bs-teal);
}

.bg-cyan {
  background-color: var(--bs-cyan);
}

html {
  scroll-padding-top: calc(50px * 1.5);
}

body {
  font-family: "Neo Sans W01", system-ui, sans-serif;
}

p {
  line-height: 1.75rem;
}

.lead {
  line-height: 2rem;
}

p,
ul {
  margin-bottom: 1.5rem;
}

p + h1,
p + h2,
p + h3,
p + h4,
p + h5,
p + h6 {
  margin-top: 2rem;
}

.navbar {
  transition: background-color 300ms;
}

.navbar .nav-link.active {
  font-weight: 500;
}

.navbar-frontpage {
  background-color: var(--bs-success);
}

.subpage {
  background-color: var(--bs-success);
}

.navbar-brand .logo-divider {
  border-right: 1px solid white;
  height: 0.75rem;
  opacity: 0.75;
}

.nav-item .dropdown-toggle::after {
  position: absolute;
  bottom: 2px;
  margin-left: -50%;
  vertical-align: 0;
}

.brand-eg {
  background-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.eg-xena-logo {
  height: 18px;
  fill: currentColor;
}

.navbar-brand,
.footer-logo-container {
  font-size: 10px;
}

.brand-xena {
  height: 38px;
}

.xena-logo {
  height: 18px;
  fill: currentColor;
}

.footer-logo-container .xena-logo,
.footer-logo-container .eg-xena-logo {
  height: 18px;
  fill: currentColor;
}

img {
  max-width: 100%;
}

@media (min-width: 992px) {
  .ext-width {
    img {
      margin-top: 1rem;
      margin-bottom: 1rem;
      width: 150%;
      max-width: 150%;
      transform: translateX(-50%);
      position: relative;
      top: 50%;
      left: 50%;
    }

    .image-carousel {
      width: 150%;
      position: relative;
      transform: translateX(-50%);
      left: 50%;
      margin-bottom: 1rem;
    }
  }

  .carousel-item img {
    margin-top: 0 !important;
  }
}

.carousel-control-next,
.carousel-control-prev {
  width: 8%;
}

.aspect-container {
  display: block;
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
}

.aspect-container > .aspect-item {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.aspect-ratio-1x1 {
  aspect-ratio: 1/1;
}

.list-checkmarks {
  padding: 0;
  list-style: none;
}

.list-checkmarks > li {
  padding-left: 10px;
  margin-left: 30px;
  margin-bottom: 0.25rem;
  position: relative;
}

.list-checkmarks > li::before {
  color: var(--bs-teal);
  content: "\f00c";
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  position: absolute;
  top: 0;
  left: -1.2rem;
}

#pagenav {
  top: calc(50px * 1.5);
}

.page-nav .nav-link {
  padding-left: 0;
  padding-right: 0;
  opacity: 0.8;
  transition: opacity ease 0.2s;
}

.page-nav .nav-link:hover {
  opacity: 1;
}

.page-nav .nav-link.active {
  font-weight: 500;
  border-bottom: 2px solid;
  opacity: 1;
}

a {
  color: #685c53;
}

.btn-light {
  color: #685c53;
}

.btn-light-outline {
  color: #f6f2ef;
  border: 2px solid #f6f2ef;
  background-color: none;

  &:hover {
    color: #685c53;
    background-color: #f6f2ef;
  }
}

.btn-white {
  color: #517770;
  background-color: #ffffff;
}

.btn-white-outline {
  color: #ffffff;
  border: 2px solid #ffffff;
  background-color: none;

  &:hover {
    color: #517770;
    background-color: #ffffff;
  }
}

.nav-pills .nav-link {
  color: #685c53;
}

.nav-pills .nav-link.active {
  background-color: #f6f2ef;
  color: #685c53;
}

.hero-container {
  position: relative;
  overflow: hidden;
  margin-top: -56px;

  @media (min-width: 768px) {
    height: 616px;
  }
}

.hero-foreground {
  margin-top: -410px;
  position: relative;
  height: 100%;

  @media (min-width: 768px) {
    background: none;
    margin-top: -622px;
  }
}

.hero-background {
  background-color: rgba(65, 105, 98, 0.85);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
}

.hero-padding {
  padding: 80px 0 40px;

  @media (min-width: 768px) {
    padding: 136px 0 96px;
  }
}

video {
  object-fit: cover;
  width: 100%;
  height: 410px;
  top: -156px;
  left: 0;

  @media (min-width: 768px) {
    height: 616px;
  }
}

.btn-arrow-suffix::after {
  content: "\f054";
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  margin-left: 0.75em;
}

.letter-spacing-wide {
  letter-spacing: 0.075em;
}

.icon-circle {
  border: 2px solid currentColor;
  border-radius: 1000px;
  display: inline-flex;
  width: 2em;
  height: 2em;
  align-items: center;
  justify-content: center;
}

.overflow-x-auto {
  overflow-x: auto;
}

.text-shadow-sm {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.background-cover {
  background-position: center;
  background-size: cover;
}

.pagenav-container {
  top: calc(50px * 1.5);
}

footer a:not(:hover) {
  text-decoration: none;
}

footer a {
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

.aspect-1x1 {
  aspect-ratio: 1/1;
}

.aspect-1x2 {
  aspect-ratio: 1/2;
}

.aspect-2x1 {
  aspect-ratio: 2/1;
}

.aspect-3x2 {
  aspect-ratio: 3/2;
}

.aspect-4x3 {
  aspect-ratio: 4/3;
}

.aspect-16x9 {
  aspect-ratio: 16/9;
}

.aspect-21x9 {
  aspect-ratio: 21/9;
}

.fs-small {
  font-size: small;
}
.pb-hero {
  padding-bottom: 5rem;
}
.mt-hero {
  margin-top: -5rem;
  object-fit: cover;
  width: 100%;
  max-height: 656px;
  margin-bottom: 3rem;
}
.mt-newsstrip {
  margin-top: -3rem;
}
.section-bottom-img {
  img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    object-position: 0% 0%;
    box-shadow: 0 -30px 100px rgba(0, 0, 0, 0.15);
    border-radius: 32px 32px 0 0;
  }
}
.pt-6 {
  padding-top: 5rem;
}
.mt-6 {
  margin-top: 5rem !important;
}
.pb-6 {
  padding-bottom: 5rem;
}
.mb-6 {
  margin-bottom: 5rem !important;
}
.dataflow-label {
  background-color: var(--bs-green);
  color: #f6f2ef;
  max-width: fit-content;
  padding: 2px 8px 2px 4px;
  border-radius: 4px;
  margin: 0;

  &::before {
    font-family: "Font Awesome 5 Pro";
    content: "\f0ec";
    margin-right: 8px;
    background-color: #f6f2ef;
    color: var(--bs-green);
    border-radius: 2px;
    padding: 2px 4px;
  }
}
.app-label {
  background-color: var(--bs-green);
  color: #f6f2ef;
  max-width: fit-content;
  padding: 2px 8px;
  border-radius: 4px;
  margin: 0;
}
.alert-light {
  background-color: #f6f2ef !important;
  color: #685c53;
}
.border-light {
  border-color: rgba(0, 0, 0, 0.125) !important;
}
.tts-wrapper {
  position: sticky;
  bottom: 2rem;
  display: none;
  justify-content: center;
  transition: all var(--xena-transition-fast);
}

.tts-nav {
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.125);
  padding: 1rem;
  gap: 0.5rem;
  display: flex;
  justify-content: center;
  border-radius: 4px;
  box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.15);
}

.talkify-highlight:not(.playing) {
  opacity: 0.6;
}

.display-none {
  display: none;
}

.umbraco-forms-container {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}

label.umbraco-forms-label {
  font-weight: 500 !important;
}

.umbraco-forms-navigation {
  .primary,
  .next {
    background-color: #685c53;
    color: #fff;
  }
  .prev {
    color: #685c53;
    border-color: #685c53;

    &:hover {
      color: #fff;
      background-color: #685c53;
    }
  }
}

.umbraco-forms-field-wrapper input:hover {
  cursor: pointer;
}

.umbraco-forms-field-wrapper label:hover {
  cursor: pointer;
}

.umbraco-forms-field .umbraco-forms-legend {
  font-size: 1rem;
  font-weight: 500;
}

.umbraco-forms-field-wrapper .checkboxlist {
  padding: 0 !important;

  & > div {
    margin-bottom: 0.25rem;
  }
  & label {
    float: none !important;
  }
}

.cta-email::before {
  content: "\f0e0";
  font-family: "Font Awesome 5 Pro";
  margin-right: 8px;
}

.cta-phone::before {
  content: "\f095";
  font-family: "Font Awesome 5 Pro";
  margin-right: 8px;
}

.cta-video::before {
  content: "\f008";
  font-family: "Font Awesome 5 Pro";
  margin-right: 8px;
}

.cta-new-window::after {
  content: "\f35d";
  font-family: "Font Awesome 5 Pro";
  margin-left: 8px;
}

.testimonial-wrapper .carousel-inner {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.testimonial-wrapper .carousel-indicators {
  margin-top: 2rem;
  border-radius: 50%;
  position: relative;
}

.testimonial-image img {
  height: 160px;
  width: 160px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.nav-item:hover .dropdown-menu {
  display: block;
  background-color: var(--bs-success);
  border: 0;
  margin-left: -7px;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);
}

.dropdown-menu {
  padding: 4px;
  border-radius: 6px;
  margin-top: 12px;
}

.dropdown-sub-menu {
  position: absolute;
  margin-top: -44px;
  left: calc(100% + 4px);
  z-index: 1000;
  display: none;
  min-width: 10rem;
  padding: 4px;
  font-size: 1rem;
  color: #3c3c3b;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  transition: 150ms;
}

.dropdown-sub-menu:before {
  content: "";
  display: block;
  width: 8px;
  margin-left: -12px;
  margin-top: -4px;
  position: absolute;
  height: 100%;
}

.dropdown-menu li:hover .dropdown-sub-menu {
  display: block;
  background-color: var(--bs-success);
  border: 0;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);
}

.dropdown-menu:before {
  content: "";
  display: block;
  height: 16px;
  position: absolute;
  top: -16px;
  margin-left: -4px;
  width: 100%;
}

.dropdown-item {
  padding: 0.5rem calc(1rem - 4px);
  border-radius: 4px;
}

.dropdown-item.active {
  background-color: var(--bs-success);
}

.nav-item:hover .dropdown-menu a {
  padding: 8px 12px;
}

.nav-item:hover .dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.125);
}

.mobile-dropdown-menu {
  padding: 4px;
  border-radius: 6px;
}

.mobile-dropdown-item {
  padding: 0 calc(1rem - 4px);
  border-radius: 4px;
  list-style-type: none;
}

.mobile-dropdown-menu a {
  color: #fff;
  text-decoration: none;
}

blockquote {
  margin: 4rem 3rem 3rem -8rem;
  font-size: 28px;
  width: 400px;
  line-height: 2.5rem;
  float: left;

  .cite {
    display: block;
    line-height: 1;
    font-size: 12px;
    margin-top: 12px;
    text-transform: uppercase;
    color: #685c53;
  }

  &::before {
    content: "\f10d";
    font-family: "Font Awesome 5 Pro";
    font-weight: 100;
    color: var(--bs-success);
    float: left;
    position: absolute;
    margin-top: -2.75rem;
    -webkit-font-smoothing: antialiased;
  }

  @media (max-width: 1200px) {
    float: none;
    margin-left: 0;
    width: 100%;
    padding-top: 2rem;
  }
}

.bg-event {
  background-color: #f6f2ef;
  margin-top: -48px;
}

.event {
  padding: 1rem;
  color: #685c53;

  .date {
    background-color: #685c53;
    height: 44px;
    width: 44px;
    text-align: center;
    padding: 0.5rem;
    line-height: 1rem;
  }

  .day {
    font-size: 20px;
  }

  .month {
    font-size: 11px;
  }

  .additional {
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 4px 8px;
    border-radius: 13px;
  }
}

.card {
  text-decoration: none;

  .card-title {
    line-height: 1.4;
  }

  .image-container {
    overflow: hidden;

    .card-img {
      transition: all 150ms;
    }
  }

  &:hover {
    color: #685c53;
    /* border-color: rgba(0, 0, 0, .35); */

    .card-img {
      transform: scale(1.075);
    }
  }
}
