html,body{margin:0;padding:0}

/*definisco i colori e gli stili del link "torna alla pagina precedente"*/
#back a:link, #back a:visited {
	color: #254C6B;
}
#back a:hover {
	color: #FF0000;
}
/*definisco i colori e gli stili dei link in allestimenti*/
#ul_allestim a:link{
	color: #254C6B;
}
#ul_allestim a:hover {
	color: #FF0000;
}
#ul_allestim a:visited {
	color: #FF0000;
	text-decoration: none;
}


body{
	font: 76% arial,sans-serif;
	text-align:center;
	background-color: #CCCCCC;
}
p{/*margin:0 10px 10px 10px*/
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #000000;
	text-align: justify;
	letter-spacing: 0.1em;
}
/*a{display:block;color: #981793;padding:10px}*//*ho spento questa riga perchè influiva troppo sui link del menu e delle thumbnail sballando queste ultime con il padding*/
div#header h1{/*height:80px;line-height:80px;margin:0;
  padding-left:10px;background: #EEE;color: #79B30B*/
	background-image: url(../images/layout/header.jpg);
	background-repeat: no-repeat;
	height: 246px;
	width: 700px;
}
div#header span{
	display:none
}
div#container{text-align:left}
div#content p{
	line-height:1.4;
	margin: 10px 0 10px 0;
}
/*div#navigation{background:#254C6B}*/
/*div#extra{background:#254C6B}*/
div#footer{background: transparent;color: #FFF}
div#footer p{margin:0;padding:5px 10px}

div#container{
	width:700px;
	margin:20px auto 0;
	background-image: url(../images/layout/bg_main.jpg);
	background-repeat: repeat-y;
}
div#content{
/*non dimentichiamo che il totale del box width deve essere 500px, quindi, dato che uso un padding laterale di 20px per lato, devo ridurre il width da 500 a 460 (500-20-20)*/
	float:left;
	width:460px;
	padding: 0 20px 0 20px;
}
div#navigation{float:right;width:200px}
div#extra{
	float:right;
	clear:right;
	width:200px;
	margin-top: 20px;
	margin-bottom: 30px;
}
div#footer{
	clear:both;
	width:700px;
	background-image: url(../images/layout/footer.jpg);
	background-repeat: no-repeat;
	height: 116px;
}



/*-------contenuto delle pagine----------------------*/
#pagina {
/*settiamo margine e padding a 0 in modo che subisca i valori di "content"*/
	margin: 0px;
	padding: 0px;
}
#titolo {
	display: block;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #666666;
	font-size: 24px;
	line-height: 30px;
	font-family: "Arial Black", Arial, Helvetica, sans-serif;
	font-style: oblique;
	color: #666666;
}
#help {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #666666;
	margin-top: 5px;
	margin-bottom: 5px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #254C6B;
}

#pag_foto {
	margin: 10px 0 0 0;
	width:456px;
	height:220px;
	background-image: url(../images/storia1.jpg);
	background-repeat: no-repeat;
	border: 2px solid #9F7800;
}

#pag_foto_chi {
	margin: 10px 0 0 0;
	width:456px;
	height:103px;
	background-image: url(../images/chi1.jpg);
	background-repeat: no-repeat;
	border: 2px solid #9F7800;
}
/*----lista dei veicoli nuovi e usati----*/
#tb_lista {
	margin: 10px 0 0 0;
}




/*------gestione grafica dei menu------*/
#menu1 ul, #menu2 ul {
	list-style-type: none;
	margin: 0;
	padding: 0
}
#menu1 li, #menu2 li{
	margin: 0 0 -10px;
	padding: 0
}
#menu1 a, #menu2 a{
	display: block;
	width: 160px;;
	line-height: 8px;
	text-decoration: none;
	text-indent: 12px;
	background: url(../images/layout/bot_menu/bot_bg.jpg) no-repeat left center;
	color: #CC6600;
	font-variant: small-caps;
	font-weight: bold;
	font-size: 16px;
	font-style: italic;
	letter-spacing: 1px;
	padding:10px;
}
#menu1 a:hover, #menu2 a:hover{
	background: url(../images/layout/bot_menu/bot_hover.jpg) no-repeat left center;
	color: #FF0000;
}
#menu1 li#activelink a, #menu1 li#activelink a:hover, #menu2 li#activelink a, #menu2 li#activelink a:hover{
	background: url(../images/layout/bot_menu/bot_hover.jpg) no-repeat left center;
	color: #FF0000;
}
/*----gestione grafica delle tabelle elenco veicoli----*/
.campo {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #8B6910;
	font-weight: bold;
	text-align: left;
	padding-right:11px;
	border-bottom-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	border-bottom-color: #AF8514;
	line-height: 18px;
	vertical-align: bottom;
	width: auto;
}
.valore {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #FFFFFF;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #BBC2C8;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #BBC2C8;
	background-color: #AF8514;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #BBC2C8;
	padding-left: 4px;
	font-weight: bold;
	letter-spacing: 1px;
	text-align: left;
	display: block;
	width: 290px;
}
.tmb_vtt {
	border: 1px solid #254C6B;
}
.riga {
	line-height: 5px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #254C6B;
}
.riga_vuota {
	line-height: 5px;
/*	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #254C6B;
*/}
#field_info {
	width: 420px;
	border: 1px dashed #254C6B;
	padding:0 10px 0 10px;
}
#field_info legend {
	background-color: #8998B0;
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	padding-right: 5px;
	padding-left: 5px;
	border: 1px dashed #254C6B;
}
.label_form {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #8B6910;
	font-weight: bold;
	text-align: left;
	padding-right:10px;
	border-bottom-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: dashed;
	border-left-style: none;
	border-bottom-color: #AF8514;
	line-height: 20px;
	vertical-align: bottom;
}
#tb_form h6 {
	text-align: left;
}

em {
	color: #FF0000;
	margin-right: 5px;
	font-family: "Arial Black", Arial, Helvetica, sans-serif;
	font-size: 12px;
}
/*-----fotografie in sottopagine-----*/
#pag_foto_allestim {
	margin: 10px 0 0 0;
	width:460px;
	height:337px;
	background-image: url(../images/foto_allestimenti.jpg);
	background-repeat: no-repeat;
}#nome_allestim {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 22px;
	color: #FF0000;
	font-style: italic;
	margin-top:5px;
}
.foto_sx {
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 5px;
	margin-left: 0px;
	border: 1px solid #254C6B;
}
#pag_foto_contatti {

	margin: 10px 0 0 0;
	width:460px;
	height:166px;
	background-image: url(../images/foto_contatti.jpg);
	background-repeat: no-repeat;
}
#pag_content {
	padding-top: 10px;
}
#pag_content fieldset {
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 10px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #AF8514;
	border-right-color: #AF8514;
	border-bottom-color: #AF8514;
	border-left-color: #AF8514;
	margin: 0 0 10px 0;
	padding:15px;
	text-align: center;
}
#pag_content legend {
	font-family: "Trebuchet MS", Arial;
	font-size: 12px;
	color: #FFFFFF;
	background-color: #AF8514;
	padding: 2px 5px 2px 5px;
	font-weight: bold;
	text-align: left;
}

