/* Main container for form */
div.form-container { 
width: 500px;
  font: Georgia, "Times New Roman", Times, serif;
font-size: 16px;
padding: 5px; 
border: #EEE 1px solid;
margin: 0 10px;
background-color: #FFFFFF;}

div.form-container form p { 
margin: 0; }

div.form-container form fieldset { 
margin: 10px 0; 
padding: 10px; 
border: #DDD 1px solid; 
}

/* Legend definition */

div.form-container form legend{ 
font-weight: bold; 
color: #920504; }

.legend { 
font-weight: bold; 
color: #920504; }

/* Fieldset definition */ 

div.form-container form fieldset div { 
padding: 0.2em 0; }

/* Label, textarea and other content of form */

div.form-container label, div.form-container span.label { 
margin-right: 10px; 
padding-right: 10px; 
width: 80px; 
display: block; 
float: left; 
text-align: right; 
position: relative; 
color: #6D7582; }

div.form-container label em, div.form-container span.label em { 
position: absolute; 
right: 0; 
font-size: 140%; 
font-style: normal; 
color: #920504; 
text-indent:-1000 px; }

div.form-container input:focus, div.form-container input.error:focus, div.form-container textarea:focus {	
background-color: #920504; border-color: #285d14; }

/* Button of form */

div.form-container div.buttonrow { 
text-align: center;}

/* Input required and disabled for the validation with the javascript */

div.form-container input.disabled {
border: 2px solid #F2F2F2;
background-color: #F2F2F2; }

div.form-container input.required, textarea.required {
border: 2px solid #285d14;
}

/* In case of failed validation by the javascript */

div.form-container input.validation-failed, div.form-container textarea.validation-failed {
border: 2px solid #FF3300;
color : #FF3300; }

/* If validation passed by the javascript */

div.form-container input.validation-passed {
border: 2px solid #00CC00;
color : #009900; 
background: transparent url(/images/ok.gif) no-repeat top right; }


div.form-container .validation-advice {
margin: 5px 0;
font-size: 90%;
color : #fff;	
text-align: center;
font-weight: bold;
border: #FF0000 solid 1px;
background: #900 url(/images/cancel.gif) no-repeat center right;}

/* Basic definition for form elements */

fieldset {
padding: 1em;
margin-bottom: 0.5em;}

.form-row {
clear: both;
padding: 0.5em;
}

/*cnil text definition */

.cnil {
color:#285d14;}
