/* Generic Selectors */
body{
	margin: 0; 
   	padding: 0;
	text-align: center;

	font-family: "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 75%;

	background-color: white;
	background-image: url(/images/sfonno.png);
	background-repeat: repeat-y;
	background-position: top center;
}
#struttura{
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	width: 760px;
	padding: 0;
	padding-top: 2em;
	border: 0;
}
h1{
	font-weight: bold;
	font-size: 3em;
/*	color: #ffffff;*/
}
h2{
	font-size: 2.2em;
	line-height: 1.2em;	
}
h3{
	font-size: 1.6em;
}

a{
	color: #a00;
	font-weight: bold;
	text-decoration: none;
}

a:hover{
	color: #f00;
	text-decoration: underline;
}
	
a img{
	border: 0px;
}
site-links{
	font-size: 1.4em;
}
#contenuto h2{
	font-size: 2em;
}
#contenuto h3{
	font-size: 1.5em;
}

#header,#container,#footer{
	margin: auto;
	text-align: center;
	clear: both;
}

/* Direct Selectors */
#header{
	margin-bottom:0;
	padding-bottom: 0;
}
	#header #left-top-block a{
		color: #fff;
		font-weight: bold;
		text-decoration: none;
	}
	
		#header  #left-top-block a:hover{
			color: #ff0;
		}
		
	#search{
		margin-top: 4em;
		color: #fff;
		text-align: left;
		padding: 1em;
	}
		#search input{
			border: 1px solid #800;
		}

	#header #left-top-block ul{
		list-style-type: none;
		display: block;	
		margin: 0px;
		padding: 0px;
		text-align: left;
		padding-top: 1em;
		padding-left: 0.2em;
		line-height: 1.5em;
		padding-bottom: 1em;
	}

	#left-top-block{
 		margin:0;
 		padding:0;
		float: left;
		width: 304px;
		border-right: 1px solid #004000;
		border-bottom: 1px solid #004000;
		background-color: #c70f07;
		background-image: url('img/stemma.jpg');
		background-repeat: no-repeat;
		background-position: top left;
	}
  		div.rounded-top-left{
			background-image: url('img/border-left.jpg');
			background-repeat: no-repeat;
			background-position: top left;
			height: 7px;
  		}
    		div.top-border{
				margin:0;
				padding: 0;
				margin-left: 6px;
				background-color: #C60E07;
				border-top: 1px solid #004000;
    		}		
  		div.left-border{
  			margin:0;
			padding:0;
			margin-top: 7px;
			border-left: 1px solid #004000;
  		}	
  			div.center-contents{
				margin:0;
				padding: 0;
  			}
				div.contents{
					margin:0;
					padding:0;
				}
					.contents h1{
						padding-left: 35%;
 					}
					#site-links{
						background-color: #870f07;
						color: #fff;
					}
						#site-links ul{
							text-align: center;
							padding-bottom: 1em;
							margin-top: 0.5em;

						}
							#site-links ul li{
								display: inline;
								padding-right: 0.2em;
								
							}
								#site-links ul li:before{
									content: '[';
									font-weight: bold;
								}
								#site-links ul li:after{
									content: ']';
									font-weight: bold;
								}
					#list-of-links .label{
						font-weight: bold;
						border-bottom: 1px solid #ffe;
						color: #ffc;
					}
					
						#list-of-links ul li a{
							padding-left: 12px;
							background-image: url(img/elenco.gif);
							background-position: top left;
							background-repeat: no-repeat;
						}
						#list-of-links p{
							color : #fff;
							padding: 1em;
						}
	#right-top-block{
 		margin: 0;
 		padding: 0;
		text-align: left;
		margin-left: 304px;
		padding-top: 40px;
	}
		#right-top-block a{
			font-weight: normal;
		/*	color: #444;*/
		}
			#right-top-block a:hover{
				color: #844;
			}
  		#right-top-contents{
    		margin: 0px;
    		padding: 40px;
    		border-top: 1px solid #aaa;
    		border-right: 1px solid #aaa;
			background-image: url(img/ombra-dx.gif);
   			background-repeat: repeat-y;
  		}
			.rounded-box{
				margin:0;
				padding:0;
				text-align: center;
				background-color: #fefeed;
				margin-right: 0.3em;
				width: 49%;
				float: left;
				font-size: 0.9em;
			}
				.rounded-box span{
					height: 1px;
					overflow: hidden;
					display: block;
				}
				.xb1, .xb2, .xb3{
					font-size: 1px;
					background-color: #b70a06;
					border: 0;
					height: 1px;
				}
				.xb1{
					margin: 0 4px;
				}
				.xb2{
					margin: 0 2px;
				}
				.xb3{
					margin: 0 1px;
				}
				.bg-box{
					background-color: #b70a06;
					padding-left: 2px;
					padding-right: 2px;
				}
					.box-contents{
						text-align: left;
						background-color: #ffe;
					}
					.box-contents h2{
						padding: 0;
						margin: 0;
						color: #FEFEED;
						background-color: #B70A06;
						font-family: Arial, Helvetica, sans-serif;
						font-style: normal;
						font-size: 1.6em;
						padding: 0;
					}
					.box-contents p{
						color: #5C2623;
						font-size: 1.2em;
						font-variant: small-caps;
						padding-left: 5px;
						padding-right: 3px;
					}
					.internal{
						background-color: #b70a06;
						height: 3px;
						overflow: hidden;
 						margin: 0px;
					}
					.internal .xb3, .internal .xb2, .internal .xb1{
						background-color: #ffe;
					}
#container{
	text-align: left;
	border-left: 1px solid #aaa;
	border-right: 1px solid #aaa;
	margin-left: 40px;
	padding: 5% 3%;
	clear: both;
	background-image: url('img/ombra-bottom.gif');
 	background-position: top left;
 	background-repeat: no-repeat;
	line-height: 200%;
}
	#container h3{
		font-size: 1.2em;
	}
 #ultime-notizie{
	float: left;
	text-align: left;
  }
 #calendar{
	float: left;
	margin-left: 5%;
 }
	#ultime-notizie h3{
		color: #C60E07;
	}
	#ultime-notizie ul{
		list-style-image: url('img/trattino.jpg');	
	} 
		#ultime-notizie ul li{
			color: #c60e07;
			line-height: 1.6em;
			vertical-align: middle;
		}
			#ultime-notizie ul li a{
				color: #c60e07;
				font-size: 1.2em;
			}


#footer{
 	border-left: 1px solid #aaa;
	border-right: 1px solid #aaa;
 	margin-left: 40px;
	text-align: center;
	color: #c60e07;
	padding-top: 10%;
	padding-bottom: 15%;
	padding-left: 15px;
	clear: both;
}
	#indirizzo, #contatti, #footer-links{
		text-align: left;
		float: left;
		width: 30%
	}

	#indirizzo p, #contatti p{
		font-size: 1.1em;
		line-height: 1.6em;
		vertical-align: middle;
		margin-left: 4%;
		margin-right: 20%;
	}
	#contatti a{
		color: #c60e07;		
	}
	#footer-links ul{
		list-style-type: none;
	}
		#footer-links ul li{
			line-height: 1.6em;
			vertical-align: middle;
		}
		#footer-links ul li a{
			color: #c60e07;
			font-size: 1.1em;
		}
#fondo{
	background: url('img/bordo-basso.gif') no-repeat center top;
	height: 18px;
	clear: both;
}
.clear{	clear: both; }

.fleft{	float: left; }
.cleft{ clear: left; }

.fright{ float: right; }
.cright{ clear: right; }

.half{
	width: 49%;
}


#upper-nav{
	background-color: #a00;
	padding: 0px;
	margin: 0px;
	color: #fff;
	font-weight: bold;
	text-align: left;
	list-style: none;
	list-style-type: none;
	width: 100%;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #ccc;
	padding-left: 1em;
	position: fixed;
	top: 0px;
	left: 0px;
}

	#upper-nav li{
		display: inline;
		padding-right: 1em;
	}
	
		#upper-nav li .breadcrumb-separator{
			background-image: url(img/elenco.gif);
			background-position: top left;
			background-repeat: no-repeat;
			padding-right: 10px;
			text-align: left;
			text-align: left;
		}
	
		#upper-nav a{
			color: #ff0;
		}
		
		#upper-nav a:before{
			content: '[';
		}
		
		#upper-nav a:after{
			content: ']';
		}

/* Paginazione */
	.paginazione{
		text-align: center;
		display: block;
		list-style: none;
		list-style-type: none;
		margin: 0px;
		padding: 0px;
		border-top: 1px solid #eee;
	}
	
		.paginazione li{
			display: inline;
			border: 1px solid #ddd;
			padding: 0.2em;
			float: left;
			width: 2em;
			margin: 0.25em;
		}
		
			.paginazione li:hover{
				display: inline;
				border: 1px solid #ccc;
				padding: 0.2em;
			}
			.paginazione li a{
				padding: 0.3em;
				
			}

#footer-links ul{
	padding-left: 2em;
}

	#footer-links ul li{
		list-style: disc;
	}
		#footer-links ul li#windowedLinks{
			list-style: none;
			margin-bottom: 0.5em;
		}
			#footer-links ul li#windowedLinks a{
				color: #040;
				
				
			}

label{
	display: block;
	font-weight: bold;
}
