.gallery {
  width: 100%;
  height: auto;
  position: relative;
}

.gallery ul {
  list-style: none outside none;
  padding-left: 0;
  margin-bottom: 0;
}

.gallery ul li {
  display: block;
  float: left;
  margin-right: 6px;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.gallery ul li.active a img {
  opacity: 1;
}

.gallery ul li:not(.active) {
  opacity: 0.5;
}

.gallery ul li:not(.active):hover {
  opacity: 0.9;
}

.gallery img {
  display: block;
  height: 100%;
  width: 100%;
}

.gallery .playPause {
  position: absolute;
  top: 10px;
  left: 10px;
}

.gallery .playPause .play .fa-play {
  margin-left: 2px;
}

.gallery .prevNext {
  position: absolute;
  top: 50%;
  margin-top: -8px;
  width: 100%;
}

.gallery .prevNext .prev {
  float: left;
  margin-left: 10px;
}

.gallery .prevNext .next {
  float: right;
  margin-right: 10px;
}

.gallery .prevNext button {
  width: 50px;
  height: 50px;
}

.gallery .prevNext button i {
  margin: 0;
  font-size: 25px;
}

.gallery button {
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid #3b3b3b;
  color: #3b3b3b;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  text-align: center;
  outline: none;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.gallery button:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: #3b3b3b;
  color: #3b3b3b;
}

.gallery button i {
  margin: 0;
  font-size: 15px;
  vertical-align: inherit;
}

.gallery .lSpg {
  position: absolute;
  bottom: 10px;
  left: 50%;
  margin-left: -72px !important;
}

.gallery .lSpg li a {
  background-color: white !important;
  border: 1px solid transparent !important;
  transition: all 300ms ease-in-out;
}

.gallery .lSpg li.active a {
  background-color: #ccff66 !important;
  border: 2px solid #006600 !important;
}

.gallery .lSpg li:hover a {
  background: #c9c9c9;
}
