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

   form.css
   Base pour formulaires
   Cf.: http://www.spip-contrib.net/3820

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

input,textarea,select,button { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; }

legend { font-weight: bold; }

/* Hand cursor on clickable input elements */
input[type="submit"],input.submit,
input[type="button"],input.button,
input[type="image"],input.image,
button { cursor: pointer; }

textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.ie fieldset { padding-top: 0; }
.ie6 legend,
.ie7 legend { margin-left: -7px; } /* Preciser la couleur des legend et du fond pour IE/Win */
.ie button,
.ie input.submit,
.ie input.button { position: relative; }

button { width: auto; overflow: visible; } /* Make buttons play nice in IE: www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */

/* Success, info, notice and error/alert boxes (from BluePrint) */

.reponse_formulaire,
.reponse,
.warning,
.error,
.alert, 
.notice,
.success, 
.info     { padding: .8em; margin-bottom: 1.5em; border: 1px solid #ddd; color: #fff; border-width: 1px 1px 1px 5px !important;}

.notice, .reponse_formulaire   { color: #c7c7c7 !important; background: #f2f2f2 !important; border-color: #c7c7c7 !important;  }
.error,
.alert, .reponse_formulaire_erreur { color: #de2b0f !important; background: #fdeae7 !important; border-color: #de2b0f !important;}
.warning  { color: #de770f; background: #fdf2e7; border-color: #de770f;}
.info     { color: #007ba0; background: #e6f9ff; border-color: #007ba0; }
.success, .reponse_formulaire_ok  { color: #3a945b !important; background: #edf8f1 !important; border-color: #3a945b !important;  }

.error a,
.alert a    { color: #de2b0f; font-weight: bold; }
.warning a  { color: #de770f; font-weight: bold; }
.notice a   { color: #c7c7c7; font-weight: bold; }
.success a  { color: #3a945b; font-weight: bold; }
.info a     { color: #007ba0; font-weight: bold; }




/* Print */
@media print {
  form { display: none; }
}



/* Ajouts personnels */


.formulaire_forum fieldset {
	clear: none;
}


.formulaire_forum fieldset.qui {
    display: none;
}

.formulaire_spip fieldset {
    padding: 5px;
    margin: 5px;
}


.formulaire_spip ul li{
	clear: both;
	margin: 0px;
}

.formulaire_spip label{
	text-align: left;
}

.formulaire_spip input[type="text"], .formulaire_spip input[type="password"], textarea, .formulaire_spip input[type="file"] {
	display: block;
}



.formulaire_spip p.explication{
	margin: 0.5em 0px;
}


.formulaire_spip li.erreur .erreur_message {
	display: block;
	color: #cc3300;
	font-weight: bold;
}

.formulaire_spip li.erreur input.text, .formulaire_spip li.erreur textarea {
	background-color: #ffcccc !important;
	border: 1px solid #cc3300;
}
