[zoombox^='preview'] {
  cursor: zoom-in;
  cursor: -moz-zoom-in;
  cursor: -webkit-zoom-in;
}
[zoombox='thumbnail'] {
  cursor: pointer;
}
[zoombox='viewer'],
[zoombox='frame'] {
  position: fixed;
}
[zoombox='viewer'] {
  display: block;
  cursor: zoom-out;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  text-align: center;
  background-color: #191919;
  background-color: rgba(25, 25, 25, 0.9);
}
[zoombox='frame'] {
  display: block;
  z-index: 101;
  cursor: default;
  -webkit-box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.5);
}
[zoombox='back'],
[zoombox='next'],
[zoombox='hide'] {
  display: table-cell;
  position: absolute;
  z-index: 102;
  top: 0;
  height: 100%;
  width: 50px;
  opacity: 0.4;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  background-color: #808080;
  background-color: rgba(128, 128, 128, 0.2);
  color: #999;
  font-size: 14px;
  text-shadow: 0 0 2px black;
  -webkit-transition: opacity 75ms linear, background 50ms linear;
  -moz-transition: opacity 75ms linear, background 50ms linear;
  -o-transition: opacity 75ms linear, background 50ms linear;
  -ms-transition: opacity 75ms linear, background 50ms linear;
  transition: opacity 75ms linear, background 50ms linear;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
[zoombox='back'] {
  left: 0;
  margin-left: -50px;
  cursor: w-resize;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-bottomleft: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
[zoombox='next'] {
  right: 0;
  margin-right: -50px;
  cursor: e-resize;
  -moz-border-radius-topright: 5px;
  -moz-border-radius-bottomright: 5px;
  -webkit-border-top-right-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
[zoombox='hide'] {
  top: 0;
  right: 0;
  margin-top: -50px;
  height: 50px;
  width: 100px;
  cursor: zoom-out;
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  -moz-border-radius-topleft: 5px;
  -webkit-border-top-left-radius: 5px;
  border-top-left-radius: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-right-radius: 5px;
  border-top-right-radius: 5px;
}
[zoombox='back']:hover,
[zoombox='next']:hover,
[zoombox='hide']:hover {
  opacity: 1;
  background-color: #808080 !important;
  background-color: rgba(128, 128, 128, 0.5) !important;
  color: #bbb !important;
}
/* This could already be defined somewhere else */
.hidden {
  display: none !important;
  visibility: hidden !important;
}
