/* ---------------------------------------------------------- */
/* The container CSS for both 'slider' and 'media' carousels  */
/* ---begins------------------------------------------------- */

/* Fade-in / Fade-out [INDEV] */
.gallery-carousel-container {
  opacity: 0;
}

.gallery-carousel-container,
.gallery-carousel-slider-container {
  position: relative;
  margin: 0 auto;
}

.gallery-carousel-slider-container {
  max-width: 720px;
  margin-bottom: 7.5px;
  margin-top: 5px;
}

/* ---------------------------------------------------------- */
/* The top-most slider carousel which toggles media carousel  */
/* ---begins------------------------------------------------- */

.gallery-carousel-slider .slick-slide {
  margin: 0 5px;
}

.gallery-carousel-slider .slick-list {
  margin: 0 -5px;
}

.gallery-carousel-slider-container .slick-prev:before {
  content: url("/img/icons/icon-black-arrow-left.png")
}

.gallery-carousel-slider-container .slick-next:before {
  content: url("/img/icons/icon-black-arrow-right.png")
}

.gallery-carousel-slider .gallery-carousel-chapter-slide {
  cursor: pointer;
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: 85px;
  background-color: black;
  padding: 10px;
  color: #FFF;
}

.gallery-carousel-slider .slick-slide:hover,
.gallery-carousel-slider .slick-slide:focus {
  outline: none !important;
}

.gallery-carousel-slider .gallery-carousel-chapter-slide.slick-current,
.gallery-carousel-slider .gallery-carousel-chapter-slide:hover,
.gallery-carousel-slider .gallery-carousel-chapter-slide:focus {
  background-color: rgb(85, 185, 205);
}

.gallery-carousel-slider .gallery-carousel-chapter-slide h6 {
  color: #FFF;
  font-family: "report", sans-serif; /* Nanami-Rounded-Book */
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ---------------------------------------------------------- */
/* The 'main' media carousel/(s) holding image/video media    */
/* ---begins------------------------------------------------- */
.gallery-carousel {
  font-family: "report", sans-serif; /* Nanami-Rounded-Book */
  font-weight: 600;
}

.gallery-carousel.slick-initialized.slick-slider {
  margin-bottom: 0;
}

.gallery-carousel-container .slick-dots-container {
  position: absolute;
  left: 50%;
  bottom: 12.5%;
  transform: translate(-50%);
  display: flex;
  flex-direction: row;
  justify-content: center;
  min-width: 300px;
}

.gallery-carousel-container .slick-nav {   
  position: absolute;
  bottom: 50%;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 960px;
} 

.gallery-carousel-container .slick-prev:before,
.gallery-carousel-container .slick-next:before {
  opacity: 0;
  content: '';
}

.gallery-carousel-container .slick-arrow.slick-prev,
.gallery-carousel-container .slick-arrow.slick-next,
.gallery-carousel-container .slick-arrow.slick-prev:hover,
.gallery-carousel-container .slick-arrow.slick-next:hover,
.gallery-carousel-container .slick-arrow.slick-prev:focus,
.gallery-carousel-container .slick-arrow.slick-next:focus {
  position: absolute;
  top: 50%;
  height: 20px;
  background-repeat: no-repeat !important;
  background-size: 12.5px 20px;    
  z-index: 100;
}

.gallery-carousel-container .slick-prev {
  left: 2%;
  background-image: url("/img/icons/icon-white-left-arrow.png") !important;
}

.gallery-carousel-container .slick-next {
  right: 2%;
  background-image: url("/img/icons/icon-white-right-arrow.png") !important;
}

.gallery-carousel-container .slick-arrow {
  height: 100%;
  display: block;
  padding: 30px 17.5px;
  background-color: rgba(45, 45, 45, 0.75) !important;
  background-position: 50% !important;
  border: 0;
  border-radius: 5px;
  text-transform: uppercase;        
  text-indent: -9999em;
}

/* Slick dots override (begins) */
.gallery-carousel-container .slick-dots li button:before {
  opacity: 0.95;
  font-size: 22px;
  color: #FFF;
}

.gallery-carousel-container .slick-dots li.slick-active button:before {
  opacity: 1;
  color: rgb(60, 90, 120);        
}      
/*
.gallery-carousel-container .slick-arrow.slick-disabled {
  display: none !important;
}
*/
/* Slick dots override (ends) */

.gallery-carousel .slick-slide {
  margin: 0 7.5px;
}

.gallery-carousel .slick-list {
  margin: 0 -7.5px;
}

.gallery-carousel .gallery-carousel-media-slide {
  width: 960px;
  min-height: 540px;
}
.gallery-carousel .magnifying-glass .magnifying-glass-icon {
  background-repeat: no-repeat;
  background-image: url(/gemkids_assets/img/icons/magnifying-glass-plus.png);
  background-size: 28px 28px;
  background-position: center;
  width: 28px;
  height: 28px;
}

.gallery-carousel video-js {
  border-radius: 15px;
}      

/* ---------------------------------------------------------- */
/* The video and image copy/content                           */
/* ---begins------------------------------------------------- */
.gallery-carousel #more-info-btn,
.gallery-carousel .video-copy--overlay #close-btn {
  position: absolute;
  top: 17.5px;
  right: 25px;
  height: 32.5px;
  width: 32.5px;
  color: #FFF;
  cursor: pointer !important;
  background-size: 32.5px !important;
  border: none;
  border-radius: 50%;
}

.gallery-carousel #more-info-btn {
  background: url(/gemkids_assets/img/icons/white-info-icon.png) no-repeat center;
  /* background: #F0F0F0 url(/gemkids_assets/img/icons/white-info-icon.png) no-repeat center; */
}

.gallery-carousel .video-copy--overlay #close-btn {
  background: url(/gemkids_assets/img/icons/white-close-icon.png) no-repeat center;
  /* background: #F0F0F0 url(/gemkids_assets/img/icons/white-close-icon.png) no-repeat center; */
  z-index: -1;
}

.gallery-carousel .video-copy--overlay {
  position: relative;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 0 15px 15px 0;
  width: 40%;
  height: 540px;
  margin-bottom: -540px;
  padding: 40px 60px 0 40px;
  text-align: left;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.65);
  transform: translate(150%, -100%);
  opacity: 1;
  transition: transform 400ms ease-out, opacity 200ms ease-out, background-color 400ms ease-out;
}

.gallery-carousel .video-copy--overlay[hidden]{
  background-color: rgba(0, 0, 0, 0);
  transform: translate(250%, -100%);
  opacity: 0;
  transition: transform 200ms ease-in, opacity 200ms ease-in, background-color 200ms ease-in;
}

.gallery-carousel .video-copy--overlay h5,
.gallery-carousel .video-copy--overlay h3,
.gallery-carousel .video-copy--overlay p {
  margin: 5px 0;
  color: #FFF;
}

.gallery-carousel .video-copy--overlay h5 {
  font-size: 28px;
  text-transform: uppercase;
  padding: 10px 0;
  color: orange;
}

.gallery-carousel .video-copy--overlay h3 {
  font-size: 42px;
  letter-spacing: 1.2px;
  padding-bottom: 10px;
}

.gallery-carousel .video-copy--overlay p {
  font-size: 18px;
  font-weight: 900;
  line-height: 27px;
}

.gallery-carousel .image-flex-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;        
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  /* 
    background-image: url(---);
    (^) Applied dynamically via inline style tag (URL comes from CMS) 
  */
  background-repeat: no-repeat;
  background-position: center;        
  background-size: cover;
  border-radius: 15px;
}

.gallery-carousel .primary-image-wrapper {
  flex: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
  border-radius: 15px 0 0 15px;
}      

.gallery-carousel .primary-image-wrapper img {
  max-width: 385px;
  margin-bottom: 10px;
}

.gallery-carousel .gallery-slide-image-copy {
  flex: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #FFF;
  text-align: left;
  padding-left: 10px;
  padding-right: 60px;
  border-radius: 0 15px 15px 0;
}

.gallery-carousel .video-copy--underlay  h5,
.gallery-carousel .video-copy--underlay  h3,
.gallery-carousel .video-copy--underlay  p,
.gallery-carousel .gallery-slide-image-copy h5,
.gallery-carousel .gallery-slide-image-copy h3,
.gallery-carousel .gallery-slide-image-copy p {
  margin: 5px 0;
  color: #FFF;
}

.gallery-carousel .video-copy--underlay h5,
.gallery-carousel .gallery-slide-image-copy h5 {
  font-size: 28px;
  text-transform: uppercase;
  color: orange !important;
}

.gallery-carousel .video-copy--underlay h3,
.gallery-carousel .gallery-slide-image-copy h3 {
  font-size: 42px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.gallery-carousel .video-copy--underlay p,
.gallery-carousel .gallery-slide-image-copy p {
  font-size: 14px;
  font-weight: 900;
  line-height: 21px;
}
/* ---------------------------------------------------------- */
/* Brightcove Video Player Custom CSS */
/* ---begins------------------------------------------------- */
.gallery-carousel .video-player-wrapper {
  max-width: 960px;
  border-radius: 15px;
}

.gallery-carousel .video-player-wrapper video-js,
.gallery-carousel .video-player-wrapper .vjs-poster {
  width: 100%;
  background-color: transparent !important;
  border-radius: 15px;
}

.gallery-carousel .video-player-wrapper .video-copy--underlay {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 20px 10px;        
}      

/* ---------------------------------------------------------- */
/* Universal CSS Classes                                      */
/* ---begins------------------------------------------------- */
.d-none {
  display: none !important;
}

.fade-in {
  opacity: 1;
  transition: opacity 1250ms ease-in;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* Mobile Breakpoint: 480px ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* When the browser is at most 480px and below */
@media screen and (max-width: 480px) {
  /* ---------------------------------------------------------- */
  /* The container CSS for both 'slider' and 'media' carousels  */
  /* ---begins------------------------------------------------- */    
  .gallery-carousel-container {
    max-width: 660px;
  }

  .gallery-carousel-container .slick-dots-container {
    bottom: 7.5%;
  }        

  .gallery-carousel-container .slick-nav {
    display: none;
  }

  .gallery-carousel .gallery-carousel-media-slide {
    max-width: 375px;
    min-height: 690px;
  }          

  .gallery-carousel .video-copy--overlay {
    display: none;
  }

  .gallery-carousel .gallery-carousel-media-slide .video-player-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* 
      background-image: url(---);
      (^) Applied dynamically via inline style tag (URL comes from CMS) 
    */
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    width: 100%;
    min-height: 690px;
  }

  .gallery-carousel #more-info-btn {
    display: none;
  }

  .gallery-carousel .gallery-carousel-media-slide .video-player-wrapper video-js,
  .gallery-carousel .gallery-carousel-media-slide .video-player-wrapper .vjs-poster {
    border-radius: 10px 10px 0 0;
  }

  .gallery-carousel .video-player-wrapper .video-copy--underlay {
    display: flex;
    margin: 42.5px 20px 0 20px;
  }

  .gallery-carousel .gallery-carousel-media-slide .image-flex-container {
    flex-direction: column;
    justify-content: flex-start;
    max-width: 460px;
    /* min-height: 690px; */
    /* 
      background-image: url(---);
      (^) Applied dynamically via inline style tag (URL comes from CMS) 
    */
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
  }

  .gallery-carousel .primary-image-wrapper img {
    max-width: 250px;
    margin-bottom: 5px;
  }

  .gallery-carousel .gallery-slide-image-copy {
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    padding: 0;
    margin: 0 20px;
    border-radius: 0;
    overflow-y: scroll;
    border-bottom: 60px solid transparent;
  }

  .gallery-carousel .video-copy--underlay h5,
  .gallery-carousel .video-copy--underlay h3,
  .gallery-carousel .gallery-slide-image-copy h5,
  .gallery-carousel .gallery-slide-image-copy h3 {
    letter-spacing: normal;
  }

  .gallery-carousel .video-copy--underlay h3
  .gallery-carousel .gallery-slide-image-copy h3 {
    font-size: 36px;
  }
}
