/*
  Small additions on top of the original 2013 stylesheets (which are kept unchanged in /css).
  These replace what the old jQuery plugins did: the Revolution Slider, the page loader and the mobile menu.
*/

/* ---------- Hero slider (was Revolution Slider) ---------- */
.hero-slider { position: relative; margin-bottom: 40px; }
.hero-slider .banner {
  width: 100%;
  height: auto;
  aspect-ratio: 940 / 400;
  container-type: inline-size;
}
.hero-slider .banner ul { margin: 0; padding: 0; list-style: none; }
.hero-slider .banner li.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}
.hero-slider .banner li.slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease;
  z-index: 1;
}
.hero-slider .banner li.slide > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-slider .banner ul li div.caption {
  position: absolute;
  white-space: nowrap;
  background: none;
  padding: 0;
  opacity: 0;
  transition: transform 1s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 1s ease;
}
.hero-slider .banner li.active div.caption { opacity: 1; transform: none; transition-delay: 0.5s; }
.hero-slider .caption.from-top { transform: translateY(-40px); }
.hero-slider .caption.from-bottom { transform: translateY(40px); }
.hero-slider .caption.from-left { transform: translateX(-80px); }
.hero-slider .caption.from-right { transform: translateX(80px); }
.hero-slider .caption p { margin: 0; }
.hero-slider .caption p.big { position: static; display: inline-block; font-size: max(14px, 3.4cqw); line-height: 1.1; padding: 0 1.1cqw 0.4cqw; }
.hero-slider .caption p.middle { font-size: max(11px, 1.7cqw); }
.hero-slider .caption p.small { white-space: normal; font-size: max(10px, 1.3cqw); line-height: 1.4; }
.hero-slider .tp-bannershadow { position: absolute; left: 0; right: 0; width: auto; margin: 0 auto; }
.hero-slider .tp-bannertimer { display: none; }
@media (max-width: 767px) {
  /* On phones the long captions would cover the picture, as they did on the old site's small layout. */
  .hero-slider .caption p.small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider .banner li.slide, .hero-slider .banner ul li div.caption { transition: none; transform: none; }
}

/* ---------- Menu ---------- */
/* The select-box menu only shows where the old site showed it (the theme's own CSS hides .nav-collapse there). */
@media (min-width: 980px) {
  .buttons-container { display: none; }
}
.navbar .nav > li > a i { display: block; }

/* ---------- Pages ---------- */
.text-center { text-align: center; }
.main-column h1 span { color: #999; font-size: 0.7em; font-weight: normal; }
.enroll-frame { width: 100%; min-height: 900px; border: 0; }

/* ---------- Online enrollment (replaces the FoxWeb frame) ---------- */
.enroll-steps { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; counter-reset: step; }
.enroll-steps li { counter-increment: step; padding: 4px 10px; background: #eee; color: #777; font-size: 12px; text-transform: uppercase; }
.enroll-steps li::before { content: counter(step) ". "; }
.enroll-steps li.done { background: #d9e8f5; color: #2a6496; }
.enroll-steps li.current { background: #f39c12; color: #fff; font-weight: bold; }
.enroll-districts { list-style: none; margin: 0 0 20px; }
.enroll-districts li { margin-bottom: 6px; }
.enroll-districts .btn { text-align: left; min-width: 300px; }
.enroll-actions { margin: 20px 0; }
.enroll-student { border-top: 1px solid #ddd; padding-top: 10px; }
.enroll-plans legend { font-size: 14px; line-height: 20px; margin-bottom: 8px; border: 0; }
.enroll-plan-group h6 { margin: 10px 0 4px; text-transform: uppercase; color: #555; }
.enroll-plan-group .radio { margin-left: 4px; }
.enroll-table { font-size: 13px; }
.enroll-payform { width: 100%; min-height: 620px; border: 1px solid #ddd; background: #fff; }
@media (max-width: 767px) {
  .enroll-districts .btn { min-width: 0; width: 100%; }
  .enroll-table { display: block; overflow-x: auto; }
}
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hero-content-3 ul { margin-left: 18px; }

/* ---------- Footer spread across the full width of the window ---------- */
#footer .footer-wrapper > .container,
#footer .footer-bottom > .container { width: auto; max-width: none; padding: 0 40px; }
#footer .footer-wrapper .span12,
#footer .footer-bottom .span12 { width: auto; float: none; margin-left: 0; }
#footer .footer-wrapper .span12 > .row { display: grid; grid-template-columns: 1fr 1.5fr 1fr; column-gap: 60px; margin-left: 0; }
#footer .footer-wrapper .span12 > .row::before,
#footer .footer-wrapper .span12 > .row::after { display: none; }
#footer .footer-wrapper .span12 > .row > [class*="span"] { width: auto; float: none; margin-left: 0; }
@media (max-width: 767px) {
  #footer .footer-wrapper > .container,
  #footer .footer-bottom > .container { padding: 0 20px; }
  #footer .footer-wrapper .span12 > .row { grid-template-columns: 1fr; }
}
