body {
	font-family:  Arial, 'Luicida Grande', 'DejaVu Sans', Helvetica, sans-serif;
	font-size: 12px;
	color: #333333;
	background-color: #FFFFFF;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

form {
	margin: 0;
	padding: 0;
	}

a img {
	border: none;
	}

/* #header {
	height: 105px;
	width: 100%;
	background-color: #FFFFFF;
	background-repeat: no-repeat;
	color: #317DAC;
	background-image: url(../img/img_top_new.jpg);
	background-position: center center;
	margin: 0;
	padding-top: 8px;
	padding-right: 8px;
	padding-bottom: 0px;
	padding-left: 8px;
} */

#header {
	height: 80px;
	padding: 0 10px;
	/*margin-bottom: 20px;*/
	position: relative;
	background: #78C5F3 url(i/bg_header.png) repeat-x top left;
	/*-moz-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px;
	border-radius: 0 0 6px 6px;*/
	min-width: 960px;
}

#header a {
	color: #BBDAE9;
	}
	
#header a:hover {
	color: #FFF;
	}
	
/* LOGO - con immagini di sfondo */
#header h1 {
	width: 330px;
	text-indent: -9999px;
	overflow: hidden;
	margin: 0;
	padding: 0;
	float: left;
	font-size: 12px;
	height: 80px;
	position: absolute;
	
}

#header h1 a {
	display: block;
	float: left;
	width: 330px;
	height: 80px;
	background: transparent url(i/logo_ministero_new.png) top left no-repeat;
	margin: 0 ;
}

#header h1 a:hover {
	background: transparent url(i/logo_ministero_new.png) top left no-repeat;
}

ul.navigation {
	list-style: none;
	margin:45px 0 0 0;
	/*padding: 48px 0 0 0;*/
	text-align: right;
	float: right;
}

ul.navigation > li {
	margin: 0;
	float:left;
	line-height:0px;
}

ul.navigation > li > a{
	display: block;
	padding: 10px 10px;
	border-right: solid 1px #178BBF;
}

ul.navigation > li.last {
	
	border-right: none;
	
}

ul.subnav{
	line-height: 1px;
	position: absolute;
	background: url(i/bg_ul_menu.png) repeat-x bottom;
	width: 96%;
	left:0px;
	
	height: 50px;
	display: none;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px;
	border-radius: 0 0 6px 6px;
}

ul.subnav li{
	border-right: 1px solid #178BBF;
    display:inline;
    position: relative;
    top:25px;
    line-height: 1px;
    margin: 0;
    padding:0 10px;
    list-style: none;
    color: #fff;
}

form#userInfo {
	position: absolute;
	top: 0;
	right: 10px;
	padding: 5px 0;
	color: #BBDAE9;
	font-style: italic;
	
}

form#userInfo input {
	font-size: 10px;
	margin-left: 6px;
	}

#footer {
	color: #AAA;
	padding: 20px 20px;
	line-height: 1.6;
	text-align: center;
	margin-top: 100px;
}

#blocco_1 {
    background-color: #C2E1F4;
	height: 58px;
	top: 0px;
	bottom: 0px;
	padding: 0px;
	margin: 0px;
}

#corpo_pagina {
    width: 100%;
	height: 60px;
	background-color: #FFFFFF;
	margin: 0;
}

#container {
	background-color: #FFFFFF;
	width: 96%;
	padding: 0 2%;
	margin: 0;
	min-width: 940px;
}

#blocco_messaggio {
	background-color: #F0F0F0;
	height: 50px;
	width: 266px;
	float: left;
	font-size: 11px;
	color: #333333;
	padding: 4px 4px;
}

#blocco_title {
	width: 466px;
	margin-left: 272px;
	font-size: 13px;
	color: #333333;
    padding: 4px 4px;;
	font-weight: bold;
}

a:link {
	color: #317DAC;
	text-decoration: none
}

a:visited {
	color: #317DAC;
	text-decoration: none
}

a:hover {
	color: #317DAC;	
}

/* Tabelle ----------------------------------------------------------------- */


table.listaAds, table.listaNews {
	width: 100%;
	border: none;
	border-collapse: collapse;
	background: transparent;
}
	
table.listaAds th, table.listaNews th  {
	background: #A4A4A4 url(i/bg_tabheader.png) repeat-x left top;
	color: #555;
	text-shadow: 1px 1px 1px #EEE;
	border-left: dotted 1px #AAA;
	border-right: dotted 1px #AAA;
	/*padding: 4px 0px 4px 0px;*/
	padding: 4px;
	/*min-width: 70px;*/
	
	
	}

table.listaAds td, table.listaNews td {
	background: #FFF;
	color: #333;
	border-top: solid 1px #CCC;
	border-right: dotted 1px #CCC;
	border-bottom: solid 1px #CCC;
	border-left: dotted 1px #CCC;
	padding: 4px 0.5%;
	/*min-width: 70px;*/
	
	}
	
table.listaAds tr.even td, table.listaNews tr.even td {
	background: #EFEFEF;
	}
	
table.listaAds tr:hover td, table.listaNews tr:hover td {
	background: #FFFFCC;
	}
	
/* gestione mail per ads*/
#div_ins_mail{				
	width: 580px;				
	display: none;		
	position: absolute;
	right: 0px;					
}
input.btt_ins_mail {
	width: 80px;
}
table.tbl_ins_mail {
	padding: 10px !important;
	margin: 0px;				
}
table.tbl_ins_mail td{
	padding: 5px !important;				
}
div.posrel {
	position: relative !important;
}
table.listaMail{
	width: 100%;
	border: none;
	border-collapse: collapse;
	background: transparent;	
}
table.listaMail th {
	background: #A4A4A4 url(i/bg_tabheader.png) repeat-x left top;
	color: #555;
	text-shadow: 1px 1px 1px #EEE;
	border-left: dotted 1px #AAA;
	border-right: dotted 1px #AAA;
	border-top: solid 1px #444;
	border-bottom: solid 1px #444; 
	/*padding: 4px 0px 4px 0px;*/
	padding: 4px 0.5%;
	/*min-width: 70px;*/
}
table.listaMail td.top{
	border-top: solid 1px #444;	
	border-left: dotted 1px #AAA;
	border-right: dotted 1px #AAA;
}
table.listaMail td.bottom{
	border-bottom: solid 1px #444;	
	border-left: dotted 1px #AAA;
	border-right: dotted 1px #AAA;
}
table.listaMail td.middle{		
	border-left: dotted 1px #AAA;
	border-right: dotted 1px #AAA;
}
/* ---- */	
	
td.azione, td.brand {
	text-align: center;
	padding: 4px 0px !important;
	}
	
td img {
    vertical-align: middle;
}

td.azione a {
	font-size: 11px;
	font-weight: bold;
	}

td.azione a:hover {
	color: #FF0000;
	}

table.defaultTable {
	width: 100%;
	border: none;
	border-collapse: collapse;
	background: transparent;
	font-size: 12px;
	}
	
table.defaultTable th {
	background: #DFF3FF;
	font-size: 16px;
	text-shadow: 1px 1px 1px #FFF;
	padding: 1em 1em;
	}

table.defaultTable td {
	padding: 1em 1em;
	background: transparent;
	border-top: solid 1px #DEDEDE;
	border-left: dotted 1px #DEDEDE;
	border-bottom: solid 1px #DEDEDE;
	border-right: dotted 1px #DEDEDE;
	}
	
		
table.defaultTable td.buttons {
	border-bottom: none;
	border-top: solid 4px #DEDEDE;
	}
	
/* Form di ricerca */

#searchForm, #div_ins_mail_panel {
	margin-bottom: 20px;
	}

#searchForm label, #div_ins_mail_panel label {
	padding-right: 10px;
	line-height: 1.5em;
	color: #777;
	font-size: 10px;
	text-transform: uppercase;
	}
	
#searchForm table, #div_ins_mail_panel table  {
	width: 100%;
	background: #EFEFEF;
	border: solid 1px #DDD;
	}
	
#searchForm table td, #div_ins_mail_panel table td {
	padding: 10px 10px;
	}


#div_ins_mail_panel


/* PopUp ------------------------------------------------------------------- */

body.popUp {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	font-size: 12px;
	}
	
form {
	margin: 0;
	padding: 0;
	}

ul.formList {
	margin: 1em 1em;
	padding: 0;
	list-style: none;
	}
	
ul.formList li {
	margin: 0;
	padding: 0.5em 0;
	border-bottom: solid 1px #DEDEDE;
	}
	
.buttons {
	padding: 1em 0;
	text-align: center;
	}
	
.buttons a, .buttons input {
	padding: 0 0.5em;
	}

.popUp h2 {
	position:relative;
	margin: 0;
	font-size: 20px;
	background: #C2E1F4;
	color: #307CAD;
	text-shadow: 1px 1px 1px #FFF;
	padding: 1em 60px 1em 1em;
	}
	
.popUp h2 img {
	position: absolute;
	top: 1em;
	right: 1em;
	}

.important {
	background: #FFFF00;
	font-weight: bold;
	}
	
.valueError {
	background : #FFFF00;
	border : solid 2px #CC0000;
}
	
/* box per informazioni all'utente */
p.ok {
	margin: 10px 10px;
	padding: 10px 10px;
	background-color: #E0EFE8;
	border: solid 1px #15AF64;
}

p.warning {
	margin: 10px 10px;
	padding: 10px 10px;
	background-color: #FFF9D8;
	border: solid 1px #ffcc00;
}

p.error {
	margin: 10px 10px;
	padding: 10px 10px;
	background-color: #FFCFD1;
	border: solid 1px #FF000A;
}

/* prova bottoni */
a.button, input.button {
	color: #FFF;
    text-decoration: none;
	text-shadow: 1px 1px 1px #000;
	padding: 2px 4px;
	background: #DC4C00;
	-moz-border-radius:  4px 4px;
	-webkit-border-radius:  4px 4px;
	border-radius:  4px 4px;
	border-top: solid 2px #FF833F;
	border-right: solid 2px #9F3800;
	border-bottom: solid 2px #9F3800;
	border-left: solid 2px #FF833F;
	}
.buttonLogin{
	margin-bottom: 20px; 
	font-size: 14px;
}
a.button:hover, input.button:hover {
	background:  #EF5D0E;;
	}
	
.block{
	 display: block; 
	 width: 100%;
	 height: 100%;
}


/* Punti vendita esterni */

#container_pve_ris {
	width: 96%;
	margin: 0 auto;		
	text-align: center;
}

#div_pve {
	margin: 0px 20px;
}

#div_pve .div_header {		
	background: #CCCCCC;
	padding: 3px 15px;
	margin: 3px 0px;
	text-align:left;
	position:relative; 
}

#div_pve .div_prezzi {		
	background: #EEEEEE;
	padding: 3px 15px;
	margin: 3px 30px;
}

#div_pve .div_header .pve_addButton {
	position: absolute;
	right: 20px;
	top: 3px;	
}

#dialog-form .div_form {		
	height: 30px;		
}

#dialog-form .div_form label{
	width: 250px;
	margin: 0px 10px 5px 5px;
	display:inline-block;
}

.pve h2 {
	position:relative;
	margin: 0;
	font-size: 20px;
	background: #C2E1F4;
	color: #307CAD;
	text-shadow: 1px 1px 1px #FFF;
	padding: 8px 60px 8px 1em;
	text-align: left;
}

.pve h2 img {	
	position: absolute;
	top: 1.5em;
	right: 1em;	
	}

.pve .filterdata {
	background-color: #D6EBF8; 
	padding: 3px;
	text-align: center;
}


/* Gestione News */

#news {
	padding: 20px 20px;
}

table.listaNews {
	width: 100%;
	border: none;
	border-collapse: collapse;
	background: transparent;
}
	
table.listaNews th  {
	background: #A4A4A4 url(i/bg_tabheader.png) repeat-x left top;
	color: #555;
	text-shadow: 1px 1px 1px #EEE;
	border-left: dotted 1px #AAA;
	border-right: dotted 1px #AAA;
	padding: 4px;
	}

table.listaNews td {
	background: #FFF;
	color: #333;
	border-top: solid 1px #CCC;
	border-right: dotted 1px #CCC;
	border-bottom: solid 1px #CCC;
	border-left: dotted 1px #CCC;
	padding: 4px 0.5%;	
	}
	
table.listaNews tr.even td {
	background: #EFEFEF;
	}
	
table.listaNews tr:hover td {
	background: #FFFFCC;
	}


/* ***************************************** */
@media screen and (min-device-width: 320px) and (max-device-width: 767px){
	/*login*/
	#loginBox{
		width: 100% !important;
		margin: 0 !important;
		font-size: 300%;
	}
	.buttonLogin{
		font-size: 100%;
	}
	#loginBox input{
    	font-size: 120%;
    	padding-top: 10px;
	}
	#loginBox table td {
    	padding: 20px !important;
	}	
	/*elenco ads*/
	#container{
		min-width: 0;
	}
	table.listaAds {
		font-size: 24px;
   	 	font-stretch: expanded;	
	    
	    font-weight: bold;
	}
	table.listaAds tr td a {
	    font-size: 26px;
	    font-stretch: expanded;	
	    line-height: 2em;
	}	
	table.listaAds tr td {
    	background: #EFEFEF;
    	height: 70px;
	}
	table.listaAds .cellStrada,
	table.listaAds .cellDir,
	table.listaAds .cellKm,
	table.listaAds .cellPrezzo,
	table.listaAds .cellDataPrezzo,
	table.listaAds .cellDetPrezzo,
	table.listaAds .cellReport,
	table.listaAds .cellModificaProdotti,
	table.listaAds .cellModificaEmail,
	table.listaAds .cellModificaSellOut{
		display: none;
	}
	table.listaAds .cellBrand{
		width: 10%;
	}
	table.listaAds .cellNome{
		text-align: left;
		text-transform: uppercase;
		width: 50%;
	}
	table.listaAds .cellModificaPrezzi,
	table.listaAds .cellAzioni{
		width: 40%;
		text-align: left;
	}
	table.listaAds a.activeLink{/*disabilita il link*/
		pointer-events: none;
       	cursor: default;
	}
	.tableFiltri{
		/* visibility: hidden; */
		display: none;
	}
	ul.navigation{
		visibility: hidden;
	}
	form#userInfo{
		right: 30px;
		font-size: 20px;
		/* position: relative; */
	}
	form#userInfo input{
		font-size: 18px;
	}
	#header{
		position: relative;
		background: #0571a4 url(i/bg_header.png) repeat-x top left;
		height: 90px;
		
	}
	#header h1{
		height: 80px;
		display: inline;
	}
	/*popup modifica*/
	table.defaultTable{
		font-size: 250%;
	}
	form#formPrezzi h2 {
    	font-size: 300%;
    	text-transform: uppercase;
    	text-shadow: none;
	}
	table.defaultTable input {
    	font-size: 110%;
	}
	table.defaultTable th {
    	font-size: 120%;
    	text-align: left;
	}
	td.prezzo {
    	width: 35%;
	}
	table.defaultTable td.data input {
	    width: 350px;
	}	
	#formPrezzi h2 img {
	    width: 50px;
	    height: 50px;
	}
 }

