/* THUMBNAIL */
.gallery-fader-thumbnails {
  float: left;
  width: 158px;
}
@media only screen and (max-width: 480px) {
  .gallery-fader-thumbnails {
    display: none;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .gallery-fader-thumbnails {
    width: 140px;
  }
}
.gallery-fade-fullsize img {
  width: 100%;
}
.gallery-fader-thumbnail {
  float: left;
  margin: 0 5px 5px 0;
  padding: 2px;
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease;
}
.gallery-fader-thumbnail.active {
  background-color: #000;
  cursor: pointer;
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease;
}
.gallery-fade-fullsize {
  width: 100%;
  height: 485px;
  clear: both;
  float: left;
  position: relative;
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .gallery-fade-fullsize {
    height: 380px;
  }
}
.gallery-fade-fullsize .gallery-fade-fullsize-image {
  display: none;
  z-index: 1;
  position: absolute;
  opacity: 0;
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .gallery-fade-fullsize {
    width: 80%;
    clear: none;
  }
}
@media (max-width: 480px) {
  .gallery-fade-fullsize {
    height: auto;
    clear: both;
  }
  .gallery-fade-fullsize .gallery-fade-fullsize-image {
    display: block;
    position: relative;
    margin-bottom: 20px;
    opacity: 1;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  .gallery-fade-fullsize {
    height: 390px;
  }
}
