/* CSS Document for seiciimpianti.com */

html, body {
	margin: 0px;
	padding: 0px;
	font: 12px "Century Gothic", Century, Arial, sans-serif;
	color: #000;
	height: 100%;
	background-color: #FFF;

} /* Per sfruttare il 100% dell'altezza della pagina */
a:link {
	color: #F00;
	text-decoration: underline;
	font-weight: bold;
}
a:visited {
	color: #FFF;
	text-decoration: underline;
	font-weight: bold;
}
a:hover {
	color: #F00;
	text-decoration: none;
	font-weight: bold;
}
h1 {
	margin: 48px 4px 0px 0px;
	padding: 0px;
	font-size: 24px;
	color: #FFF;
	text-align: right;
	font-weight: lighter;
	text-transform: uppercase;
}
h2 {
	color: #F30;
	font-size: 14px;
	font-weight: lighter;
	text-transform: uppercase;
	border-top: 1px solid #FFF;
	padding: 4px 0px;
	margin: 0px;
}
h2.noriga {
	border-top: none;
}
h2.arancio {
	width: 100%;
	background-image: url(images/index-home/sf_h2_sx.gif);
	background-position: right center;
	background-repeat: no-repeat;
}
h2.arancioc {
	color: #FFF;
	background-image: url(images/index-home/sf_h2_dx.gif);
	background-repeat: no-repeat;
	background-position: right center;
}
h3 {
	margin: 0px;
	padding: 0px;
	color: #930;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-style: italic;
	font-weight: lighter;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
h4 {
	font-size: 12px;
	margin: 0px;
	padding: 0px;
	color: #960;  
}
/* Formattazione form contatti */
	form {
    	margin: 0px;
		padding: 0px;
	}
	fieldset {
		margin: 0px;
		padding: 10px;
		border: 1px solid #900;
	}
	legend {
    	margin: 0px;
		padding: 0px 5px;
	}
	label {
		display: block;
		margin: 2px 2px;
		padding: 2px;
	}
	label b {
		width: 120px;
		float: left;
		padding: 2px 0px 0px 0px;
	}
	input {
	    margin: 2px 0px;
		padding: 0px;
	}
	/* Formattazione tasto TORNA INDIETRO pagine di errore form */
		#torna {
			margin: 0px;
			padding: 4px;
			text-align: center;
			background-color: #000;
			width: 190px;
			border: 2px solid #FFF;
		}
	/* Formattazione tasto TORNA INDIETRO pagine di errore form */
/* Formattazione form contatti */

#main {
	width: 100%;
	margin: 0 auto;
	height: 100%;
	padding: 0px;
}
#testa {
	width: 100%;
	height: 100px;
	z-index: 10;
	position: fixed;
	line-height: normal;
	background-color: #FC0;
	background-image: url(images/sf_testa.jpg);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	border-bottom: 1px solid #FFF;
}
#testa img {
    margin: 0px;
	padding: 0px;
	border: none;
}

/* Formattazione menù di navigazione */
#testa a:link {
	color: #666;
	text-decoration: none;
}
#testa a:visited {
	color: #900;
	text-decoration: none;
}
#testa a:hover {
	color: #39F;
	text-decoration: none;
}
#testa div a {
    float: left;	
	height: 20px;
	margin: 0px 1px 0px 0px;
	padding: 80px 5px 0px 5px;
	text-align: center; 
}
div.disth a:link {
	background-image: url(images/sf_testa_a_l.jpg);
	background-repeat: no-repeat;
	background-position: center bottom;
}
div.disth a:hover {
	background-image: url(images/index-home/sf_testa_a_h.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	background-color: #FFFFD9; 
}
div.distcs a:link {
	background-image: url(images/sf_testa_a_l.jpg);
	background-repeat: no-repeat;
	background-position: center bottom;
}
div.distcs a:hover {
	background-image: url(images/chi_siamo/sf_testa_a_h.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	background-color: #FFFFD9; 
}
div.distc a:link {
	background-image: url(images/sf_testa_a_l.jpg);
	background-repeat: no-repeat;
	background-position: center bottom;
}
div.distc a:hover {
	background-image: url(images/contatti/sf_testa_a_h.jpg);
	background-repeat: no-repeat;
	background-position: left top; 
	background-color: #FFFFD9; 
}
div.distim a:link {
	background-image: url(images/sf_testa_a_l.jpg);
	background-repeat: no-repeat;
	background-position: center bottom;
}
div.distim a:hover {
	background-image: url(images/installazioni_manutenzioni/sf_testa_a_h.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	background-color: #FFFFD9; 
}
div.distn a:link {
	background-image: url(images/sf_testa_a_l.jpg);
	background-repeat: no-repeat;
	background-position: center bottom;
}
div.distn a:hover {
	background-image: url(images/news/sf_testa_a_h.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	background-color: #FFFFD9; 
}
/* Formattazione menù di navigazione */

/* Se devi avere un colore di sfondo dei contenuti diverso da quello di 
   main, corpo e content devono avere lo stesso background-color, altrimenti
   Firefox e Opera creano problemi. */
#corpo {
	height: 100%;
	margin: 0px;
	padding: 0px;
	color: #600;
	background-image: url(images/sf_body.jpg);
	background-repeat: repeat-y;
	background-position: center top;
}  /* 100 %: la presenza di #corpo è necessaria per utilizzare il 100% 
      dell'altezza disponibile anche con #content */
#content {
	padding: 110px 1% 5.5%;
	margin: 0px;
	text-align: justify;
	background-image: url(images/sf_body.jpg);
	background-repeat: repeat-y;
	background-position: center top;
}
#content p {
	margin: 4px 0px;
	padding: 0px;
	line-height: 15px;
}
#content ul {
	margin: 4px 0px;
	padding: 0px 0px 0px 16px;
}
div.sx {
	width: 34%;
	padding: 1%;
	margin: 0%;
	height: 415px;
	border-right: 1px solid #FFF;
	color: #600;
	background-image: url(images/index-home/sf_sx.jpg);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}
div.upsx {
	margin: 0px;
	padding: 0px 0px 0px 100px;
}
div.downsx {
	margin: 0px;
	padding: 0px 0px 0px 100px;
}
div.sx_1 {
	width: 34%;
	padding: 1%;
	margin: 0%;
	height: 415px;
	border-right: 1px solid #FFF;
	color: #600;
	background-image: url(images/chi_siamo/sf_sx_1.jpg);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}
div.upsx_1 {
	margin: 0px;
	padding: 0px 0px 0px 100px;
}
div.dx {
	width: 60%;
	margin: 0%;
	padding: 1%;
	float: right;
	height: 415px;
	color: #FFF;
	background-image: url(images/index-home/sf_dx.jpg);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}
div.dx ul {
	list-style-type: square;
	text-transform: uppercase;
}
div.dxsx {
	margin: 0px;
	padding: 0px;
	width: 258px;
}
div.dx_1 {
	width: 60%;
	margin: 0%;
	padding: 1%;
	float: right;
	height: 415px;
	color: #FFF;
	background-image: url(images/chi_siamo/sf_dx_1.jpg);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}
div.dxsx_1 {
	margin: 0px;
	padding: 0px;
	width: 258px;
}
div.news {
	margin: 0px 0px 5px 0px;
	padding: 5px;
	height: 100px;
	background-color: #FFFBEC;
	border: 1px solid #F30;
	text-transform: uppercase;
	font-size: 10px;
}
div.news h2 {
	color: #F30;
	font-size: 14px;
	font-weight: lighter;
	text-transform: uppercase;
	border-top: none;
	padding: 4px 0px;
	margin: 0px;
}
/* Non so per quale motivo, ma se metto come bordo l'istruzione 1px solid #FFF nel piede
   lo scorrimento della pagina va all'infinito. Si corregge il problema ponendo 
   un'immagine di sfondo che lo va a sostituire. */
#piede {
	width: 98%;
	height: 24px;
	position: fixed;
	bottom: 0px;
	z-index: 10;
	padding: 8px 1% 0px;
	margin: 0px;
	color: #C60;
	background-image: url(images/sf_piede.jpg);
	background-repeat: repeat-x;
	font-size: 11px;
}
#piede a:link {
	color: #C60;
	text-decoration: none;
}
#piede a:visited {
	color: #C60;
	font-style: italic;
	text-decoration: none;
}
#piede a:hover {
	color: #C90;
	text-decoration: underline;
}
#piede img {
	border: none;
	margin: -2px 0px 0px;
	padding: 0px;
	vertical-align: middle;
	float: right;
}
.floatsx {
    float: left;
	margin: 5px 5px 0px 0px;
	padding: 0px;
}
.floatdx {
    float: left;
	margin: 5px 0px 0px 5px;
	padding: 0px;
}
