/* Form reset */
form, input, button, select, textarea { margin: 0; padding: 0;}
.section form p {
	padding: 0;
	margin: 0;
	border: 0;
}

form hr {
	border: 0;
	border-top: 1px #ccc solid;
	height: 1px;
}

form {
	width: 100%;
	margin: 0 auto;
	text-align: left;
	overflow: hidden; /* (oppure auto) FIX SAFARI/FIREFOX su altezza del DIV < contenuto */
	font-family: verdana;
	font-size: 12px;
}

form var,
form div.formfield {
	display: block;
	float: left;
	width: 100%; /* FIX IE 6 */
	padding: 2px;
	padding-left: 0;
	padding-right: 0;
}

form var big,
form div.formfield-label {
	/* font-size: inherit; per sovrascrivere il big */
	font-size: 11px;
	float: left;
	width: 23%;
	text-align: right;
	color: black;
	font-weight: bold;
	padding: 4px;
	margin-top: 4px;
}
form var big label,
form div.formfield-label label {
	color: #666;
}
form var big cite,
form div.formfield-label p {
	display: block;
	color: #888;
	font-weight: normal;
	text-align: center;
	padding-top: 6px;
}

form var small,
form div.formfield-data {
	float: left;
	width: 73%;
	padding: 4px;
	margin: 0px;
}

form var small cite,
form div.formfield-note {
	display: block;
	padding-top: 2px;
	color: #888;
}

form var small span {
	padding-left: 3px;	
}

form div.formfield .error {
	border:  2px red dashed;
	background-color: lightyellow;
}
form div.formfield .error div.formfield-note {
	color: red;
	font-weight: bold;
}
form div.formfield .required {
	border:  1px #000 solid;
	background-color: lightgrey;
}


form fieldset {
  	padding: 4px;
  	padding-left: 0;
  	padding-right: 0;
  	border-top: 1px #ccc solid;
}
form fieldset legend {
  	font-weight: bold;
	color: #000;
	border: 1px solid #ccc;
	padding: 4px 16px;
}
/* Field set interni la div data ES: gruppi opzioni o pulsanti */
form div.formfield-data fieldset {
	float: left;
	width: auto; /* Patch IE6 */
}



/* Stili dei campi del form */
form input{
	font-size: 12px;
}
form select {
	width: 96%;
}
form select.popup {
	margin: 0;
	padding: 0;
	margin-top: 2px;	
}
form select.listbox {
	background-color: lightcoral;
}

form textarea {
	width: 95%;
	background-color: #f6f6f6;
	border:  1px #ddd solid;
	padding: 2px;
}

form input.text {
	width: 95%;
	height:  16px;
	border: 0;
	background-color: #f6f6f6;
	border:  1px #ddd solid;
	padding: 2px;
}
form textarea:focus,
form input.text:focus {
	background-color: #ffffea;
}
form input.password {
	background-color: lightyellow;
}
form input.checkbox {
	margin: 6px;
	margin-top: 4px;
	vertical-align: middle;
}
form input.radio {
	margin: 6px;
	margin-top: 3px;
	vertical-align: middle;
}
form input.file {
}
form input.image {
	margin: 5px;
}
form input.submit {
}
form input.reset {
}

form input.button, form button {
	padding: 4px;
	padding-left: 8px;
	padding-right: 8px;	
	margin: 4px;
}




