/* The work below, CSSBox, a pure css lightbox, is released under the Creative Commons Zero 1.0 license
   and is available on https://notabug.org/SylvieLorxu/CSSBox */
/* Usage:
		Add your images like this:
    <img class="cssbox_thumb" tabindex=1 src="image_thumbnail.png" /><span class="cssbox_full"><img src="image_full.png" /></span>
		When a visitor clicks the tumbnail, the fullsize preview will appear in the center of the screen. */
span.cssbox_full {
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,0.8);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: visibility 0s, opacity 0.5s linear;
	z-index: +1000;
}

span.cssbox_full img {
  position: fixed;
  background-color: white;
  margin: 0;
  padding: 0;
  max-height: 90%;
  max-width: 90%;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px black;
}

img.cssbox_thumb:focus + span.cssbox_full {
  visibility: visible;
  opacity: 1;
}

img.cssbox_thumb {
  cursor: zoom-in;
}
span.cssbox_full {
  cursor: zoom-out;
}
