/* 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 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%; }
.addsubmit select { width: 40%; }
.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; }
div.submit { text-align: center; }
div.submit input { width: auto; font-weight: bold; padding: 0.3em 2em; font-size: 1.1em; cursor: pointer; border-style: outset !important; }
div.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 */
#coordonnees #rcp { clear: left; float: left; width: 45%; }
#coordonnees #rville { width: 49%; }
#coordonnees #rcp label { width: 70%; }
#coordonnees #rcp input { width: 20%; float: left; }
#coordonnees #rville { clear: none; float: left; }
#coordonnees #rville label { width: 15%; }
#coordonnees #rville input { width: 60%; }

/* 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: #F5F5F5; border:1px solid #999; }
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; }


/* Connexion et inscription cote à cote */
div#connexion fieldset, div#inscription fieldset {
	height: 240px;
}
div#connexion fieldset .submit input, div#inscription fieldset .submit input {
	width: 90%;
	margin: 0 auto;
}
div#connexion {
	float: left;
	width: 52%;
}
div#connexion .row input { margin-left: 0; width: 55%; }
div#connexion .row label.main { width: 40%; text-align: left; }

div#inscription {
	float: left;
	width: 46%;
	margin-left: 2%;
}
div#inscription input { margin-left: 0; }

/* Login permanent */
#colgauche identification { width: 100%; }
#colgauche #identification div.row { margin: 0.1em 0; padding: 0.5em 0; }
#colgauche #identification div.row label { float: none; width: auto; text-align: left; }
#colgauche #identification div.row input { float: none; width: 80%; margin:0; }
#colgauche #identification div.row input#submit { margin-left:5px;}
#colgauche #identification div.row input#password { width: 60%; }

#colgauche #mailing label { float: none; width: auto; text-align: left; }
#colgauche #mailing input { width: 100px; margin:0; }
#colgauche #mailing input#submit { margin-left:5px;}
