html{height: 100%; margin-bottom: 1px;}

body {
	margin: 0px;
	padding: 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	text-align: center;
	background-color: #eaeaea;
}
div#contenitore {
	border: 1px solid #006600;
	width: 680px;
	padding: 0px;
	position: relative;
	min-height: 560px;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 4px;
	margin-left: auto;
	background-color: #FFFFFF;
	}
div#header {
	background-image: url(immagini/nuovaecoview2.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	height: 100px;
	margin-top: 10px;
	margin-bottom: 0px;
	margin-left: 24px;
	width: 100%;
	padding: 0px;
}
div#menu {
	height: 22px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #90AC42;
	margin-top: -10px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	z-index: 0;
}
div#menu ul{
	height: 24px;
	list-style-image: none;
	padding: 0px;
	text-align: center;
	margin-bottom: 0px;
	margin-left: 12px;
	width: 100%;
}

/*qui controlli lo sfondo dei pulsanti del menu*/
div#menu li{
	list-style-image: none;
	display: inline;
	background-image: url(immagini/sfondo-menu8.gif);
	background-position: 0px 0px;
	background-repeat: no-repeat;
	width: 86px;
	position: relative;
	margin-right: -5px;
	height: 20px;
	float: left;
	padding: 0px;
	top: 2px;
}

/*quicontrolli il rollover dei pulsanti*/
div#menu li:hover{
	background-position: 0px -42px;
	height: 22px;
	top: 0px;
	margin-bottom: -2px;
}

/*
questa classe è quella che da l'aspetto diverso al pulsante attivo nelle varie pagine.
Per esempio nella pagina lavori.htm questa classe è assegnata al <li> con il link lavori.htm e sarebbe così:
<div id="menu">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Chi Siamo</a></li>
<li class="active"><a href="#">Lavori</a></li> 
<li><a href="#">Link</a></li>
<li><a href="#">Fotografie</a></li>
<li><a href="#">Contatti</a></li>
<li><a href="#">Documenti</a></li>   
</ul>
</div>
*/
div#menu li.active{
	background-position: 0px -42px;
	height: 22px;
	top: 0px;
	margin-bottom: -2px;
}

/*questo controlla il font del link*/
div#menu li a{
	font-size: 12px;
	text-decoration: none;
	color: #c95202;
	display: block;
	text-align: center;
	height: 22px;
	padding-top: 4px;
}
div#menu li a:hover {color: #AC4602;}

/*questo controlla il riquadro centrale*/
div#home, div#chisiamo, div#lostudio,  div#lavori, div#contatti, div#documenti, div#link, div#gallery {
	min-height: 368px;
	width: 100%;
	float: left;
	background-color: #fff;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #C2AA78;
	margin-bottom: 8px;
}
/*questo controlla il titolo giallo nel riquadro centrale e la banda marrone che è il suo sfondo*/
div#home h3, div#chisiamo h3, div#lostudio h3, div#lavori h3, div#contatti h3, div#documenti h3, div#link h3, div#gallery h3 {
	background-color: #C85102;
	color: #820000;
	text-align: center;
	padding-left: 12px;
	font-size: 13px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #996600;
	background-color: #FF9900;
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 1px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

/*questo controlla il testo dentro il riquadro centrale, il tutto è impostato in maniera 
che se il testo non supera una determinata lunghezza la pagina ha un'altezza fissa, se invece
il testo va oltre, la pagina si allunga man mano e le varie distanze della parte inferiore
restano uguali*/
div#chisiamo p, div#lavori p, div#lostudio p, div#contatti p, div#documenti p, div#link p, div#gallery p {
	background-color: #fff;
	min-height: 90%;
	padding-top: 20px;
	padding-right: 40px;
	padding-bottom: 18px;
	padding-left: 40px;
	color: #441100;
	font-size: 13px;
	line-height: 1.4em;
	text-align: justify;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	margin-top: 4px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
div#home p {
	background-color: #fff;
	min-height: 90%;
	padding-top: 10px;
	padding-right: 40px;
	padding-bottom: 18px;
	padding-left: 40px;
	color: #441100;
	font-size: 13px;
	line-height: 1.6em;
	text-align: justify;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	margin-top: 4px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
div#chisiamo img.sere {
	float: left;
	margin-right: 6px;
	margin-top: 6px;
	border: 1px solid #865F46;
}
div#chisiamo img.mauro {
	float: left;
	margin-right: 6px;
	margin-top: 5px;
	border: 1px solid #865F46;
}
div#home img.capriolo {
	float: right;
	margin-right: 6px;
	margin-top: 5px;
}
div#home img.panoramica {
	margin-top: 20px;
	border: 1px solid #865F46;
}
div#gallery h4 {
	color: #441100;
	font-size: 13px;
	text-align: center;
	padding-left: 14px;
	margin-bottom: 4px;
	margin-top: 30px;
}
div#chisiamo h5, div#lavori h5, div#lostudio h5, div#contatti h5, div#documenti h5, div#link h5, div#gallery h5 {
	color: #441100;
	font-size: 12px;
	text-align: left;
	padding-left: 40px;
	margin-bottom: 4px;
}
div#chisiamo p, div#lavori p, div#contatti p, div#documenti p, div#link p, div#gallery p {
	line-height: 1.4em;
	text-align: justify;
	margin-top: 0px;
	margin-bottom: 10px;
	padding-top: 0px;
	padding-bottom: 0px;
}
div#chisiamo ul, div#lavori ul, div#lostudio ul, div#contatti ul, div#documenti ul, div#gallery ul, div#home ul {
	text-align: left;
	color: #441100;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	margin-left: 0px;
	padding-left: 80px;
	margin-top: -4px;
	margin-bottom: 10px;
}
div#chisiamo a, div#lavori a, div#lostudio a, div#contatti a, div#documenti a, div#gallery a {
	color: #441100;
	text-decoration: underline;
	text-align: center;
}
div#chisiamo a:hover,div#lostudio a:hover, div#lavori a:hover, div#contatti a:hover, div#documenti a:hover, div#gallery a:hover {
	color: #441100;
	text-decoration: none;
	text-align: center;
}
/*questo controlla il primo riquadro della home*/
div#homeriquadrosx {
	width: 280px;
	height: 150px;
	background-color: #eaeaea;
	float: left;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #C2AA78;
	margin-top: 20px;
	margin-right: 40px;
	margin-bottom: 20px;
	margin-left: 40px;
}
div#homeriquadrodx {
	width: 200px;
	height: 180px;
	background-color: #F4F4F4;
	float: right;
	clear: right;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #C2AA78;
	margin-top: 20px;
	margin-right: 40px;
	margin-bottom: 40px;
	margin-left: 40px;
}
div#homeriquadrodx p, div#homeriquadrosx p {
	background-color: #F4F4F4;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	color: #441100;
	font-size: 11px;
	line-height: 1.2em;
	text-align: justify;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
div#homeriquadrodx h5, div#homeriquadrosx h5 {
	background-color: #ff9900;
	padding-top: 10px;
	color: #441100;
	font-size: 11px;
	text-align: justify;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 10px;
}
div#homeriquadrodx ul, div#homeriquadrosx ul {
	text-align: left;
	color: #441100;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	margin-top: 10px;
	margin-left: 10px;
	margin-bottom: 10px;
	margin-right: 10px;
	padding-left: 10px;
}
div#homeriquadrodx li{
	margin-bottom: 10px;
}
div#homeriquadrodx a {
	background-color: #F4F4F4;
	color: #441100;
	text-decoration: none;
}
div#homeriquadrodx a:hover {
	background-color: #F4F4F4;
	color: #441100;
	text-decoration: underline;
}
div#footer {
	font-size: 12px;
	background-color: #FF9900;
	color: #fff;
	width: 100%;
	margin-top: 16px;
	padding-bottom: 8px;
}
div#footer a {
	background-color: #FF9900;
	color: #fff;
	text-decoration: none;
}
div#footer a:hover {
	background-color: #FF9900;
	color: #fff;
	text-decoration: underline;
}
div#valid {
 	position: absolute;
	right: 0px;
}
div#valid ul{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
div#valid li{
	 padding: 0px;
	 display: inline;
	 text-align: center;
	 margin-top: 0px;
	 margin-right: 0px;
	 margin-bottom: 0px;
	 margin-left: 3px;
}
div#valid a{
	 color: #9D9D9D;
	 text-decoration: none;
	 font-size: 10px;
}
div#valid a:hover { 
	color: #333333; 
}
div.linksu {
	 min-height: 80px;
	 width: 640px;
	 background-color: #EEEEEE;
	 border-right-width: 1px;
	 border-right-style: none;
	 border-right-color: #000000;
	 border-bottom-width: 1px;
	 border-bottom-style: solid;
	 border-bottom-color: #000000;
	 border-left-width: 1px;
	 border-left-style: none;
	 border-left-color: #000000;
	 margin-right: auto;
	 margin-bottom: 0px;
	 margin-left: auto;
	 padding-left: 20px;
	 text-align: justify;
	 padding-right: 20px;
	 margin-top: 0px;
	 font-size: 13px;
	 color: #660000;
	 padding-top: 10px;
}
div.linksu img {
	 float: left;
	 border: 1px solid #660000;
	 margin-right: 10px;
	 margin-top: 4px;
}
div.linkgiu {
	 min-height: 80px;
	 width: 640px;
	 background-color: #FFFFFF;
	 border-right-width: 1px;
	 border-right-style: none;
	 border-right-color: #000000;
	 border-bottom-width: 1px;
	 border-bottom-style: solid;
	 border-bottom-color: #000000;
	 border-left-width: 1px;
	 border-left-style: none;
	 border-left-color: #000000;
	 margin-top: 0px;
	 margin-right: auto;
	 margin-bottom: 0px;
	 margin-left: auto;
 	 padding-left: 20px;
 	 text-align: justify;
	 padding-right: 20px;
	 margin-top: 0px;
	 font-size: 13px;
	 color: #660000;
	 padding-top: 10px;
}
div.linkgiu img {
	 float: right;
	 border: 1px solid #660000;
	 margin-left: 10px;
	 margin-top: 4px;
}
div.doctitolo, div.lavorititolo, div.conttitolo, div.chisiamotitolo {
	 width: 640px;
	 background-color: #EEEEEE;
	 border-right-width: 1px;
	 border-right-style: none;
	 border-right-color: #000000;
	 border-bottom-width: 1px;
	 border-bottom-style: solid;
	 border-bottom-color: #000000;
	 border-left-width: 1px;
	 border-left-style: none;
	 border-left-color: #000000;
	 margin-top: 0px;
	 margin-right: auto;
	 margin-bottom: 0px;
	 margin-left: auto;
	 padding-left: 20px;
	 padding-right: 20px;
	 font-size: 13px;
	 color: #660000;
	 padding-top: 4px;
 	 padding-bottom: 4px;
}
div.doctitolo h4, div.lavorititolo h4, div.conttitolo h4, div.chisiamotitolo h4 {
	color: #441100;
	font-size: 13px;
	text-align: center;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-left: 4px;
}
div.doctesto, div.lavoritesto, div.chisiamotesto {
	 min-height: 80px;
	 width: 640px;
	 background-color: #FFFFFF;
	 border-right-width: 1px;
	 border-right-style: none;
	 border-right-color: #000000;
	 border-bottom-width: 1px;
	 border-bottom-style: solid;
	 border-bottom-color: #000000;
	 border-left-width: 1px;
	 border-left-style: none;
	 border-left-color: #000000;
	 margin-top: 0px;
	 margin-right: auto;
	 margin-bottom: 0px;
	 margin-left: auto;
	 text-align: justify;
	 padding-top: 10px;
	 padding-bottom: 30px;
	 padding-right: 20px;
	 padding-left: 20px;
	 font-size: 13px;
	 color: #660000;
}
div.conttesto {
	 min-height: 140px;
	 width: 640px;
	 background-color: #FFFFFF;
	 border-right-width: 1px;
	 border-right-style: none;
	 border-right-color: #000000;
	 border-bottom-width: 1px;
	 border-bottom-style: solid;
	 border-bottom-color: #000000;
	 border-left-width: 1px;
	 border-left-style: none;
	 border-left-color: #000000;
	 margin-top: 0px;
	 margin-right: auto;
	 margin-bottom: 0px;
	 margin-left: auto;
	 text-align: justify;
	 padding-top: 10px;
	 padding-bottom: 10px;
	 padding-right: 20px;
	 padding-left: 20px;
	 font-size: 13px;
	 color: #660000;
}
div#gallery h3{ 
	margin-bottom: 20px; 
}
div#gallery img{
	border: 1px solid #663300;
	margin-top: 0px;
	margin-right: 5px;
	margin-bottom: 20px;
	margin-left: 10px;
}
#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(images/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%	
	}

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	}
	/*regole per il form*/
form{
 width: 40%;
 min-width:280px;
 margin-right: auto;
 margin-top: 0px;
 background-color: #FFFFFF;
 margin-left: auto;
 position: absolute;
 left: 380px;
 top: 180px;
}

fieldset{border:0px solid;margin:0;padding:0}

/*questo regola i rettangoli che contengono i vari campi*/
form div{
 color: #333;
 background-color: #FFFFFF;
 width: 100%;
 height: 16px;
 padding-top: 6px;
 padding-right: 0;
 padding-bottom: 6px;
 padding-left: 0;
}


/*questo regola il nome dei campi*/
form label{
 float: left;
 width: 33%;
 line-height: 23px;
 padding-right: 2%;
 text-align:right;
}

/*questo regola aspetto e formattazione dei campi di testo*/
fieldset input, textarea{
 width:61%;
 border: 1px solid #999999;
 background-color: #FBFBFB;
 font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
 color: #666666;
 text-transform: capitalize;
 font-size: 100%;
}
input{
 height: 16px;
 padding-left: 4px;
}
/*questa è la regola che fa apparire il bordo arancione nel campo di testo attivo*/
input:focus{
 border: 1px solid #FF9900;
 background-color: #FFFFFF;
 color: #000000;
}

textarea{
 font-size: 100%;
 padding-left: 4px;
 height: 80px;
}

/*questa è la regola che fa apparire il bordo arancione nell'area di testo quando è attiva*/
textarea:focus{
 border: 1px solid #FF9900;
 background-color: #FFFFFF;
 color: #000000;
}

/*questo regola aspetto e formattazione del pulsante Invia*/
div.form-button input{
 color: #C95202;
 background-color: #FAD25D;
 border: 1px solid #333333;
 font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
 font-size: 13px;
 font-weight: bold;
 width: 90%;
 margin-left: 40px;
 height: 20px;
 margin-top: 36px;
 padding: 0px;
}
div.form-button input:focus {
 color: #C95202;
}
div.form-button {
 height: 26px;
 margin: 0px;
 padding-top: 4px;
 padding-right: 0px;
 padding-bottom: 0px;
 padding-left: 0px;
 width: 60px;
}