/*stili per il layout fisso con posizionamenti assoluti*/
html,body{
	margin:0;
	padding:0;
	text-align:center;
}
body{
	font-family:Arial, Verdana, Helvetica, sans-serif;
	text-align:left;
	background-color:#B7B7B7;
	height:100%;
	background-image:url('../images/sfondo.gif');
	background-repeat:repeat-x;
}

h1,h2,h3,h4,h5{
	margin:0;
	padding:0;
	font-weight:bold;
	color:#022662;
}
h1 {
	font-size:26px;
}
h2 {
	font-size:22px;
}
h3 {
	font-size:14px;
}
h4 {
	font-size:10px;
}
h5 {
	font-size:8px;
}
td{
	font-size:12px;
	color:#022662;
}

p {
	font-size:14px;
	text-align:justify;
	margin:0px;
	padding-top:0px;
	padding-bottom:10px;
}
a {
	color:#666;
	text-decoration:none;
}
a:hover {
	color:#000;
	text-decoration:underline;
}
hr {
	color:#000;
}

div#header {
	width:100%;
	height:360px;
/*	background-image:url('../images/sfondo_header.gif');
	background-repeat:repeat-x;*/
	text-align:center;
}
div#contenitore {
	margin-left: auto;
	margin-right: auto;
	width:840px;
}
div#menu {
	position:absolute;
	float:left;
	width:158px;
	height:303px;
	padding:0px;
	padding-top:15px;
	margin-left:20px;
	margin-right:35px;
	background:url('../images/sfondo_menu.gif');
	background-position:top;
	background-repeat:repeat-x;
	text-transform: uppercase;
	font-size:14px;
	color:#516F89;
	font-weight:bold;
	text-align:left;
}
div#menu ul {
	list-style:none;
	margin:0px;
	padding:0px;
}
div#menu li {
	height:25px;
	padding-top:5px;
	padding-left:20px;
	background:url('../images/righe_menu.gif');
	background-position:left;
	background-position:bottom;
	background-repeat:no-repeat;
}
div#menu a {
	color:#516F89;
	text-decoration:none;
}
div#menu a:hover{
	color:#516F89;
}
div#main {
	margin:0px;
	padding:0px;
	padding-right:30px;
	padding-bottom:25px;
	/*background-color:#586369;*/
	text-align:left;
	background:url('../images/sfondo_main.gif');
	background-position:right;
	background-repeat:repeat-y;
}

div#testo {
	width:550px;
	margin-left:240px;
	color:#516F89;
}
div#testo ul {
	list-style:decimal;
}
div#testo li {
	background-color:#F0F0F0;
	color:#516F89;
	font-size:14px;
}

div#testo_home {
	width:550px;
	height:350px;
	margin-left:240px;
	color:#516F89;/*
	background:url('../images/sfondo_main_home.jpg');
	background-position:center;
	background-repeat:repeat-y;*/
}
div#testo_home ul {
	margin:0;
	padding:5px;
	margin-left:10px;
}	

div#box_nuovo_home {
	width:251px;
	height:392px;
	text-align:left;
	padding-left:20px;
	float:right;
/*	margin-left:250px;*/
	background:url('../images/nuovo_home.jpg');
	background-position:left;
	background-repeat:no-repeat;
	cursor:pointer;
}

div#box_usato_home {
/*	width:250px;*/
	float:left;
	text-align:right;
}
div#box_usato_home a {
	color:#516F89;
}
div#box_usato_home ul {
	list-style:none;
}
div#box_usato_home li {
	background-color:#F0F0F0;
	color:#516F89;
	font-size:12px;
	font-weight:bold;
}
/*div#box_usato_home li:hover {
	background-color:#2C3339;
}*/
div#box_usato_home img {
	/*padding:5px;*/
}

div#both {
	clear:both;
}

/*#box_categoria {
	float:left;
	padding:15px;
	margin:1px;
	background-image:url(../images/bg_categoria.gif);
	background-repeat:no-repeat;
	width:150px;
	height:60px;
	text-align:center;
}*/
.box_categoria {
	list-style:none;
	margin:0;
	padding:0;
}
#box_categoria {
	/*float:left;*/
	/*padding:15px;
	margin:1px;
	background-image:url(../images/bg_categoria.gif);
	background-repeat:no-repeat;
	width:150px;
	height:60px;*/
	width:150px;
	text-align:right;
	font-weight:bold;
	font-size:13px;
	clear:both;
	padding:3px;
}
.confoto {
	height:31px;

}
#box_categoria:hover {
	background-color:#CCCCCC;
}
/*#box_categoria a{
	text-decoration:none;
	color:#516f87;
	font-size:13px;
	font-weight:bold;
}*/
#box_categoria a{
	text-decoration:none;
	color:#516f87;
	font-size:11px;
	font-weight:bold;
}
#box_categoria img {
	float:left;
}

div#box {
	width:120px;
	height:150px;
	float:left;
	padding:10px;
	text-align:center;/*
	cursor:pointer;*/
}
div#box h3 {
	/*width:67%;
	color:#022662;
	background-color:#B1B1B1;*/
	color:#516f87;
	padding:2px;
	margin:0;
	font-size:12px;
	/*margin-left:28%;
	margin-top:10px;
	margin-bottom:15px;
	text-align:left;*/
}
div#box p {
	/*width:67%;
	background-color:#000;*/
	color:#333;/*#B1B1B1;*/
	padding:2px;
	margin:0;
	font-weight:bold;
	font-size:9px;
	text-align:left;
	/*margin-left:28%;
	margin-top:10px;
	margin-bottom:10px;
	text-align:left;*/
}
div#box img {
	/*float:left;*/
	margin-right:5px;
}

div#dettaglio {
	margin-left:190px;
}
div#dettaglio ul {
	list-style:none;
	font-size:12px;
}
div#dettaglio img {
	margin:0;
	padding:0;
}
div#dettaglio_foto {
	width:200px;
	float:left;
	margin-top:10px;
	margin-left:30px;
}
div#dettaglio_foto img {
	margin:5px;
	border:solid;
	border-width:5px;
	border-color:#CCC;
}
div#dettaglio_foto img:hover {
	margin:5px;
	border:solid;
	border-width:5px;
	border-color:#2C3339;
}
div#pagine {
	clear:both;
	padding:5px;
	text-align:center;
	font-size:11px;
	font-weight:bold;
}
div#pagine a {
	color:#666;
}

div#footer {
	bottom:0px;
	width:100%;
	height:58px;
	background:url('../images/sfondo_footer.jpg');
	background-repeat:repeat-x;
	/*background-color:#111214;*/
}
div#footer a{
	text-decoration:none;
}
div#footer_main {
	width:840px;
	margin:0px;
	margin-left: auto;
	margin-right: auto;
	padding:0px;
	padding-right:80px;
	padding-top:20px;
	text-align:right;
	background:url('../images/sfondo_footer_main.jpg');
	background-position:right;
	background-position:top;
	background-repeat:no-repeat;
	color:#516F89;
	font-size:11px;
	height:38px;
}

.warning{
	color:#990000;
}

div#clear {
	clear:both;
}

/*FORM*/
div#form {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}
div#form h3{
	color:#000;
}
div#form ul{
	list-style:none;
}
div#form a{
	font-size:10px;
	font-weight:bold;
}
div#form a:hover{
	text-decoration:underline;
}

/*INPUT*/
input {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:10px;
	font-style:normal;
	color:#000000;
	text-decoration:none;
	background-color:#EEEEEE;
	border:1px solid #CCC;
	margin:2px;
	padding:2px;
	vertical-align:bottom;
}
.input_text {
	width:200px;
}
.input_text_mini {
	width:50px;
}
.input_textarea {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:10px;
	font-style:normal;
	color:#000000;
	text-decoration:none;
	background-color:#EEEEEE;
	border:1px solid #CCC;
	margin:2px;
	padding:2px;
	height:106px;
	width:200px;
}
.input_textarea_mini {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:10px;
	font-style:normal;
	color:#000000;
	text-decoration:none;
	background-color:#EEEEEE;
	border:1px solid #CCC;
	margin:2px;
	padding:2px;
	height:200px;
	width:200px;
}
.input_date {
	width:31px;
}
.input_radio {
	color:#FFF;
	background-color:#FFF;
	border:0px solid #CCC;

}
.input_submit {
	font-weight:bold;
	width:100px;
}
