.lightbox-nav {
  position: absolute;
  text-align: center;
  z-index: 100;
  width: 100%;
  bottom: -40px;
  opacity: 1;
  font-size: 0; /* prevent the otherwise inherited font-size and line-height from adding extra space to the bottom of this div */
}

.lighboxModal{  padding: 15px 0 0 0 !important; }
.lighboxModal:hover .lightbox-nav{ opacity: 1;}

.lighboxModal button.close{ 
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 30px;
  background-color: #DA0000;
  display: block;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 100%;
  z-index: 1000;
  opacity: 1;
  color: #fff;
  line-height: 28px; }

.lightbox-nav .btn-group {
  vertical-align: top;
}
.lightbox-nav .btn-group .btn{
  margin: 0 5px;
}

.lightbox-nav .close {
  /* absolutely position this in order to center the nav buttons */
  position: absolute;
  top: 5px;
  right: 5px;
}

.lightbox-image-container {
  position: relative;
  text-align: center; /* center the image */
}

/* the caption overlays the top left corner of the image */
.lightbox-image-caption {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0.5em 0.9em; /* the left and right margins are offset by 0.4em for the span box-shadow */
  color: #000;
  font-size: 1.5em;
  font-weight: bold;
  text-align: left;
  text-shadow: 0.1em 0.1em 0.2em rgba(255, 255, 255, 0.5);
}

.lightbox-image-caption span {
  padding-top: 0.1em;
  padding-bottom: 0.1em;
  background-color: rgba(255, 255, 255, 0.75);
  /* pad the left and right of each line of text */
  box-shadow: 0.4em 0 0 rgba(255, 255, 255, 0.75),
    -0.4em 0 0 rgba(255, 255, 255, 0.75);
}
