.lightbox-wrapper {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 1004; /*This is appended before the actual lightbox is faded in so that elements with
                    high z-index values (e.g. navbar) don't cover lightbox during fadein*/
}

.lightbox-photo:hover { cursor: pointer; }

.expanded {
  position: fixed;
  height: 95%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1002;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  background-color: black;
  height: 100%;
  width: 100%;
  opacity: 0.85;
  z-index: 1001;
}

.caption {
  letter-spacing: 3px;
  position: fixed;
  background-color: rgba(0,0,0,.5);
  color: white;
  padding: 8px;
  font-size: 14px;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1003;
}