/* 

1.SETTAGGI UNIVERSALI ED ELEMENTI INLINE

2.COLLEGAMENTI IPERTESTUALI

3.STRUTTURA ED ELEMENTI BLOCK-LEVEL
	3.1 HTML/BODY
	3.2 INTESTAZIONI (HEADINGS) E PARAGRAFI
	3.3 SEZIONI
	3.4 ELENCHI PUNTATI E NUMERATI
	3.5 FORM
	3.6 TABELLE
	
4.CLASSI
*/


/*
###################### 1.SETTAGGI UNIVERSALI ED ELEMENTI INLINE ##########################
*/

* {
	margin:0;
	padding:0;
}



img { 
	background-color: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: middle; }


abbr, acronym, dfn  {
	cursor:help;
	border-bottom:1px dotted #C40F05;
	color:#C40F05;
	}	
	
#footer acronym  {
	font-weight:bold;
	color:#fff;
	}		
	
address {
	color:#000;
	font-style:normal;
	}
	

ins {
	text-decoration:none;
	}
	
sup {
	vertical-align:top;
	}
/* SPAN */	
#navbar span {
	font-size:.9em;
	}
	
#sidebar span {
	font-size:.9em;
	color:#666;
	}
/*Fine SPAN*/




/*
###################### 2.COLLEGAMENTI IPERTESTUALI ##########################
*/

/*Formattazione generica dei collegamenti ipertestuali*/
a {
	color:#000;
	font-weight:normal;
	}
a:hover {
	text-decoration: none;
	background-color:#ddd;
	}

/* Collegamenti ipertestuali specifici*/

img a {
	text-decoration: none;
}
img a:hover {
	background-color: transparent;
}

h5 a{
  font-weight:bold;
}


#sidebar ul li a {
	margin-left: 3px;
	padding-right: 3px;
	text-decoration: none;
	line-height:1.3em;
	display:block;
	width:180px;
	}
#sidebar ul li a:hover {
	background:#C40F04;
    color:#fff;
    border:0;
	}



	
#pagecontent a{
	font-weight:normal;
} 	
	
div#footer p a {
	text-decoration: underline;
	color:#fff;
	}
div#footer p a:hover {
	text-decoration: none;
	background:#fff;
	color:#3A5B17;
	}


.torna a, .paginaz a{font-weight:bold;}




/*
###################### 3.STRUTTURA ED ELEMENTI BLOCK-LEVEL ###################### 
*/

/*3.1 HTML/BODY/VARI */

html,body{
	background:#C0AB82 url(/i/bg/sf_body.gif) repeat-x;
	font:120.01%  Verdana,Trebuchet MS,Arial,sans-serif;
	color:#000;
}



hr {
	display: none
 }
 
/* 3.2 INTESTAZIONI (HEADINGS) E PARAGRAFI */


h1 {
	font-size:1.4em;
	 color:#3A5B17;
	 font-family:Georgia,Verdana,Trebuchet MS,;
}


h2 {
  font-size:1.4em;
  color:#333;
  margin:.5em 0 .1em .3em;
  padding-bottom:2px;
  border-bottom:1px solid #ddd;
 font-family:Georgia,Verdana,Trebuchet MS,;
}

h3{ 
	font-size: .9em;
	color:#666;
	font-weight:bold; 
	margin:15px 0 5px 4px;
	line-height:1.0em;
	}
	
h4{ 
	font-size: .8em;
	color:#666;
	font-weight:bold; 
	margin:10px 0 6px 3px;
	padding: .1em; 
	height:1em;
	}

h5{
   font-size:1em;
	 margin: 1em 0 .2em .3em;
	 font-weight:bold;
	 color:#507689;
	 }	
	 
h6{ 
	font-size: .9em;
	color:#C40F05;
	font-weight:bold; 
	margin:0 0 .4em .3em;
	padding-top: .4em;
	padding-left: .9em; 
	line-height:1.0em;
	background:transparent url(/images/news.gif) no-repeat 0 .5em; 
	}
	


		
	
p {
  margin: .6em 0 0.8em .4em;
}




/* 3.3 SEZIONI */

div#container {
	width: 90%;
	margin:5px auto;
	margin-top:8px;
	background-color:#fff;
    position:relative;
    
    }

div#container h1{ margin:0px 0px 0px 90px; padding-top:10px; font:normal 30px Georgia, 'Times New Roman', Times, serif; color:#C40F05; letter-spacing:-2px; }

.stemma{margin:0px 0 0 0px;position:absolute; top:0px; left:0px;}

div#topcontact{margin:0px 0 0 0px; font-size:12px;position:absolute; color:#666;top:42px; right:5px;}

div#navbar {
	margin:0px 3px 15px 7px;
	font-size:.8em;
}



	
	
div#header {
	z-index:0;
	margin:25px 0px 1px 0;
	height:150px;
	padding: 10px 0 0px 0;
	background: transparent;
	background-image:url(/i/bg/sf_header.jpg);
    background-repeat:repeat-x;
    background-position: 0px 0px;
    
	}


div#header a#skipnav, div#header h2 {
	position: absolute;
	left: -9000px}


div#headertop {
	margin:0;
	height:28px;
	width:100%;
	background:  transparent;
	clear:both;
	}	


/*MENU DI NAVIGAZIONE HEADER*/
div#mainmenu { height:28px;}
div#mainmenu a  { background:transparent;}

div#mensx            { float:left;  height:28px; width:250px; background:url('/i/bg/menu_left.jpg'); }
div#mensx ul				{ float:left; color:#e6e7d8; margin:0x; padding:0px; font-size:12px; border:none; height:28px; }
div#mensx ul li 		{ float:left; list-style:none; padding:6px 0px 0px 0px; }
div#mensx ul li a	{ color:#fff; border-right:1px solid #C28A0B; display:inline; padding:0px 10px 0px 10px; }
div#mensx ul li a.noborder	{ border:0;}

div#mendx					{ background:#DBA732 url('/i/bg/menu_right.jpg') no-repeat right;margin:0px 0px 0px 30px; padding:0px; color:#e6e7d8; height:28px; }
div#mendx ul				{	 float:right; color:#e6e7d8; margin:0px; padding:0px; font-size:12px; border:none; height:28px; }
div#mendx ul li 		{ float:left; list-style:none; padding:6px 0px 0px 0px; }
div#mendx ul li a	{ color:#fff; border-right:1px solid #C28A0B; display:inline; padding:0px 10px 0px 10px; }


/*CONTENUTO DELLA PAGINA*/


	
div#pagecontent {
	border: #DBA732 1px solid;
	padding: .2em;
	background: #fff;
	color: #666;
	margin:0 0 .2em .4em;
	position:relative;
	top:-3px;
	float:right;
	line-height:1em;
}
div#pagecontent h3{	color: #507689;
}

	

div#sidebar {
	float: right;
	width:190px;
	padding: 0 0 0 0;
	margin-top:10px;
	color: #333;
	background: transparent;
	font-size:.8em
	}



div#content {
	background: transparent;
	border-top:0px;
	position: relative;
	margin:0px 200px 0 0;
	padding:4px 5px 10px 4px;
	}
	

	
div#content p {
	line-height:1.3;
	font-size: .8em
	}


/*  HOME PAGE */

.sezcont { margin:10px 5px 15px 8px; padding:0px; }
.seztit	{ border:0;font-size:1.4em; font-weight:normal;color:#C40F05; margin:0px; padding:0px; clear:both; }
.sottoTitolo  	{ color:#333; margin:0; padding:0px; }

div#bodysx, div#bodydx 	{ float:left; width:50%; }
div#bodysx ul , div#bodydx ul{ list-style:none; height:100%; font-size:.8em; margin:5px 10px 5px 0px; padding:0px 0px 0px 10px; }
div#bodysx li , div#bodydx li{ padding:10px 5px 0px 0px; margin:10px 0px 10px 0px; border-top:1px dashed #7b7b6e; clear:both; }
div#bodysx ul a , div#bodydx ul a{ font-weight:bold; font-size:1em;color:#333; }
.homenews	{float:left; border:1px solid #ccc; margin:0px 10px 0px 0px; width:90px; height:68px; padding:0px; }
.homegallcont{text-align:center; background:#D7E1E9; padding:7px 0 0 5px; margin-left:8px;min-height:74px; height:auto !important; height:74px; }
.homegall	{float:left; border:2px solid #fff; margin:0px 4px 10px 2px; width:100px; height:64px; padding:0px; }
a.archivio	{background:#eee; font:normal 10px Arial, Verdana, Helvetica, sans-serif; text-transform:uppercase;  color:#666; margin:5px 5px 0px 0px; padding:2px 5px 1px 5px; clear:both; float:right; display:block; }



	
div#istituzioni {
	margin:10px 0 10px 5px;
}	

div#footer {	
	clear:both;
	position:relative;
	text-align:center;
	}
div#footer p {
	margin: 0;
	padding: 6px 5px 8px 3px;
	font-size: .7em;
	color:#fff;
	}

/* 3.4 ELENCHI PUNTATI E NUMERATI */

ul {
	list-style-type: none;
}




#sidebar ul {
	margin:0 0 0 2%;
	padding:0;
	}	
	
#sidebar li {
	background:transparent;
	padding:0;
	border-bottom:1px dashed #666;
	margin-bottom:3px;
	}	

#content ul {
	margin:0 0 0 0;
	padding-left:.4em;
	font-size:.8em;
	}	
	
#pagecontent ul {
	margin:0 0 0 0;
	padding-left:.2em;
	font-size:.8em;
	}	
	
#pagecontent li {
	margin:.2em 0 .3em 0;
	background:none;
	padding:0;
	}	
	
/* 3.5 FORM */
	
form, fieldset, dl, dt, legend, label{
   margin: 0;
   border: 0;
	}

fieldset, dl {
	margin: .5em 0 0 .4em;
	padding: 1em;
	border: 1px solid #CFE26E;
	}

legend {
	font-size: .9em;
	background: #E0ECAA;
	border: 1px solid #CFE26E;
	font-weight: bold;	
	padding: 1em;
	line-height: .5em;
	color:#932E32;
	}

label, dt {
	display: block;
	float: left;
	width: 13em;
	text-align: right;
	padding: 0;
	font-size: .8em;
	font-weight:bold;
	margin: .2em .2em .5em 0
	}
	
input {
	margin-bottom: .6em;
	background-color: #eee;
	border: #999 1px solid;
	padding: .1em .1em 0 .1em;
	width: 12em;
	color: #000;
	font-size: .9em;
	line-height: 1.4em;
	height: 1.4em;
	} 

dd {
	margin-bottom: .6em;
	background-color: #fff;
	padding: .1em .1em 0 .1em;
	color: #000;
	font-size:.9em;
	line-height: 1.4em;
	height: 1.4em;
	} 

select {
	background-color: #eee;
	border: #064087 1px solid;
	color: #000;
	font-size: .9em;
	margin-bottom: .6em;
	} 

optgroup {
	color: #000;
	font-size:.9em;
	} 

optgroup option {
	color: #000;
	font-size:.9em;
	padding-left: 1em;
	} 

textarea {
	background-color: #eee;
	border: #064087 1px solid;
	padding: 1px;
	color: #000;
	font-size:.9em;
	margin: 0;
	} 

input:hover, select:hover, textarea:hover {
	background-color: #fff;
	}

input:focus, select:focus, textarea:focus {
	background-color: #ffc;
	color: #000;
	}



	
	
	
input.button {
	border: 1px solid #666;
	background-color: #666;
	margin: 0;
	padding: 0 1em;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
	height: 2em;
	width: 12em
	} 

input.button:hover, input.button:active {
	border: 1px solid #666;
	background-color: #fff;
	color: #666;
	} 
	
	
	
/* 3.6 TABELLE */	
table {
	margin : 1em 0;
	background-color : #000;
	border : 0;
	width : 100%;
	color: #000;
	font-size: .7em;
	}

tr {
	background-color:#fff;
	color:#000;
	display:table-row;
	}

tr:hover{
	background-color:#eee;
	color:#000;
	}

tr.header{
	background-color:#ffc;
	color:#000;
	font-weight:bold;
	height:1.5em;
	line-height:1.5em
	}


/*
###################### 4.CLASSI ###################### 
*/


ul.gallery{margin:0;padding:0;width:95%}

ul.gallery li{list-style-type:none;display:inline;}

ul.gallery a:link, ul.gallery a:visited, ul.ancore a:hover, ul.gallery a:active{
		text-decoration: none;
}

ul.gallery li img{
	border:2px solid #ccc;
	margin:8px 8px 5px 0;
	width:150px;
}



.b{
	font-weight:bold;}
.center{text-align: center;}
.clf{clear:left;}
.clr{clear:right;}

.empty {
	height:0px;
	padding:0;
	margin:0;
	font-size:0.1em;
	visibility:hidden;
}
.grey {color:#666;}

.h7{ 
	font-size: .9em;
	font-weight:normal; 
	margin:0 0 .4em .3em;
	padding-left: 1.1em; 
	line-height:1.0em;
	}
	
.header {
margin:0;
color:#fff;
font-size:large;
font-weight:normal;
padding:0 0 0 10px;

}
.i{	font-style:italic;}

.img_news{float:left; width:200px;margin: 5px 10px 10px 5px; border: #999 1px solid;}
.img_tur_l{float:left; width:230px;margin: 5px 10px 0px 2px; border: #999 1px solid;}
.img_tur_r{float:right; width:230px;margin: 5px 2px 0px 10px; border: #999 1px solid;}

.lang {
   color:#000;
   font-size:1em;}
   
.lista {
	margin-top:.3em;
	margin-left:.5em;
	padding-left:1em;
	background: url(/images/list-active.gif) no-repeat 0 6px;
	}


.midsmallgrey{font-size:.85em; color:#666;}
.minigall	{float:left; border:2px solid #ddd; margin:0px 4px 10px 2px; width:120px; padding:0px; }

.navigazione{
	color:#666;
	text-align:center;
	position:relative;
	width:162px;
	font-size:1.1em;
	line-height:1.2em;
	margin:5px 0 0 5px;
	padding:2px;
	}
	
.nodisplay {display:none;}
.noresults {
    font-size:1.1em;
    font-weight:bold;
    margin:5em 5em 2em 5em;
    text-align:center;
}

.norm{font-weight:normal;}	
.paginaz{     font-size:1.2em;}

.photo {
	width:200px;
	float: right; 
	margin: 5px;
	border: #ccc 1px solid; 
}
.photosx {
	 
	margin: 15px 5px 10px 5px;
	border: #999 1px solid; 
}
.red{color:#C40F05;}
.red_i{color:#C40F05; font-style:italic;}
.result {padding-left:1.2em;}

.rientro {
	margin-left:10px;
	font-size:.9em;
}

.rientro a{
	text-decoration:none;
}
.riquadro {
	background-color: #F0F0F0;
	border: #84C326 1px solid;
	padding-top: 4px;
	padding-bottom: 2px;
	padding-right: 2px;
	padding-left: 7px;
	margin-bottom: 25px;
	margin-top: 3px;
	font-size: 0.9em;
	}


.searchform{margin-left:5px;}
.searchbutt{float:left; display:block; width:59px; margin:0px; padding:1px 0px 2px 0px; background:url('/i/bg/sf_cerca.jpg'); font:.9em Arial, Verdana, Helvetica, sans-serif; text-transform:uppercase; color:#fff; border:none;}
.searchtext{width:170px;}
.sezione {
    color:#666;
    padding-left:.4em;
    margin-top:1em;
    font-weight:bold;
    }	
    
.sezioninav{
	color:#fff;
	font-size:1.1em;
	margin-top:1em;
	font-weight:bold;
	margin-bottom:.2em;
	padding-left:.2em;
	line-height:22px;
	background:#AC8C4F url(/i/bg/bg_dx.jpg) no-repeat 0 0;
	}
.skipnav{
	position: absolute;
	left: -9000px
	}
.small{
	line-height:.7em;
	margin-bottom:.2em;
	color:#666;
	font-size:.8em;
}
.titolo{
	font-weight:bold;
	color:#C40F05;
	margin-top:1.2em;
	margin-bottom: .1em;
}

.top {
    clear:left;
    margin-top:10px;
    padding-top:.4em;
    border-top:1px dotted #ccc;
    text-align:right;}
.topr {
    clear:right;
    margin-top:10px;
    padding-top:.4em;
    border-top:1px dotted #ccc;
    text-align:right;}
    
.topmargin {margin-top: .6em;}

.torna {
    clear:left;
    margin-top:1em;
    padding-top:.4em;
    border-top:1px dotted #ccc;
    text-align:center;

}



/* ELIMINA FLOAT */
.clr {
	clear:both;
	height:0px;
	overflow:hidden;
	font-size:0;
	line-height:0px;
	background:transparent;
	}
.cl {
	clear:left;
	height:0px;
	overflow:hidden;
	font-size:0;
	line-height:0px;
	background:transparent;
	}
.cr{
	clear:right;
	height:0px;
	overflow:hidden;
	font-size:0;
	line-height:0px;
	background:transparent;
	}

.clearfix:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
	}
.clearfix {
	display:inline-table;
	}
.clear {
	clear:both;
	} /* attach to tags where you need to force a break */



/* Hides from IE-mac */
* html .clearfix{
	height: 1%;
	}
.clearfix{
	display: block;
	}
/* End hide from IE-mac */  


.invisibile {
	display: none;
}


/* STILE DELLA PAGINAZIONE */
ul#pagination{
    font-size:.8em;
    margin: 1em 0;padding: 0;
    list-style: none;text-align: center}

ul#pagination li{
    display: inline;margin-right: 0.5em}

ul#pagination a{text-decoration: none;
    border: 1px solid #999;padding: 0 3px;
    background: #C40F05;color: #FFF;
    font-weight:bold;}

ul#pagination a:visited{
    background: #EEE;color: #000;
}

ul#pagination a:hover{
    background: #FFF;color: #000}

ul#pagination li#currentpage a{
    border: 0px;background: #FFF;
    color: #000;cursor: default}
