@media screen {
body { 
	font-family:arial,sans-serif;
	margin:0;
	line-height:120%;
	font-size:100%;
	padding:0;
	background: url(images/sfondo_blu.jpg) 0 10px repeat-x
}
#frame {
	width:100%;
	margin-top:10px;
	text-align:left;
	clear:both;
	background: url(images/sfondo_blu.jpg) top right no-repeat
	}
#pie {
	margin:1em auto;
	clear:both;width:100%;
	text-align:center;
	border-top:4px solid #B8B8B8
	}
#pie p {
	padding:0 1em;
	font-size:80%;
}
#testa {
	padding:0;
	height:auto !important;
	height:100px;
}
#testa a img {border:0}
#sin { 
	float:left; 
	width:22.9%;
	margin:0;
	padding:0; 
	background:white;
}
#cen {  
	width:54%; 
	float:left;
	padding: 0;
	margin:25px 0 0 0 ;
}
#ricerca {margin-bottom:31px}
#ricerca form, #ricerca fieldset {
	margin:0;
	padding:0 0.5em;
	border:0 solid black}
#ricerca label {font-size:80%}
#des { 
	width:23%;
	margin:100px 0 0 0;
	padding: 0; 
	float:left;
	background:white;
}
#sin .menu {
	background:white;
	margin: 0 0 0 0.5em;
	padding:0 0 380px 0;
	border-right:1px solid #89AFFF;
	border-bottom:1px solid green;
	background:url(images/foto_sx.jpg) bottom right no-repeat
}
#des .menu {
	background:white;
	margin: 0 0.5em 0 0;
	border-left:1px solid #89AFFF
}
#sin .menu ul, #des .menu ul {
	margin:0 0 1em 0;
	padding:0;
	list-style-type:none;

	
}
#sin .menu ul li a, #des .menu ul li a {
	border-bottom: 1px dotted #89AFFF;
	display:block;
	text-decoration:none;
	height:auto !important;
	height:1.3em;
	padding-left:1em;
	background:white;
	font-size:80%;
	color:black}
#sin .menu ul li a:hover, #des .menu ul li a:hover {
	color:gray
}
#sin .menu h1, #des .menu h1 {
	text-transform:uppercase;
	padding:0.1em;
	margin:0;
	font-size:80%
}
#sin .menu h1.giallo {
	background:#9E6700;
	color:white;
}
#sin .menu h1.rosso {
	background:#861717;
	color:white;
}
#sin .menu h1.verde {
	background:#0D7300;
	color:white;
}
#des .menu h1.blu, #sin .menu h1.blu {
	background:#002384;
	color:white;
}
input.testo {
	background:#89AFFF;border:0 solid
}
#foto_home {
	padding: 0 10%; 
	background:url(upload/foto_home.jpg) bottom center no-repeat;
	height:240px;
	border:1px solid white
}
#cen h1 {
	background: #B8B8B8 url(images/angolino.gif) top right no-repeat;
	font-size:90%;
	margin:1em 50% 0.5em 0;
	padding: 0 1em
}
#cen ul {margin:0 0 1em 1em;list-style-type:square}
#cen a img.immagine {border:0}
#cen h2.dettaglio, #cen h2 {color:black;margin:1em 0 0.5em 0;padding:0 0.5em;font-size:80%}
#cen hr {clear:both;height:1px;border:0;color:gray}
#cen img.foto_news {margin-left:0.5em;border:0 solid #6699FF;}
#cen p.altre_notizie {text-align:right}
#cen .testo_completo {display:none}
.center {text-align:center}
.right {text-align:right}
.left {text-align:left}
#testo h1 {margin-bottom:1em}
#cen p, #cen li {font-size:80%;margin:0.5em 0.5em}
#news {border-top:5px solid #B8B8B8;margin:1px}
#testo {margin:1px}
#news h2, #testo h2 {font-size:90%;margin:0 1em}
#testo h2.comune {background:#861717;color:white;margin:0;padding:0 1em}
#testo hr.comune {height:1px;border:1px solid #861717;border-collapse:collapse;clear:both}
#testo h2.servizi {background:#9E6700;color:white;margin:0 1em;padding:0 1em;}
#testo hr.servizi {height:1px;border:1px solid #9E6700;border-collapse:collapse}
#testo h3 {font-size:80%;font-style:italic;margin:0 1em}
#news p {margin:0.5em 1em}
#testo p {margin:0.5em 1em 0.5em 2.4em}
#news p.archivio {text-align:right}
p.archivio {text-align:right}
#news p a img, #testo p a img {border:0}
#news p a, #testo p a, #testo ul a {text-decoration:none;color:black;cursor:pointer}
#news hr {border:0 solid green;height:1px;background: green}
a img {border:0}
#testo h2 a {text-decoration:none;color:black}
#testo h2.servizi a {text-decoration:none;color:white;cursor:pointer}
#testo p a, #testo ul a {color:#002384}
#testo p a:hover, #testo ul a:hover {color:#0D7300}
#testo ul {margin: 0.3em 2em}
#cen ul li ul {margin-left:0}
#cen ul li ul li {font-size:100%}
#pane p{font-size:80%;color:green;margin:0;padding:0 0.5em}
#testo h2 a {cursor:pointer}
#testo h2.porta {background:#FDE42A;color:black;margin:0;padding: 0 1em}
#testo h2.cassonetti {background:#FF0000;color:white;margin:0;padding: 0 1em}
#testo h2.cassonetti a, #testo h2.ecocentro a{color:white}
#testo h2.ecocentro {background:#1F9600;color:black;margin:0;padding: 0 1em}
#testo hr {border:0 solid #CCDAFF;height:1px;background: #CCDAFF;margin: 1em}
p.errore {color:red}
img.foto_news {float:left;margin-right:0.5em}
h2, h1, p.archivio {clear:left}
#porta {background:#EDEDCD;color:black}
#cassonetti {background:#F9EAF9;color:black}
#ecocentro {background:#CDEDCD;color:black}
#porta p, #cassonetti p, #ecocentro p {margin:0 2.4em}
img.giunta {float:left;margin-right:0.5em}
#inner {background:#F7F7F7;padding:1em 0}
#testo h1.inner {margin-bottom:0}
#foto {text-align:center}
#foto a img {border:1px solid #89AFFF}
a {color:#002384;text-decoration:none}
a:hover {color:#0D7300;text-decoration:underline}
label.otto {width:100px;float:left}
label.sedici {width:170px;float:left}
legend {font-variant:small-caps;font-size:80%}
fieldset {border:1px solid gray;margin:0.5em;padding:0.5em}
#cen .galleria_item {float:left;width:auto !important;width:184px;height:auto !important;height:200px;text-align:center;margin:1em}
table.forum {padding:0;margin:0;width:90%;margin:auto;border-collapse:collapse;font-size:80%}
table.forum td, table.forum th {border:1px solid gray;padding:0.1em 0.3em}
table.forum th {background:#CCDAFF}
table.dett_forum {width:100%;border:0 solid black}
table.dett_forum td.albero {width:40%;border-right:1px solid #3399FF}
table.dett_forum td.dettaglio {width:60%;padding-left:1em}
table.dett_forum td.dettaglio p.autore, table.dett_forum td.dettaglio p.data  {text-align:right}
table.dett_forum td {vertical-align:top}
table.dett_forum td p {padding:0.3em}
table.dett_forum td h2 {padding:0.3em;text-transform:uppercase}
table.albo {border:0.05em solid #CCDAFF;border-collapse:collapse;font-size:80%;margin:1em}
table.albo th {border:0.05em solid #fff;background:#CCDAFF;text-align:left;padding:0.3em}
table.albo td {border:0.05em solid #CCDAFF;padding:0.3em}
table.albo td a {text-decoration:none; color:#13498F}
#testo h3.risultati span.pertinenza {width:100px;height:10px;display:block;float:left;overflow:hidden;background:red;margin-right:10px;margin-top:5px}
#testo h3.risultati span.pertinenza span.cursore {height:20px;display:block;float:left;background:green}
#testo span.url {color:green;font-size:0.9em}
#testo p.anteprimatesto strong {background:yellow}
}
@media print {
#sin, #des, #testa  {
	display:none
	}
body a {
	text-decoration:none;color:black}
}

@media handheld {
body {margin:0;padding:0;font-size:60%;font-family:arial;}
}
