body { 
	background-color:#171717;
	font: 12px "Trebuchet MS",Helvetica,Arial,sans-serif;
	color: #ffffff;
	margin:0;
	padding:0;	
}
img {
	border: 0;
}
p {
	line-height:1.5em; 
}
h2 { 
	color: #e31e24; 
	text-transform:uppercase; 
	font-size:24px;
	margin-top:9px;
}
h2 a {
	text-decoration: none !important;
	color: #e31e24 !important; 
}
h3 { 
	text-transform: uppercase; 
	font-size:14px; 
	border-bottom:1px solid black;
	font-weight:bold; 
}
label {
	float:left;
	width:250px;
	text-align:left;
	vertical-align: middle;
	margin-top:7px;
}
label.error { 
	color:#e31e24; 
	font-weight:bold;
	text-transform:uppercase;
	font-size:9px;
	display:block;
	float:right;
	width:360px;
	text-decoration:underline;
}
input, select { 	
	padding:4px;
	border:1px solid #999;
	width:150px;
	text-transform:uppercase;
	margin-bottom:4px;
	background-color:#fff;
	border-radius:5px;
	
}
input[type="checkbox"] {
	width:16px;
	border:0;
	height:24px;
}
input[type="radio"] {
	width:16px;
	border:0;
	float:left;
	height:22px;
}
select {
	width:160px;
	text-transform:none;
}
select#agente { 
	text-transform:capitalize;
}
textarea { 
	border:1px solid #999;
	border-radius:5px;
	padding:4px; 
	width:250px;
	height:70px;
	margin-bottom:3px;
	font: 12px Arial;
	text-transform:uppercase;
	background-color:#fff;
}
.rifiutato {
	color:red;
	font-weight:bold;
}
.form-button {
	width:150px;
	border:1px solid #000000; 
	background-color:#222222; 
	color: #dadada; 
	margin:0;	
	font-variant:small-caps !important;
	text-transform:none !important;
	font: 14px Arial;
	cursor:pointer;
}
.form-button:hover {
	background-color:#404040;
}
.clear {
	clear:both;
}
.msg {
	text-align:center;
	font-size:14px;
}
#data {
	margin:14px 4px 0px 0px;
	text-align:right;
	float:right;
	text-transform:uppercase;
	font-size:10px;
	font-weight:bold;
	text-align:right;
	color:#fff;
	border-left:1px solid #555;
	padding-left:5px;
}
#menu {
	margin:6px auto;
	width:100%;	
}
#menu a, #menu a:visited { 
	color:#ffffff; 
	text-decoration: none; 
	font-variant:small-caps; 
	text-transform:lowercase; 
	font-size:13px;
}
#menu a:hover { 
	color:#ffffff;
	text-decoration: none; 
	border-bottom:1px solid red; 
}
#wrapper {
	width:96%;
	margin:20px auto 20px auto;
}
#logo {	
	float:left;
}
#logo img { margin-left:-4px; }
#content { 
	display:block; 
	background-color:#fff; 
	border:2px solid #999;
	color:#000;
	border-radius:7px;
	padding-right:10px;
	padding-left:10px;
	padding-bottom:20px;
	padding-top:5px;
	margin-top:10px;
}
#content a, #content a:visited { 
	color:#000000;
	text-decoration:none;
}
#content a:hover { 
	color:#0000ff;
	text-decoration:underline;
}
#content .sommariolink a, #content .sommariolink a:visited, #content .sommariolink a:hover {
	float:left;
	margin-right:5px;
}
#nome, #cognome, #ragsociale {
	text-transform:uppercase !important;
}
#myusername, #username, #mypassword {
	text-transform:none !important;
}
#email {
	text-transform:lowercase !important;
}
td.username, td.email {
	text-transform:lowercase !important;
}



/* tabelle */
.selectedRow {
	background-color:#cee6ff;
}
table {
	width:100%;
	margin:auto;
	border:0;
	border-right:1px solid #969696;
}
th {
	background-color:#ffff80;
	padding:5px;	
	border-bottom:1px solid #969696;
	border-top:1px solid #969696;
	border-left:1px solid #969696;
	text-align:left;
}
table .header {
	cursor:pointer;
	background-image: url("../images/bg.gif");
	background-repeat: no-repeat;
	background-position: center right;
}
table .header:hover {
	background-color:#ffcd20;
}
table .headerSortUp {
	background-image: url("../images/asc.gif");
	background-repeat: no-repeat;
}
table .headerSortDown {
	background-image: url("../images/desc.gif");
	background-repeat: no-repeat;
}
table .headerSortDown, table .headerSortUp {
	background-color:#ffcd20;
}
td {	
	padding:5px;
	border-bottom:1px solid #969696;
	border-left:1px solid #969696;
	text-transform:uppercase;
	text-align:left;
}
td.dettagli-th {
	width:20px;
	border-left:0;
	border-top:0;
	background-color:transparent;
}
td.dettagli {
	width:20px;
	text-align:center;
}
td.rinnova-th {
	width:120px;
	background-color:transparent;
}

td.codice, th.codice {
	width:60px;
	text-align:center;
	font-weight:bold;
}
th.data, td.data {
	width:70px;
	text-align:center;
}
th.tipo, td.tipo {
	width:80px;
	text-align:center;
}
#dettaglio_ordine, #dettaglio_ripristino {
	text-align:center;
}
#dettaglio_ordine th, #dettaglio_ripristino th {
	text-align:right;
	background-color:#FBFCBA;
	padding:5px;
	width:130px;
	background-image:none;
	cursor:default;
	border-top:0;
}
#dettaglio_ordine td, #dettaglio_ripristino td {
	text-align:left;
	padding:5px;
	text-transform:uppercase;
}
#dettaglio_ordine td a, #dettaglio_ripristino td a { 
	text-transform:lowercase;
}
#dettaglio_ordine td.titolo, #dettaglio_ripristino td.titolo {
	text-align:center;
	border-bottom:1px solid #969696;
	border-top:1px solid #969696;
	color:#ffffff;
	background-color:#969696;
	letter-spacing:2px;
	text-transform:uppercase;
	font-weight:bold;
	font-size:14px;
}

th.top, td.top, th.cs, td.cs, th.gest, td.gest {
	text-align:center;
	font-weight:bold;
	width:25px;
}
.top {
	color:#008000;
	text-transform:uppercase;
	font-weight:bold;
}
.cs {
	color:#0000ff;
	text-transform:uppercase;
	font-weight:bold;
}
.gest {
	color:#CC0000;
	text-transform:uppercase;
	font-weight:bold;
}




/* Ordini */
.label-utenza {
	width:50px;
	height:24px;
}
#dettaglio_ripristino td.desc_ricambi {
	text-transform:none;
}
#dettaglio_ripristino .totcosto {	
	margin-top:5px;
}
#dettaglio_ripristino .totcosto p {
	padding:3px !important;
	margin:0 !important;
	text-align:right;
}
#nbprezzi {
	 border:1px solid #999;
	 padding:2px;
	 float:left;
	 margin:10px 0 0 52px;
	 text-transform:uppercase;
	 font-size:8px;
}
#ricambi label.error {
	display:none !important;
}
#ricambi input.error {
	border:1px solid #e31e24 !important;
	background-color:#FFFFCC;
}
#ricambi .input_codice input {
	width:40px;
}
#ricambi .input_descrizione input {
	width:180px;
}
#ricambi .input_prezzo input {
	width:70px;
}
#ricambi .input_prezzo_iva input {
	width:50px;
}
#ricambi .input_percent input {
	width:50px;
}
#ricambi .input_costo input {
	width:70px;
}
#ricambi .input_costo_iva input {
	width:50px;
}
#ricambi .addScnt {
	float:left;
	margin-top:7px;
	margin-right:10px;
}
#ricambi .remScnt {
	float:left;
	margin-top:7px;	
	margin-right:10px;	
}
#dichiarazione { 
	margin-top:10px;
	
	width:308px;
}
#dichiarazione .testo { 
	text-align:justify; 
	padding:2px;
	margin:0;
}
/* Footer */
#footer {
	margin-top:20px;
	width:80%;
	border-top:1px solid #555;
	margin-left:auto;
	margin-right:auto;
}
#footer p { 
	text-align:center;
	font-size:10px;
	color:#dadada;
	margin:0;
	padding-top:5px;
	padding-bottom:10px;
}
/* Menu Funzioni */
#navcontainer { 
	width: 200px;
	float:left; 
}
#navcontainer ul {
	margin-left: 0;
	padding-left: 0;
	list-style-type: none;
	float:left;
}
#navcontainer a {
	display: block;
	padding: 3px;
	width: 160px;
	background-color: #555;
	border-bottom: 1px solid #ccc;
	border-left:3px solid #999;
	text-align:left;
	font-variant:small-caps;
	font-size:14px;
	padding:5px 0px 5px 10px;
}
#navcontainer a:link, #navlist a:visited {
	color: #fff;
	text-decoration: none;
}
#navcontainer a:hover {
	background-color: #222;
	color: #fff;
}
.cambiapassword a {
	font-variant:small-caps;
	border-left:3px solid #999;
	padding:1px 0 3px 3px;
	text-transform:lowercase;
	text-decoration:none;
}
/* Aggiungi_Officina_P - Aggiungi_Venditore_P */
.aggiungiofficina, .aggiungivenditore, .caricacontratto {
	margin-left:5px;
}
a.modalCloseImg {
	background:url(../images/x.png) no-repeat;
	width:25px;
	height:29px;
	display:inline;
	z-index:3200;
	position:absolute;
	top:-15px;
	right:-16px;
	cursor:pointer;
}
#aggiungi_officina_p label.error, #aggiungi_venditore_p label.error {
	display:none !important;
}
#aggiungi_officina_p input.error, #aggiungi_venditore_p input.error {
	border:1px solid red !important;
	background-color:#FFFFCC;
}
/* Suggestions */
.ac_results {
	padding: 0;
	border: 1px solid #222222;
	background-color: #f1f1f1;
	overflow: hidden;
	z-index: 99999;
	text-align: left;
	color:#303030;
	text-transform:uppercase;
}
.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}
.ac_results li {
	margin: 0;
	padding: 2px 5px;
	cursor: pointer;
	display: block;
	font: menu;
	font-size: 10px;
	line-height: 16px;
	overflow: hidden;
}
.ac_odd {
	background-color: #eee;
}
.ac_over {
	background-color: #222222;
	color: #fff;
}

#tab_tessere .rinnova { background-color:green; padding:3px;  }
#tab_tessere .rinnova a, #tab_tessere .rinnova a:visited { color:#fff; text-decoration: none; }
#tab_tessere .rinnova a:hover { color:#fff; text-decoration: underline; }
