html { 
  padding:10px; /*0px*/
  margin:0px;
}

body {
    background: Black;
    color: #e2e2e2;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    padding:5px;
    margin:auto;
    width: 860px /*760px;*/
}

/***** Stili *****/
h1 {
    font-size: 1em;
    font-style: italic;
    text-transform: uppercase;
    text-align: right;
    color: #FFF;
    background-color: #2E2A1B;
    border-bottom: 2px solid #FAC304;
    margin:0px;
    padding: 2px 15px;
}

p, h2 {
	color:#e2e2e2;
	margin: 0px; 
	padding: 5px 0px 5px 0px; 
}

h2 {
	font-size: 1.1em
}

h5 {
	color: #e2e2e2;  
	margin: 0px;
}

.note {
    color: #e2e2e2;
    padding-top: 10px;
    font-size: .8em;
}
.note#FAC304 {
    padding-top: 10px;
    font-size: .8em;
    color: #FAC304;
}

/******* Intestazione e centro **************/

#intesta{
    padding: 0;
    margin: 0;
    color: #e2e2e2;
    background-image: url(sf_intnew.png);
    background-position: right top;
    background-repeat: no-repeat;
}

#content {
    color: #e2e2e2;
    padding: 10px 0px 10px 10px;
    margin: 0px 20px 0px 140px;
    width: 708px; /* 608 */
    border-right: 1px dashed #FAC304;
}

#chi {
    font-size: .8em;
}

/***** Riquadri laterali a destra *****/
/* auto in vista gamma */
#boxes{
    background: #e2e2e2;
    color: #333;
    margin: 0px 0px 10px 0px;
    padding: 7px 10px 10px 10px;
    width: 160px;
    float: right;
    clear: right;
    border-top: 1px solid #242424;
    border-left: 1px solid #242424;
    border-right: 1px solid #242424;
    border-bottom: 5px solid #242424;
    font-size: .8em;
    text-align: left; /*justify*/
}
/* marchi */
#boxes_trasp{
    background: transparent; /*transparent;*/
    color: #333;
    margin: 0px 0px 0px 0px;
    padding: 7px 10px 15px 10px;
    float: right;
    clear: right;
    text-align: center;
}
/** titolo nel box  */
#boxes h3 {
    display: block;
    background-color: #3A3A3A;
    color: #FAC304;
    font-size: 1.3em;
    margin: -7px -10px 10px -10px;
    padding: 2px 5px 2px 5px;
}

#boxes a {
    text-decoration: none;
    color: #333;
}

#contatti{
    width: 380px;
    font-size: .8em;
}

/**** pie' di pagina *****/
#fondo {
    float: right;
    text-align: right;
    font-size: .6em;
    font-weight: bold;
    margin: 10px 0 0 0;
    padding: 0 10px 0 10px;
    width: 590px;
    color: #000;
    background-color: #D5DAE7;/* devevalereD5DAE7 */
    text-decoration: none;
}
#fondo a:link {
    color: #000;
    text-decoration: none;
}


/*********** #navBar link styles ***********/
#navBar{
    padding: 0;
    margin: 0;
    width: 140px;
    position: absolute;
    color: white;
    background-color: #494949;
}
#navBar ul a:link, #navBar ul a:visited {
    display: block;
    color: yellow;
    padding: 0 0 0 10px;
    margin: 0 0 1px 0;
    text-decoration: none;
}
#navBar ul a:hover {
    display: block;
    color: #FAC304;
    padding: 0 0 0 20px;
    margin: 0 0 1px -10px;
    text-decoration: none;
    font-weight: bold;
    background-color: #242424;
}
#navBar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* hack to fix IE/Win's broken rendering of block-level anchors in lists */
#navBar li {
    border-bottom: 1px solid #7A787B;
}
/* fix for browsers that don't need the hack */
html>body #navBar li {border-bottom: none;}


/*********** .relatedLinks styles ***********/
.relatedLinks{
    margin: 0px 0 10px 0;
    padding: 0 0 0 10px;
    font-size: .7em;
}
.relatedLinks h3{
    padding: 2px 0 0 0;
    font-size: 1em;
    margin: 5px 0 2px 0;
}

/***** simil-tabella per form *****/

div.row {
    padding: 2px 0 0 0;
    margin: 0 0 2px 0;
    clear: both;
}

div.row span.label {
    float: left;
    text-align: right;
    width: 80px;
}

div.row span.formw {
    float: right;
    text-align: left;
    width: 300px;
}

div.row span.label_ric {
    float: left;
    text-align: right;
    width: 250px;
}

div.row span.formw_ric {
    float: right;
    text-align: right;
    width: 250px;
    padding: 0 70px 0 0;
}

div.row span.label_log {
    float: left;
    text-align: right;
    width: 255px;
    padding: 0 5px 0 0;
}

div.row span.formw_log {
    float: right;
    text-align: left;
    width: 320px;
}

/** avvia query */
div.row a {
    display: block;
    background-color: #D5DAE7;
    text-align: center;
    margin: 3px 170px 3px 170px;
    color: black;
    text-decoration: none;
    border: 1px solid #7381AB;
}
div.row a:hover {
    display: block;
    color: #FAC304;
    background-color: #242424;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #FAC304;
}

/***** campi ricerca auto */
#ricerca{
    width: 680px;
    padding: 5px 10px 5px 10px;
    color: white;
    font-size: .8em;
    font-weight: bold;
    background-color: #494949;
}

#ricerca h3 {
    display: block;
    background-color: #242424;
    text-align: center;
    color: #e2e2e2;
    font-size: 1em;
    margin: -7px -10px 10px -10px;
    padding: 2px 5px 2px 5px;
}

/******** macchina in vista occasione */
#occasione{
    background: #e2e2e2;
    color: #000;
    margin: 20px 0px 0px 0px;
    padding: 7px 10px 10px 10px;
    width: 678px;
    font-size: .8em;
    font-weight: bold;
    border-top: 1px solid #242424;
    border-left: 1px solid #242424;
    border-right: 1px solid #242424;
    border-bottom: 5px solid #242424;
    text-align: center; 
}

#occasione h3 {
    display: block;
    background-color: #3A3A3A;
    color: #fff;
    font-size: 1em;
    margin: -7px -10px 10px -10px;
    padding: 2px 5px 2px 5px;
}

/*****   TABELLE *****/
.tabella {
    background: #e2e2e2;
    color: #333;
    margin: 10px 0 0 0;
    width: 700px;
    font-size: 1em;
    text-align: center; 
}

.row_titolo {
    background-color: #3a3a3a;
    color: #fff;
    font-size: .9em;
    font-weight: bold;
}
.row_piede {
    background-color: #3a3a3a;
    color: #fff;
    text-align: right;
    font-size: .8em;
    font-weight: bold;
}
.row_piede a{
    color: #fff;
}
.row_piede a:hover{
    background-color: black;
    color: #FAC304;
}

.td_testo {
    font-size: .8em;
    font-weight: bold;
    text-align: left;
    border-right: 1px solid #7A787B;
    border-bottom: 1px solid #7A787B;
}

.td_numeri {
    font-size: .9em;
    font-weight: bold;
    text-align: right;
    border-right: 1px solid #7A787B;
    border-bottom: 1px solid #7A787B;
}
/***** scheda macchina */
#scheda{
    width: 700px;
    margin: auto;
    text-align: center;
    margin: 0 0 0 0px;
}
#scheda a{
    color: #242424;
    text-decoration: none;
    font-weight: bold;
}

#scheda a:hover {
    color: #FAC304;
}

.tabella_scheda {
    background: #e2e2e2;
    color: #333;
    margin: 10px 0 0 0;
    width: 700px;
    font-size: 1em;
    text-align: center; 
}

.td_etic {
    font-size: .8em;
    font-weight: bold;
    text-align: right;
    color: White;
    background-color: #242424;
    border-right: 1px solid #7A787B;
    border-bottom: 1px solid #7A787B;
}

/** modulo richiesta info**/
#richiesta {
    margin: auto;
    width: 600px;
}

.tabella_richiesta {
    background: #e2e2e2;
    color: #333;
    margin: 10px 0 0 0;
    font-size: 1em;
    text-align: center; 
}


