/**
 * @file
 * Thumbnails inside dots.
 */

/* The main thumbnail container is slick-dots modifier */
.slick-dots--thumbnail {
  list-style: none;
  *zoom: 1;
  overflow: visible;
  position: absolute;
  text-align: center;
  visibility: hidden;
  white-space: nowrap;
  width: 100%;
  z-index: 3;
}

.slick-dots--thumbnail::after {
  content: "";
  display: table;
  clear: both;
}

.block .slick-dots--thumbnail {
  margin-left: 0;
  padding: 0;
}

.slick-initialized .slick-dots--thumbnail {
  visibility: visible;
}

.slick-dots--thumbnail li {
  overflow: hidden;
  position: relative;
  vertical-align: top;
  /* Individual thumbnail, adjust accordingly to actual thumbnail size */
}

.slick-dots--thumbnail li img {
  background: #fff;
  border: 2px solid transparent;
  display: block;
  opacity: .6;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  /* Overrides core > 1.3.11, otherwise thumbnails are non-clickable */
  pointer-events: auto;
}

.slick-dots--thumbnail li .slick-dots__thumbnail {
  bottom: 140%;
  left: 50%;
  margin: -60px 0 0 -60px;
  min-width: 120px;
  opacity: 0;
  overflow: visible;
  position: absolute;
  visibility: hidden;
  width: 120px;
  z-index: -1;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.slick-dots--thumbnail li .slick-dots__thumbnail img {
  pointer-events: none;
}

.slick-dots--thumbnail li .slick-dots__thumbnail::after {
  border: 7px solid transparent;
  border-bottom: 0;
  border-top-color: #ff6d2c;
  bottom: -7px;
  content: '';
  display: block;
  height: 0;
  left: 50%;
  margin: 0 0 0 -7px;
  position: absolute;
  width: 0;
}

.slick-dots--thumbnail li:hover {
  overflow: visible;
}

.slick-dots--thumbnail li:hover .slick-dots__thumbnail {
  bottom: 120%;
  margin-top: -20px;
  opacity: 1;
  visibility: visible;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  z-index: 3;
}

.slick-dots--thumbnail li:hover img,
.slick-dots--thumbnail li.slick-active img {
  border: 2px solid #ff6d2c;
  opacity: 1;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
