#html5-lightbox {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}
#html5-lightbox #html5-lightbox-overlay {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
#html5-lightbox #html5-lightbox-box {
  display: block;
  position: relative;
  margin: 0px auto;
}
#html5-lightbox #html5-lightbox-box #html5-elem-box {
  display: block;
  position: relative;
  margin: 0px auto;
  text-align: center;
}
#html5-lightbox #html5-lightbox-box #html5-elem-box #html5-elem-wrap {
  display: block;
  position: relative;
  margin: 0px auto;
  text-align: center;
}
#html5-lightbox #html5-lightbox-box #html5-elem-box #html5-elem-wrap #html5-loading {
  display: none;
  position: absolute;
  top: 0px;
  left: 0px;
  text-align: center;
  width: 100%;
  height: 100%;
}
#html5-lightbox #html5-lightbox-box #html5-elem-box #html5-elem-wrap #html5-error {
  display: none;
  position: absolute;
  text-align: center;
}
#html5-lightbox #html5-lightbox-box #html5-elem-box #html5-elem-wrap #html5-image {
  display: none;
  position: absolute;
  top: 0px;
  left: 0px;
  text-align: center;
}
#html5-lightbox #html5-lightbox-box #html5-elem-box #html5-next {
  display: none;
  cursor: pointer;
  position: absolute;
  top: 40%;
}
#html5-lightbox #html5-lightbox-box #html5-elem-box #html5-prev {
  display: none;
  cursor: pointer;
  position: absolute;
  top: 40%;
}
#html5-lightbox #html5-lightbox-box #html5-elem-data-box {
  display: none;
  position: absolute;
  bottom: 44px;
  left: 8px;
  width: 100%;
  height: 62px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 16px;
  padding-top: 20px;
  pointer-events: none;
}
#html5-lightbox #html5-lightbox-box #html5-elem-data-box #html5-text {
  /*display:block;*/
  float: left;
  /*overflow:hidden;*/
  color: white;
  height: 55px;
  padding-left: 15px;
}
#html5-lightbox #html5-lightbox-box #html5-close {
  display: none;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 6px;
  background: url(images/controls.png) no-repeat -102px 0px;
  width: 55px;
  height: 41px;
  text-indent: -9999px;
  z-index: 11;
}
#html5-lightbox #html5-lightbox-box #html5-watermark {
  display: none;
  position: absolute;
}

#html5-lightbox .legend {
    position: absolute;
    z-index: 20;
    width: 520px;
    height: 100px;
    top: 110%;
    left: -25px;
    color: #ffff00;
    font-size: 28px;
    text-align: center;
    text-shadow: 1px 1px 1px #000000;
}