
div.thumbnail{
  padding:4px;
	background-color: #ffffff;
	float: left;
	margin:10px 10px 10px 10px;
	border: 1px solid #BCBCBC;
	}
div.thumbnail img {border:0; margin:0; padding:0; float:left;}
div.thumbnail a{border:0; margin:0; padding:0;  float:left;}

#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}
	
#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%;
	background: transparent url(../immagini/litebox-blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink, #nextLink {border:0}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../immagini/litebox-prev.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../immagini/litebox-next.gif) right 15% no-repeat; }


#imageDataContainer{
	font:90% arial, verdana, sans-serif;
	color:#666666;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	border:0;
	}

#imageData{
	padding:0 10px; background:#ff0000; clear:both;
	}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	

	/*#imageData #caption{ font-weight: bold;	}*/
#imageData #numberDisplay{ float:left;  	}			
#imageData #bottomNavClose{ width: 66px; float: right; padding-bottom:0.7em; border:0}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #666666;
	filter:alpha(opacity=80);
	-moz-opacity: 0.8;
	opacity: 0.8;
	}
	

.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 */
	}	
	