/* ELEMENTI */
* {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

h2 {
	font-size: 13px;
	font-weight: bold;
	color: red;
}

div#errore {
	color: red;
	padding: 2px;
	margin: 0;
	font-size: 10px;
	font-weight: bold;
}

div#tit-descrizione {
	width: 700px;
	height: 20px;
	float: left;
	padding: 3px;
	margin: 0 0 10px 10px;
	text-align: left;
	
}

/* TOP */

table#lista-top {
	width: 960px;
	margin: 0 0 10px 0;
	display:none
}

table#lista-top {
	width: 960px;
	margin: 0 0 10px 0;
}

table#lista-top td{
	padding: 5px;
	vertical-align: top;
}

table#lista-top td#descrizione {
	text-align: left;
	width: 250px;
}

table#lista-top td#ricerca {
	width: 460px;
}

table#lista-top td#filtro {
	width: 250px;
	height: 20px;
	font-weight: bold;
	text-align: right;
}

table#lista-top td#filtro select {
	font-size: 10px;
	width: 100px;
}

div#filtro {
	width: 170px;
	height: 20px;
	float: right;
	clear: both;
	font-weight: bold;
	padding: 3px;
	margin: 0 10px 10px 0;
	text-align: right;
}

div#filtro select {
	font-size: 10px;
	width: 100px;
}

div.cerca {
	width:129px;
	height:28px;
	background:url(../img/cerca.gif) no-repeat;
	color:#FFFFFF;
	font-weight:bold;
	text-align:center;
	padding-top:15px
	}
	
div.cerca a {
	color:#fff;
	text-decoration:none
	}
	
div.cerca a:hover {
	color:#FF9900;
	text-decoration:none
	}
	
	

html {
	overflow:-moz-scrollbars-vertical}
a {
	color:#006699;
	text-decoration:none
	}
	
a:hover {
	color:#CC0000;
	text-decoration:underline
	}
	
a:active, a:focus {
	outline:none}
	
.gray {
	background-color:#40ABD5
	}
	
.gray1 {
	background-color:#C1DDF5
	}
	
.gray2 {
	background-color:#64BADB
	}
	
.evidenzia {
	background-color:#F09412
}

/* Lista dati */

table#listadati {
	width: 100%;
	border: 1px solid #006699
}

table#listadati th{
	background-color: #40ABD5;
	height: 20px;
}

table#listadati th a:link, table#listadati th a:visited {
	color:#fff;
}

table#listadati th a:hover {
	text-decoration: underline;
}

table#listadati tbody tr{
	background-color:#C1DDF5;
}

table#listadati tbody tr:hover{
	background-color: #F09412;
}

table#listadati td{
	color:#000;
	text-align: left;
	padding: 3px
}

table#listadati tbody img {
	border: 0;
	width: 16px;
	height: 16px;
	padding: 2px;
	display:none
}

table#listadati tbody img:hover{
	border: 0;
	width: 14px;
	height: 14px;
	padding: 3px;
}

table#listadati tfoot th {
	background-color:#FFF;
	padding: 5px;
	text-align: center;
	font-size: 10px;
}	

table#listadati tfoot a:link, table#listadati tfoot a:visited {
	color: #00F;
	padding: 1px;
}	

table#listadati tfoot a:hover {
	color: #FFF;
	background-color: #003;
	text-decoration: none;
}	

table#listadati tfoot td {
	background-color:#FFF;
	color: #003;
}	


/* Modulo Dati */

table#modulodati {
	width: 100%;
	border: 1px solid #006699
}

table#modulodati th {
	background-color: #40ABD5;
	color: #FFF;
	font-weight: bold;
	font-size: 12px;
	padding: 5px;
	text-align: center;
}

table#modulodati tbody td {
	background-color:#C1DDF5;
	text-align: left;
	padding: 3px;
}

table#modulodati tbody td.sx {
	font-weight: bold;
	width: 120px;
	height: 20px;
	vertical-align: top;
}

table#modulodati tbody input, table#modulodati tbody select{
	width: 400px;
	font-size: 11px;
	padding: 1px;
}

table#modulodati tbody textarea {
	width: 400px;
	height: 200px;
	font-size: 11px;
	padding: 1px;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

table#modulodati tbody img {
	width: 120px;
	height: 90px;
	border: 1px solid #FFF;
	padding: 1px;
	margin: 0 0 10px 0;
}



table#modulodati tfoot th {
	background-color: #40ABD5;
	padding: 5px;
	text-align: center;
}

/* Ricerca */

table#tab-ricerca {
	width: 400px;
	border: 1px solid #006699
}

table#tab-ricerca th {
	background-color: #40ABD5;
	color: #FFF;
	font-weight: bold;
	font-size: 12px;
	padding: 5px;
	text-align: center;
}

table#tab-ricerca tbody td {
	background-color:#C1DDF5;
	text-align: left;
	padding: 3px;
}

table#tab-ricerca tbody td.sx {
	font-weight: bold;
	width: 100px;
}

table#tab-ricerca tbody input, table#tab-ricerca tbody select{
	width: 280px;
	font-size: 11px;
	padding: 1px;
}

table#tab-ricerca tfoot th {
	background-color: #40ABD5;
	padding: 5px;
	text-align: center;
}

/* Generale */

table.dati {
	margin-top:10px;
	border:1px solid #006699
}
	
table.dati th{
	color:#fff;
	font-weight:bold;
	text-align:center;
	line-height:25px;
	text-transform:uppercase
	}
	
table.dati th.text{
	color:#000;
	text-align:left;
	line-height:17px;
	padding:5px;
	text-transform:none;
	font-weight:normal;
}

table.dati th a{
	color:#fff;
}
	
table.dati td{
	color:#000;
	text-align:left;
	line-height:25px;
	padding:0 3px
	}
	
table.dati td.scr{
	padding:0 7px
	}
	
table.dati td.scr2{
	padding:3px 7px;
	line-height:18px;
	text-align:justify
}
	
table.dati tbody tr:hover{
	background-color:#F09412;
}
	
table.dati td img{
	vertical-align:middle
}

table.dati td input{
	margin:0 5px;
	height:15px;
	border:1px solid #006699;
	width:290px;
	font-size:12px;
	padding-left:5px
}

table.dati td textarea{
	margin:0 5px;
	height:15px;
	border:1px solid #006699;
	width:293px;
	font-size:12px;
	height:70px;
	overflow:auto;
	font-family:Tahoma;
	margin:3px 3px 3px 5px
}

table.dati td textarea.big{
	width:400px;
	height:200px;
	overflow:auto;
	
}

table.dati td select{
	margin:0 5px;
	height:19px;
	border:1px solid #006699;
	width:120px;
	font-size:12px;
	margin-left:5px
}

input.invio, table.dati td input.button, input#logout {
	width:70px;
	height:17px;
	border:1px solid #fff;
	margin:3px 0;
	font-size:11px;
	background-color:#CCCCCC;
	display:none
	}

table.dati td input.button { 
	margin:3px 0 3px 5px;
}

table.dati td input.checked {
	width:17px;
	margin-left:3px;
	border:0px solid #006699;
	vertical-align:middle
}

table.dati td.foto img{ 
	margin:3px 3px 3px 0;
	border:1px solid #000
}

table.dati td.pad{
	width:130px;
	padding-left:320px
}

table.dati td.center{
	text-align:center;
	text-indent:0;
}

/* Messaggio sms */

div#messaggio_conferma {
	width: 380px;
	background-color: #6FC1FF;
	padding: 20px 10px;
	margin: 10px;
	border: 5px solid #469CFB;
	font-weight: bold;
	font-size:100%;
	color: #0251A7;
}

table#messaggio {
	width: 300px;
	background-color: #6FC1FF;
	padding: 3px;
	margin: 5px 0;
	border: 5px solid #469CFB;
	font-weight: bold;
}

table#messaggio td {
	background-color: #6FC1FF;
	vertical-align: top;
}

/* Statistiche */

table.statistiche {
	border: 1px solid #006699;
	font-size: 11px;
}

table.statistiche th {
	background-color: #40ABD5;
	color: #FFF;
	font-weight: bold;
	padding: 3px;
	text-align: center;
}

table.statistiche tbody td {
	width: 100px;
	background-color:#C1DDF5;
	text-align: right;
	padding: 3px;
	font-weight: bold;
}

table.statistiche tfoot th {
	background-color: #d5405e;
	padding: 3px;
	text-align: right;
}

.grafico {
	border: 1px solid #000;
	display: inline;
	width: 500px;
	height: 400px;
	margin: 10px;
}


.grafico img{
	margin: 0
}



/* Bottoni */

.bottone2 {
	background-color: #062051;
	width: 130px;
	color: #FFFFFF;
	font-weight: bold;
	display:none
}

.bottone2:focus {
	background-color: #660000;
	width: 130px;
	color: #FFFFFF;
	font-weight: bold;
    border: 1px solid #FFCC00;
}