html, body{
	margin: 5px 8%;
	padding: 0;
}

/*html del layout della pagina, quasi identico a quello originale di A. Fulciniti - layout gala */

body{
	font-family: arial, sans-serif;
	font-size: 90%;
	text-align: center;
}

#header{
	position:relative;
	}
	
#header h1{
	height:115px;
	line-height:60px;
	margin:0;
	padding-left:10px;
	color: #ffc;
	font-size: 170%;
	font-variant: small-caps;
	background-color: #b9caff;
	}

p{
	margin:10px;
}

#content p{
	line-height:1.3;
	}

#navigation{
	background:#B9CAFF;
	}
	
#extra{
	background:#B9CAFF;
	}
	
#footer{
	background: #474747;
	color: #fff;
	}
	
#footer p{
	margin:0;
	padding:5px 20px;
	font-size: 85%;
	}
	
#footer a{
	color: #fff;
	padding: 3px;
	}
	
#footer a:hover{
	color: #02621a;
	text-decoration: underline;
	background: #474747;
}

#wrapper{
	float:left;
	width:100%
	}
	
#content{
	margin: 0 160px 0 240px;
	text-align: justify;
	}
	
#navigation{
	float:left;
	width:220px;
	margin-left:-100%;
	text-align: center;
	}
	
#extra{
	float:left;
	width:140px;
	margin-left:-140px;
	text-align: left;
	}
	
#footer{
	clear:left;
	width:100%;
	background-color: #02621a;
	text-align: center;
	vertical-align: middle;
	height: auto;
	}
	

/*inizio elementi e dichiarazioni specifiche per il nostro menu*/

#nav{
	margin: 15px auto;
	font-size: 90%;
	font-family: "trebuchet ms", verdana, arial, sans-serif;
	text-align: center;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 130px;
	border-bottom: 1px solid #ccc;
    }
	
ul li {
       position: relative;
       }
	   
li ul {
       position: absolute;
       left: 129px;
       top: 0;
       display: none;
	   z-index: 1;
       }
	   
ul li a {
          display: block;
          text-decoration: none;
          color: #777;
          background: #fff;
          padding: 5px;
		  border: 1px solid #ccc;
          border-bottom: 0;
    }
	
/* Fix IE. Hide from IE Mac */
* html ul li { float: left; height: 1%; }
* html ul li a { height: 1%; }
/* End */

li:hover ul, li.over ul { 
    display: block; 
	}

a:hover{
	color: #000;
	background: #ffc;
}
