
.fr{float:right}
.fl{float:left}
.ac{text-align:center}
.al{text-align:left}
.ar{text-align:right}





#gallery #controller{text-align:right; font-weight:bold; float:right; margin:0 0 0 0;  background-color:#fff; }

#gallery h2{color:#990000; background-color:#eee; text-decoration:underline }
#gallery h3{color:#900; border-bottom:1px solid #000; margin-bottom:20px; margin-top:20px;}



/************************++pagina categorie ****************************/

#gallery ul#categorie{margin:0; padding:0}
#gallery ul#categorie li {
	background-color:#eee; 
	border:1px solid #ccc; 
	float:left; 
		
		width:90%; /* 1 colonna*/
	
	/*width:45%; /* 2 colonne*/
	
	/* width:28%; /* 3 colonne*/
	/* height:160px */
	
	margin:0 0 2em 10px; list-style-type:none; padding:10px;
	}
#gallery ul#categorie li img{float:left; border:none; margin-right:5px;}
#gallery ul#categorie li h2 {margin:0; padding:0; margin-left:180px /* da commentare se pił di 1 colonna per categoria*/;}
#gallery ul#categorie li p {margin:0.5em 0 0 0 ; padding:0; margin-left:180px /* da commentare se pił di 1 colonna per categoria*/;}



/************************++pagina sottocategorie ****************************/
#gallery ul#sottocategorie{margin:0 auto; padding:0; }
#gallery ul#sottocategorie li {
	background-color:#eee; 
	border:1px solid #ccc; 
	float:left; 
	
	width:90%; /* 1 colonna*/
	
	/*width:42%; /* 2 colonne*/
	
	min-height:120px !important; height:120px; /**/
	height:auto;
	/* width:28%; /* 3 colonne*/
	/* min-height:160px !important; height:160px; /**/
	
	margin:0 0 2em 10px; list-style-type:none; padding:10px;
	
	}
	
#gallery ul#sottocategorie li.audio{background:url(../img/audio_ico.gif) 97% 97%  no-repeat #eee;}
#gallery ul#sottocategorie li.video{background:url(../img/video_ico.gif) 97% 97% no-repeat #eee;}

#gallery ul#sottocategorie li img{float:left; border:none; margin-right:5px;}
#gallery ul#sottocategorie li h2 {margin:0; padding:0; margin-left:180px /* da commentare se pił di 1 colonna per categoria*/}
#gallery ul#sottocategorie li p {margin:0.5em 0 0 0 ; padding:0; margin-left:180px /* da commentare se pił di 1 colonna per categoria*/}


/************************++pagina immagini  ****************************/
#gallery ul#immagini{margin:0; padding:0; }
#gallery ul#immagini li{	
	border:1px solid #ccc; 
	list-style-type:none;
	float:left; 
	text-align:center;
	/*width:90%; /* 1 colonna*/
	/*width:45%; /* 2 colonne*/
	width:160px; /* 3 colonne*/
	margin:0 0 20px 10px;  padding:5px;
	
	height:20em !important; height:auto;
	font-size:0.8em !important; /*font-size:20em;*/
	/*line-height: 20em;*/
	
	padding-bottom:20px;
	/*background:url(../img/zoom_ico.gif) 97% 97% no-repeat;*/
	}

#gallery ul#immagini li div{line-height:1em; height:3em;text-decoration:none }
#gallery ul#immagini li img{border:none; vertical-align:middle; }


#gallery ul#audio{margin:0; padding:0; clear:both; }
#gallery ul#audio li {	

	list-style-type:none;
	padding-left:20px;
	/*background:url(../img/audio_ico.gif) 3px 3px no-repeat;*/
	}



#gallery ul#video{margin:0; padding:0; clear:both; }
#gallery ul#video li{	
	border:1px solid #ccc; 
	list-style-type:none;
	float:left; 
	text-align:center;
	/*width:90%; /* 1 colonna*/
	/*width:45%; /* 2 colonne*/
	width:160px; /* 3 colonne*/
	margin:0 0 20px 10px;  padding:5px;
	
	height:20em !important; height:auto;
	font-size:0.8em !important; /*font-size:20em;
	line-height: 20em;*/
	
	padding-bottom:30px;
	/*background:url(../img/video_ico.gif) 97% 97% no-repeat;*/
	}
#gallery ul#video li div{line-height:1em; text-decoration:none }
#gallery ul#video li img{border:none; vertical-align:middle; }


/* WCM */
#gallery h1.titolopagina{ /*padding:0 0 1em 0; font-weight: bold; font-size: 1.6em; color: #CC0000; background-color: #FFF;*/
	padding-left:0;
   padding-bottom: 8px;
	font-weight: bold;
	font-size: 130%;
	color: #003399;
	margin-top:10px }
div#gallery{
  min-height: 30em;
  height: auto !important;
  height: 30em;
  background:url(../img/sf-traps.png);
  margin-right:2%;
  padding-bottom:20px; }
#gallery h2 a:link{color : #990000;}
/*#gallery h2 a:visited {background-color: #990000}*/
/*#gallery h2 a:hover {color : #fff;}*/
#briciole{ position: relative; left: 0; /*border-bottom: 1px dashed #A8ACC9; */padding-bottom: 0.2em; margin-bottom: 0.2em }

#gallery ul#video li div a:link {text-decoration:none!important; color:#000; }
#gallery ul#video li div a:visited {text-decoration:none!important; color:#000; } 
#gallery ul#video li div a:hover{text-decoration:none!important; color:#000;}
#gallery div.video{padding:0;margin:0 0 0 0.8em}
#gallery div.audio{padding:0;margin:0}
