/* Layout */

img
{
	border: 0 none white;
}

/* Serve per non far cambiare il colore del link, mantenendo quello dello stile genitore.
Hack per IE, altrimenti inherit */
a { color: inherit; }

A:link 
{
	text-decoration: underline;
	font-weight: 600;
}

A:visited
{
	text-decoration: underline;
	font-weight: 600;
}

A:active 
{
	text-decoration: underline;
	font-weight: 600;
}

A:hover 
{
	text-decoration: underline;
	font-weight: 600;
}

html
{
	margin: 0px;
	padding: 0px;
}

body
{
	margin:0px;
	padding:0px;
	background-color: #fff;
	font-family: arial;
	font-size: 12px;
}

#container
{
	height: 100%;
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
	
	border-left: 1px #A51E22 solid;
	border-right: 1px #A51E22 solid;
}

/* =========================== HEADER =========================================== */

	#header
	{
		width: 1000px;
		height: 150px;
		margin-left: auto;
		margin-right: auto;
		top: 0px;
		
		
		background-image: url('/img/red_carpet.jpg');
	}
	
	#header:hover
	{
		background-image: url('/img/red_carpet_hover.jpg'); 
	}

		#menu
		{
			padding-top: 35px;
			width: 600px;
			height: 20px;
			margin-left: 20px;
			
			color: #A51E22;
		
		}
		
		#menu a:link 	{ text-decoration: none; }
		#menu a:active 	{ text-decoration: none; }
		#menu a:hover 	{ text-decoration: none; }
		#menu a:visited { text-decoration: none; }
			
			#menu ul
			{
				margin-left: 0px;
				margin-top: 5px;
				list-style: none;
				padding:0px;	
			}
			
			#menu li
			{
				float: left;
				margin-right: 25px;
				margin-left: 0px;
				padding-left: 5px;
				padding-top: 0px;
				padding-bottom: 0px;
				padding-right: 0px;
				border-left: 1px white solid;
			}
			
			#menu li:hover
			{
				border-left: 1px #A51E22 solid;
			}
			
			#menu a
			{}
		
		#login_adv
		{
			margin-left: 0px;
			margin-top: 50px;

			
		}
		
		#login_adv_sinistra
		{
			float: left;

		}

		#login_adv_destra
		{
			float: right;
			width: 300px;
			margin-left: 0px;
			margin-top: 47px;
			text-align: right;
			margin-right: 10px;

		}

/* =========================== CONTENT  =========================================== */

.altrow
{
 	   background-color: #F5E3E3;
}

.pubblicita
{
 		   text-align: center;
 		   width: 840px;
}

#pubblicita
{
	width: 150px;
	float: left;
	text-align: center;
	margin-top: 20px;
}

#contenent
{
	width: 830px;
	font-size: 14px;
	float: left;
	padding: 10px;
	margin-top: 20px;
}

h1
{
	color: #A51E22;
	font-size: 24px;
}

h2

{
	color: #A51E22;
	font-size: 18px;
}

h3
{
	color: black;
	font-size: 14px;
}

.testopiccolo
{
	font-size: 10px;
}

#attenzione

{
	width: 700px;
	margin-left: auto;
	margin-right: auto;
	padding: 15px;
	background-color: #f3f3f3;
	color: #A51E22;
	font-size: 20px;
	margin-top: 15px;
	margin-bottom: 15px;
	border: 1px #A51E22 solid;
}

.capitalize
{
	text-transform: capitalize;
}

	#user
	{
		width: 750px;
	}
	
		#bloccoSX
		{
			float: left;
			width: 250px;
			padding: 5px;
			
			border: 2px black dotted;
		}
		
		#bloccoSX h1
		{
			margin: 0px;
		}
		
		#bloccoSX img
		{
			margin-left: 25px;
			margin-top: 25px;
			width: 200px;
			height: 150px;
		}
		
		
		#inlinea
		{
			float: none;
		}
		
		#bloccoPRV
		{
			float: left;
			margin-left: 15px;
			width: 480px;
			padding: 5px;
			
			border: 2px black dotted;
		}
		
		#bloccoPRV h1
		{
			margin-top: 0px;
		}
		
		
		
	
	#vota_total
	{
		width: 750px;
		margin-left: auto;
		margin-right: auto;
		
		
	}
	
		#vota_img_sanremo
		{
			width: 240px;
			height: 275px;
			
			float: left;
			background-image: url('/img/vota_sanremo.jpg');
		}
		
		#vota_img_sanremo:hover
		{
			background-image: url('/img/vota_sanremo.jpg');
		}
		
		#vota_img_ventimiglia
		{
			width: 240px;
			height: 275px;

			float: left;
			background-image: url('/img/vota_ventimiglia.jpg');
		}
		
		#vota_img_ventimiglia:hover
		{
			background-image: url('/img/vota_ventimiglia.jpg');
		}
		
		#vota_img_imperia
		{
			width: 240px;
			height: 275px;
			
			float: left;
			background-image: url('/img/vota_imperia.jpg');
			
		}
		
		#vota_img_imperia:hover
		{
			background-image: url('/img/vota_imperia.jpg');
			
		}
	
	.messaggi
	{
		
	}
	
	#messaggi_total img
	{
		width: 100px;
		height: 75px;
		
	}

	img.grande
	{
     		  width: 400px !important; 
			  height: 300px !important;
	}
	
	.sinistra
	{
		margin-right: 25px;
		float: left;
		margin-left: 25px;
	}
	
	div.caption 
	{
		font: Arial, Helvetica, sans-serif;
		font-style: italic;
	  	font-size: 10px;
	  	color:#222;
	  	margin-top: 5px;
	  	margin-left: 0px;
	  	width: 100px;
	  	background-color: #EEE;
	}
	

		
	.data
	{
		font: Arial, Helvetica, sans-serif;
		font-style: italic;
	  	font-size: 10px;
	  	color:#222;
	  	margin-top: 5px;
	  	margin-left: 0px;
	  	width: 200px;
	  	background-color: #EEE;
	}
	
	
	.clearer
	{
		clear: both;
	}
	
	.field
	{
		width: 300px;
		float: left;
		margin: 35px;
	}
	
	.field input
	{
		
	}
	
	.riquadro
	{
		width:350px;
		height: 175px;
		margin: 10px;
		padding: 10px;
		float: left;
		
		background-color: #D9A1A2;
		border: 2px black dotted;
	}
	
	.riquadro h2
	{
		margin-top: 0px;
	}
	
	
/* ===========================  FOOTER   =========================================== */

#footer
{
	clear: both;
	height: 40px;
	
	color: white;
	border: 1px #A51E22 solid;
	
	background-color: #A51E22;
}

	#footer_sx
	{
		float: left;
		text-align: left;
		margin: 5px;
	}
	
	#footer_dx
	{
		foat: right;
		margin: 5px;
		text-align: right;
	}

/* ============================== FORM ============================== */


label
{
	width: 10em;
	float: left;
	text-align: right;
	margin-right: 0.5em;
	display: block
}

.submit input
{
	margin-left: 4.5em;
	border: 1px solid #A51E22;
}

input
{
	color: #A51E22;
	background: #FFF;
	border: 1px solid #A51E22;
}

.submit input
{
	color: #356AA0;
	background: #FFF;
	border: 2px outset #356AA0;
}

fieldset
{
	margin: auto;
	padding: 10px;
	border: 2px solid #A51E22;
	width: 27em;
}

legend
{
	color: #A51E22;
	background: #fff;
	padding: 2px 6px;
}

.error-message
{
	position: relative;
	font-size: 10px;
	margin-left: 25px;
	color: red;
	font-decoration: underlined;
}
