/* CSS document */

/**** stile per i link sulle immagini ***/
a img {
	border: none;
	border-bottom: 1px solid #F9F9F6;
}

a:hover img {
	border-bottom: 1px solid #069;
}

#gallery {
	min-height: 550px;
}

/****** valori validi per la pagina delle categorie *****/
#stag .categoria  h4 {
	color: #CC3300;
}

.categoria {
	clear: both;
	height: 150px;
	margin-bottom: 12px;
	background: url('background-anno.gif') no-repeat bottom;
}

.categoria .icona {
	float: left;
	top: 0;
	left: 0;
}

.categoria a {
	text-decoration: none;
	color: #069;
}

.categoria h4 {
	/* font-family: Georgia, "Times New Roman", Times, serif; */
	font-family: Arial, Helvetica, sans-serif;
	font-size: 160%;
	font-weight: lighter;
	margin-left: 150px;
}

.categoria a:hover {
	text-decoration: none;
}

.categoria p {
	margin: 60px 0 0 150px;
	
}

table.ctg {
/*	width: 100%; */
	padding: 0.2em;
	font-size: 1em;
}

table.ctg  td {
	text-align: center;
	width: 176px;
	vertical-align: top;
}

table.ctg  a:hover {
	text-decoration: none;
}

a.selezionato img{
	border: 1px solid #C00;
}

a.selezionato {
	color: #900;
}


td.errore {
	width: 100%;
	border: 1px dotted #900;
	text-align: center;
	color: #900;
}

.ctg img {
	width: 94px;
/*	border: 1px solid #F00; */
	margin: 15px;
}

/* codice per colonna destra */

#elenco , #ricerca , #scheda  {
	text-align: center;
	width: 100%;
	margin-bottom: 2.5em;
}

#elenco h3, #ricerca h3, #scheda h3 {
	text-align: left;
}

#scheda {text-align: right;}

#scheda span.testo {
	font-weight: 300;
	font-size: 120%;
	padding-bottom: 10px;
}

#scheda label {
	color: #005476;
}



/* codice per immagini */

#gallery #flash {
	position: absolute;
/*	top: 0; */
	padding: 0;
	margin: 0;
	width: 530px;
	background: #FFF;
}

#flash #immagine {margin-top: 30px;}

#flash .tools {
	width: 530px;
	height: 30px;
	z-index: 99;
	margin: 0;
}

#flash .tools span { display: none; }

#flash .tools a {
	background: url('background-flash-close.png') no-repeat;
	position: absolute;
	width: 50px;
	height: 30px;
	top: 1em;
	right: 1em;
	text-decoration: none;
}
#flash .tools a:hover { background: url('background-flash-close.png') 0 -30px; }

.img img {margin: 0 10px;}
.img a:link, .img a:visited {text-decoration: none; font-style: italic;}
.img a:hover {color: #900;}


/* codice per navigazione */
#pgn {
	display: block;
	padding: 0;
	border-top: 1px solid #CCC;
	height: 30px;
	margin-top: 25px;
	position: relative;
	bottom: 0px;
}

#pgn #numPagine { float: left; }
#pgn #numPagine p {
	margin:0pt 0.38em 0pt 0pt;
	padding:0.3em 0.7em;
	text-align:center;
	text-decoration:none;	
}
#pgn #pagine { float: right; }
#pgn #pagine a {
	border:1px solid #CCC;
	cursor:pointer;
	display:block;
	float:left;
	margin:0pt 0.38em 0pt 0pt;
	padding:0.3em 0.7em;
	text-align:center;
	text-decoration:none;
}

#pgn #pagine a:hover {
	background: #EAFBFF;
	border:1px solid #069;
}


#pgn #pagine .sel, #pgn #pagine .sel:hover {
	color: #FFF;
	background: #069;
	font-weight: bold;
}

#show {
	height: 102px;
	margin: 0;
	clip: rect(0, 525px, 98px, 0);
	overflow: hidden;
}

#main_image_wrapper{ width:100%; height:399px;}	

#big {
	position:relative;
	background: #FFF url('loading_image.gif') no-repeat 50% 50%;
	border:1px solid #CCC;
	width: 530px;
	height: 379px;
	margin: 20px 0;
}

a.scroll {
	z-index: -2;
	border: 1px solid #069;
	height: 100px;
	width: 25px;
	cursor:pointer;
}
a.thb {
	float:left;
	border: 1px solid #069;
	margin-left: .2em;
	top: 0;
}

/* quick Gallery */
#main_image_wrapper{z-index: 9000; position:relative;border:1px solid #CCC;width:100%;height:399px;background:#FFF url('loading_image.gif') no-repeat 50% 50%;}
#thumbdisplay{width:100%;}
#thumbhide{
	width: 530px; 
	margin: 0; 
	z-index: -1;
	height: 106px;
	padding: 0;
}

#thumbhide a {
	-moz-outline-style: none;
}

#imgloader{text-align:center;vertical-align:middle;}

#thumbbox{
	text-align:center;
	position:relative;
	margin:0;
	overflow:hidden;
	height:106px;
	top: 0;
}

#back, #more {
	position: relative;
	top:0; 
	z-index:1001;
	width: 15px;
	height: 100px;
}

a#back {
	float: left;
	background: url('background-thumbs-scroller.png') 0 0 no-repeat;
}

a#more {
	float: right;
	background: url('background-thumbs-scroller.png') -15px 0 no-repeat;
}

#back span, #more span {
	display: none;
}

a#back:hover {
	background-position: 0 -100px;
}

a#more:hover {
	background-position: -15px -100px;
}




/* #thumbbox{background:#F1F1F1;border:solid 1px #CCC;text-align:center;width:100%;position:relative; padding:0;} */

#thumbs img{}
#thumbs a img{border:1px solid #CCC;}
#thumbs a:hover img{border:1px solid #333;}
#thumbs a:hover{color:red;}

#photocount{color:#036;font-size:10px;float:left;width:48%;text-align:left;left:0;}



#back{left:0; visibility:hidden;}
#more{right:0; }

#rightmore, #leftmore {color:#333;height:104px;width:15px;padding:0;}
#rightmore a{background:url(right_more.gif) no-repeat;display:block;color:#fff;text-decoration:none;width:100%;padding:0; height: 100%;}
#rightmore a:hover{background:url(right_more_over.gif) no-repeat;color:#fff;height:104px;}
#leftmore a{background:url(left_more.gif) no-repeat;display:block;color:#fff;text-decoration:none;width:100%;padding:0;  height: 100%;}
#leftmore a:hover{background:url(left_more_over.gif) no-repeat;color:#fff;height:104px;}
.morelink:link,.morelink:visited{font-size:11px;color:#069;text-decoration:none;}
.morelink:hover{font-size:11px;color:#036;text-decoration:underline;}


#thumbgall{position:absolute;left:0;top:0;white-space:nowrap;z-index:1000;}
/* #widthbox{position:relative;display:inline;left:0;top:0;padding:1px;} */

#widthbox {
	
	position:absolute;
	left: 0;
	top: 0;
	white-space:nowrap;
	z-index:1000;
}

#widthbox img {
	border:solid 1px #CCC;
	margin:5px 3px 5px 0;
	vertical-align:top;
	background: url('loading_image.gif')
}

#pn_overlay{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:998;
}

.prev, .next{
	width:30%;
	height:100%;
	background:transparent url('blank.gif') no-repeat;
	outline:none;
}

.prev{
	left:0; 
	float:left;
	outline:none;
	-moz-outline:none;
}

.next{
	right:0;
	float:right;
	outline:none;
	-moz-outline:none;
}

.prev span, .next span {
	display: none;
}

.prev:hover, .prev:visited:hover{background:url('background-image-scroller-rg.png') left 50% no-repeat;}
.next:hover, .next:visited:hover{background:url('background-image-scroller-lf.png') right 50% no-repeat;}


#imgbox{width:80px;height:80px;display:inline;position:absolute;text-align:center;}
#iptc_btn{width:100%;text-align:right;position:absolute;left:0;top:0;z-index:999;}
#iptc_info{
	position:absolute;
	bottom:0;
	left:0;
	height:auto;
	width:100%;
	background-color:#000;
	color:#CCC;
	font-size:10px;
	line-height: 10px;
	text-align:left;
	filter:alpha(opacity=0);
	-moz-opacity:0;
	opacity:0;
	padding: 10px;
}
#iptc_info p {color: #FFF; font-weight: bold; margin-left: 20px}
#iptc_info label {color: #069; margin-left: 10px}
.spacing{padding:1px;}

html>body #rightmore li a,html>body #leftmore li a{width:auto;}

#imgtitle{width:100%; text-align:center;color:#036;display:block;}
#imgtitle span.testo {font-size: 150%; font-weight: bold;}
#imgtitle h2{font-size:1.3em;margin:0;padding:0;}
#thumbtoggler{text-align:right;float:right;width:48%;right:0;z-index:1100;}

.clear{clear:both;}
#e2link{font-family:Arial, Helvetica, sans-serif;font-size:9px;color:#000;text-align:left;width:600px;padding:5px 0;}
#e2link a{color:#000;text-decoration:none;}
.tooltip{color:#fff;width:150px;z-index:15000;text-align:left;}
.tooltip h4{font-weight:700;font-size:12px;background:#000;margin:0;padding:8px 8px 2px;}
.tooltip p{font-size:11px;background:#000;margin:0;padding:1px 8px 8px;}
