.gallery-wrapper {
  background-color: #f7f7f7;
  margin-bottom: 20px;
  padding: 10px;
}

.gallery-captions {
  height: 13.5em;
  overflow: hidden;
  position: relative;
}
.gallery-captions > div {
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  left: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.gallery-captions > .show {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(enabled=false)";
  opacity: 1;
}

.gallery {
  margin-bottom: 40px;
  position: relative;
}

.gallery-inner {
  padding-bottom: 53.45912%;
  position: relative;
}

.gallery-images {
  background: black;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  top: 0;
}

.gallery-image-holder-inner {
  box-sizing: content-box;
  font-size: 0;
  height: 0;
  padding-bottom: 53.45912%;
  position: relative;
}

.gallery-image-cell {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
}
.gallery-image-cell:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.gallery-image-cell > img {
  display: inline-block;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  vertical-align: middle;
  width: auto;
}

.gallery-overlay {
  background: black;
  background: rgba(0, 0, 0, 0.5);
  bottom: 0;
  color: white;
  font-size: 12px;
  left: 0;
  padding: 0 10px;
  position: absolute;
  right: 0;
}
.gallery-overlay:before {
  content: "\f0b2\00a0";
  font-family: 'FontAwesome';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gallery-overlay-lg {
  background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
  background: rgba(255, 255, 255, 0);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.gallery-overlay-lg-inner {
  background: black;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 3px;
  color: white;
  display: none;
  font-size: 2em;
  height: 2.5em;
  line-height: 2.5em;
  left: 50%;
  margin: -1.25em 0 0 -6em;
  position: absolute;
  text-align: center;
  top: 50%;
  width: 12em;
}
.gallery-overlay-lg-inner:after {
  content: "\00a0\f0b2";
  font-family: 'FontAwesome';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gallery-launch-image {
  border: 1px solid black;
  box-sizing: content-box;
  margin: 0 0 10px;
  width: 135px;
}

.gallery-launch-button {
  background: #0592FD;
  border-radius: 3px;
  color: white;
  font-weight: bold;
  height: 95px;
  line-height: 1.25;
  padding: 10px 18px 0;
  position: absolute;
  right: 15px;
  width: 120px;
  text-align: center;
  top: 15px;
}
.gallery-launch-button:before {
  content: "\f030";
  font-family: 'FontAwesome';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: block;
  font-size: 2em;
  margin-bottom: 5px;
}
.gallery-launch-button:hover {
  color: white;
  text-decoration: none;
}

.gallery-callout {
  background: #f7f7f7;
  border-top: 1px solid #e1e1e1;
  margin-bottom: 20px;
  padding: 15px;
  position: relative;
}
.gallery-callout:before, .gallery-callout:after {
  content: " ";
  display: table;
}
.gallery-callout:after {
  clear: both;
}

.gallery .slick-prev,
.gallery .slick-next {
  bottom: -32px;
  color: black;
  font-size: inherit;
  height: auto;
  line-height: inherit;
  margin: 0;
  position: absolute;
  text-transform: lowercase;
  top: auto;
  visibility: hidden;
  width: auto;
}
.gallery .slick-prev {
  border-width: 0 0 0 4px;
  left: 0;
}
.gallery .slick-prev:before {
  color: black;
  position: relative;
  top: 1px;
  content: "\f0d9\00a0";
  font-family: 'FontAwesome';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.gallery .slick-list {
  z-index: 0;
}
.gallery .slick-next {
  border-width: 0 4px 0 0;
  right: 0;
}
.gallery .slick-next:before {
  content: none;
}
.gallery .slick-next:after {
  color: black;
  position: relative;
  top: 1px;
  content: "\00a0\f0da";
  font-family: 'FontAwesome';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 480px) {
  .gallery-captions {
    height: 6.5em;
  }

  .gallery-launch-image {
    float: left;
    width: 200px;
  }

  .gallery-launch-text {
    line-height: 1.5;
    padding-left: 230px;
  }

  .gallery-launch-button {
    line-height: inherit;
    padding: 8px 10px;
    position: static;
  }
  .gallery-launch-button:before {
    display: inline-block;
    font-size: inherit;
    margin: 0 6px 0 0;
  }
}
@media (min-width: 1200px) {
  .slick-dots {
    left: 128px;
    right: 128px;
  }

  .gallery .slick-prev,
  .gallery .slick-next {
    visibility: visible;
  }

  .gallery-overlay-lg:hover .gallery-overlay-lg-inner {
    display: block;
  }
}
.modal-dialog {
  bottom: 0;
  left: 0;
  padding-top: 37px;
  position: absolute;
  right: 0;
  top: 0;
}

.modal-content,
.slideshow-wrapper {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.modal-close {
  background: white;
  border: 0;
  padding: 5px 25px;
  border-bottom: 1px solid black;
  color: #006db2;
  display: block;
  left: 0;
  position: fixed;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 4000;
}
.modal-close:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.modal-close:after {
  content: "\00a0\f057";
  font-family: 'FontAwesome';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slideshow-wrapper {
  background: black;
}

.slideshow {
  position: relative;
}

.slideshow-inner {
  background: black;
  bottom: 0;
  left: 0;
  margin-bottom: 10px;
  position: absolute;
  right: 0;
  top: 0;
}
.slideshow-inner img {
  margin: 0 auto;
  max-height: 150px;
}
.slideshow-inner .slick-list,
.slideshow-inner .slick-track {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.slideshow-inner .slick-track {
  padding-top: 37px;
}
.slideshow-inner .slick-slide,
.slideshow-inner .slide-holder {
  /* height: 407px;
  width: 610px; */
  max-width: 100%;
}

.slick-slide .slide-holder.video .img-responsive-video,
.slick-slide .slide-holder.video video {
  width: 100%;
}

.slide {
  position: relative;
}

.slideshow-thumbs-inner {
  display: none;
}

.slideshow-overlay {
  background: white;
  background: rgba(255, 255, 255, 0.75);
  color: black;
  left: 0;
  line-height: 1.4;
  padding: 5px 15px;
  position: absolute;
  text-align: left;
  top: 0;
  width: 100%;
  z-index: 1;
}

.slideshow-thumbs {
  bottom: 0;
  left: -4px;
  position: absolute;
  right: -4px;
}

.ss-thumb {
  cursor: pointer;
}
.ss-thumb > img {
  border: 1px solid transparent;
  height: auto;
  margin: 0 auto;
  width: 75px;
}
.ss-thumb.current > img {
  border-color: black;
}

.no-touch .ss-thumb:hover > img {
  border-color: black;
  border-style: dotted;
}

.slideshow {
  bottom: 65px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.slideshow img {
  height: auto;
  max-height: 100%;
  max-width: 100%;
  width: auto;
}
.slideshow .slick-prev,
.slideshow .slick-next {
  bottom: 0;
  color: white;
  font-size: 0;
  height: 48px;
  margin: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  opacity: 0;
  top: 30% !important;
  visibility: hidden;
  width: 35px;
}
.slideshow .slick-prev:before,
.slideshow .slick-next:before {
  border: 3px solid white;
  display: block;
  font-size: 75px;
  height: 81px;
  line-height: 1;
  text-align: center;
  width: 100%;
}
.slideshow:hover .slick-prev,
.slideshow:hover .slick-next {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
  opacity: 0.75;
}
.slideshow .slick-prev {
  left: 5px;
}
.slideshow .slick-prev:before {
  content: "\f0d9";
  font-family: 'FontAwesome';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.slideshow .slick-next {
  right: 5px;
}
.slideshow .slick-next:before {
  content: "\f0da";
  font-family: 'FontAwesome';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slideshow-thumbs .slick-track {
  margin: 0 auto;
}
.slideshow-thumbs .slick-prev,
.slideshow-thumbs .slick-next {
  background: #aaa;
  background: rgba(170, 170, 170, 0.95);
  border-color: white;
  border-style: solid;
  bottom: 0;
  color: white;
  font-size: 0;
  height: auto;
  margin: 0;
  padding-top: 8px;
  top: 0;
  visibility: hidden;
  width: 40px;
}
.slideshow-thumbs .slick-prev:before,
.slideshow-thumbs .slick-next:before {
  font-size: 32px;
}
.slideshow-thumbs .slick-prev {
  border-width: 0 0 0 4px;
  left: 0;
}
.slideshow-thumbs .slick-prev:before {
  content: "\f0d9";
  font-family: 'FontAwesome';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.slideshow-thumbs .slick-next {
  border-width: 0 4px 0 0;
  right: 0;
}
.slideshow-thumbs .slick-next:before {
  content: "\f0da";
  font-family: 'FontAwesome';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slick-disabled {
  display: none !important;
}

.slide-holder {
  text-align: center;
}
.slide-holder:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.slide-holder > img {
  display: inline-block;
  height: auto;
  margin: -1% 0 0 -1%;
  max-height: 98%;
  max-width: 98%;
  vertical-align: middle;
  width: auto;
}

@media (min-width: 768px) {
  .ss-thumb > img {
    width: 100px;
  }

  .slideshow-overlay {
    bottom: 0;
    padding: 10px 25px;
    top: auto;
  }

  .modal-close {
    text-align: right;
  }

  .slideshow {
    bottom: 82px;
  }
}
@media (min-width: 940px) {
  .ss-thumb > img {
    width: 125px;
  }

  .slideshow {
    bottom: 100px;
  }
}
@media (min-width: 1200px) {
  .ss-thumb > img {
    width: 150px;
  }

  .slideshow {
    bottom: 135px;
  }

  .slideshow-thumbs .slick-prev,
  .slideshow-thumbs .slick-next,
  .slideshow .slick-prev,
  .slideshow .slick-next {
    visibility: visible;
  }

  .slideshow-thumbs {
    padding: 10px 0;
  }
}