#bodyStyle {
  background-color: #ccc;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#topRowStyle {
  margin-top: 20px;
}
#wheelContainer {
  position: relative;
  margin: auto;
  margin-bottom: 15px;
  width: 85%;
}
#wheelImg {
  width: 100%;
}
#markerImg {
  position: absolute;
  z-index: 1;
  left: 45.5%;
  top: -1.5%;
  width: 10%;
  -webkit-filter: drop-shadow(1px 1px 1px #222);
  filter: drop-shadow(1px 1px 1px #222);
}

.headerStyle,
.subHeaderStyle {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  text-align: center;
  padding: 0;
  margin: 9px;
}

.headerStyle {
  margin-bottom: 15px;
}

.subHeaderStyle {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.buttonContainer {
  margin: 10px;
  text-align: center;
}

.buttonStyle {
  margin: 5px;
}

.button-secondary {
  color: #fff;
  background-color: #f09833;
  border-color: #f09833;
}

.button-secondary:hover {
  color: #fff;
  background-color: #c87d26;
  border-color: #c87d26;
}

.watchButtonContainer {
  margin: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.video-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  margin: 2px 25px;
  margin-bottom: 25px;
}
.video-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

.footer {
  margin-top: auto;
  font-family: "Helvetica", sans-serif;
  font-size: 12px;
  text-align: center;
}

.footer a {
  text-decoration: none;
  color: #222;
}

.footer a:hover {
  text-decoration: underline;
}

div#preloaded-images {
  position: absolute;
  overflow: hidden;
  left: -9999px;
  top: -9999px;
  height: 1px;
  width: 1px;
}

/* --- */

.carousel {
  margin: auto;
  margin-bottom: 50px;
  height: 50px;
  width: 250px;
}

.carousel-cell {
  width: 100%; /* full width */
  height: 100%; /* height of carousel */
  margin-right: 10px;
  text-align: center;
}

.carouselImg {
  height: 100%;
}

.flickity-button {
  width: 36px;
  height: 36px;
  background: transparent;
}
.flickity-button:hover {
  background: transparent;
  color: white;
}

/* --- Promo banner --- */

.banner {
  position: relative;
  font-family: "Helvetica Neue", sans-serif;

  /* Symmetric side padding leaves room for the close button so the
     centered content stays clear of it and reads as centered. */
  padding: 8px 48px;
  border: 1px solid transparent;
  border-radius: 4px;

  color: #1f4e63;
  background-color: #d9edf7;
  border-color: #bce8f1;

  margin-bottom: 0;
}

#headerBanner {
  display: none;
}

#bannerContent {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

#bannerTextContainer {
  display: flex;
  justify-content: center;
  align-items: center;
}

#bannerText {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.4;
  text-align: center;
}

#bannerText a {
  color: #12506b;
  font-weight: 600;
  text-decoration: underline;
}

#bannerImg {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  -webkit-appearance: none;
  padding: 0 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #1f4e63;
}

.close:hover,
.close:focus-visible {
  color: #0d3a4d;
}

.close:focus-visible {
  outline: 2px solid #12506b;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Responsive promo copy: full text on desktop, short text on mobile */
.bannerTextShort {
  display: none;
}

/* --- */

@media only screen and (max-width: 768px) {
  .one-half.column {
    width: 100%;
    margin-left: 0;
  }
  /* Banner: shorter copy, smaller poster, tighter spacing on mobile */
  .bannerTextFull {
    display: none;
  }
  .bannerTextShort {
    display: inline;
  }
  .banner {
    padding: 8px 40px;
  }
  #bannerContent {
    gap: 10px;
  }
  #bannerImg {
    width: 44px;
    height: 44px;
  }
  #bannerText {
    font-size: 15px;
  }
  #topRowStyle {
    margin-top: 5px;
  }
  #wheelContainer {
    max-width: 450px;
    margin-bottom: 0;
  }
  .buttonContainer {
    margin-bottom: 0;
  }
  .headerStyle {
    margin-bottom: 0;
  }
  .subHeaderStyle {
    margin-bottom: 1px;
    font-size: 1em;
    margin: 1px 0;
  }
  .carousel {
    margin-bottom: 25px;
  }
  .video-responsive {
    margin: auto;
  }
  .footer {
    display: none;
  }
}
