/* temporarily hide caption/htmlCaption/gallery */

.jsGallery .sliderWrap,
.jsGallery .galleryWrap .galleryNav {
  display: none;
}

.nopgbanner {
  clear: both;
  height: 8em;
}

/* prevent accidental selection of images while navigating the galleries */
.jsGallery img,
.jsGallery picture {
  vertical-align: bottom;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;

  /*
     Introduced in IE 10.
     See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/
   */
  -ms-user-select: none;
  user-select: none;
}

.jsGallery .galleryWrap {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0 0;
  position: relative;
  width: 100%;
  max-height: 800px;
  overflow: hidden;
}

.jsGallery .galleryWrap .slide {
  display: none;
}
.jsGallery .galleryWrap .slideWrap .slide:first-child {
  display: block;
}
.jsGallery .galleryWrap .slide > picture > img,
.jsGallery .galleryWrap .slide > a > picture > img {
  /* Boilerplate responsive images CSS */
  margin: auto;
  width: auto;
  max-width: 100%;
  height: auto;
  /* max-height: 100%; */
  vertical-align: bottom;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: top 0.1s;
}

.jsGallery .respGallery .slide picture {
  margin: 0 auto;
}

.jsGallery .placeholder {
  /* Making it invisible lets the parent container adjust its size */
  visibility: hidden;
}
.jsGallery .placeholder img {
  width: 100%;
}

/* captions */
.jsGallery .captionWrap {
  width: 90%;
  position: relative;
  list-style-type: none;
  padding: 0px;
  margin: 0 5%;
  transition: height 0.5s ease-out;
}
.jsGallery .captionWrap li {
  color: #000000;
  display: none;
  font-size: 1em;
  text-align: center;
  padding: 0.75em 0 0.5em 0;
  margin: 0;
  height: auto;
}
.jsGallery .captionWrap li.activeSlide {
  display: block;
}

.jsGallery .captionWrap li h3 {
  margin: 0;
}

.jsGallery .HTMLcaptionWrap {
  list-style-type: none;
  padding: 0;
  position: relative;
  width: 90%;
  margin: 0 5%;
  transition: height 0.5s;
}
.jsGallery .HTMLcaptionWrap > li {
  color: #000000;
  display: none;
  padding: 1em 0;
  width: 100%;
}
.jsGallery .HTMLcaptionWrap > li.activeSlide {
  display: block;
}
