/* Généralités */
form { margin: 0; padding: 0;}
label, input, select, textarea { font-family: Arial, Courier new, Sans; font-size: 1em; }
label { cursor: pointer; }
.cnil { width: 80%; margin: 0 auto; font-size: smaller; }

/* Formulaire en mode saisie */
form.valid fieldset { margin-bottom: 1em; padding: 1em; border:1px solid #ccc;}
form.valid fieldset.hidden { margin: 0; padding: 0; height: 0; display: none; }
form.valid fieldset legend { font-weight: bold; color:black; }
.row { margin: 0.1em; clear: both; padding: 0.5em; min-height: 1em; }
.row label.main { display: block; float: left; width: 33%; text-align: right; }
.row input, .row textarea, .row select, .row .texte { margin-left: 1em; width: 60%; }
.row input, .row textarea, .row .texte, .row select { padding: 0.2em; }
.row .texte { float: left; padding: 0; }
.addsubmit input { width: 50%; }
.checkbox input, .radio input { width: auto !important; background: transparent !important; border: 0 !important; vertical-align:middle; }
.date select, .datetime select, .date input, .datetime input { width: auto; }
.submit { text-align: center; }
.submit input { width: auto; font-weight: bold; padding: 0.3em 2em; font-size: 1.1em; cursor: pointer; border-style: outset !important; }
.submit input:active { border-style: inset !important; }

/* bouton submit */
.submit input { background:#ccc; border:1px solid #484339; color:#202026; padding:2px 30px; font-weight:bold; text-transform:uppercase;}

.row small { padding-left: 35%; display: block; }
.seccode input {
	vertical-align: top;
	width: 5em;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	height: 19px;
}
#rcode img { border: 0; background: 0; padding: 0; }
#rcode label { width: 50%; }

.checkbox input, .radio input { background: transparent; }

/* Code postal / ville */
#rcp { clear: left; float: left; width: 45%; }
#rville { width: 49%; }
#rcp label { width: 72%; }
#rcp input { width: 20%; float: left; }
#rville { clear: none; float: left; }
#rville label { width: 15%; }
#rville input { width: 74%; }

/* Formulaire en mode affichage */
table.valid { background-color:#FFF; width: 80%; }
table.valid, table.valid td, table.valid th {
	border:1px solid #A4A4A4;
	border-collapse:collapse;
	empty-cells: show;
	color: #000;
	margin:1em auto;
	text-align:center;
}
table.valid tr.group th { text-align: center; font-weight:bold;padding:5px; }
table.valid th, table.valid td { padding:5px; }
table.valid th { font-weight:normal; text-align: center; width: 30%;  }
table.valid td { text-align: left; }

/* Formulaire en mode saisie, affichage en ligne : label: champ | label: champ | label: champ */
form.inline { }
form.inline label, form.inline label.main { display: none; }
form.inline select, form.inline input { width: auto; }
form.inline div.row { display: inline; clear: none;}

/* Partie variable des sites */
table.valid tr#pays td, table.valid tr#livraison_pays td {
	background-color: #9D9DA3;
	color: #FFF;
}
.row input, .row textarea, .row select { background: #fff url(../images/bg_input.gif) repeat-x 0 0; border:1px solid #bada66; }
form.valid .row .missing {
	background-image: url(../images/icons/delete.png);
	background-position: 100% 1px;
	background-repeat: no-repeat;
	color: red;
}
#contenu form.valid { padding: 0; margin: 0 auto; }
ul.errors { margin-left: 40px; }
ul.errors li label { font-weight: bold; }

form.recherche, form.themes { padding: 1em 0; }
form.recherche { float: left; text-align: left;  }
form.themes { float: right; text-align: right;  }
form.themes select { width:18em; border:1px solid #999;  }
form.themes input.submit { width: auto; }

/******** Formulaire de connexion membre **************/
#form_connexion {margin-left:18px; margin-top:8px;}
#form_connexion .row {min-height:auto; margin:3px 0 0; padding:0;}
#form_connexion label.main {display:none;}
#form_connexion input {width:107px; height:15px; margin:0; padding:1px 4px; border:none; color:#727070; background:#fff;}
#form_connexion input#password-addsubmit {margin-left:5px; padding:0; cursor:pointer; color:#dc291e; font-family:"Arial Black", Arial, Helvetica, sans-serif; background:none;}

/********** Formulaire de recherche ***********/
form#marecherche {float:left; margin-top:7px;}
form#marecherche .row {margin:0; padding:0;}
form#marecherche input {width:131px; height:11px; padding:2px; border:1px solid #adaca7; background:url(../images/bg_input.gif) repeat-x;}
form#marecherche input#motscles-addsubmit {width:17px !important; height:18px; padding:0; cursor:pointer; text-indent:-99999px; border:none; background:url(../images/bg_ok.gif) no-repeat;}

/*********** Formulaire de mailing colonne droite ***********/
form#form_mailing {}
form#form_mailing input {width:111px; height:11px; margin-left:65px; margin-top:10px; padding:2px; font-size:0.8em; border:1px solid #adaca7; background:url(../images/bg_input.gif) repeat-x;}
form#form_mailing .row {margin:0; padding:0;}
form#form_mailing input#email-addsubmit {width:17px !important; height:18px; margin-left:10px; padding:0; cursor:pointer; border:none; background:url(../images/bg_ok.gif) no-repeat;}

/*********** Formulaire de mailing principal **********/
form#mailing label.main {margin-top:2px;}
