/* 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; line-height:normal; clear:both; }

/* Formulaire en mode saisie */
form.valid fieldset, form fieldset { margin-bottom: 1em; padding: 1em; border:2px solid #ccc;}
form.valid fieldset legend, form 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; float:right; margin-right:3.5em; background:#ccc; border:1px solid #EC6C19 !important; color:#202026; padding:2px 30px; font-weight:bold; text-transform:uppercase;}


/* bouton submit */
.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%; }

/******************Formulaire de réalisations***************/
#realisations {}
#realisations .row {width:70%; padding:2px 0; }
#realisations #rconcessionnaire {padding:0; float:left;}
#realisations label {width:30%; text-align:left;}
#realisations select {float:right; width:65%;}

#realisations #rrealisations-submit {width:28%; float:right; clear:none;}
fieldset#frealisations  {padding-bottom:5px; margin-bottom:5px;}
#frealisations .submit input {margin:0; float:none; padding:0 2px; font-size:0.9em;}
.checkbox input, .radio input { background: transparent; }

/* Code postal / ville */
#rcp { clear: left; float: left; width: 45%; }
#rville { width: 49%; }
#rcp label { width: 70%; }
#rcp input { width: 20%; float: left; }
#rville { clear: none; float: left; }
#rville label { width: 15%; }
#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: #fff; border:1px solid #ec6c19; }
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; }
#contenu ul.errors { background: #BACB52; padding: 5px 40px; margin: 0; }
#contenu 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; }
form.themes input.submit { width: auto; }


/* Connexion et inscription cote à cote */
div#connexion fieldset, div#inscription fieldset {
	height: 150px;
}
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 */
#coldroite #identification { width: 100%; }
#coldroite #identification div.row { margin: 0.1em 0; padding: 0.5em 0; }
#coldroite #identification div.row label { float: none; width: auto; text-align: left; }
#coldroite #identification div.row input { float: none; width: 80%; margin:0; }
#coldroite #identification div.row input#submit { margin-left:5px;}
#coldroite #identification div.row input#password { width: 60%; }

#coldroite form#mailing { width:90%; margin:0 auto; padding-bottom:5px; background:url(../images/newsletter_bg.gif) repeat-x left bottom;}
#coldroite #mailing label, #colgauche #mailing label { float: none; width: auto; text-align: left; }
#coldroite #mailing input, #colgauche #mailing input { width: 130px; margin:4px 0 0; }
#coldroite #mailing input#submit, #colgauche #mailing input#submit { margin-left:5px; background:none; border:0;}


/* form demande de devis */
#question legend {height:22px; padding-left:25px; padding-top:3px; background-position:left top; background-repeat: no-repeat; cursor:pointer;}
legend.closed{
	background-image: url(../images/fleche_devis_off.png);
}
	
legend.opened{
	background-image: url(../images/fleche_devis_on.png);
}

/************ form demande de rappel ***************/

form#callback fieldset { border:0; margin:0; padding:0;}
form#callback .row { padding:0; margin:8px 0;}
form#callback #rcode label { width:33%;}
form#callback input#callback-submit { margin:1em 0; padding:2px 35px;  border:0 !important; background:#b40918 !important; color:#fff; text-transform:none;}