/*Copyright Comune di Prato*/
/* Contiene definizioni per gli elementi delle form */

/* margine del form = 0 */
form.formsenzamargini, div.formsenzamargini {
	margin: 0;
	padding: 0;
}
/* submit e reset del form */
input.bottone {
	background-color: #036;
	border: 1px solid #002B57;
	color: #fff;	
	font-size: 100%;	 
	font-weight: bold;
	margin: 0;
	padding: 0;
	font-family: Arial, Verdana, Helvetica, sans-serif;
}
/* bottone in secondo piano, seconda scelta */
input.bottone2p {
	background-color: #ebebeb;
	border: 1px solid #ccc;
	color: #264C73;
}
/* fieldset */
fieldset {
	background-image: url('../../gif/sfondi/fieldset.gif');
	background-repeat: repeat-x;
	border: 1px solid #e4e4e4;
	margin-bottom: 1.5em;	
	padding: 1em;
}

/* fieldset */
fieldset div {
	padding: 0.3em;
}
/* legend */
legend {
	background-color: #fff;
	color: #900;
	font-weight: bold;
	padding: 0.2em;
}
/* legend concentrici (es. motore ponet) */
fieldset fieldset {
	font-size: smaller; 
	margin: 1.5em 0 1.5em 1.5em;	
}
/* Descrizione di legend */
span.f-etichetta, label.f-etichetta, legend.f-etichetta {
	font-weight: lighter;
}
/* Area dei bottoni submit e reset del form */
div.f-submitreset {
	margin-top: 1em;
	text-align: right;
}
/* Messaggio esito positivo dell'invio del form */
div.f-registrato, span.f-registrato {
	background-color: #fff;
	color: #900;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 100%; 	
	font-variant: normal;	
	font-weight: bold;	
	letter-spacing: 0.05em; 
	margin: 1em;
	text-align: center;	
}
/* Messaggio esito negativo dell'invio */
div.f-errori {
	background-color: #ffffcd;
	background-image: url(../../gif/icone/alert.gif);
	background-repeat: no-repeat;
	background-position: 1%;
	color: #900; 
	font-size: 110%; 
	font-weight: bold;	
	margin: 1em 0 1em 0;
	border: 3px dashed #ff9600;
	padding: 0.8em 0.8em 0.8em 4em;	
}
/* Area risultato */
div.f-risultato {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	color: #575757;
	letter-spacing: 0.05em;
	margin: 2em 0 2em 0;	
	padding: 0 0 0.5em 0;
}
/* Area risultato: parole cercate */
div.f-words {
	float: left;
	padding: 0.2em;
	text-align: left;	
	width: 60%;	
}
/* Area risultato: record trovati */ 
div.f-matches {
	background-color: #f0f0f0;
	color: #036;
	float: right;	
	padding: 0.2em;
	text-align: right;	
	width: 45%;	
}
/* Messaggio sotto l'area del risultato */
div.f-info {
	background-color: #fff;
	color: #575757;	
	padding: 1em 0.2em 1em 0.2em;	
	text-align: justify;	
}
/* Area della paginazione */
div.f-paginazione {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	color: #575757;
	letter-spacing: 0.05em;	
	margin: 1.5em 0 0.5em 0;
	padding: 0 0 0.5em 0;	
	text-align: center; 	
}
/*  Textarea */
textarea.f-textarea {
	border: 1px solid #036;
	width: 90%;
}
/* Area per select nell'intestazione (es. Indici alternativi)*/
div.selectintesta {
/*	border: 0.05em solid #fff;*/
	left: 5%;
	margin: 0.2em 0 0.2em 0;
	position: relative;	
	text-align: right;
	width: 92%;	
}
/* Oggetti form: text area e input text */
textarea.oggettoform, input.oggettoform {
	background-color: #fff;
	border: 1px solid #036;	
	color: #000;
	font-size: 100%;	
	margin: 0 0.2em 0 0;
	padding: 0.2em;	
}
/* Oggetti form: radio e checkbox */
input.f-radiocheck {
	border: none;	
	height: 1.5em;
	width: 1.5em;
}
/* Label in blocco per allineare gli oggetti form */
label.f-blocco {
	display: block;
	width: 30%; 	
}
/* Testo di accompagnamento alla textarea della privacy */
div.f-privacy {
	background-color: #fff;
	color: #000;
	font-family: Garamond, "Times New Roman", Times, serif;
	font-size: 120%;	
	margin: 0.4em 0 0.4em 0;	
}

/* Classi aggiunte espressamente per l'uso in frmBuilder */
div.frmbuilder_elemento {
	padding: 0.5em;
}
span.notaform {
	font-family: Georgia, "Times New Roman", Times, serif;
}
/* form con etichette correttamente distanziate rispetto alle input text */
fieldset.f-allineato {
	background-image: none;
}
fieldset.f-allineato div.f-submitreset {
	text-align: center;
}
/* come label per i radio button */
fieldset.f-allineato span.etichetta {
   display: block;
   float: left;
	margin-right: 0.5em;	
	padding-top: 0.2em;	
	text-align: right;
   width: 15%;			
}
/* nota vicino ad un campo */
fieldset.f-allineato span.etichetta-nota {
	display: block;
	float: left;
	margin-left: 0.5em;
	padding-top: 0.2em;
	width: 35%;
	font-size: 80%;
	border-bottom: 2px dotted #e4e4e4;
}
fieldset.f-allineato div {
   border: none;
	padding-top: 0.5em;
   clear: both;
}
fieldset.f-allineato div label {
   display: block;
   float: left;
	margin-right: 0.5em;	
	padding-top: 0.2em;	
	text-align: right;
   width: 15%;		
}
fieldset.f-allineato div textarea,
fieldset.f-allineato div select,
fieldset.f-allineato div input {
   float: left;
   display: block;
}
fieldset.f-allineato div.f-submitreset input {
	margin: 0.3em;
	display: inline;
	float: none;
} 
fieldset.f-allineato div.f-submitreset input.reset {
	background-color: #e4e4e4;
	border: 1px solid #ccc;
	color: #369;
}
fieldset.f-fieldset span.etichetta-nota {
	display: block;
	float: right;
	text-align: left;
	margin-left: 0.5em;
	padding-top: 0.2em;
	width: 45%;
	font-size: 80%;
	border-bottom: 2px dotted #e4e4e4;
}
