/* --- STRUTTURA ESTERNA --- */

#horizontalForm fieldset
{
	display: block;
	padding: 0;
	width: 83em;
	margin-left: auto;
	margin-right: auto;
	background:#F0F0F0;
	border: none;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
#horizontalForm fieldset .top_bar,
#horizontalForm fieldset .bottom_bar
{
	margin: -1px;
	width:auto;
}

#horizontalForm fieldset fieldset
{
	display: block;
	padding: 1em 1.3em 1.6em 1.3em;
	width:auto;
	border: none;	
}

/* --- ELEMENTI GENERICI 5 colonne --- */

#horizontalForm fieldset fieldset legend
{
	display: block;
	background-color:#B2CAE1;
	font-weight:bold;
	padding: 5px;
	padding-left:1.3em;
	margin-left: -2.1em;
	margin-right: -2.1em;
	margin-top: -1em;
	position:relative;
}

#horizontalForm label
{
	float: left;
	display: block;
	margin: 1em 1em 0 0;
	font-weight: bold;
	width: 15em;
	height: 3em;
}

#horizontalForm fieldset label input,
#horizontalForm fieldset label select,
{
	display: block;
	width: 13em;
}

.legendControl
{
	position:absolute;
	right:10px;
	top:0px;
}

.legendControl img
{
	margin-top:4px;
}

#horizontalForm .legendControl select 
{
	display:inline;
}


#horizontalForm .radiogroup {
	text-align:center;
}

#horizontalForm .radiogroup input
{	
	display: inline;
	background:none;
	border:none;
	width:auto;
}

#horizontalForm .radiogroup input.DIV {
 height: 16px;
 border: 1px solid #B2CAE1; 
 background: #FFFFFF;
 padding:2px;
 padding-bottom:0px;
 text-align:center;
 font-weight:bold;
 width:14px;
}

#horizontalForm .NumericUpDown input{
	display: inline;
	width:auto;
}

#horizontalForm .NumericUpDown .NUD_text{
	float:left;
	width:10em;
}

#horizontalForm .NumericUpDown .NUD_btn{
	float:left;
	width:2em;
}

#horizontalForm input.submit
{
	clear: both;
}

#horizontalForm fieldset.radio
{
	margin: 1em 0 2em 0;
}

#horizontalForm fieldset.radio input
{
	clear: both;
	float: left;
	width: auto;
}

#horizontalForm fieldset.radio label
{
	font-weight: normal;
}

#horizontalForm fieldset.tableFieldset label {
	height: 18px;
}

.clearboth {
	clear: both;
}

.clearer
{
	clear: both;
	height: 1px;
}

#horizontalForm fieldset label.w8
{
	margin: 1em 1em 0 0;
	font-weight: bold;
	width: 8em;
	height: 3em;
}

#horizontalForm fieldset label.w8 input,
#horizontalForm fieldset label.w8 select,
#horizontalForm fieldset label.w8 textarea
{
	width: 7em;
}

#horizontalForm fieldset label.w12
{
	margin: 1em 1em 0 0;
	font-weight: bold;
	width: 12em;
	height: 3em;
}

#horizontalForm fieldset label.w12 input,
#horizontalForm fieldset label.w12 select,
#horizontalForm fieldset label.w12 textarea
{
	width: 11em;
}

#horizontalForm fieldset label.w16
{
	margin: 1em 1em 0 0;
	font-weight: bold;
	width: 16.5em;
	height: 3em;
}

#horizontalForm fieldset label.w16 input,
#horizontalForm fieldset label.w16 select,
#horizontalForm fieldset label.w16 textarea
{
	width: 15em;
}

#horizontalForm fieldset label.w48
{
	margin: 1em 1em 0 0;
	font-weight: bold;
	width: 47em;
	height: 3em;
}

#horizontalForm fieldset label.w48 input,
#horizontalForm fieldset label.w48 select,
#horizontalForm fieldset label.w48 textarea
{
	width: 46em;
}

#horizontalForm fieldset label.w52
{
	margin: 1em 1em 0 0;
	font-weight: bold;
	width: 52em;
	height: 3em;
}

#horizontalForm fieldset label.w52 input,
#horizontalForm fieldset label.w52 select,
#horizontalForm fieldset label.w52 textarea
{
	width: 50em;
}

#horizontalForm fieldset label.w78
{
	margin: 1em 1em 0 0;
	font-weight: bold;
	width: 78em;
	height: 3em;
}

#horizontalForm fieldset label.w78 input,
#horizontalForm fieldset label.w78 select,
#horizontalForm fieldset label.w78 textarea
{
	width: 77em;
}


/* --- 3 COLONNE --- */

#horizontalForm fieldset.col3 label,
#horizontalForm fieldset label.w26
{
	margin: 1em 1em 0 0;
	font-weight: bold;
	width: 26em;
	height: 3em;
}

#horizontalForm fieldset.col3 input,
#horizontalForm fieldset.col3 select,
#horizontalForm fieldset label.w26 input,
#horizontalForm fieldset label.w26 select,
#horizontalForm fieldset label.w26 textarea
{
	width: 23em;
}

/* --- 4 COLONNE --- */

#horizontalForm fieldset.col4 label,
#horizontalForm fieldset label.w19
{
	margin: 1em 1em 0 0;
	font-weight: bold;
	width: 19em;
	height: 3em;
}

#horizontalForm fieldset.col4 input,
#horizontalForm fieldset.col4 select,
#horizontalForm fieldset label.w19 input,
#horizontalForm fieldset label.w19 select
{
	width: 17em;
}

#horizontalForm fieldset.col4  .radiogroup input {
	display:inline;
	width:auto;
}

#horizontalForm fieldset label.w39
{
	margin: 1em 1em 0 0;
	font-weight: bold;
	width: 39em;
	height: 3em;
}

#horizontalForm fieldset label.w39 input,
#horizontalForm fieldset label.w39 select,
#horizontalForm fieldset label.w39 textarea
{
	width: 37em;
}

#horizontalForm fieldset label.textarea
{
	float: left;
	display: block;
	margin: 1em 1em 0 0;
	font-weight: bold;
	height: 7em;
}

#horizontalForm fieldset label.textarea textarea
{
	display: block;
	height: 6em
}

#horizontalForm fieldset label.w78 textarea {
	height: 2.5em
}


/* --- RICHIESTE --- */
#horizontalForm fieldset.col3 .inputgroup select,
#horizontalForm fieldset.col3 .inputgroup input.sel
{
	display:inline;
	width:18em;	
}

#horizontalForm fieldset.col3 .inputgroup input
{
	display:inline;
	width:10em;
}

#horizontalForm fieldset .inputgroup select,
#horizontalForm fieldset .inputgroup input.sel
{
	display:inline;
	width:9.5em;	
}

#horizontalForm fieldset .inputgroup input
{
	display:inline;
	width:4em;
}


#horizontalForm fieldset .inputgroup .NumericUpDown, 
#horizontalForm fieldset .inputgroup .radiogroup 
{
	display:inline;
}

#horizontalForm fieldset .inputgroup .NumericUpDown .NUD_text{
	width:2.3em;
}

#horizontalForm fieldset label select.priorita,
#horizontalForm fieldset.col3 .inputgroup select.priorita, {
	width:3.5em;
	background-color:#E7FFE6;
}

#horizontalForm fieldset label input.priorita,
#horizontalForm fieldset.col3 .inputgroup input.priorita {
	width:2em;
	background-color:#E7FFE6;
	text-align:center;
}

/* --- MODIFICHE PER TABBED FORM --- */

#horizontalForm .tabberlive legend {
	display: none;
}

#horizontalForm .tabberlive fieldset {
	border: none;
}

.button {
	height:20px;
}

#horizontalForm fieldset label.richiesta {
	height: 4em;
}




	#horizontalForm fieldset.fields6 label {
		width: 12.3em;
	}

	#horizontalForm fieldset.fields6 label input,
	#horizontalForm fieldset.fields6 label select 
	{
		width: 11.5em;
	}
