/**
 * @file
 * Detailed stylings are all yours, get yourself dirty.
 *
 * Transform is more performed than positions.
 */

.splide--skin--classic .splide__slide {
  overflow: hidden;
}

.splide--skin--classic .slide__caption {
  left: auto;
  box-sizing: border-box; /* dups due to csslint ignoring inheritance */
  width: 100%;
  min-height: 80px;
  margin: 0;
  padding: 15px;
  -webkit-transition: -webkit-transform 1s ease-in-out 0.2s;
  transition: transform 1s ease-in-out 0.2s;
  color: #fff;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Fixed for Olivero dark title. */
.splide--skin--classic .slide__title {
  color: #fff;
}

.splide--skin--classic .slide__description {
  margin: 0;
}

.splide--skin--classic .slide--caption--below .slide__caption {
  color: #38465c;
  background: none;
}

.splide--skin--classic .slide--caption--center .slide__caption {
  visibility: hidden;
  -webkit-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
  opacity: 0;
  color: #fff;
  -webkit-backface-visibility: hidden;
}

.splide--skin--classic .slide--caption--center:hover .slide__caption {
  visibility: visible;
  opacity: 1;
}

@media (min-width: 64em) {
  .splide--skin--classic .slide__caption {
    top: 0;
    box-sizing: border-box; /* dups due to csslint ignoring inheritance */
    width: 22%;
    height: 100%;
    min-height: 100%;
    padding: 60px 30px;
  }

  .splide--skin--classic .slide__caption > .slide__data {
    width: 100%;
    margin: 0 !important; /* csslint allow: known-properties, important */
    padding: 15px;
  }

  .splide--skin--classic .slide--caption--center .slide__caption {
    top: 50%;
    left: 50%;
    width: 80%;
    height: 120px;
    min-height: 120px;
    margin: -60px 0 0 -40%;
  }

  .splide--skin--classic .slide--caption--top .slide__caption,
  .splide--skin--classic .slide--caption--center-top .slide__caption,
  .splide--skin--classic .slide--caption--bottom .slide__caption,
  .splide--skin--classic .slide--caption--below .slide__caption {
    width: 100%;
    height: auto;
    min-height: 80px;
    padding: 15px;
  }

  .splide--skin--classic .slide--caption--bottom .slide__caption {
    top: auto;
    bottom: 0;
    min-height: 80px;
    -ms-transform: translateY(210px);
    -webkit-transform: translateY(210px);
    transform: translateY(210px);
  }

  .splide--skin--classic .slide--caption--stage-zebra .slide__title {
    margin-bottom: 30px;
  }

  .splide--skin--classic .slide--caption--stage-zebra:nth-child(odd) .slide__caption,
  .splide--skin--classic .slide--caption--stage-left .slide__caption,
  .splide--skin--classic .slide--caption--left .slide__caption {
    left: 0;
    -ms-transform: translateX(-320px);
    -webkit-transform: translateX(-320px);
    transform: translateX(-320px);
  }

  .splide--skin--classic .slide--caption--stage-zebra:nth-child(even) .slide__caption,
  .splide--skin--classic .slide--caption--stage-right .slide__caption,
  .splide--skin--classic .slide--caption--right .slide__caption {
    right: 0;
    left: auto;
    -ms-transform: translateX(320px);
    -webkit-transform: translateX(320px);
    transform: translateX(320px);
  }

  .splide--skin--classic .slide--caption--top .slide__caption,
  .splide--skin--classic .slide--caption--center-top .slide__caption {
    top: 0;
    -ms-transform: translateY(-210px);
    -webkit-transform: translateY(-210px);
    transform: translateY(-210px);
  }

  .splide--skin--classic .splide__slide.is-active .slide__caption {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
