.gallery_container {
  background-color: #000;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 10000;
  //opacity: .9;
  display: none;
}

#carousel-example-generic {
  max-width: 58%;
  height: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  #carousel-example-generic {
    max-width: 100%;
  }
}

.carousel-indicators li {
  width: 50px;
  height: 50px;
  text-indent: 0px;
  overflow: hidden;
  margin-left: 2px;
}

.carousel-indicators li.active {
  width: 50px;
  height: 50px;
  border: 2px solid red;
  margin-left: 2px;
}

.carousel-inner {
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid #aaa;
}

@media screen and (max-width: 768px) {
  .carousel-inner {
    border: 1px solid #000;
  }
}

.carousel-inner .item img {
  margin: auto;
  max-height: 800px;
}

.gallery_ctrlbar {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 16;
  z-index: 16;
  background-color: #585858;
  padding: 10px;
}

.gallery_ctrlbar_group {
  display: inline-block;
  vertical-align: middle;
  padding: 0 5px;
  margin: 0 2px;
}

.gallery_ctrlbar .gallery_original {
  width: 80px;
  font-size: 18px;
}

.gallery_ctrlbar button {
  display: inline-block;
  vertical-align: middle;
  width: 40px;
  height: 40px;
  font-size: 0;
  border: none;
  cursor: pointer;
  -webkit-transition: color .25s ease;
  -moz-transition: color .25s ease;
  -ms-transition: color .25s ease;
  -o-transition: color .25s ease;
  transition: color .25s ease;
  background: url("/resources/images/gallery_ctrlbar_btn.png") no-repeat;
}

button.gallery_close {
  background-position: -40px 0;
  margin-left: 10px;
}

.gallery_container .img-info {
  position: absolute;
  top: 0px;
  right: -260px;
  margin-left: -130px;
  z-index: 15;
  width: 260px;
  height: 100%;
  display: block;
  background-color: white;
  word-wrap: break-word;
  padding: 10px;
  overflow-y: auto;
}

.carousel-indicators {
  height: 52px;
  overflow: hidden;
}

.carousel-inner .item img {
  display: inline-block;
}

.carousel-inner .item {
  text-align: center;
}

.carousel-inner .caption {
  position: absolute;
  top: 0;
  width: 100%;
  text-align: center;
  color: #ffffff;
  opacity: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.3);
  transition: opacity .3s, height .3s;
}

.carousel-inner:hover .caption {
  height: 60px;
  opacity: 1;
  transition: opacity .3s, height .3s;
}

.carousel-inner .caption h3 {
  height: 60px;
}
