/* -------------------- form */
form {margin: 0; font-size: 13px;}
form fieldset {margin: 10px 0; padding: 1em 15px; border: 1px solid #ccc;}
form legend {margin: 0 5px;	padding: 0 5px;	font-size: 1em;	color: #666; font-weight: bold;}
form label { font-size: 12px; font-weight: normal;}
form div.block {display:none; }

/* -------------------- elementi custom */

form .formfield { margin: 2px 0 0 0; padding: .2em 0 .5em;clear: left; }

/* clearfix 
.formfield:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.formfield {display: inline-block;}
html[xmlns] .formfield {display: block;}
* html .formfield {height: 1%;}

/**----------**/

.formfield .extlabel { float: left;	width: 100px; text-align: right; padding: 2px 10px 0; color: #444; font-size: 11px; line-height: .9em;}
.required .extlabel { font-weight: bold; line-height: 1.1em; padding-bottom: 1em;}

.formfield legend.required { color:#000 ; font-weight: bold; line-height: 1.2em; padding-bottom: 10px;}
.formfield .formelements {margin: 0 0 0 110px; padding: 0;}

.formfield .formelements label {font-size: 10px; padding: 0; margin-right: 10px; }
.required .formelements label {	font-weight: bold;}


input.inputsmall[type="text"] {
    width: 60px;
} 

/* -------------------- elementi standard */

select, textarea, input { border: 1px solid #ccc; padding: 1px 4px; color: #333; vertical-align: bottom; }
textarea:focus, input:focus {border: 1px solid #aaa; color: #111;}
select {text-align: left; margin-right: 0px; padding: 0; color: #454545;}
form .formfield .formelements select {width: 180px;}
form .formfield .formelements select#Fondo {_width: auto;}
form .formfield .formelements select option {border-bottom: 1px solid #ececec; padding: 1px 5px;}
form .formfield .formelements select option:nth-child(even) {background: #E6F2F9;}
textarea { width: 250px;}

input {width: auto;}
input.short {width: 25px;}
input[type=text] {width: 180px;}
input[type=checkbox], input[type=radio] {margin: 3px 7px; border:1px solid #809DB9; background-color: #fff; height: 12px; }


/* -------------------- chekbox superfighi con jquery */

.jquery-checkbox {display: inline; font-size: 16px; line-height: 16px; cursor: pointer; cursor: hand;}
.jquery-checkbox .mark {display: inline;}

.jquery-checkbox img {vertical-align: middle; width: 16px; height: 16px; margin-right: 2px; }
.jquery-checkbox img{background: transparent url(../pics/checkbox.png) no-repeat;}

.jquery-checkbox img{
	background-position: 0px 0px;
}
.jquery-checkbox-hover img{
	background-position: -16px 0px;
}
.jquery-checkbox-checked img{
	background-position: 0px -16px;
}
.jquery-checkbox-checked .jquery-checkbox-hover img {
	background-position: -16px -16px;
}

.jquery-checkbox-disabled img{
	background-position: 0px -32px;
}
.jquery-checkbox-checked .jquery-checkbox-disabled img{
	background-position: 0px -48px;
}


/* -------------------- messaggi */
.required input {border: 2px solid #E3BFCE;}
p.formerror {font-weight: bold;margin: 10px 0;}
.errormessage {	color: #900;margin: 10px 0;}
.errorstring {display: none;}
.error {color: #CE4300;  font-weight: bold;}
label.error {margin-left: 20px; padding-left: 20px !important; background: url(../pics/icon_error.gif) no-repeat top left;}
.error select:focus, .error textarea:focus, .error input:focus {border: 2px solid #990000;}

/* ------------------------------------------ bottoni ---- */

form input.cmdSearch { width: 80px; text-align: center; margin-left: 120px; margin-top: 10px; font-size: 11px; font-weight: bold;
	background: #D1A600 url(../pics/bg_searchbtn.gif) repeat-x top;	border: 1px solid #D1A600; color: #fff;padding: 1px 0; }

a.button { width: 130px; text-align: center; margin-right: 10px; font-size: 11px; font-weight: bold; float: left;
	background: #D1A600 url(../pics/bg_searchbtn.gif) repeat-x top;	border: 1px solid #D1A600; color: #fff;padding: 2px 10px; 
	margin-bottom: 10px;}
	
/* --------------------------------------- AF-RO read-only report ---- */
span.AF_RO_Label { float: left;	width: 150px; text-align: right; padding: .3em 1em 0; color: #777;}
span.AF_RO_Value { display:block; float:left; font-style: italic; width: 170px; padding: .2em 0 .5em;}
div.AF_ROComponent { clear:both;	background: #eee; margin: 2px 0 0 0; padding: .2em 0 .5em;}



/* -------------------- ricerca avanzata */

.ricercaestesa h1.pagetitle { border: none; }
.ui-widget-content { border: none !important; }
.ui-state-default, .ui-widget-content .ui-state-default { border-color: #aaa !important; background: transparent !important; }
.ui-tabs .ui-tabs-nav li { margin-right: 3px !important; -moz-border-radius-topright: 7px; -webkit-border-top-right-radius: 7px; -khtml-border-top-right-radius: 7px; border-top-right-radius: 7px; }
.ui-tabs .ui-tabs-panel { border-right: 1px solid #888 !important; border-bottom: 1px solid #888 !important; border-left: 1px solid #888 !important; }
.ui-tabs .ui-tabs-selected { border-color: #888 !important; background: #F8F7F5 !important; }
.ui-widget-header { border-bottom: 1px solid #888 !important; }

div#af_component_Note textarea {height: 100px;}