/*!
 * Template Name : thumbnails-5
 */

/**********************/
/* Thumbnails 5
/* Main Carousel Style
/**********************/

/* 1 - Background color of carousel */
.thumbnails-5.sz-slider {
  background: rgba(0,0,0,.1);
  -webkit-font-smoothing: antialiased !important;
}
/* 2 - Background Images Position */
.thumbnails-5.sz-slider[data-type=slider]:not([data-background=image]) > .carousel-inner > .carousel-item {
  background-position: center;
}
/* 3 - Background Images Position for 2nd slide */
.thumbnails-5.sz-slider[data-type=slider]:not([data-background=image]) > .carousel-inner > .carousel-item:nth-child(2) {
  background-position: bottom center;
}
/* 4 - Background Images Position for 3rd slide */
.thumbnails-5.sz-slider[data-type=slider]:not([data-background=image]) > .carousel-inner > .carousel-item:nth-child(3) {
  background-position: top center;
}

/*********************/
/* Thumbnails 5
/* Thumbnails
/*********************/

/* 1 - Thumbnails & Navigation Buttons Wrapper */
.sz-slider[data-type=slider][data-ind-direction=x] > .thumbnails-5-indicators {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 160px;
  position: absolute;
  background: rgba(0,0,0,.5);
  margin: auto auto 25px auto;
}
/* 2 - Thumbnails - wrapper */
.sz-slider[data-type=slider][data-ind-direction=x] .thumbnails-5-indicators > .carousel-indicators {
  top: 18px;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  width: 717px;
  height: 140px;
  margin: auto auto auto auto;
}
/* 3 - Thumbnails */
.sz-slider[data-type=slider] .thumbnails-5-indicators > .carousel-indicators > li {
  padding: 0;
  border: none;
  width: 203px;
  font-size: 0;
  height: 120px;
  overflow: hidden;
  margin: 0 0 0 36px;
  background: transparent;
  border-radius: 0;
  -webkit-border-radius: 0;
}
/* 4 - Thumbnails - Images */
.sz-slider[data-type=slider] .thumbnails-5-indicators > .carousel-indicators > li > img {
  width: 100%;
  height: 100%;
}
/* 5 - Thumbnails - Play Button */
.sz-slider[data-type=slider] .thumbnails-5-indicators > .carousel-indicators > li > div {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: auto;
  display: none;
  position: absolute;
  text-decoration: none;
  background: rgba(237,10,10,.8);
}
/* 6 - Thumbnails - Play Button - link */
.sz-slider[data-type=slider] .thumbnails-5-indicators > .carousel-indicators > li > div > a {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  color: #fff;
  width: 23px;
  height: 24px;
  margin: auto;
  display: block;
  line-height: 0;
  font-size: 24px;
  position: absolute;
  text-decoration: none;
}
/* 7 - Thumbnails - Play Button - link - active */
.sz-slider[data-type=slider] .thumbnails-5-indicators > .carousel-indicators > li.active > div {
  display: block;
}

/******************/
/* Responsiveness */
/******************/

/*----- When the screen size gets = 576px and < 768px -----*/
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Thumbnails & Navigation Buttons Wrapper */
  .sz-slider[data-type=slider][data-ind-direction=x] > .thumbnails-5-indicators {
    height: 140px;
    margin: auto auto 25px auto;
  }
  /* Thumbnails - wrapper */
  .sz-slider[data-type=slider][data-ind-direction=x] .thumbnails-5-indicators > .carousel-indicators {
    width: 564px;
    height: 120px;
  }
  /* Thumbnails */
  .sz-slider[data-type=slider] .thumbnails-5-indicators > .carousel-indicators > li {
    width: 170px;
    height: 120px;
    margin: 0 0 0 18px;
  }
}

/*----- When the screen size gets = 273px and < 576px -----*/
@media (min-width: 400px) and (max-width: 575.98px) {
  /* Thumbnails & Navigation Buttons Wrapper */
  .sz-slider[data-type=slider][data-ind-direction=x] > .thumbnails-5-indicators {
    height: 120px;
    margin: auto auto 25px auto;
  }
  /* Thumbnails - wrapper */
  .sz-slider[data-type=slider][data-ind-direction=x] .thumbnails-5-indicators > .carousel-indicators {
    width: 390px;
    height: 90px;
  }
  /* Thumbnails */
  .sz-slider[data-type=slider] .thumbnails-5-indicators > .carousel-indicators > li {
    width: 120px;
    height: 90px;
    margin: 0 0 0 10px;
  }
}

/*----- When the screen size gets <= 399.98px -----*/
@media (max-width: 399.98px) {
  /* Thumbnails & Navigation Buttons Wrapper */
  .sz-slider[data-type=slider][data-ind-direction=x] > .thumbnails-5-indicators {
    height: 75px;
    margin: auto auto 25px auto;
  }
  /* Thumbnails - wrapper */
  .sz-slider[data-type=slider][data-ind-direction=x] .thumbnails-5-indicators > .carousel-indicators {
    width: 240px;
    height: 60px;
  }
  /* Thumbnails */
  .sz-slider[data-type=slider] .thumbnails-5-indicators > .carousel-indicators > li {
    width: 75px;
    height: 60px;
    margin: 0 0 0 5px;
  }
  /* Thumbnails - Play Button - link */
  .sz-slider[data-type=slider] .thumbnails-5-indicators > .carousel-indicators > li > div > a {
    width: 17px;
    height: 16px;
    font-size: 16px;
  }
}

/**************************/
/* Thumbnails 5
/* Left And Right Buttons
/**************************/

/* 1 - Buttons */
.thumbnails-5-btn.sz-slider .carousel-control-btn {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
  color: #000;
  z-index: 15;
  width: 50px;
  height: 50px;
  font-size: 0;
  background: #fff;
  text-decoration: none;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  transition: color .2s ease, background .2s ease;
  -webkit-transition: color .2s ease, background .2s ease;
}
/* 2 - Prev - Button */
.thumbnails-5-btn.sz-slider .carousel-control-btn.carousel-control-prev {
  margin: auto auto auto 12%;
}
/* 3 - Next - Button */
.thumbnails-5-btn.sz-slider .carousel-control-btn.carousel-control-next {
  margin: auto 12% auto auto;
}
/* 4 - Hover */
.thumbnails-5-btn.sz-slider .carousel-control-btn:hover {
  color: #fff;
  background: #000;
}
/* 5 - Icons */
.thumbnails-5-btn.sz-slider .carousel-control-btn > i {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 9px;
  color: #000;
  height: 10px;
  margin: auto;
  font-size: 12px;
  position: absolute;
  display: inline-block;
  transition: color .2s ease;
  -webkit-transition: color .2s ease;
}
/* 6 - Icons - hover */
.thumbnails-5-btn.sz-slider .carousel-control-btn:hover > i {
  color: #fff;
}

/******************/
/* Responsiveness */
/******************/

/*----- When the screen size gets = 992px and < 1200px -----*/
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Prev - Button */
  .thumbnails-5-btn.sz-slider .carousel-control-btn.carousel-control-prev {
    margin: auto auto auto 5%;
  }
  /* Next - Button */
  .thumbnails-5-btn.sz-slider .carousel-control-btn.carousel-control-next {
    margin: auto 5% auto auto;
  }
}

/*----- When the screen size gets = 768px and < 992px -----*/
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Prev - Button */
  .thumbnails-5-btn.sz-slider .carousel-control-btn.carousel-control-prev {
    margin: auto auto auto 8.9%;
  }
  /* Next - Button */
  .thumbnails-5-btn.sz-slider .carousel-control-btn.carousel-control-next {
    margin: auto 5% auto auto;
  }
}

/*----- When the screen size gets = 576px and < 768px -----*/
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Prev - Button */
  .thumbnails-5-btn.sz-slider .carousel-control-btn.carousel-control-prev {
    margin: auto auto auto 1%;
  }
  /* Next - Button */
  .thumbnails-5-btn.sz-slider .carousel-control-btn.carousel-control-next {
    margin: auto 1% auto auto;
  }
}

/*----- When the screen size gets = 273px and < 576px -----*/
@media (min-width: 273px) and (max-width: 575.98px) {
  /* Buttons */
  .thumbnails-5-btn.sz-slider .carousel-control-btn {
    display: none;
  }
}

/*----- When the screen size gets <= 272px -----*/
@media (max-width: 272.98px) {
  /* Buttons */
  .thumbnails-5-btn.sz-slider .carousel-control-btn {
    display: none;
  }
}