/* HEADER */
html {
	margin: 0px;
	padding: 0px;
}
body {
	background-color: #222;
	color: #DDD;
	background-image: url(../pictures/gessato.gif);
	margin: 0px;
	padding: 0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
img {
	border: none;
}
a:link,
a:visited,
a:focus,
a:active {
	text-decoration: none;
	color: #CCC;
}
a:hover {
	color: #FFF;
}
.nero a:link,
.nero a:visited,
.nero a:focus,
.nero a:active {
	color: #CCC;
}
.nero a:hover {
	color: #FFF;
}
#wrap {
	margin-top: 5px;
	margin-bottom: 5px;
	margin-right: 15%;
	margin-left: 15%;
	background-color: #111;
	border: 2px solid #FFF;
}
#logo {
	float: left;
	height: 170px;
}
#intestazione {
	position: relative;
	background-image:url(../pictures/header.jpg);
	background-repeat: no-repeat;
	margin-left: 170px;
	height: 170px;
	text-align: right;
	color: #CCC;
	font-size: 160%;
	margin: 0px;
	font-weight: bold;
}
#intestazione p {
	margin: 5px 10px;
	position: absolute;
	bottom: 0px;
	right: 0px;
}
#menu {
	background-color: #000;
	clear: both;
	widht: 100%;
	margin: 0px;
	border-top: 2px solid #FFF;
	border-bottom: 2px solid #FFF;
}

/* MENU */
#menu ul {
	margin: 0px;
	padding: 0px;
}
#menu li {
	list-style: none;
	display: inline;
	margin-left: 10px;
	height:1.4em;
	font-size: 80%;
	line-height: 1.4em;
	background-color: #000;
	white-space: nowrap;
}
#contenuto {
	clear: both;
	padding: 10px 0px;
}
#left {
	float: left;
	width: 160px;
	padding: 10px;
}
.ad {
	border: 1px solid #666;
	margin-bottom: 1em;
}
.ad h2 {
	padding: 0.1em 0.3em;
	font-size: 80%;
	text-align: right;
	background-color: #666;
	color: #FFF;
	font-style: italic;
	margin: 0px;
}
.ad p {
	text-align: center;
	padding: 0.1em;
	padding-top: 0.4em;
	font-size: 85%;
	margin: 0px;
}

/* NEWS */

.main_news {
	font-size: 90%;
	color: #FF9966;
	position: relative;
	width: 100%;
	height: 1.5em;
	overflow: hidden;
	background-color: #300;
	border-bottom: 2px solid #600;
	border-top: 2px solid #600;
	margin-top: 5px;
}
.sub_news {
	position:absolute;
	width: 100%;
	height: 1.5em;
	clip: rect(0px,auto,2em,0px);
	left:1em;
	top: 0px;
}
.prima_news {
	line-height: 1.5em;
	position: absolute;
	width: 100%;
	left: 0px;
	top: 1px;
}
.seconda_news {
	line-height: 1.5em;
	position: absolute;
	width: 100%;
	left: 0px;
	top: 0px;
	visibility: hidden;
}
.prima_news a,
.seconda_news a,
.prima_news a:visited,
.prima_news a:focus,
.prima_news a:active,
.seconda_news a:visited,
.seconda_news a:focus,
.seconda_news a:active {
	color: #F96;
	text-decoration: underline;
}
.prima_news a:hover,
.seconda_news a:hover {
	color: #F00;
	text-decoration: underline;
}
/* MAIN */
#main {
	margin-left: 180px;
	font-size: 70%;
	border-left: 1px dashed #666;
	padding: 10px;
}
#main h1{
	background-color: #666;
	color: #FFF;
	margin: 0px;
	padding: 0.1em;
	font-size: 180%;
}
#main h2{
	padding: 0.1em;
	font-size: 130%;
	margin: 1em 0px;
	background-color: #C33;
	color: #FFF;
}
#main h3{
	font-size: 110%;
	margin: 0.3em 0px;
	color: #FFF;
	font-weight: bold;
}
#main p {
	line-height: 1.5em;
}
#main p a {
	text-decoration: underline;
}
#sub_menu {
	font-size: 150%;
	height: 1.2em;
	padding: 0px;
	margin-top: 0.1em;
	margin-bottom: 1.2em;
}
#sub_menu ul {
	font-weight: bold;
	padding: 0px;
}
#sub_menu li {
	background-color: #C33;
	list-style: none;
	display: block;
	float: left;
	margin-left: 1em;
	height: 1.3em;
	line-height: 1.2em;
	padding: 0px 0.3em;
}
/*#sub_menu li a:visited,
#sub_menu li a:focus,
#sub_menu li a:active {
	color: #C33;
	text-decoration: underline;
}
#sub_menu li a:hover {
	color: #333;
	text-decoration: underline;
}*/
table {
	margin-top: 2em;
	border-collapse: collapse;
	border-color: #CCC;
}
th {
	background-color: #222;
	font-size: 130%;
	color: #CCC;
	padding: 0.4em 0.2em;
}
td {
	font-size: 110%;
	text-align: center;
	padding: 0.4em 0.2em;
}
table th i {
	font-size: 80%;
}
/* FOOTER */
#footer {
	color: #666;
	background-color: #000;
	height: 2em;
	line-height: 2em;
	text-align: center;
	font-size: 65%;
	clear: both;
	width: 100%;
	margin: 0px;
}
