/**
 * Components for media gallery.
 */

.gallery {
  background-color: #333;
  margin-bottom: .px-rem(15px)[];
  line-height: 0;
}

.gallery-display-item {
  margin-bottom: 0;
  outline: 0;
}

.gallery-display-image {
  margin: auto;
  max-height: 600px;
  width: auto;
  max-width: 100%;
}

.gallery-display-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 50%);
  color: #fff;
  padding: .px-rem(15px)[];
  line-height: normal;
}

.gallery-nav {
  position: relative;
  height: 85px;
}

.btn-gallery .glyphicon {
  position: absolute;
  top: 22px;
  left: 17px;
}

.gallery-nav-item {
  max-height: 85px;
  width: auto;
}

.btn-gallery {
  position: absolute;
  top: 0;
  height: 85px;
  width: 75px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 50%);
  font-size: 40px;
  color: #fff;
  border: none;
  opacity: .75;
  padding: 0;
  margin: 0;
  z-index: 1000;
}

.btn-gallery[aria-disabled='true'] {
  color: rgba(255, 255, 255, 20%);
}

.btn-gallery-previous {
  left: 0;
}

.btn-gallery-next {
  right: 0;
}
