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

/**********************/
/* Thumbnails 8
/* Main Carousel Style
/**********************/

/* 1 - Background color of carousel */
.thumbnails-8.sz-slider {
  background: #fff;
  -webkit-font-smoothing: antialiased !important;
}

/*******************/
/* Thumbnails 8
/* Layer Settings
/*******************/

/* 1 - Layer - wrapper */
.thumbnails-8-layer {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 90%;
  height: 65%;
  margin: auto;
  display: block;
  line-height: 1.5;
  text-align: center;
  position: absolute;
}
/* 2 - Testimonial */
.thumbnails-8-layer > span {
  color: #333;
  display: block;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Barlow Condensed', sans-serif;
}
/* 3 - Name */
.thumbnails-8-layer > a:nth-child(2) {
  color: #666;
  display: block;
  font-size: 24px;
  font-weight: 500;
  margin-top: 10px;
  text-decoration: none;
  text-transform: capitalize;
  font-family: 'Barlow Condensed', sans-serif;
}
/* 4 - Position */
.thumbnails-8-layer > a:nth-child(3) {
  color: #2600ff;
  display: block;
  margin-top: 5px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
}

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

/*----- When the screen size gets = 992px and < 1200px -----*/
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Carousel Height */
  .thumbnails-8.sz-slider {
    width: 90% !important;
  }
}

/*----- When the screen size gets = 768px and < 992px -----*/
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Carousel Height */
  .thumbnails-8.sz-slider {
    height: 410px !important;
  }
}

/*----- When the screen size gets = 576px and < 768px -----*/
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Carousel Height */
  .thumbnails-8.sz-slider {
    width: 90% !important;
    height: 410px !important;
  }
}

/*----- When the screen size gets = 273px and < 576px -----*/
@media (min-width: 273px) and (max-width: 575.98px) {
  /* Carousel Height */
  .thumbnails-8.sz-slider {
    width: 270px !important;
    height: 520px !important;
  }
  /* Layer - wrapper */
  .thumbnails-8-layer {
    width: 90%;
  }
  /* Testimonial */
  .thumbnails-8-layer > span {
    font-size: 16px;
  }
  /* Name */
  .thumbnails-8-layer > a:nth-child(2) {
    font-size: 22px;
    margin-top: 5px;
  }
  /* Position */
  .thumbnails-8-layer > a:nth-child(3) {
    font-size: 18px;
  }
}

/*----- When the screen size gets <= 272px -----*/
@media (max-width: 272.98px) {
  /* Carousel Height */
  .thumbnails-8.sz-slider {
    width: 190px !important;
    height: 520px !important;
  }
  /* Layer - wrapper */
  .thumbnails-8-layer {
    width: 95%;
  }
  /* Testimonial */
  .thumbnails-8-layer > span {
    font-size: 14px;
  }
  /* Name */
  .thumbnails-8-layer > a:nth-child(2) {
    font-size: 18px;
    margin-top: 5px;
  }
  /* Position */
  .thumbnails-8-layer > a:nth-child(3) {
    font-size: 14px;
  }
}

/****************/
/* Thumbnails 8
/* Thumbnails
/***************/

/* 1 - Thumbnails - wrapper */
.sz-slider[data-ind-direction=x] > .thumbnails-8-indicators.carousel-indicators.sz-thumbnails {
  width: 80%;
  height: 105px;
  position: absolute;
  background: transparent;
}
/* 2 - Thumbnails */
.sz-slider[data-ind-direction=x] > .thumbnails-8-indicators.carousel-indicators.sz-thumbnails > li {
  padding: 0;
  width: 105px;
  border: none;
  font-size: 0;
  margin: 0 2px;
  height: 100px;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  -webkit-border-radius: 0;
}
/* 3 - Thumbnails - Images */
.sz-slider[data-ind-direction=x] > .thumbnails-8-indicators.carousel-indicators.sz-thumbnails > li > img {
  width: 100%;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}
/* 4 - Thumbnails - Images On Active */
.sz-slider[data-ind-direction=x] > .thumbnails-8-indicators.carousel-indicators.sz-thumbnails > li.active > img {
  filter: grayscale(0);
  -webkit-filter: grayscale(0);
}

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

/*----- When the screen size gets = 576px and < 768px -----*/
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Thumbnails - wrapper */
  .sz-slider[data-ind-direction=x] > .thumbnails-8-indicators.carousel-indicators.sz-thumbnails {
    width: 95%;
  }
}

/*----- When the screen size gets = 273px and < 576px -----*/
@media (min-width: 273px) and (max-width: 575.98px) {
  /* Thumbnails - wrapper */
  .sz-slider[data-ind-direction=x] > .thumbnails-8-indicators.carousel-indicators.sz-thumbnails {
    width: 95%;
  }
}

/*----- When the screen size gets <= 272px -----*/
@media (max-width: 272.98px) {
  /* Thumbnails - wrapper */
  .sz-slider[data-ind-direction=x] > .thumbnails-8-indicators.carousel-indicators.sz-thumbnails {
    width: 100%;
  }
}