/* Preload images */
body:after {
  content: url(../img/lb-close.png) url(../img/lb-loading.gif) url(../img/lb-prev.png) url(../img/lb-next.png);
  display: none;
}

body.lb-disable-scrolling {
  overflow: hidden;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: #000;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;

  /* Background color behind image.
     This is visible during transitions. */
  background-color: white;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../img/lb-loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
	left: 0;
	height:138px;
	width:70px;
	background: url(../img/b_rechts.png) no-repeat;
	margin-top: -35px;
    top: 50%;
    position: absolute;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
	right: 0;
	height:138px;
	width:70px;
	background: url(../img/b_links.png) no-repeat;
	    margin-top: -35px;
    top: 50%;
    position: absolute;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: #fff;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {padding: 0.25em 0.5em;color: #333;}

.lb-data .lb-details {
  width: 100%;
  float: none;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
    font-size: 1em;
    font-weight: normal;
    line-height: 1.2em;
    color: #696969;
}

.lb-data .lb-caption a {
	color: #696969;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.lb-outerContainer .lb-closeContainer {
    width: auto;
    display: block;
    background-color: #ccc;
    clear: both;
    position: absolute;
    line-height: 1;
    display: block;
    float: right;
    text-align: right;
    outline: none;
    bottom: 2.5em;
    padding: 0.25em 0.75em;
    cursor: pointer;
    background: #cccccc;
    border: 0;
    border-radius: 0;
    height: 30px;
    line-height: 1;
    font-size: 1.2em;
    color: #eb2434;
    position: absolute;
    bottom: 11px;
    right: 0.5em;
    cursor: pointer;
}
.img-extras {
    display: block;
    position: absolute;
    bottom: -50px;
    width: 100%;
    background: #333333;
    height: 50px;
}
#extra-form button#upscale {
    position: absolute;
    left: 0.5em;
    height: 35px;
    width: 35px;
    padding: 3px;
    bottom: 5px;
    box-sizing: border-box;
}
.lb-outerContainer .lb-closeContainer a{
	color:#eb2434;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}
