@charset "utf-8";

/* ATTENZIONE: IN FONDO AL FILE CI SONO LE MEDIA QUERIES */


/* BASIC RESET */
div,img,a,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input {
	margin:0; 
	padding:0;
	border: none;
	text-decoration: none;
}

/* COMMON CLASSES */
.break { clear:both; }


/* HTML ELEMENTS */
body { 
	min-width: 25em;
	background: url('../img/sfondo.gif') repeat center center;
	font: 100% UbuntuTitlingBold,Arial,Helvetica,sans-serif; 
	/*font:16px UbuntuTitlingBold,Arial,Helvetica,sans-serif; */
}


/* FASCIA MENU INTESTAZIONE */

#header { 
	position: relative;
	width: 100%;
	height: 5.625em;
	background: url('../img/header_menu_sfondo.gif') repeat-x center top;
	padding-bottom: 1.25em;
}

#logo {
	height: 4.75em;
	width: 27.4375em;
	background: url('../img/logo4_75px.png') no-repeat center;
	padding-top: 1.875em;
	padding-left: 3.125em;
}

/* MENU INTESTAZIONE */

#header_menu_icone { 
	list-style:none; 
	position: absolute;
	right: 4.6875em;
	bottom: 0;
	height: 2.5em;
}
#header_menu_icone li { 
	display: inline-block;
	position: relative;
	width: 4.6875em;
	height: 2.5em;
	text-align: center; 
}
#header_menu_icone li a { 
	display:block;
	height: 2.5em;
}
#header_menu_icone li a:hover { 
	text-decoration:none; 
	background: url('../img/header_menu_selezionato.png') no-repeat center bottom;
} 
#header_menu_icone li a.attivo { 
	text-decoration:none; 
	background: url('../img/header_menu_selezionato.png') no-repeat center bottom;
} 
#header_menu_icone li a strong { 
	position: relative;
	top: 1.125em;
	height: 3.125em;
	color: white;
	font:100% UbuntuTitlingBold,Arial,Helvetica,sans-serif; 
}


/* BANNER TOP */
#banner_top { 
	position: relative;
	margin: 0 auto;
/*	height: 18.75em; l'altezza viene fissata dinamicamente dallo script che gestisce lo scorrimento delle immagini */
	width: 100%;
	padding-top: 1em;
	padding-bottom: 1em;
/*	background: #4d7acb url('../img/banner_top_sfondo.png') repeat center top;*/
}
/* gli stili delle immagini e dei testi per lo slideshow sono nell'apposito css jquery.galley.bgn.css */


/* CONTENUTO PAGINA */

#content {
	position: relative;
	min-height: 28em;
	width: 100%;
	background: white url('../img/content_sfondo.gif') repeat-x center top;
}

/* COLONNE PAGINA */

#content div.colonna {
	position: relative;
	line-height: 1.25em;
	text-align: justify;
	color: #555555;
	padding-top: 1.25em;
	padding-bottom: 1.5625em;
}
#content div.sinistra_50 {
	float: left;
	padding-left: 2%;
	padding-right: 1%;
	width: 47%;
/*	background-color: red;*/
}
#content div.sinistra_30 {
	float: left;
	padding-left: 2%;
	padding-right: 1%;
	width: 20%;
/*	background-color: red;*/
}
#content div.destra_50 {
	float: right;
	padding-left: 1%;
	padding-right: 2%;
	width: 47%;
/*	background-color: lime;*/
}
#content div.destra_70 {
	float: right;
	padding-left: 1%;
	padding-right: 2%;
	width: 74%;
/*	background-color: lime;*/
}

#content div.separatore {
	height: 0.125em;
	width: 100%;
	margin-bottom: 0.3125em;
	background: url('../img/content_separatore_orizzontale.gif') repeat-x center;
}

#content div.colonna h1 {
	display: inline-block;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1.625em;
	padding-top: 0.25em;
/*	padding-bottom: 0.3125em;*/
	color: black;
	text-shadow: 0.0625em 0.0625em 0.0625em #777;
}
#content div.colonna h1.azzurro {
	color: #3d70cb;
}

#content div.colonna h2 {
	font-size: 1.125em;
	line-height: 1.25em;
	text-decoration:underline;
	padding-top: 1em;
	padding-bottom: 0.5em;
	color: #444444;
}

#content div.colonna h3 {
	color: #3d70cb;
	font-size: 1em;
	padding-bottom: 0.5em;
}

#content div.colonna strong {
	color: #4d7acb;
	font-weight: normal;
}

#content div.colonna em {
	color: black;
	font-style: normal;
	text-decoration: none;
/*	font-weight: bold;*/
}

#content div.colonna ul {
	margin-left: 2em;
}

#content div.colonna p {
	padding-top: 0.5em;
/*	text-indent: 1em;*/
}

#content div.colonna a {
	color: #101010;
	font-weight: bold;
}

#content div.colonna img {
	float: left;
	margin-right: 0.625em;
	margin-top: 0.625em;
/*	border: 1px solid black;*/
	border-radius: 0.3125em;
}
#content div.colonna img.riquadro {
	border: 0.0625em solid #4d7acb;
	border-radius: 0.3125em;
	padding: 0.125em;
}

#content div.colonna div.corto {
	height: 4.625em;
	overflow: hidden;
}
/*
#content div.colonna div.link_servizi_titolo {
	cursor: pointer;
}
*/

/* CONTATTI E COMMENTI */

#contatti-sfondo {
	position: relative;
	border-radius: 0.625em;
	border: 2px solid #4d7acb;
	background-color: rgba(128,128,128,0.2);
	width: 80%; 
	text-align:left;
	padding:1.5em;
	color: white;
	font-size: 0.875em;
}

#contatti-sfondo input[type=text], #contatti-sfondo input[type=password] {
	display:block; 
	border-radius: 0.25em;
	border: 0.0625em solid black;
	background-color:#FFFFFF;
	font: UbuntuTitlingBold,Arial,Helvetica,sans-serif; 
	font-size: 1em;
	margin:0 0 0.3125em;
	padding: 0.3125em;
	width: 20em;
}
#contatti-sfondo input[type=text]:hover, #contatti-sfondo input[type=password]:hover {
	border-color: #16b2ff;
}
#contatti-sfondo input[type=text]:focus, #contatti-sfondo input[type=password]:focus {
	border-color: #16b2ff;
}

#contatti-sfondo select { 
	display: block; 
	border-radius: 0.25em;
	border: 0.0625em solid black;
	background-color:#FFFFFF;
	font: UbuntuTitlingBold,Arial,Helvetica,sans-serif; 
	font-size: 1em;
	margin:0 0 0.3125em;
	padding: 0.3125em;
	width: 21em;
}
#contatti-sfondo select:hover {
	border-color: #16b2ff;
}
#contatti-sfondo select:focus {
	border-color: #16b2ff;
}

#contatti-sfondo textarea { 
	display: block; 
	border-radius: 0.25em;
	border: 0.0625em solid black;
	background-color:#FFFFFF;
	font: UbuntuTitlingBold,Arial,Helvetica,sans-serif; 
	font-size: 1em;
	margin:0 0 0.3125em;
	padding: 0.3125em;
	height: 12.5em;
	width: 40em;
}
#contatti-sfondo textarea:hover {
	border-color: #16b2ff;
}
#contatti-sfondo textarea:focus {
	border-color: #16b2ff;
}

#contatti-sfondo label {
	display: block;
	color: black;
}
#contatti-sfondo label.error {
	font-weight: bold;
	color: #16b2ff;
	margin-bottom: 0.625em;
}

#contatti-sfondo #conferma-form {
	position: relative;
	width: 8em;
	height: 2em;
	background: url(../img/button_sfondo_blu.gif) repeat-x;
	text-align: center;
	font: UbuntuTitlingBold,Helvetica,Arial,sans-serif; 
	color: white;
	margin: 0.625em 0.3125em 0 0;
	padding: 0.1875em 0.625em 0.3125em;
	border-radius: 0.3125em;
	border: 0.0625em solid #002b66;
}

#contatti-sfondo #conferma-form:hover, #contatti-sfondo #conferma-form:focus {
	text-decoration: none;
	background-position: 0 -1.875em;
	cursor:pointer;
/*	color: black; */
}

#contatti-sfondo #img-captcha {
	margin-right: 0.625em;
	margin-top: 0;
/*	border: 1px solid black;*/
	border-radius: 0.3125em;
}

/* BANNER BOTTOM */

#banner_bottom {
	position: relative;
/*	min-height: 150px;*/
	width: 100%;
	background: #1f1f1f url('../img/banner_bottom_bordo.gif') repeat-x center top;
	color: #959595;
/*	padding-top: 10px; 
	padding-left: 2%;
	padding-right: 2%;*/
	font-size: 0.85em;
	line-height: 1.35em;
	text-align: justify;
}
#banner_bottom .colonna_25 {
	float: left;
	width: 20%;
	min-width: 12.5em;
	padding-top: 1.25em;
	padding-bottom: 1.25em;
	padding-left: 2%;
	padding-right: 0;
	font-style: normal;
}
#banner_bottom .colonna_50 {
	float: left;
	width: 53%;
	min-width: 12.5em;
	padding-top: 1.25em;
	padding-bottom: 1.25em;
	padding-left: 2%;
	padding-right: 0;
	font-style: normal;
}
#banner_bottom h4 {
	color: #4d7acb;
	font-size: 1.15em;
	text-shadow: 0.125em 0.125em 0.125em #000000;
}
#banner_bottom address {
	font-style: normal;
}
#banner_bottom em {
	font-style: normal;
	text-decoration: underline;
}
#banner_bottom a { 
	color: white;
}
#banner_bottom a:hover { 
	text-decoration: underline;
}



/* PIEDE - FASCIA INFERIORE DI CHIUSURA PAGINA */

#footer { 
	clear: both;
	width: 96%;
	min-height: 1em;
	background: #0C0C0C url('../img/footer_bordo.gif') repeat-x center top;
	color: #848484;
	padding-top: 1em;
	padding-left: 2%;
	padding-right: 2%;
	text-align: center;
	font-size: 0.85em;
}
#footer #footer_menu {
}
#footer #footer_menu a { 
	color: #666;
}
#footer #footer_menu a:hover { 
	text-decoration: underline;
}


/* BOTTONE PER TORNARE ALL'INIZIO DEL DOCUMENTO */

#torna-su {
	z-index: 99;
	position: fixed;
	bottom: 1.25em;
	right: 1.25em;
	height: 1em;
	width: 1em;
}
#torna-su a {
	height: 1em;
	width: 1em;
}
#torna-su #button_su {
	height: 1em;
	width: 1em;
}

/* MEDIA QUERIES */

/* sotto i 960px:
	- centro logo e menù
	- aumento leggermente l'altezza dell'header per evitare che il menù tocchi il logo
	- nel corpo pagina delle pagine interne faccio un'unica colonna
*/
@media screen and (max-width: 960px) {

	#header { 
		height: 7.25em;
	}
	#logo {
		position: relative;
		left: 50%;
		margin-left: -13.71875em;
		padding-left: 0;
	}
	#header_menu_icone { 
		text-align: center;
		width: 100%;
		right: 0;
	}
	#content div.sinistra_30 {
		clear: both;
		width: 96%;
	}
	#content div.destra_70 {
		clear: both;
		width: 96%;
	}
}

/* sotto i 850px:
	- nel banner inferiore faccio un'unica colonna
*/
@media screen and (max-width: 850px) {

	#banner_bottom .colonna_25 {
		width: 96%;
		padding-right: 2%;
		clear: both;
	}
	#banner_bottom .colonna_50 {
		width: 96%;
		padding-right: 2%;
		clear: both;
	}
}

/* sotto i 700px:
	- nel corpo pagina della home-page faccio un'unica colonna
	- riduco i testi sopra le immagini slideshow (vedi ccs relativo)
*/
@media screen and (max-width: 700px) {

	#content div.sinistra_50 {
		clear: both;
		width: 96%;
	}
	#content div.destra_50 {
		clear: both;
		width: 96%;
	}
}

/* sotto i 524px:
	- riduco il logo
	- riduco i testi sopra le immagini slideshow (vedi ccs relativo)
	- riduco le dimensione della textarea nella pagina contatti
	- nascondo il menù a fondo pagina
*/
@media screen and (max-width: 524px) {

	#logo {
		position: relative;
		left: 50%;
		width: 80%;
		margin-left: -40%;
		background-size: contain;
		padding-left: 0;
	}
	#contatti-sfondo textarea { 
		width: 27em;
	}
	#footer #footer_menu {
		display: none;
	}
}


