@charset "utf-8";
body {
	font: 12px Verdana, Arial, Helvetica, sans-serif;
	background: #f1f6f8;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}

#container {
	width: 770px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #FFFFFF;
	margin: 0px auto 20px auto; /* the auto margins (in conjunction with a width) center the page */
	border-top: 0px solid #3399cc;
	border-left: 1px solid #3399cc;
	border-bottom: 1px solid #3399cc;
	border-right: 1px solid #3399cc;
	text-align: left; /* this overrides the text-align: center on the body element. */
}

#header {
	background: #DDDDDD;
	width: 770px;
	height: 100px;
	float: left;
	padding: 0;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	background-image: url(images/sfondo_header.jpg);
}

#header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

#preload {
	display: none;
}

#logo {
	width: 200px;
	float: left;
	margin-right: 50px;
}

#menu {
	width: 465px;
	float: left;
	height: 100px;
	text-align: center;
}

#menu_contenitore {
	width: 465px;
	position: relative;
	height: 100px;
	left: 0px;
	top: 0px;
	text-align: center;
}

#menu_home {
	width: 187px;
	height: 50px;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2;
	background-image: url(images/home_off.png);
	background-repeat: no-repeat;
}

#menu_home:hover {
	background-image: url(images/home_on.png);
	background-repeat: no-repeat;
}

#menu_contatti {
	width: 187px;
	height: 100px;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	background-image: url(images/contatti_off.png);
	background-repeat: no-repeat;
}

#menu_contatti:hover {
	background-image: url(images/contatti_on.png);
	background-repeat: no-repeat;
}

#menu_attivita {
	width: 276px;
	height: 50px;
	position: absolute;
	left: 187px;
	top: 0;
	z-index: 2;
	background-image: url(images/attivita_off.png);
	background-repeat: no-repeat;
}

#menu_attivita:hover {
	background-image: url(images/attivita_on.png);
	background-repeat: no-repeat;
}

#menu_servizi {
	width: 276px;
	height: 100px;
	position: absolute;
	left: 187px;
	top: 0;
	z-index: 1;
	background-image: url(images/servizi_off.png);
	background-repeat: no-repeat;
}

#menu_servizi:hover {
	background-image: url(images/servizi_on.png);
	background-repeat: no-repeat;
}

#corpo, #corpo_home, #corpo_contatti, #corpo_attivita, #corpo_servizi {
	width: 730px;
	float: left;
	padding: 20px 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	background: transparent;
}

#corpo h1, #corpo_home h1, #corpo_contatti h1, #corpo_attivita h1, #corpo_servizi h1 {
	text-align: center;
	font-size: 18px;
	color: #3399cc;
	border-bottom: 2px solid #3399cc;
}

#corpo h2, #corpo_home h2, #corpo_contatti h2, #corpo_attivita h2, #corpo_servizi h2 {
	text-align: left;
	font-size: 16px;
	color: #3399cc;
}

#corpo p, #corpo_attivita p, #corpo_servizi p {
	width: 450px;
	font-size: 14px;
	line-height: 22px;
}

#corpo_home p {
	width: 450px;
	font-size: 14px;
	line-height: 33px;
}

#corpo_contatti p {
	width: 100%;
	font-size: 14px;
	line-height: 22px;
}

ul {
	list-style: disc outside;
	width: 450px;
	font-size: 14px;
	line-height: 22px;
	color: #3399cc;
	margin: 0px;
	padding: 0px 0px 0px 20px;
}

ul li span {
	color: #000;
}

#corpo_home {
	background-image: url(images/home_img.jpg);
	background-repeat: no-repeat;
	background-position: 460px 150px;
	padding-bottom: 30px;
}


#corpo_attivita {
	background-image: url(images/attivita_img.jpg);
	background-repeat: no-repeat;
	background-position: 460px 150px;
}

#corpo_servizi {
	background-image: url(images/servizi_img.jpg);
	background-repeat: no-repeat;
	background-position: 460px 60px;
}

#corpo_contatti {
	background-image: url(images/contatti_img.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
}

#footer {
	width: 770px;
	clear: both;
	padding: 0px; 
	background:#3399cc;
	color: #fff;
	text-align: center;
}

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

#uploadform {
	width: 350px;
}

label {
	display: block;
}

input, textarea {
	width: 90%;
}

input#submit {
	width: auto;
}

.required {
	color: red;
}

#formfeedback {
	background: #fdfbab;
	padding: 5px;
}