#lightbox{
	position: absolute;
	top: 39% !important;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	margin-top:-220px; /*calcolare la metà in altezza del nostro box*/
	}

#lightbox a img { border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	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%; /* Trick IE into showing hover */
	display: block;
	background-color: transparent;
	background-image: url(../../gallery/blank.gif);
	background-repeat: no-repeat;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}

/*#prevLink:link:visited, #prevLink:link:visited { background: url(prevlabel.gif) left 15% no-repeat; }
#nextLink:link:visited, #nextLink:link:visited { background: url(nextlabel.gif) right 15% no-repeat; }
#prevLink:active:hover, #prevLink:active:hover { background: url(prevlabel.gif) left 15% no-repeat; }
#nextLink:active:hover, #nextLink:active:hover { background: url(nextlabel.gif) right 15% no-repeat; }*/


#prevLink:link,
#prevLink:visited,
#prevLink:hover,
#prevLink:focus,
#prevLink:active{
	background-image: url(gallery/prev.gif);
	background-repeat: no-repeat;
	background-position: left 50%;
}
#nextLink:link,
#nextLink:visited,
#nextLink:hover,
#nextLink:focus,
#nextLink:active{
	background-image: url(gallery/next.gif);
	background-repeat: no-repeat;
	background-position: right 50%;
}


#imageDataContainer{
	font: 11px Arial, Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	color:#454545;
	
	}

#imageData{
	padding:0 10px;
	}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: normal; padding-bottom:20px !important;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;  margin-top:10px; font-weight: normal; color:#888	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	/*filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;*/
	filter:alpha(opacity=35) !important;
	-moz-opacity:.35 !important;
	opacity:.35 !important;
	}
	

.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 */
	}
