/* http://www.menucool.com/jquery-slider */

/*---------------------------- Thumbnails ----------------------------*/
.thumbnail-slider {
  height: 100vh;
  display: inline-block;
  padding: 0px 0;
  position: relative;
  -webkit-user-select: none;
  user-select: none;
  width: 24%;
}

.thumbnail-slider div.inner {
  border-radius: 3px;
  background-color: #1b5083 !important;
  padding: 0 12px;

  /*the followings should not be changed */
  height: 100%;
  box-sizing: border-box;
  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;
  display: flex;
  flex-wrap: wrap;
}

.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%);
}

.thumbnail-slider ul li.active {
  border-color: white;
  -webkit-filter: initial;
  filter: initial;
}
.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-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; /*IE7 hack*/
  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: 10px;
  height: 10px;
  margin-left: -5px;
  border-left: 4px solid white;
  border-top: 4px 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);
}
