/* Preload images */
body:after {
  content: url(../images/close.png) url(../images/loading.gif) url(../images/prev.png) url(../images/next.png);
  display: none;
}

body.lb-disable-scrolling {
  overflow: hidden;
}

/*.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  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;
}*/

#lightboxOverlay { 
    position: fixed !important; 
    top: 0; 
    left: 0; 
    height: 100% !important; 
    width: 100% !important; 
    z-index: 9999;
    background-color: black;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=90);
    opacity: 0.9;
    display: none;
}

#lightbox { 
    position: fixed !important; 
    top: 50% !important; 
    transform: translateY(-50%); 
    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;
  /*border-radius: 3px;*/

  /* Image border */
  /*border: 4px solid white;*/
}

.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: black;
}

.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(../images/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-prev, .lb-next {
opacity: 1;
margin: 0 20px;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
width: 50px;
height: 50px;
position: absolute;
display: block;
outline: none;
}

.lb-nav a.lb-prev {
    /*width: 30%;*/
    position: fixed;
    left: 30px;
    float: left;
    background: url(../images/prev.png) 42% 48% no-repeat;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0.5;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    transition: opacity 0.6s;
    background-color: rgba(77,77,77,0.75);
    border-radius: 50%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
    /*background-color: #454545;
    background-image: -moz-gradient(linear,50% 0%,50% 100%,color-stop(0,#3e3e3e),color-stop(1,#333));
    background-image: -moz-linear-gradient(top,#3e3e3e,#333);
    background-image: linear-gradient(top,#3e3e3e,#333);
    border: 1px solid #141414;
    border-radius: 2px;
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(255,255,255,.06),1px 1px 0 rgba(255,255,255,.03),-1px -1px 0 rgba(0,0,0,.02),inset 1px 1px 0 rgba(255,255,255,.05);
    box-shadow: 0 1px 0 rgba(255,255,255,.06),1px 1px 0 rgba(255,255,255,.03),-1px -1px 0 rgba(0,0,0,.02),inset 1px 1px 0 rgba(255,255,255,.05);
    color: #aaa !important;
    cursor: pointer !important;
    display: inline-block;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#303030',EndColorStr='#262626');
    font-size: 11px;
    font-weight: bold;
    margin: 0 5px;
    outline: 0;
    text-align: center;
    text-decoration: none !important;
    text-shadow: 0 -1px 0 rgba(0,0,0,.5);
    -moz-user-select: none;
    user-select: none vertical-align:middle;
    white-space: normal;
    word-wrap: normal;
    height: 77px;
    padding: 0;
    width: 40px;
    position: fixed;
    z-index: 1;
    left: -6px;
    float: left;
    background: url(../images/prev.png) 42% 48% no-repeat;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0.5;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    transition: opacity 0.6s;
    background-color: rgba(77,77,77,0.75);*/
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
    /*width: 30%;*/
    position: fixed;
    right: 30px;
    float: right;
    background: url(../images/next.png) 58% 48% no-repeat;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0.5;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    transition: opacity 0.6s;
    background-color: rgba(77,77,77,0.75);
    border-radius: 50%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
    /*background-color: #454545;
    background-image: -moz-gradient(linear,50% 0%,50% 100%,color-stop(0,#3e3e3e),color-stop(1,#333));
    background-image: -moz-linear-gradient(top,#3e3e3e,#333);
    background-image: linear-gradient(top,#3e3e3e,#333);
    border: 1px solid #141414;
    border-radius: 2px;
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(255,255,255,.06),1px 1px 0 rgba(255,255,255,.03),-1px -1px 0 rgba(0,0,0,.02),inset 1px 1px 0 rgba(255,255,255,.05);
    box-shadow: 0 1px 0 rgba(255,255,255,.06),1px 1px 0 rgba(255,255,255,.03),-1px -1px 0 rgba(0,0,0,.02),inset 1px 1px 0 rgba(255,255,255,.05);
    color: #aaa !important;
    cursor: pointer !important;
    display: inline-block;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#303030',EndColorStr='#262626');
    font-size: 11px;
    font-weight: bold;
    margin: 0 5px;
    outline: 0;
    text-align: center;
    text-decoration: none !important;
    text-shadow: 0 -1px 0 rgba(0,0,0,.5);
    -moz-user-select: none;
    user-select: none vertical-align:middle;
    white-space: normal;
    word-wrap: normal;
    height: 77px;
    padding: 0;
    width: 40px;
    position: fixed;
    z-index: 1;
    right: -6px;
    float: right;
    background: url(../images/next.png) 58% 48% no-repeat;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0.5;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    transition: opacity 0.6s;
    background-color: rgba(77,77,77,0.75);*/
}

.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;*/
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-caption a {
  color: #4ae;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 14px;
  color: #aaa;
}

.lb-data .lb-close {
  display: block;
  float: right;
  top:0;
  width: 20px;
  height: 20px;
  background: url(../images/close.png) top right no-repeat;
  background-size: 20px 20px;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.5;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}
