html, body {
	margin:0;
	padding:0;
	}

#lightbox{
  display:none;
  position: absolute;
  left: 0px;

  top:50%;
  width:100%;

  z-index: 91;
  text-align: center;
  line-height: 0px;
}


#lightbox img{ width: auto; height: auto; }
#lightbox a img{ border: none; }

#outerImageContainer{
  position: relative;
  background-color: #fff;
  width: 250px;
  height: 250px;
  margin: auto auto;
  padding:10px;
  overflow:hidden;
  }

#imageContainer{overflow: hidden; border:2px solid #888; padding:1px; position: absolute;top: 10px; left: 10px; }
#lightboxImageDIV{overflow: hidden;}

#loading{ position: absolute; overflow: hidden; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0px; z-index: 99;}

#hoverNavprev{position: absolute;top: 0px; left: 8px; width:40%; height: 100%;  z-index: 98;text-align: left;}
#hoverNavprev a{ outline: none;}
#hoverNavnext{position: absolute;top: 0px; right: 8px; width:40%; height: 100%;  z-index: 98;text-align: right;}
#hoverNavnext a{ outline: none;}

#prevLink, #nextLink{z-index: 97;  height: 500px; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink:hover, #prevLink:visited:hover { background: url(images/prevlabel.gif) left 50px no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(images/nextlabel.gif) right 50px no-repeat; }

#imageDataContainer{
  font: 10px Verdana, Helvetica, sans-serif;
  background-color: #fff;
  margin: 0px auto;
  line-height: 1.4em;
  overflow: hidden;
}

#imageData{padding:0px 10px; color: #666; }
#imageData #imageDetails{text-align: left;}
#imageData #caption{ font-weight: bold;}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;}
#imageData #bottomNavClose{ width: 75px; float: right;  padding-bottom: 0.7em; outline: none;}

#overlay{
  display:none;
  /*position: absolute;*/
  z-index: 90;
  /*width:100%;*/
  /*height: 2000px;*/
 /* height:100%;*/

/*  background-color: #000;
  position: fixed;
  top:0px;
  left:0px;
  right:0px;
  bottom:0px;*/

  position: absolute;
  top: 0px; left: 0px;
  z-index: 90;
  width: 100%;
  height:100%;
  bottom: 0px;
  background-color: #000;
}
