body {	
	background-color: #DCDCDC;
	font-family: Arial, Helvetica, sans-serif;	
	font-size: 1em;
	color: #000000;
	margin-top: 0.1em;
	margin-right: 0.1em;
	margin-bottom: 0.1em;
	margin-left: 0.1em;
	background:#36465a;
	background:#36465a -moz-radial-gradient(center,ellipse cover,#5c7799,#36465a) no-repeat;
	background:#36465a -webkit-gradient(radial,center center,0,center center,100%,from(#36465a),to(#5c7799)) no-repeat;
	background:#36465a -webkit-radial-gradient(center,ellipse contain,#5c7799,#36465a) no-repeat;
	background:#36465a -o-radial-gradient(center,ellipse cover,#5c7799,#36465a) no-repeat;
	background:#36465a -ms-radial-gradient(center,ellipse cover,#5c7799,#36465a) no-repeat;
	background:#36465a radial-gradient(closest-side ellipse at center,#5c7799,#36465a) no-repeat;
}

img {
	border-style: none;
}

/* responsive img, massima dim dello schermo */
img.resp {
	max-width:100%;
	height:auto;
}

p.predef {
	text-align:justify;	
 	padding:2px;
	margin:3px;
	margin-top:6px;
	margin-bottom:6px;
}

a:link, .defl a:link {
    color: #0040A0;
	font-weight: bold;
	text-decoration: none;
}
a:visited, .defl a:visited {
    color: #700090;
	text-decoration: none;	
}
a:hover, .defl a:hover {
    color: #0080FF;
	text-decoration: underline;	
}
a:active, .defl a:active {
    color: #0000FF;
	text-decoration: none;	
}

/* div che contiene tutto */
#container {}

#header {
	margin: auto;
	padding-bottom:4px;
	text-align: center;
}

#logo { /* non piu usato */
	display: inline-block;
	vertical-align: middle;
}

#footer {
	margin:6px 0px 5px 0px;
	background-color:#000000;
	color:#CCC;
	text-align:center;
	padding:8px;
	font-size: 0.9em;
	border-top:1px solid #A0A0A0;
	border-bottom:1px solid #A0A0A0;
}
a.foot_link {
	color:#60B0F0;
	font-weight: bold;
	text-decoration: none;
}
a.foot_link:visited {
	color:#60B0F0;
}
a.foot_link:hover, a.foot_link:active {
	color:#FFFFFF;
}

.page_tab_container {
	line-height: 2em;
}
a.tab_link:link {
	background-color: #333;
	padding: 5px 10px 5px 10px; /* trbl */
	margin: 5px; 
    color: #B0E8B0;
	font-weight: bold;
	text-decoration: none;
	white-space: nowrap;
}
a.tab_link:visited {
    color: #A0D8A0;
}
a.tab_link:hover, a.tab_link:active {
    color: #FFFFFF;
}

/* es di pan autodim centrato con testo a sinistra:
<div align="center"><div class="pan asinistra autodim">
*/
.autodim {
	display:inline-block;
}

.asinistra { /* ripristina quando si usa div align=center */
	text-align:left;
}

.err_txt {
	color: #A00000;
}

.pan {
	border: solid 1px #000000;
	box-shadow: 0px 1px 0px rgba(0,0,0,0.5);
}
.pan_title_page {
    background: #E9FDEB;
    border-radius: 4px 4px 0 0;
	margin: 0;
/*	position:relative; x poter mettere il menu a destra del titolo, non usato  */
}
.pan h3, .pan h1 {
    padding: 8px 10px;
    font-size: 1.2em;
    margin: 0;
}
.pan_cont {
    padding: 5px 5px 5px 5px;
    background: #FFFFFF;
}

/* usati per il componente selectgrid */
.selectgrid, .inputgrid, .form_table {
	margin: auto; /* al centro */
	margin-bottom: 8px;
	border:1px solid #808080;
    border-radius: 6px;
    width: 100%;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}
.form_table {
	width:auto;
}
.sg_no_head_foot {
	margin: 0px;
	border-top: 0px;
	border-right:1px solid #808080;
	border-bottom:1px solid #808080;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
}
.selectgrid td {
	min-width:20px;
	min-height:18px;
	text-align:center;
	vertical-align:middle;
	background-color:#f9f9f9;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #d9d9d9));
	background:-moz-linear-gradient(top, #f9f9f9 5%, #d9d9d9 100%);
	background:-webkit-linear-gradient(top, #f9f9f9 5%, #d9d9d9 100%);
	background:-o-linear-gradient(top, #f9f9f9 5%, #d9d9d9 100%);
	background:-ms-linear-gradient(top, #f9f9f9 5%, #d9d9d9 100%);background:linear-gradient(to bottom, #f9f9f9 5%, #d9d9d9 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#d9d9d9',GradientType=0);
	border-left:1px solid #909090;
	border-top:1px solid #909090;
	padding: 4px 6px 4px 6px; /* trbl */
	cursor: pointer;
	color: #0040A0;
}
.inputgrid td, .form_table {
	min-width:20px;
	min-height:18px;
	vertical-align:middle;
	background-color:#e9e9e9;
	border-left:1px solid #909090;
	border-top:1px solid #909090;
	padding: 4px 6px 4px 6px; /* trbl */
	color: #0040A0;
}
.inputgrid tr.alt td {
	background-color:#F2F2F2;
}
.form_table {
	color: #000000;
}
.inputgrid input[type="text"] {
float:right;
display:inline;
}
.selectgrid td:first-child, .inputgrid td:first-child {
    border-left: none;
}
.selectgrid td.highlighted {
	background: none;
	filter: none;
	background-color:#001FFF;
	color: #FFFFFF;
}
.selectgrid td:hover {
    text-decoration: underline;
}
.selectgrid th, .inputgrid th, .form_table th {
	font-size: 1em;
	background-color: #006699;
	padding: 5px;
	color: #ffffff;
}
.selectgrid th.footcell, .inputgrid th.footcell {
	background-color: #E1EEf4;
	padding: 3px;
	color: #000000;
	font-weight: normal;
	text-decoration: none;
	text-align: center;
	font-size: 0.9em;
}
.selectgrid th:first-child, .inputgrid th:first-child, .form_table th:first-child {
    border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
}
.selectgrid th.footcell:first-child, .inputgrid  th.footcell:first-child {
    border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-top: 1px solid #909090;
}
.selectgrid_footinput {
	text-align: center;
	width: 98%;
	background: transparent;
	border: none;
}
.blu_gradient {
	background: rgb(0,66,142); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(0,66,142,1) 0%, rgba(41,137,216,1) 50%, rgba(32,124,202,1) 51%, rgba(100,173,229,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(0,66,142,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(100,173,229,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0,66,142,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(100,173,229,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00428e', endColorstr='#64ade5',GradientType=0 ); /* IE6-9 */
}
.lgrey_gradient {
	background-color:#f9f9f9;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #d9d9d9));
	background:-moz-linear-gradient(top, #f9f9f9 5%, #d9d9d9 100%);
	background:-webkit-linear-gradient(top, #f9f9f9 5%, #d9d9d9 100%);
	background:-o-linear-gradient(top, #f9f9f9 5%, #d9d9d9 100%);
	background:-ms-linear-gradient(top, #f9f9f9 5%, #d9d9d9 100%);background:linear-gradient(to bottom, #f9f9f9 5%, #d9d9d9 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#d9d9d9',GradientType=0);
}
.celeste_gradient {
	background-color:#d1dee4;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #d1dee4), color-stop(1, #e1eef4));
	background:-moz-linear-gradient(top, #d1dee4 5%, #e1eef4 100%);
	background:-webkit-linear-gradient(top, #d1dee4 5%, #e1eef4 100%);
	background:-o-linear-gradient(top, #d1dee4 5%, #e1eef4 100%);
	background:-ms-linear-gradient(top, #d1dee4 5%, #e1eef4 100%);
	background:linear-gradient(to bottom, #d1dee4 5%, #e1eef4 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d1dee4', endColorstr='#e1eef4',GradientType=0);
}

.data_css {
    font-size: 1.05em;
    padding-left: 3px;
    padding-top: 0px;
    padding-bottom: 0px;
	border-width: 1px;
    border-radius: 4px 4px 4px 4px;
}
input[type="submit"], input[type="button"], input[type="file"] {
    padding: .2em;	
    font-size: 1em;
	color: #0040A0;
}
.go_btn {
	font-weight: bold;
}
.print_btn { }

.t2, .t3, .t4 {
    border-collapse: collapse;
	border: 1px solid #6CBF66; 
    border-bottom: 2px solid #A7C942;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.1);
    margin: 5px auto 5px auto; /* trbl */
}
.t2 td, .t2 th, .t3 td, .t3 th, .t4 td, .t4 th {
    font-size: 1em;
    border: 1px solid #98bf21;
    padding: 8px 3px 8px 3px; /* trbl */
    text-align: center;
	vertical-align:middle;
}
.t2 td.sin, .t3 td.sin, .t4 td.sin {
    text-align: left;
}
.t2 th, .t3 th, .t4 th {
    font-size: 1.1em;
    padding-top: 9px;
    padding-bottom: 8px;
    background-color: #3D8730;
    color: #FCFFA6;
	background-image: url(../img/sfo1.gif);
	background-repeat: repeat-x;
    background-size: auto 100%;	
}
.t2 tr.alt td, .t3 tr.alt td, .t4 tr.alt td {
    color: #000000;
    background-color: #EAF2D3;
}
.t2 td, .t3 td, .t4 td  {
    color: #000000;
    background-color: #FFFFFF;
	word-wrap:break-word;
}
.t2 tr:not(.nohover):hover td, .t3 tr:hover td, .t4 tr:hover td {
  background-color: #FFFF80;
}
/*.nohover tr:hover td, .t3 tr:hover td, .t4 tr:hover td {
  background-color: #FFFFFF;
}*/
.t2 tr.ult td {
    color: #000000;
    background-color: #f0fff0;
}
.t2 tr.ult:hover td {
  background-color: #f0fff0;
}
.t3 tr.opz td, .t4 tr.opz td {
    color: #000000;
    background-color: #DDDDDD;
    padding: 8px 3px 8px 3px; /* trbl */
    font-weight: bold;
}
.t4 tr.opzdue td {
    color: #000000;
    padding: 5px 5px 4px 5px; /* trbl */
    font-weight: bold;
    text-align: right;
    background-color: #EDEDED;
}
.t3 tr.opz:hover td, .t4 tr.opz:hover td {
  background-color: #DDDDDD;
}
.t3 td, .t4 td {
    padding: 3px 2px 3px 2px; /* trbl */   
}
.t3 img, .t4 img {
    vertical-align: middle;
}

.t3 {
	border: 1px solid #6CBF66; 
    border-bottom: 2px solid #C58F21;
}
.t3 th {
	background-image: url(../img/sfo2a.gif);
}
.t3 th.sotit2 {
	background-image: url(../img/sfo2b.gif);
    padding-top: 4px;
    padding-bottom: 4px;
}
.t3 td, .t3 th {
    border: 1px solid #C58F21;  
}

.t4 {
	border: 1px solid #6CBF66; 
    border-bottom: 2px solid #218FC5;
}
.t4 th {
	background-image: url(../img/sfo3a.gif);
}
.t4 th.sotit2 {
	background-image: url(../img/sfo3b.gif);
    padding-top: 4px;
    padding-bottom: 4px;
}
.t4 td, .t4 th {
    border: 1px solid #218FC5;
}

.t5 {
    border-collapse: collapse;
	border: 1px solid #404040;
	width:auto;
	margin:auto;
}
.t5 td, .t5 th {
    font-size: 0.9em;
	border: 1px solid #404040;
    text-align: center;
	vertical-align:middle;
    background-color: #F0F0F0;
    padding: 3px 1px 3px 1px; /* trbl */
	margin: auto;
	color:#000000;
}
.t5 th {
	background-image:none;
    background-color: #C0C0C0;
}

.t5 td.sin {
    text-align: left;
}
.t5 tr.alt td {
    background-color: #E8E8E8;
}

#error_msg {
	margin: 0px auto 0.9em auto; /* trbl */
	text-align: center;
    padding: 1em;
    padding-top: 0px;	
    border: 1px solid #990000;
	color: #FF0000;
	border-radius: 3px;
	-webkit-border-radius: 3px;
    -moz-border-radius: 3px;
	background-color: #FFC;
}
#error_mg_title {
	text-align:center;
	margin-top:0.5em;
	margin-bottom:0.5em;
	padding:0.4em;
	color: #FFFFCC;
	background-color: #C63;
	font-weight: bold;
}
#warning_msg {
	margin: 0px auto 0.9em auto; /* trbl */
	text-align: center;
    padding: 1em;
    padding-top: 0px;	
    border: 1px solid #606060;
	color: #404040;
	border-radius: 3px;
	-webkit-border-radius: 3px;
    -moz-border-radius: 3px;
	background-color: #FFC;
}
#warning_mg_title {
	text-align:center;
	margin-top:0.5em;
	margin-bottom:0.5em;
	padding:0.4em;
	color: #FFFFCC;
	background-color: #666;
	font-weight: bold;
}
#ok_msg {
	margin: 0px auto 0.9em auto; /* trbl */
	text-align: center;
    padding: 1em;
    border: 1px solid #006000;
	color: #004000;
	border-radius: 3px;
	-webkit-border-radius: 3px;
    -moz-border-radius: 3px;
	background-color: #FFC;
}
#ok_msg img {
	vertical-align: middle;
	margin-right: 10px;
}
.avviso_footer {
	max-width: 750px;
	margin: auto;
	text-align: justify;
	font-size: 0.8em;
}

.intestazioneStampa { display:none; }
.footerStampa { display:none; }
.non_stampare { display: block; }
.non_stampare_nb { }


#banner-alto {
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	font-size: 0.75em;
	margin: auto;
	color: #90B890;
	border:1px solid #858585;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    padding-left: 2px;
    padding-right: 2px;
}
#banner-destro {
	vertical-align:top;
	text-align: center;
	font-size: 0.75em;
	color: #90B890;
	border:1px solid #858585;
	margin: 0;
	padding: 0;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}
#banner-basso {
	display: table;
	vertical-align: middle;
	text-align: center;
	font-size: 0.75em;
	margin: 6px auto 0px auto;
	color: #90B890;
    padding-left: 2px;
    padding-right: 2px;
	border:1px solid #858585;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}
