#header, #main, #footer {
	width: 100%;
}

#header {
	margin: 0;
	padding: 0;
}

#header h1 {
	display: block;
	margin: 0em 0em 0.2em 0em; 
	padding: 0;
	width: 100%;
	height: 110px;	
	background-image: url("../../img/palazzogr.jpg");
	background-position: 100% 100%;
	background-repeat: no-repeat;
}

#header h1 a {
	display: block;
	height: 100%;
	width: 239px;
	padding: 0px 0px 0px 100px;
	margin: 0;
	background-image: url("../../img/stemma.gif");
	background-position: 0% 80%;
	background-repeat: no-repeat;
}

#header h1 img {
	padding: 0;
	margin: 56px 0px 0px 0px;
}

#header a:link, #header a:visited {
	text-decoration: none;
}

#header a:hover, #header a:active {
	text-decoration: underline;	
}

#toolbar {
	background-color: #1738b4;
	width: 100%;
	margin: 0;
	padding: 0;
	border-bottom: 2px solid #1738b4;
	height: 1.7em;
}

#hnav {
	width: 58%;
	margin: 0em 0em 0.1em 0em;
	background-color: #ffffff;
	border-top: 1px solid #1738b4;
	float: left;
}

#hnav ul {
	margin: 0em 0em 0em 0.5em;
	padding: 0;
	font-weight: bold;
	height: 1.6em;
	list-style: none;
}

#hnav li {
	float: left;
	padding-top: 0;
	padding-bottom: 0;
}

#hnav ul a {
	padding: 0em 0.5em 0em 0.5em;
	float: left;
	line-height: 1.6em;
	height: 1.6em;
	color: #1738b4;
	background-image: url("../../img/sep_link.gif");
	background-position: 100% 50%;
	background-repeat: no-repeat;
}

#searchbox {
	width: 41%;
	margin: 0em 0em 0.1em 0em;	
	height: 1.7em;
	line-height: 1.7em;	
	float: left;
	background-image: url("../../img/diagonale_ricerca.png");
	background-position: 0% 100%;
	background-repeat: no-repeat;
	background-color: transparent;
	color: #ffffff;
	text-align: center;
}

#searchbox form {
	margin: 0 auto;
	padding: 0;
}

#searchbox label {
	font-weight: bold;
	text-transform: uppercase;
	height: 1.6em;
	margin-right: 0.5em;
}

#searchbox .button {
	text-transform: lowercase;
	height: 1.6em;
	background-color: transparent;
	border: none;
	color: #ffffff;
	font-weight: bold;	
	font-size: 1em;
	margin-left: 0.5em;
}

#searchbox .textInput {
	height: 1.5em;
	border: none;
	font-size: 0.9em;
	padding-left: 0.2em;
	width: 9em;
	margin: 0;
}

#date {
	float: left;
	width: 100%;
	text-align: right;
	margin: 0.8em 0;
}

#date p {
	margin: 0; padding: 0;
}

#center {
	margin-bottom: 1em;
}

#footer {
	clear: both;
	background-color: #1738b4;
	color: #ffffff;
	padding: 0.2em;
}

#footer p {
	margin: 0;
	padding: 0;
}

#footer a:link, #footer a:visited {
	color: #ffffff;
	text-decoration: none;
}

#footer a:hover, #footer a:active {
	text-decoration: underline;
}
