/* styling for the slideshow on the homepage */
/* uses min-widths 768 and 992 in media queries */

.static-image {
  width: 90%;
  margin: 24px 5% 0;
}
@media (min-width: 768px) {
    .static-image {
    width: 740px;
    margin: 32px auto 3em;
  }
}
@media (min-width: 992px) {
    .static-image {
    width: 840px;
    margin: 32px auto 4em;
  }
}

#slides {
  display: none;
}

.slidesjs-container {
  height: 76vw !important;
}
@media (min-width: 768px) {
    .slidesjs-container {
    height: inherit !important;
  }
}

.slideshow {
  position: relative;
  border-top: 2px solid #2332390C;
  box-shadow: 0 10px 10px #23323980;
  margin: 24px auto 3em;
}
@media (min-width: 768px) {
    .slideshow {
    width: 600px;
    margin: 32px auto 5em;
  }
}
@media (min-width: 992px) {
    .slideshow {
    width: 700px;
  }
}

.slide-left {
    padding: 1em 1em 0;
}

@media (min-width: 768px) {
    .slide-left {
    float: left;
    width: 66%;
    padding: 0.5em 0 0 2em;
  }
}

@media (min-width: 768px) {
    .slide-right {
    position: relative;
    float: right;
    width: 33%;
    height: 198px;
  }
}
@media (min-width: 992px) {
    .slide-right {
    height: 231px;
  }
}

.slide-image img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(20%);
}

.slide-text-all {
  padding: 0.5em 1em;
  text-align: center;
}
@media (min-width: 768px) {
    .slide-text-all {
    padding: 0 1em;
    text-align: left;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }
}

.slide-item h4 {
  margin: 12px 0 0;
  text-transform: uppercase;
  line-height: 0.95;
  font-family: var(--hct-font-family-display);
  font-size: 20px;
}
@media (min-width: 768px) {
    .slide-item h4 {
    margin: 0;
    font-size: 20px;
  }
}
@media (min-width: 992px) {
    .slide-item h4 {
    font-size: 24px;
  }
}

.slide-item h3 {
  margin: 1vw 0 0;
  line-height: 0.95;
  font-family: var(--hct-font-family-display);
  font-size: 22px;
}
@media (min-width: 768px) {
    .slide-item h3 {
    margin: 6px 0 0;
    font-size: 22px;
  }
}
@media (min-width: 992px) {
    .slide-item h3 {
    font-size: 28px;
  }
}

.slide-item button {
  display: inline-block;
  background-color: var(--theme-palette-color-4);
  color: var(--theme-palette-color-8);
  margin: 7px 0 0;
  padding: 6px 12px;
  border-radius: 5px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1em !important;
}
.slide-item button:hover {
  background-color: var(--theme-palette-color-2);
}
@media (min-width: 768px) {
    .slide-item button {
    margin: 10px 0 0;
  }
}
@media (min-width: 992px) {
    .slide-item button {
    font-size: 1.1em;
  }
}

.slide-arrow,
.slidesjs-play,
.slidesjs-stop {
  padding: 0 0 12px;
  line-height: 1;
  color: var(--theme-palette-color-5);
  z-index: 1000;
}

.slide-arrow {
  position: absolute;
  bottom: -60px;
  font-size: 30px;
}

.slide-arrow:hover {
  color: var(--theme-palette-color-1);
}

.slide-arrow:active {
  color: var(--theme-palette-color-2);
}

.slidesjs-previous {
  left: 30px;
}

.slidesjs-next {
  right: 30px;
}

.slidesjs-play,
.slidesjs-stop {
  position: absolute;
  bottom: -57px;
  left: 30%;
  width: 40%;
  vertical-align: -1px;
  text-align: center;
  text-transform: uppercase;
  /* font-family: var(--hct-font-family-base); */
  font-weight: 800;
  font-size: 18px;
}

.slidesjs-play:after,
.slidesjs-stop:after {
  padding-left: 0.3em;
  font-family: FontAwesome;
  font-size: 24px;
}

.slidesjs-play:after {
  content: "\f04b";
}

.slidesjs-stop:after {
  content: "\f04c";
}
