/**
 * /* http://www.menucool.com/jquery-slider
 *
 * @format
 */

/*---------------------------- Thumbnails ----------------------------*/

#thumbnail-slider {
  height: 400px;
  display: inline-block;
  padding: 0px 0;
  /*Increse its value if want to move the arrows out of the div.inner */
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}

#thumbnail-slider div.inner {
  border-radius: 3px;
  /* background-color: #f0f0f0; */
  padding: 0 7px;
  height: 500px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  margin: 0;
}

#thumbnail-slider div.inner ul {
  /*the followings should not be changed */
  position: relative;
  left: 0;
  top: 0;
  list-style: none;
  font-size: 0;
  padding: 0;
  margin: 0;
  float: left !important;
  width: auto !important;
  height: auto !important;
}

#thumbnail-slider ul li {
  opacity: 1;
  display: block;
  border: 3px solid transparent;
  margin: 4px 0;
  /* Spacing between thumbs*/
  transition: all 0.5s;
  text-align: center;
  padding: 0;
  position: relative;
  list-style: none;
  box-sizing: content-box;
  backface-visibility: hidden;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  border-radius: 25px;
}

#thumbnail-slider ul li.active {
  border-color: white;
  -webkit-filter: initial;
  filter: initial;
  border-radius: 25px;
  color: #000;
  border: 2px solid #000;
}

#thumbnail-slider li:hover {
  border-color: rgba(255, 255, 255, 0.5);
  -webkit-filter: grayscale(50%);
  filter: grayscale(50%);
}

#thumbnail-slider .thumb {
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  display: block;
  position: absolute;
  font-size: 0;
}

/* --------- navigation controls ------- */

/* The nav id should be: slider id + ("-prev", "-next", and "-pause-play") */

#thumbnail-slider-pause-play {
  display: none;
}

/*.pause*/

/* #thumbnail-slider-prev,
#thumbnail-slider-next {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin: 0;
    color: white;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.6s;
    *background-color: #ccc;
    
    backface-visibility: hidden;
} */

#thumbnail-slider-prev {
  border-radius: 50px 50px 0 0;
  position: absolute;
  /* background-color: rgba(0, 0, 0, 0.4); */
  width: 100%;
  top: 0px !important;
  height: 30px;
  line-height: 30px;
  text-align: center;
  margin: 0;
  color: white;
  z-index: 10;
  cursor: pointer;
  transition: opacity 0.6s;
  /* background-color: #ccc; */
  backface-visibility: hidden;
}

#thumbnail-slider-next {
  border-radius: 0 0 50px 50px;
  position: absolute;
  /* background-color: rgba(0, 0, 0, 0.4); */
  width: 100%;
  bottom: -102px !important;
  height: 30px;
  line-height: 30px;
  text-align: center;
  margin: 0;
  color: white;
  z-index: 10;
  cursor: pointer;
  transition: opacity 0.6s;
  /* background-color: #ccc; */
  backface-visibility: hidden;
}

#thumbnail-slider-prev {
  top: 0;
}

#thumbnail-slider-next {
  bottom: 0;
}

#thumbnail-slider-next.disabled,
#thumbnail-slider-prev.disabled {
  opacity: 0.1;
  cursor: default;
}

/* arrows */

#thumbnail-slider-prev::before,
#thumbnail-slider-next::before {
  position: absolute;
  content: "";
  display: inline-block;
  width: 20px;
  /* background-color: #000; */
  height: 20px;
  margin-left: -14px;
  border-left: 3px solid white;
  border-top: 3px solid white;
}

#thumbnail-slider-prev::before {
  top: 12px;
  -ms-transform: rotate(-45deg);
  /*IE9*/
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

#thumbnail-slider-next::before {
  bottom: 12px;
  -ms-transform: rotate(135deg);
  /*IE9*/
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
