/************* elementi html generici *************/

body
{
	font-size: 90%;
	color: #000000;
	font-family: Verdana, Arial, Sans-Serif;
	background-color: #ffffff;
	margin: 0;
	padding: 0;
}
form
{
	font-size: 90%;
}
hr
{
	display: none;
}
label
{
	padding-top: 0.3em;
	text-align: right;
}
input, select, textarea
{
	margin-bottom: 0.3em;
	background-color: #f0f0f5;
	font-size: 100%;
	font-family: Verdana, Arial, Sans-Serif;
}
fieldset
{
	margin: 1em 0;
}
a, a:link, a:active, a:visited
{
	text-decoration: none;
}
a
{
	border-bottom: 1px dotted;
}
a:hover
{
	color: #fff;
	background-color: #3745c4;
}

/*********** classi speciali *************/

.obbligatorio
{
	font-weight: bold;
	color: #d3001b;
}
.pulsante, fieldset.v .pulsante
{
	border: 1px outset;
	padding: 0.2em;
	margin: 0 0.5em;
	width: 10em;
	background-color: #900;
	color: #fff;

}
.pulsante-auto, fieldset.v .pulsante-auto
{
	border: 1px outset;
	padding: 0 0.5em;
	margin: 0 0.5em;
	background-color: #900;
	color: #fff;
}
.errore
{
	color: #6a0000;
}
.posizione-destra
{
	float: right;
}
.posizione-sinistra
{
	float: left;
}
.posizione-centro
{
	text-align: center;
}
div.modulo div.posizione-centro input
{
	display: inline;
	float: none;
	margin-left: 0.3em;
	font-weight: bold;
}
.allinea-centro
{
	text-align: center;
}
.allinea-destra
{
	text-align: right;
}

.hide, .skip
{
	position: absolute;
	top: -10000px;
	left: -10000px;
}
.annulla-float
{
	float: none;
}
.readOnly
{
	border: 1px solid #000000;
}
.testo-piccolo
{
	font-size: 0.8em;
}

/*******  div di impaginazione *********/

table#corpo-pagina
{
	padding: 0;
	margin: 0;
	width: 100%;
	border: none;
}

div#header
{
	background-position: 99% 10%;
	background-image: url( '/Global/images/logo_rer.gif' );
	width: 100%;
	border-bottom: #0066cc 2px solid;
	background-repeat: no-repeat;
	background-color: #2F52A4;
	padding: 1em 0 0 0;
}

div#header h1
{
	margin-top: 5px;
	font-weight: bold;
	font-size: 120%;
	margin-bottom: 2px;
	color: #FFFFFF;
	text-align: center;
	padding-bottom: 1em;
}
div#header h2
{
	margin-top: 0px;
	font-weight: bold;
	font-size: 100%;
	color: #FFFF00;
	text-align: center;
}

.home
{
	color: #fff;
	border: none;
	float: left;
	padding: 0;
	background: url(./images/home.gif) 0 0 no-repeat;
	padding-left: 25px;
	padding-bottom: 0.2em;
	margin-left: 10px;
}
a.home:hover
{
	background-color: #fff;
	color: #2F52A4;
	background-image: url(./images/home_on.gif);
}

div#canali
{
	width: 100%;
	margin-top: -1px;
	padding-bottom: 0;
	border-bottom: #0066cc 2px solid;
	background-color: #fff;
}
div#canali .left
{
	float: left;
	width: 13em;
}

div#canali .center
{
	margin-left: 13em;
}
div#canali ul
{
	margin: 10px 0 0 0;
	padding: 0;
}
div#canali ul li
{
	display: inline;
	font-weight: bold;
	list-style-type: none;
	margin-right: 2em;
	background-color: #fff;
}
div#canali ul li a
{
	text-decoration: none;
	padding: 0 1em;
	margin: 0;
	border: 2px solid #859FDC;
	border-bottom: none;
}
div#canali ul li a:hover
{
	color: #fff;
	background-color: #990000;
}
div#canali ul li:hover
{
	color: #fff;
	background-color: #990000;
}

div#canali ul li.attivo
{
	padding: 0 1em;
	color: #fff;
	border: 2px solid #2F52A4;
	background-color: #2F52A4;
}

div#menu
{
	margin-top: 5px;
	float: left;
	width: 13em;
}
div.menu-lat
{
	border-right: 1px outset;
	border-top: 1px outset;
	margin: 0px auto 1em auto;
	border-left: 1px outset;
	border-bottom: 1px outset;
	background-color: #f0f0f5;
}
div.menu-lat h3
{
	padding-left: 2px;
	font-weight: bold;
	font-size: 100%;
	margin: 0px auto;
	background-color: #3745c4;
	color: #fff;
	padding: 0.2em;
}
div.menu-lat h4
{
	padding-left: 2px;
	font-weight: bold;
	font-size: 100%;
	margin: 0px auto;
	background-color: #757FBE;
	color: #fff;
	padding: 0.2em;
}
div.menu-lat ul
{
	margin: 0;
	padding: 0;
	border-bottom: #a0a0a0 1px solid;
	list-style-type: none;
}
div.menu-lat li
{
	color: #3745c4;
	margin: 0;
	padding: 0;
}
div.menu-lat ul li ul
{
	margin-left: 1em;
}

div.menu-lat ul li a
{
	display: block;
	text-decoration: none;
	padding: 0.2em;
	color: #3745c4;
	width: 95%;
}
div.menu-lat ul li a:visited
{
	color: #3745c4;
}
div.menu-lat ul li a:hover
{
	color: #fff;
	background-color: #900;
}

div.menu-lat ul li a.attivo
{
	color: #900;
	background-color: #fff;
}

div.menu-lat .rosso
{
	font-size: 80%;
	color: #ffffff;
	background-color: #ff0000;
	margin: 0 0.3em;
}

#contenuto
{
	margin: 5px 0px 0px 13.2em;
}

div#footer
{
	clear: left;
	border-top: #0066cc 2px solid;
	margin-top: 5px;
	font-size: 90%;
	color: #03587c;
	height: 20px;
	background-color: #f0f0f5;
}
div#footer images
{
	border-top-style: none;
	border-right-style: none;
	border-left-style: none;
	border-bottom-style: none;
}

/***************** classi per il modulo ********************/

div.modulo
{
	padding: 0 1em;
}
div.modulo h1
{
	font-size: 140%;
	margin-bottom: 0.2em;
	color: #900;
}
div.modulo h2
{
	font-size: 130%;
	font-style: italic;
	color: #900;
}
div.modulo h3
{
	font-size: 110%;
	margin: 0px auto;
	color: #900;
}

div.modulo fieldset
{
	border: 1px dotted #cccccc;
	padding: 1em;
}
div.modulo fieldset legend
{
	font-weight: bold;
	padding: 0em 1em;
	background-color: #fff;
}
div.modulo table caption
{
	font-weight: bold;
	margin-bottom: 0.2em;
	text-align: left;
}
div.modulo table
{
	border-right: #cccccc 1px solid;
	border-top: #cccccc 1px solid;
	border-left: #cccccc 1px solid;
	border-bottom: #cccccc 1px solid;
}

/* fieldset particolari, con campi in verticale "v" orizzontale "o" o di elementi radio/checkbox "radio" */

/*fieldset.h div{ width:49%; float:left; }*/
fieldset.v br, fieldset.radio br
{
	clear: both;
}
fieldset.v div
{
	width: 100%;
}
fieldset.v label
{
	float: left;
	width: 20%;
	margin-right: 0.3em;
}
fieldset.v input
{
	margin-left: 0.3em;
	width: 50%;
}
fieldset.v select,
{
	margin-left: 0.3em;
	
}
fieldset.v textarea
{
	margin-left: 0.3em;
	width: 50%;
}
fieldset.v input.float
{
	float: left;
	margin-right: 0.3em;
	margin-left: 0.5em;
}
fieldset.v label.short
{
	float: left;
	width: 10%;
}
fieldset.h label
{
	float: left;
	width: 20%;
	margin-right: 0.3em;
}
fieldset.h input
{
	margin-left: 0.3em;
	background-color: #f0f0f5;
	width: 20%;
	float: left;
}
fieldset.h select, fieldset.h textarea
{
	margin-left: 0.3em;
	width: 25%;
	float: left;
}
fieldset .radio label, table .radio label
{
	float: none;
	width: auto;
	padding-right: 5%;
}

fieldset .radio input, table .radio input
{
	background-color: #fff;
	width: auto;
	margin-left: 2%;
}

div.modulo fieldset br
{
	clear: left;
}

/****************** tabelle *****************/
table.riquadro
{
	border-right: 1px outset;
	padding-right: 2px;
	border-top: 1px outset;
	padding-left: 2px;
	font-size: 100%;
	padding-bottom: 2px;
	margin: 0px auto;
	border-left: 1px outset;
	width: 99%;
	padding-top: 2px;
	border-bottom: 1px outset;
}
table.riquadro-sfondo-forte
{
	border-right: 1px outset;
	padding-right: 2px;
	border-top: 1px outset;
	padding-left: 2px;
	padding-bottom: 2px;
	margin: 5px;
	border-left: 1px outset;
	padding-top: 2px;
	border-bottom: 1px outset;
	background-color: #e1e1ec;
}
table.riquadro th
{
	border: 1px outset;
	color: #3745c4;
	padding: 0.2em;
}
table.riquadro th.elenco
{
	color: #ffffff;
	background-color: #3745c4;
}
table.riquadro td
{
	padding: 0.2em;
}
table.riquadro td.nowrap
{
	white-space: nowrap;
}
table.riquadro td.elenco
{
	padding-right: 0.4em;
	padding-left: 0.4em;
	padding-bottom: 0.4em;
	padding-top: 0.4em;
}
table.riquadro .celleheader
{
	border-right: 1px outset;
	border-top: 1px outset;
	font-weight: bold;
	border-left: 1px outset;
	color: black;
	border-bottom: 1px outset;
	background-color: ButtonFace;
}
table.riquadro tr.riga-elenco-dispari
{
	vertical-align: top;
}
table.riquadro tr.riga-elenco-pari
{
	vertical-align: top;
	background-color: #f0f0f5;
}

table.riquadro th a
{
	color: #fff;
}
/****************** extra *****************/
.highlight
{
	color: #000;
	background-color: #ffff66;
}

/************************************************************/
/*				AGGIUNTE									*/
/************************************************************/

fieldset.v select.auto, fieldset.v input.auto{width: auto;}
fieldset.v input.lungo{width: 35em;}
#footer {position: relative;}
table.riquadro {float: left;}
table.riquadro td.comandi{width: 50px;}

table.riquadro tr.selezionata td{color:#000; background-color:#FFFFC0;}
table.riquadro tr.selezionata td.comandi input{background-color:#FFFFC0;}
table.riquadro tr.selezionata td span.checkSelezionato input{background-color:#FFFFC0;}
div.modulo fieldset.v table.riquadro td.comandi input{width: auto;}
/***************** popup *******************/
.over{
	display: block; 
	top:0;
	left:0;
	position:absolute;
	width:100%;
	overflow:hidden;
	z-index:2;
	background:url(./images/opaco.gif);
	padding-bottom: 110%;
}
.over iframe
{
    display:none;/*sorry for IE5*/
    display/**/:block;/*sorry for IE5*/
    position:absolute;/*must have*/
    top:0;/*must have*/
    left:0;/*must have*/
    z-index:-1;/*must have*/
    filter:mask();/*must have*/
    width:4000px;/*must have for any big value*/
    height:4000px/*must have for any big value*/;
}
.over .popup
{	
	display:block; 
	position: relative; 
	top:5em;
	left:10%;
	z-index:3;
	border: 2px solid #eee; 
	background-color: #fff;
	width: 80%;
	padding-bottom:2em;
} 
.over .popup-mini
{	
	display: block; 
	position: relative; 
	top: 15em;
	left: 50%;
	z-index:3;
	border: 2px solid #eee; 
	background-color: #fff;
	width: 350px;
	padding-bottom:2em;
} 

.over .popup h1, .over .popup-mini h1
{
	color:#fff; 
	margin:0; 
	padding:5px; 
	background: url(./images/sfondo-titolo.jpg) 100% 0  repeat-y #2F52A4; 
	font-size:100%
}

.over .up{margin-top: -2px;}

/* FEEDBACK all'utente */
.ok 
{
	text-align:center;
	color: #4BD817;
	font-weight: bold;
	border: 1px solid #ccc;
	background-color:#FFFFCC;
	background-image: url('./images/ok.gif');
	background-repeat: no-repeat;
	background-position: 10px 10px;
	padding-top: 12px;
	padding-bottom:12px;
	padding-left: 60px;
	min-height: 3em;
	height: auto;
	width: 50%;
	margin: 1em auto;
}

.errore 
{
	border: 1px solid #ccc;
	font-weight: bold;
	background-image: url('./images/errore2.gif');
	background-repeat: no-repeat;
	background-position: 10px 10px;
	background-color:#FFFFCC;
	padding-top: 12px;
	padding-bottom:12px;
	padding-left: 60px;
	min-height: 3em;
	height: auto;
	width: 50%;
	margin: 1em auto;
}

.alert
{
	border: 1px dashed #990000;
	color: #F00;
	background-color:#FFFFCC;
	font-weight: bold;
	background-image: url('./images/alert.gif');
	background-repeat: no-repeat;
	background-position: 10px 10px;
	padding-top: 12px;
	padding-bottom:12px;
	padding-left: 60px;
	min-height: 3em;
	height: auto;
	width: 50%;
	margin: 1em auto;
}

.popup-mini .alert
{
	border: 1px dashed #990000;
	color: #F00;
	background-color:#FFFFCC;
	font-weight: bold;
	background-image: url('./images/alert.jpg');
	background-repeat: no-repeat;
	background-position: left;
	background-position: 10px 10px;
	padding-top: 12px;
	padding-bottom:12px;
	padding-left: 60px;
	min-height: 3em;
	height: auto;
	width: auto;
	margin: 1em auto;
}

/***********************************************/
input.corto, fieldset.v input.corto, table td input.corto {width: 4em;}
input.lungo, fieldset.v input.lungo, table td input.lungo {width: 30em;}
input.data, fieldset.v input.data, table td input.data {width: 7em;}
input.auto, fieldset.v input.auto, table td input.auto {width: auto;}
select.auto, fieldset.v select.auto, table td select.auto {width: auto;}

/* IE FIXES 14 9 2009*/
#top{height:1px}
fieldset.v div{clear:both}
fieldset.v label{width:30%; padding:0 0 0.5em 0; clear:both}
.readOnly{border:none}
/*fieldset.v select{  width:60%; max-width:60%;}*/
div.modulo fieldset legend{margin-bottom:1em}
.fissa{width:60%; max-width:60%}