@charset utf-8;

@import "../fonts/ubuntu/stylesheet.css";


html {
width:100%;
height:100%;
}

body {
width:100%;
height:100%;
color: #646567;
font-family: 'UbuntuRegular', Arial, sans-serif; 
font-size: 13px;
font-weight: 200;
line-height: 160%;
-webkit-font-smoothing:antialiased;
/* Fix for webkit rendering */
-webkit-text-size-adjust:100%;
/* background: #c9c9c9; */
background: #c9c9c9 url(../images/bg.png) repeat-x 0 0;
}



/* #Typography
================================================== */
h1,h2,h3,h4,h5,h6 {
font-family: 'UbuntuMedium', Arial, sans-serif;
font-weight:200;
}

h1 {
font-size:26px;
line-height:26px;
margin-bottom:22px;
}

h1.home { display: none !important}

h2 {
font-size:21px;
line-height:21px;
margin-bottom:23px;
}

h3 {
font-size:18px;
line-height:28px;
margin-bottom:15px;
}

h4 {
font-size:20px;
line-height:30px;
margin-bottom:4px;
}

h5 {
font-size:17px;
line-height:24px;
}

h6 {
font-size:14px;
line-height:21px;
}

p {
margin:0 0 20px;
padding:0;
}

a {
text-decoration:none;
color: #1f4f82;
}
a:hover {
color: #333;
}

b, strong { }

li {list-style-type: none; background: none; }

.cleardiv { clear: both; }

#wrapper {
width: 100% !important; 
min-height:100%;
position:relative;
background: transparent url(../images/bg-center.png) repeat-y center top;
}

#topshadow { width: 1010px; margin: 0 auto; height: 32px; background: transparent url(../images/bg-top.png) no-repeat center top; }


#center { width: 990px; margin: 0 auto; overflow: hidden; }



#header { width: 990px; height: 185px; margin: 0 auto; position: relative;}
	#header #logo { float:left; margin: 6px 0 0 22px ;}
		#header #logo span {display: none}
	#header p.indirizzo { position: absolute; top: 65px; right: 22px; width: 490px; font-size: 11px; line-height: 13px; color: #8a8a8a; text-align: right; }



#slideshow-carousel li:hover .titolo {	
	color: #1F4F82 !important; 
}


/* COLONNA LATERALE */

#aside { float: right; width:288px; overflow: hidden; margin-right: 16px; }

#aside section { float: left; width:288px; margin-bottom: 13px; padding-bottom: 8px; border-bottom:1px solid #d4d4d4; background: transparent url(../images/bg-sidediv.png) repeat-x 0 0; }
	#aside section h2 { color: #666; font-size: 16px; margin: 7px 0 5px 12px; display: block; }


#aside .search { height: 57px; background: transparent url(../images/bg-search.png) no-repeat 0 0; padding: 0; }
	#aside .search h2 { display: none }
	#aside .search form { float: left; margin: 0; width: 288px; height: 57px; background: transparent; position: relative; }
		#aside .search form label { display: none}
		#aside .search form input { position: absolute; top: 15px; left: 17px;  border: none; width: 210px; height: 22px; font-size: 13px; color: #9c9e9f; background: transparent; }
		#aside .search form button { float: right !important; width: 38px !important; height: 34px !important; display: block; background: transparent; border: none; cursor: pointer; margin: 13px 13px 0 0;}
			#aside .search form button span { display: none}
			
#aside .settori { padding-bottom: 0;padding-top: 12px; }
	#aside .settori h2 { font-size: 17px; }
	#aside .settori ul { float: left; margin: 0 0 7px 17px; padding: 0; }
		#aside .settori ul li { float: left; margin: 0 0 6px 0; padding: 0; padding-left: 14px; width: 254px; border-bottom:1px solid #e5e5e5; line-height: 24px; background: transparent url(../images/li2.png) no-repeat 0px 9px;}				#aside .settori ul li:hover { background: transparent url(../images/li2.png) no-repeat 0px -15px; padding-left: 16px; }
		
		#aside .settori ul li.riservata { background: transparent url(../images/icon-riservata.png) no-repeat 0px 7px; }
		

#aside .banner-poll { padding: 0; }
		
		
			#aside .settori ul li:last-child { border: none}
			#aside .settori ul li a { font-family: 'UbuntuMedium', Arial, sans-serif; font-size: 15px; }
				#aside .settori ul li a:hover { color: #666 }
					


#aside .certificati { padding-bottom: 0; background: #f6f6f6 url(../images/bg-certificati.png) repeat-x 0 0; }
	#aside .certificati h2 { display: none }
	#aside .certificati ul { float: left; margin: 1px 0 0 0 ; padding: 0; }
		#aside .certificati ul li { float: left; margin: 2px 0 2px 8px; padding: 12px 0 0 0; width: 271px; border-bottom:1px solid #e5e5e5; height: 50px;  line-height: 18px; background: transparent }	
			#aside .certificati ul li.malattia { background: transparent url(../images/icon-certif-malattia.png) no-repeat 10px 2px;}
			#aside .certificati ul li.invalidita { background: transparent url(../images/icon-certif-invalidita.png) no-repeat 10px 2px;}
			#aside .certificati ul li.edotto { background: transparent url(../images/edottomarchio.jpg) no-repeat 10px 2px;}
				
			#aside .certificati ul li.inail { background: transparent url(../images/icon-inail.png) no-repeat 10px 2px;}

			#aside .certificati ul li.newslettericon { background: transparent url(../images/icon-newsletter.png ) no-repeat 10px 2px;}
		
			
			#aside .certificati ul li:last-child { border: none}
			#aside .certificati ul li a { display: block; font-family: 'UbuntuMedium', Arial, sans-serif; font-size: 17px; color: #666; padding-left: 78px}
				#aside .certificati ul li a span { color: #1f4f82; }
						
#aside .elenco { }		/* generico */
	#aside .elenco ul { padding: 0; margin: 0 0 0 12px; }
		#aside .elenco ul li { float: left; background: transparent; padding:2px 0; margin: 0 8px 4px 0; border-bottom:1px solid #e5e5e5; line-height: 16px; background: none; }		
			#aside .elenco ul li a { font-size: 12px; }
	
	
		#aside .elenco.nofloat ul li { float: none; display: block; }	

#aside .partner { padding-bottom: 12px;}		
	#aside .partner ul { float: left;  padding: 0; margin: 0; width: 125px; height: 125px; }
		#aside .partner ul li { float: left; width: 125px; height: 125px; overflow: hidden;  padding: 0; margin: 0 0 12px 12px; background: none; }

#banner, #banner2 {
	position: relative;
	width: 125px;
	height: 125px;
	overflow: hidden;
	border: 1px solid #ccc;
	float: left; 
	margin-left: 13px !important;
}
#banner2 { margin-left: 10px !important; }
#banner img, #banner2 img {
	position: absolute;
	left: 0;
	top: 0;
	width: 125px;
	height: 125px;
}
#pause1, #pause2 {
	z-index:100;
}




/* BLOCCO CENTRALE */

#container { float: left; width: 655px; overflow: hidden; margin-left: 16px; }
	#container .main { width: 615px; overflow: hidden; background: #fff; padding: 20px; border-bottom:1px solid #d4d4d4; }
		#container .main h1 { color: #1F4F82; }
		#container .main ul { margin: 10px; }
			#container .main ul li { padding: 0 0 0 14px; margin: 0 0 5px 0; background: transparent url(../images/li2.png) no-repeat 0 9px;}		
			#container .main hr { float: left; display: block; background: none; border: none; border-top:1px dotted #a0a0a0; height: 1px; width:621px; margin: 10px 0 10px 16px; overflow: hidden; }
			#container .main a { color: #1F4F82; text-decoration: underline; }			
			#container .main ol { margin: 10px;  counter-reset: item }
			#container .main ol li { padding: 0 0 0 15px; margin: 0 0 5px 15px; list-style-type: decimal; display: block; color: #333; }
			#container .main ol li:before { content: counter(item) ". "; counter-increment: item; font-weight: bold; color: #1F4F82; font-size: 16px; padding: 0 !important; margin-left: -18px !important; }



			
/* home */
	#container .main.home { width: 100%; overflow: hidden; background: transparent url(../images/bg-blocco-home.png) repeat-x 0 0; border: none; padding: 0; }
		#container .main.home h1 { }
		#container .main.home h2 { height: 39px; font-size: 18px; padding: 0 0 0 12px; margin: 0;  line-height: 35px; color: #555; }
		#container .main.home ul li { background: none; }
		#container .main.home a { text-decoration: none; }
		
/* news secondo livello */	
		#container .main.home ul.secondo-livello { float: left ; margin: 10px 0 0px 15px; padding: 0; width: 102%; overflow: hidden; }
			#container .main.home ul.secondo-livello li { margin: 0px 18px 0px 0; padding: 0; float: left; width: 312px; height: 305px; overflow: hidden; border-right:1px dotted #d4d4d4;}
				#container .main.home ul.secondo-livello li img.foto { float: left; width: 285px; height: 170px; padding: 3px; background: #fff; border:1px solid #d4d4d4;}
				#container .main.home ul.secondo-livello li .titolo { float: left; display: block; margin: 5px 0 0 0; width: 294px; height: 31px; font-family: 'UbuntuMedium', Arial, sans-serif;
	font-weight:200; font-size: 14px; line-height: 15px; background: #f5f5f5; overflow: hidden; }
				#container .main.home ul.secondo-livello li .data { float: left; display: block; margin: 0; width: 110px; height:20px; font-size: 11px; line-height: 16px; color: #888888; overflow: hidden; padding-left: 18px; background:  url(../images/icon-data.png) no-repeat 0 0; }
				#container .main.home ul.secondo-livello li .categorie { float: right; display: block; margin: 0 20px 0 0;  width: 161px; height:20px; overflow: hidden;text-align: right; }
					#container .main.home ul.secondo-livello li .categorie img { margin-left: 4px;}
				#container .main.home ul.secondo-livello li .testo { float: left; display: block;  width: 292px; height:50px; overflow: hidden;  line-height: 15px;}
					#container .main.home ul.secondo-livello li .titolo:hover { text-decoration: none; color: #222; }
					

					
/* vticker */									
.vticker{
	border: 0px solid red;
}
.vticker ul{
	padding: 0;
}
.vticker li{
	list-style: none;
	width: 100%;
}
#container .main.home .vticker { float: left; width: 48%; margin-top:8px; padding-left: 10px; }			
#container .main.home .vticker ul.secondo-livello { width: 100%; }
#container .main.home .vticker ul.secondo-livello li { margin: 0; }

#container .main.home .vticker.destra { float: right !important; padding: 0; }
#container .main.home .vticker.destra ul.secondo-livello li { margin: 0; padding: 0; float: right; width: 100%; border-right:0px dotted #d4d4d4;}
		
					
									
					
					
	
/* news terzo livello */	
		#container .main.home h2.terzo-livello { float: left;  width: 382px; height: 30px; font-size: 17px; padding-left: 15px; }
		#container .main .terzo-livello { float: left; width: 422px; overflow: hidden; }
		#container .main.home ul.terzo-livello { float: left ; margin: 14px 0 0px -1px; padding: 0; width: 423px; overflow: hidden; }			
			#container .main.home ul.terzo-livello li { float: left;  margin: 0 0 1px 0; padding: 0 16px 7px 16px; width: 178px;  border-left:1px dotted #cbcbcb; line-height: 13px !important; font-size: 12px}
			#container .main.home ul.terzo-livello li .data { float: left; display: block; margin: 0; width: 100%; height:20px; font-size: 11px; line-height: 16px; color: #888888; overflow: hidden; padding-left: 18px; background:  url(../images/icon-data.png) no-repeat 0 0; }
			#container .main.home ul.terzo-livello li .titolo { float: left; display: block; width: 100%; overflow: hidden; height: 40px; }
			#container .main.home ul.terzo-livello li .categorie { float: left; display: block; margin-top: 3px; width: 100%; height:16px; overflow: hidden; }
				#container .main.home ul.terzo-livello li .categorie a { display: block; float: left; width: 16px; height: 16px; margin-right: 4px; background: transparent url(../images/icons-sezioni2.png) no-repeat 0px 0px; 	filter:alpha(opacity=40); 	-moz-opacity:0.4; 	-khtml-opacity: 0.4; 	opacity: 0.4; }
					#container .main.home ul.terzo-livello li .categorie a:hover { filter:alpha(opacity=100); 	-moz-opacity:1; 	-khtml-opacity: 1; 	opacity: 1; }
						#container .main.home ul.terzo-livello li .titolo a:hover { text-decoration: none; color: #111; }
					
/* rassegna stampa */
		#container .main.home .rassegna { float: right; padding: 2px 15px 10px 16px; margin: 0 /* -30px  */12px 10px 0; width: 189px; overflow: hidden; background: #b3b3b3; }
			#container .main.home .rassegna h2 { color: #fff; font-size: 17px; padding-left: 0;}
				#container .main.home .rassegna ul { float: left; margin: 5px 0 0 0; padding: 0; }
					#container .main.home .rassegna ul li { float: left; margin: 0; padding: 0; line-height: 13px !important; font-size: 12px; background: none; }
					#container .main.home .rassegna ul li .titolo { float: left; display: block; width: 100%; overflow: hidden; height: 40px; margin-bottom: 15px; }
						#container .main.home .rassegna ul li a { color: #fff; text-decoration: none; }
							#container .main.home .rassegna ul li a:hover { color: #444; }
					#container .main.home .rassegna ul li .data { float: left; display: block; margin: 0; width: 100%; height:20px; font-size: 11px; line-height: 16px; color: #6b6b6b; overflow: hidden; padding-left: 18px; background:  url(../images/icon-data2.png) no-repeat 0 0; }


#container .main .terzo-livello a.archivio { float: right; font-size: 10px; line-height: 14px; color: #888; background: #ddd; padding: 1px 6px; display: block; height: 14px; margin: -8px 16px 0 0;}
#container .main .rassegna a.archivio { float: right; font-size: 10px; line-height: 14px; color: #888; background: #ccc; padding: 1px 6px; display: block; height: 14px; }
	#container .main .terzo-livello a.archivio:hover ,
	#container .main .rassegna a.archivio:hover { color: #fff; text-decoration: none;}



#container .main p.data { float: left; color: #999; font-style: italic }
/* add this*/	
.addthis_toolbox { float: right; width: 145px !important; white-space: nowrap !important; }	
/*
	.addthis_toolbox a.addthis_bubble_style { display: inline !important; float: right !important; margin-left: 16px !important; margin-top: -16px !important;  }

*/



#container .correlati { margin-top: 30px; }
	#container .correlati h3 { margin: 0 0 8px 0; }
	#container .correlati ul { margin:0px; padding: 0;}
		#container .correlati ul li { margin:0px; padding: 6px 0; border-bottom:1px dotted #ddd; line-height: 12px !important; background: none;  }
			#container .correlati ul li a { font-size: 13px; font-weight: 600; }
			#container .correlati ul li .data { color: #999; font-size: 11px;}
			#container .correlati ul li .excerpt { color: #444; font-size: 11px; }
		
		
#container .allegati { margin-top: 30px; }
	#container .allegati h3 { margin: 0 0 8px 0; }
		#container .allegati ul { margin:0px; padding: 0;}
			#container .allegati ul li { margin:0px; padding: 9px 0 9px 28px; border-bottom:1px dotted #ddd; line-height: 13px !important; background: none;  }
				#container .allegati ul li a.titolo { display: block; width: 530px !important; overflow: hidden; text-decoration: none;  }
					#container .allegati ul li a.titolo:hover { text-decoration: underline; }
				#container .allegati ul li a.scarica {  float: right; margin-top: -15px !important; color: #e56d00; }
					#container .allegati ul li a.scarica:hover { color: #333;}
				#container .allegati ul li.pdf { background: transparent url(../images/file-pdf.png) no-repeat 2px 4px;}
				#container .allegati ul li.doc { background: transparent url(../images/file-doc.png) no-repeat 2px 4px;}





#container .elencoarticoli { margin-top: 0px; }
	#container .elencoarticoli h1 { color: #666; }
	#container .elencoarticoli ul { margin:0; padding: 0;}
		#container .elencoarticoli ul li { margin:0; padding: 7px 0; border-bottom:1px dotted #ddd; line-height: 12px !important; background: none; width: 100%; overflow: hidden; }
			
			#container .elencoarticoli ul li .thumb { float: left; border:1px solid #ccc; width: 48px; height: 48px; }
				#container .elencoarticoli ul li .thumb img { float: left; padding: 2px 0 0  2px; width: 44px; height: 44px;}
			#container .elencoarticoli ul li .articolo { float: right; width:  554px; overflow: hidden; }
			
			#container .elencoarticoli ul li a { display: block; font-size: 13px; font-weight: 600; }
				#container .elencoarticoli ul li a:hover { color: #e57001;}
			#container .elencoarticoli ul li .data { display: block; color: #999; font-size: 11px; line-height: 14px; padding-top: 3px; }
			#container .elencoarticoli ul li .excerpt { color: #444; font-size: 13px; line-height: 15px; }



/* form ricerca articoli  Rassegna stampa */
.main form.ricerca { float: left; width: 602px; overflow: hidden; border:0px solid #efefef; background: #efefef;  padding: 6px 8px; margin-bottom: 20px; clear: both;}
	.main form.ricerca input { float: left; height: 20px; border:1px solid #ddd; background: #fff; width: 340px; padding: 2px 7px; margin-right: 4px; font-size: 13px; color: #666 !important; -webkit-border-radius:3px; -moz-border-radius:3px; border-radius:3px; }
			.main form.ricerca input.data { width: 68px; font-size: 11px; }
	.main form.ricerca label { display: none !important }
	.main form.ricerca button { float: right; }

.button { -webkit-border-radius:3px; -moz-border-radius:3px; border-radius:3px; }

button {
    display: inline-block;
    vertical-align: baseline;
    margin: 0 ;
    outline: none;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
	font-size: 13px;
	line-height: 13px;
    padding: .35em 1em .35em 1em;   
    padding: 6px 8px;  
	background: #1F4F82; 
	color: #fff; 
	cursor: pointer;
    -webkit-appearance: none; /*property prevents Mobile Safari from using its own button style. */
}


button:hover { background: #133b65 !important; }
	
/* datepicker */
.ui-datepicker { width: auto !important; max-width: 16em !important;  padding: 3px 3px 0px 3px !important; }
.ui-datepicker td span, 
.ui-datepicker td a { padding: 0 3px !important; }
.ui-state-default, 
.ui-widget-content .ui-state-default, 
.ui-widget-header .ui-state-default { color: #1F4F82 !important; }









/* elenco articoli Rassegna stampa */
ul.articoli { clear: both; }



/* allineamento foto */
.alignleft { float: left; margin: 5px 24px 10px 0; padding: 3px; background: #fff; border:1px solid #D4D4D4; }
.alignright { float: right; margin: 5px 0 10px 24px; padding: 3px; background: #fff; border:1px solid #D4D4D4;}
.aligncenter { float: none; display: block; margin: 0 auto 20px auto; }



/* popup privacy */
.privacy h1 { padding: 20px 0 0 20px; margin: 0; }
.privacy div { padding: 20px;}
.privacy ul { padding: 20px;}
.privacy ul li { padding: 0; list-style-type:disc; background: none; }




/* footer */
#footer { width: 1010px; margin: 0 auto; padding-top: 24px; height: 190px;  background: transparent url(../images/bg-bottom.png) no-repeat bottom center; }

	#footer .uno ,
	#footer .due { width: 960px; margin: 0 auto; text-align: center; height: 37px;  font-size: 12px; color: #888888; background: transparent url(../images/bg-footer.png) repeat-x 0 0; }
		#footer .uno span ,
		#footer .due span { display: block; padding-top: 8px; }
	
	#footer a.credits img { vertical-align: top; margin-top: -1px; float: right; margin-right: 10px; }
	#footer a.rss img { vertical-align: middle; margin: -4px 6px 0 6px; }
	
	
	

	


/* placeholder */
::-webkit-input-placeholder { color: #fff !important;  }
:-moz-placeholder { color: #fff !important;  }
:-ms-input-placeholder { color: #fff !important;  }

:focus::-webkit-input-placeholder { color:transparent !important;}
:focus:-moz-placeholder { color:transparent !important;}
:focus:-ms-input-placeholder  { color:transparent !important;}



/* elimino il bordo rosso in FF */
input[type="email"], 
input[required] { box-shadow: none; }



/* FORM GENERICO COLONNA CENTRALE */
.main form { margin: 20px 0 20px 0; padding: 0 2px; border: none; }
.main fieldset { margin: 0 0 20px 0; padding: 0 2px; border: none; }
.main form ul, .main form li { list-style: none; margin: 0 !important; padding: 0 !important; float: left; width: 100%; }
.main form li { margin: 3px 0 !important; display: block; background: transparent; background-image: none !important; list-style: none; padding: 0 !important; }
.main form legend { padding:10px 0 14px 0;  color: #1767AC; }
.main form ul li.text { padding-top: 25px; }
.main form ul li.half {width: 47% !important; margin-right: 30px !important; }
.main form ul li.third {width: 30% !important; margin-right: 26px !important; }
.main form ul li.half.right ,
.main form ul li.third.right {margin-right: 0 !important; float: right;}
.main input, 
.main select ,
.main textarea { -webkit-border-radius: 3px; -moz-border-radius: 3px;  border-radius: 3px; border: 1px solid #dedede; background: #fff; color: #004C73;  display: block; font-size: 13px;   }
  
.main input, 
.main textarea {
	box-shadow: rgba(0,0,0,.1) 0px 0px 1px 1px inset; /* border: 1px solid #a1a1a1; border-left: 1px solid #c4c4c4; border-bottom: 1px solid #dedede; border-right: 1px solid #dedede;  */background: #fbfbfb; border:1px solid #999;}
	 
.main input.required, 
.main textarea.required {
	box-shadow: rgba(0,0,0,.1) 0px 0px 1px 1px inset; /* border: 1px solid #a1a1a1; border-left: 1px solid #c4c4c4; border-bottom: 1px solid #dedede; border-right: 1px solid #dedede;  */background: #fbfbfb; border:1px solid #004C73;}

/*STACK OVERFLOW solution for 100% px width fluid inputs*/
.main input, 
.main select ,
.main textarea { display:block; padding:3px 5px; width:100%; box-sizing: border-box; /* css3 rec */-moz-box-sizing: border-box; /* ff2 */ -ms-box-sizing: border-box; /* ie8 */ -webkit-box-sizing: border-box; /* safari3 */ -khtml-box-sizing: border-box; /* konqueror */ height: 26px; }
.main input:hover,
.main input:focus,
.main select:hover,
.main select:focus,
.main textarea:hover,
.main textarea:focus { color: #004C73; }
.main textarea { height: 120px; padding:5px 5px;   overflow: auto; resize: vertical; }
.main textarea.short { height: 60px; }
.main form a { /* color: #000;  */}

.main input:hover,
.main select:hover,
.main textarea:hover { border:1px solid #e57001;}

.main form ul li.checkbox input ,
.main form ul li.privacy input ,
.main form ul li input[type="checkbox"] ,
.main form ul li input[type="radio"] { width: 13px; height: 13px; float: left; vertical-align: bottom; left: 0; border: none; padding: 0; margin: 4px 8px 0 0; }
.main form ul li.spacer { display: block; background: transparent; height: 20px;}
.main form ul li.subinput { height: 20px !important; padding: 0 !important; margin: 0  !important; } /* input figlio di checkbox*/
.main form ul li.trattini {  background: transparent url(../images/trattini.png) no-repeat 100% 9px ; } /* trattini orizzontali per input figlio di checkbox*/

.main form ul li.buttonhold { margin-top: 20px !important; }


.main form li.note {  padding-top: 35px !important; font-size: 13px; color: #999;}
		
.main form ul li ul { margin: 5px 0 0 15px; padding: 0 0 0 10px; border-left: 1px dotted #313131 !important; width: 110px !important; } /* gruppo di checkbox figli di altro checkbox*/

.main form ul li.tipologia { border-left: 1px solid #fff !important; margin-left: -11px !important; padding-left: 10px !important; padding-bottom: 5px !important;   font-weight: bold;}

.main form ul li ul li { margin: 0; padding: 0;  }



.main .error { 
			display: block;
			padding:18px;
 			margin:10px 0 30px 0;
 			background: #b40404;
 			color: #fff;
 			text-align: center;
    		text-transform: uppercase;
    		 -webkit-border-radius: 5px;
    		-moz-border-radius: 5px;
   			 border-radius: 5px;    		
    		}
.main .error p { margin: 0; padding: 0;}



.main form ul li  span.error { padding: 0; margin: 0; display: inline; background: transparent; text-transform: none; text-align: left; color: #b40404; }



/*  gruppo di checkbox figli di altro checkbox  MA SENZA TRATTINI*/
.main form ul li ul.orizzontali { margin: 5px 0 0 1px; padding: 0 ; border-left: none !important; width: 100% !important; } 
.main form ul li ul.orizzontali li{ float: left; width: auto !important; margin-right: 20px;} 

.main form  #firstname { visibility: hidden; display: none; height: 0; }

.main form ul li.privacy { border-top: 1px dotted #fff !important; margin-top: 15px !important; padding-top: 8px; margin-bottom: 15px;}
.main form ul li.privacy .checker { width: 22px !important; margin: 0 !important; padding: 0 !important; }


.main form input::-webkit-input-placeholder { color: #c8c8c8 !important; }
.main form input:-moz-placeholder { color:  #c8c8c8 !important; }
.main form input:-ms-input-placeholder { color:  #c8c8c8 !important ; }

.main form ul li input:optional ,
.main form ul li textarea:optional {background: transparent /* url(../images/valid.png) 100% -999px no-repeat */ !important;  }

.main form ul.tablestyle { border-top:1px solid #ddcd5e;border-bottom:1px solid #ddcd5e;background:#fefbe3;padding:10px !important;} 

.main form ul li input.valid ,
.main form ul li textarea.valid { background: transparent /* url(../images/valid.png) 100% 4px no-repeat  */!important; }
.main form ul li input.invalid ,
.main form ul li textarea.invalid ,
 input.invalid  { background: transparent /* url(../images/error.png) 100% 4px no-repeat */ !important; 
border: 1px solid #CC0000 !important; background: #FCF0EF  !important; color: #CC0000 !important; 
 }

.main form ul li input[type="email"].invalid:focus { background: transparent /* url(../images/error.png) 100% -9999px no-repeat */ !important;  }

/* .main form ul li.checkbox input , */
.main form ul li input[type="checkbox"] ,
.main form ul li input[type="radio"] { background:none !important }

.main form ul li input[disabled="disabled"],
.main form ul li input[readonly="readonly"]{
  background: none !important;
  color: #000 !important;
  cursor: default !important;
}

.main form ul li button[disabled="disabled"],
html.js body div#wrapper section.content section.cols section.col div.main form#uploadform.contact fieldset ul li.buttonhold button#invia.disabled
{
  cursor: default !important;
}


label, legend, button , a.button  {  }
.main form label { display: block; white-space: nowrap !important;  margin-bottom: 3px;  }
.main form ul li.checkbox ul li label ,
.main form ul li ul.orizzontali li label {  font-weight: normal; }

.main .box-notification p { font-size: 16px;}

/* captcha */
img#siimage { margin-top:2px; height:93px; border: 1px solid #000; margin-right: 15px ; float: left;  width: 100%; height: 88px; }
.main form .captcha label 	{ margin-top: 10px;}	


/* align checkboxes, radios, text inputs with their label */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }




/*  file input  */
.file_input
{
	float: left;
	cursor: pointer !important;
}

.file_input_div
{
	position: relative; 
	width: 100%; 
	height: 26px; 
	float: right; 
	margin-top: -26px;
}

.file_input_div button
{
	position: absolute; 
	top: 0px;
	right: -2px;
	cursor: pointer !important;
	padding-left:5px !important;
	padding-right:5px !important;
	height: 26px !important;
	
	 -webkit-border-top-left-radius:  0em; 
    -moz-border-top-left-radius:  0em;
    border-top-left-radius:  0em;    
    -webkit-border-bottom-left-radius:  0em; 
    -moz-border-bottom-left-radius:  0em;
    border-bottom-left-radius:  0em;
}
.file_input_div button span
{
	font-size: 11px !important;
	line-height: 16px !important;
}

.file_input_hidden
{
	font-size: 45px; 
	position: absolute; 
	left: 0px; 
	top: 0px; 	
	opacity: 0; 	
	filter: alpha(opacity=0); 
	-ms-filter: "alpha(opacity=0)"; 
	-khtml-opacity: 0; 
	-moz-opacity: 0;
	cursor: pointer !important;
}

.main form input.file_input::-webkit-input-placeholder { color: #c8c8c8 !important; }
.main form input.file_input:-moz-placeholder { color:  #c8c8c8 !important; }
.main form input.placeholder, .main form input.file_input { color:  #c8c8c8 !important; }

.main form ul.list { padding-top: 0px; padding-bottom: 10px; width: 95%;}
.main form ul.list li { list-style-type:none; list-style-image:none; background: transparent; padding-left: 20px; margin-bottom: 4px; }



/* box privacy inline */
li.privacy_text div { font-size: 11px; line-height: 12px; margin-top: 10px; padding: 7px; color: #555; font-family: Times, serif; border:1px solid #ccc; background: #fff; height: 80px; overflow: hidden; overflow-y: scroll; }


/* messaggio dopo invio ed altri */
.ad_message { font-size: 16px; text-align: center; padding: 30px; }


/* form questionario */
form.poll h2 { font-size: 18px; margin-top: 22px; margin-bottom: 8px;  float: left; width: 100%; color: #222; }
form.poll input[type="radio"] { float: left; width: 18px !important; height: 18px !important; margin-right: 6px !important; }
form.poll label { float: left; width: 100%; clear: both; margin: 0 0 2px 0 !important; padding: 0 !important; display: block;  }
form.poll label span { float: left; font-size: 14px;  line-height: 22px; color: #1F4F82; }
form.poll button { margin-top: 30px; }

/* elenco immagini  autocomplete ajax */
ul.ui-autocomplete.ui-menu.ui-widget.ui-widget-content { max-width: 937px !important;}
.ui-menu .ui-menu-item { float: left; margin-left: 6px !important; margin-bottom: 6px !important; width: 110px !important; height: 155px !important; clear: none !important; overflow: hidden; background: #fff !important; }
	.ui-menu .ui-menu-item:hover { background: #fcfbe7 !important; cursor: pointer;}
		.ui-menu .ui-menu-item a { border:0px solid #fff !important; border-radius: 0 !important; background: transparent !important; padding: 0 !important; margin: 0 !important;  }
		.ui-menu .ui-menu-item a.ui-state-hover { border:0px solid #fdf9e1 !important; border-radius: 0 !important; background: transparent !important; padding: 0 !important; margin: 0 !important;  }
.ui-menu .ui-menu-item .list_item_container .image img { width: 100px !important; height: 100px !important; float: left; margin: 4px 0 3px 4px !important; }
.ui-menu .ui-menu-item .list_item_container .label { font-size: 11px !important; line-height: 11px !important; padding-left: 4px !important;}



/* elenco RSS */
ul.rss li { background: none !important; padding-left: 0 !important; margin-left: 0 !important; }
	ul.rss li img { float: left; margin: 4px 9px 0 0; }
	ul.rss li a { text-decoration: none !important; line-height: 20px !important; }
		ul.rss li a:hover { color: #e56d00 !important; }





/* social */
#social-holder { width: 100%; overflow: hidden; padding-bottom: 10px; }
#social-holder iframe#twitter-widget-0 { float: left; /* width: 320px; */ width: 100% !important; height: 350px !important; }
#social-holder iframe.facebook { float: right; /* width: 320px; */ width: 100%; background: #fff !important; height: 550px !important; }

.facebook-box { width: 100%; overflow: hidden; padding-top: 40px;  height: 550px !important; }

.alertnews { background-color: cyan !important; }
