#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 999;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(prev.gif) left 50% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(next.gif) right 50% no-repeat; }

/*** START : next / previous text links ***/
#nextLinkText, #prevLinkText{
color: #FF9834;
font-weight:bold;
text-decoration: none;
}
#nextLinkText{
padding-left: 20px;
}
#prevLinkText{
padding-right: 20px;
}
/*** END : next / previous text links ***/
/*** START : added padding when navbar is on top ***/

.ontop #imageData {
    padding-top: 5px;
}

/*** END : added padding when navbar is on top ***/

#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	}

#imageData{
	padding:0 10px;
	}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; display:none; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}
#imageData #numberDisplay a { color: black; padding-left: 5px; padding-right: 5px;}
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}
#imageData #helpDisplay {clear: left; float: left; display: block; }

#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 990;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=85);
	-moz-opacity: 0.85;
	opacity: 0.85 !important;
	display: none;
	}
	

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	}

* html>body .clearfix {
	display: inline-block; 
	width: 100%;
	}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
	}	

#lightboxIframe {
	display: none;
}	


/* by curitis at 2013-5-14 */
#lightbox .lightbox-wrap { max-width:800px; margin:0 auto; }
#imageData #caption { display:none; }
#imageData #numberDisplay { display:none; }
#imageDataContainer { width:100%; background:none; }
#outerImageContainer { width:100%; background:none; }
#imageData #bottomNavClose { float:left; width:65px; height:16px; padding-bottom:5px; background:url(new-close.png) no-repeat; }
#imageData #bottomNavClose img { display:none; }
#imageContainer { position:relative; padding:0; }
#imageData { padding:0; }
#nextLink:hover, #nextLink:visited:hover { background-image:url(new-next.png); }
#prevLink:hover, #prevLink:visited:hover { background-image:url(new-prev.png); }
#outSmallImages { padding:10px; background:#FFF; }
#smallImages { position:relative; width:100%; padding:0; }
#smallImages a.prev { float:left; width:30px; height:28px; text-indent:-2000px; margin:20px 5px 0 0; background:url(small-btn.png) -38px 0 no-repeat; cursor:pointer; overflow:hidden; }
#smallImages a.next { float:left; width:30px; height:28px; text-indent:-2000px; margin:20px 0 0 5px; background:url(small-btn.png) 0 0 no-repeat; cursor:pointer; overflow:hidden; }
#smallImages a.prev:hover { background-position:-38px -36px; }
#smallImages a.next:hover { background-position:0 -36px; }
#smallImages .si-list { float:left; width:70%; height:68px; overflow:hidden; }
#smallImages .si-list a { float:left; width:65px; height:48px; margin:9px 4px 9px 6px; border:1px solid #CCC; overflow:hidden; }
#smallImages .si-list a:hover { border:1px solid  #333; }
#smallImages .si-list a.current { margin:7px 2px 7px 4px; border:3px solid #333; }
#lightboxImage { width:100%; }

#imageTitle { height: 26px; line-height: 26px; text-align: left; position: absolute; left: 0; bottom: 0; width: 100%; background:#000; opacity:.8; filter:alpha(opacity=80); text-indent:20px; color:#FFF; }