/*
 * Restomalin - 2013
 *
 * Design : Guillaume Schaeffer
 * www.guillaume-schaeffer.fr
 *
 * 2013-10-14
 *
 */

/* -- style spécifiques pour les pages simplifiées s'ouvrant dans une lightbox -- */

body {
	background: #fff;
}

#container-box {
	width: 580px;
	margin-left : auto;
	margin-right : auto;
	padding : 20px;
}

/* -- suivi processus : "steps left" -- */

#steps-left {
	text-align: center;
	background: url(../img/);
}

#steps-left  li {
	display: inline-block;
	font-size: 11px;
	padding: 4px 10px;
	color: #a8a8a8;
	border: 1px solid #bac805;
	border-radius : 4px;
	/*padding: 4px;*/
}

#steps-left li.actif {
	position: relative;
	color: #fff;
	font-weight: 700;
	background: #bac805;
	border: 1px solid #8da502;
}


li.actif:after, li.actif:before {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

li.actif:after {
	border-color: rgba(186, 200, 5, 0);
	border-top-color: #bac805;
	border-width: 5px;
	left: 50%;
	margin-left: -5px;
}

li.actif:before {
	/*border-color: rgba(141, 165, 2, 0);*/
	border-top-color: #8da502;
	border-width: 6px;
	left: 50%;
	margin-left: -6px;
}


#steps-left li.actif a {
	color : #fff;
}

/*
#steps-left li.sl-error {
	position: relative;
	color: #b31313;
	background: #fff;
	border: 1px solid #b31313;
}

li.sl-error:after {
	border-top-color: #fff;
}

li.sl-error:before {
	border-top-color: #b31313;
}

#steps-left li.sl-error a {
	color : #df1818;
}

*/

/* -- Tooltips hint/error (avec flèche full-CSS) -- */

.hint, .error { 
	position: relative; 
	margin-left: 6px;
	color: #fff;
	border-radius : 4px;
	padding: 4px;
	width: 100px;
	font-size: 11px;
} 

.hint {
	background: #bac805; 
	border: 1px solid #8da502; 
}

.hint:after, 
.hint:before { 
	right: 100%; border: solid transparent;
	content: " "; 
	height: 0; 
	width: 0; 
	position: absolute; 
	pointer-events: none; 
}

.hint:after {
	border-color: rgba(186, 200, 5, 0); 
	border-right-color: #bac805; 
	border-width: 5px; 
	top: 50%;
	margin-top: -5px;
} 

.hint:before { 
	border-color: rgba(141, 165, 2, 0); 
	border-right-color: #8da502; 
	border-width: 6px; 
	top: 50%; 
	margin-top: -6px;
}



.error {
	background: #df1818;
	border: 1px solid #b31313;
}

.error:after, .error:before {
	right: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.error:after {
	border-color: rgba(223, 24, 24, 0);
	border-right-color: #df1818;
	border-width: 5px;
	top: 50%;
	margin-top: -5px;
}
.error:before {
	border-color: rgba(179, 19, 19, 0);
	border-right-color: #b31313;
	border-width: 6px;
	top: 50%;
	margin-top: -6px;
}

/* -- elements de formulaire -- */

fieldset {
	border: 1px solid #a8a8a8;
	padding: 10px 60px;
	margin: 20px 0 10px 0;
}

legend {
	padding: 0 5px;
}

legend span.prix {
	font-size : 80%;
	font-weight: 300;
	color: #a8a8a8;
}

p.legende {
	margin: 5px 0 10px 0;
}

p.legende_grande_police {
	margin: 5px 0 10px 0;
	font-size: 16px;
}

ul.legende_grande_police {
	list-style-image: url(../img/puce-sidebar.gif);
	padding-left: 10px;
	font-size: 16px;
}

p.legende_grande_police_titre {
	margin: 5px 0 10px 0;
	font-weight: 800;
	font-size: 22px;
}

p.legende_grande_police_bold_rouge {
	margin: 5px 0 10px 0;
	font-weight: 800;
	font-size: 20px;
	color: #FF0000;
}

label, p.label {
	display: inline-block;
	width: 170px;
	margin: 4px 10px 0 0;
	border-bottom: 1px dotted #a8a8a8;
	position: relative;
	top: 3px;
}

label.pourcent {
	width: 47%;
}

label.zone-text, p.label-zone-text {
	border: none;
} 

label span, p.label span {	
	position: absolute;
	top:-12px;
	padding: 0 5px 0 0;
	background: #fff;
}

label.obligatoire span:after {
	content: " *";
	color: #df1818;
}


ul {
	list-style-image: url(../img/puce-sidebar.gif);
	padding-left: 10px;
}

.field {
	padding : 2px 0;
	margin-bottom: 2px
}

.fields-box, .radio-box {
	display: inline;
	width: 190px;
	/*background: #ff0;*/
}

.fields-box label, .radio-box label {
	padding : 0 10px 5px 5px;
	width: auto;
	border : none;
	margin: 0;
}

.fields-box table
/*, .radio-box table*/
 {
	width: 100%;
	padding-top : 1em;
}

/* commenté le 14/09 */
/*
.fields-box td {
	width: 50%;
}*/


textarea {
	width: 375px;
	border: 1px solid #efebe7;
	border-radius: 4px;
	color : #a8a8a8;
	box-shadow: inset 0 1px 4px rgba(0,0,0,0.2);
	margin-top: 10px;
}

textarea:hover, textarea:hover {
	border: 1px solid #bac805;
	box-shadow:  0 0 4px #bac805;
}


textarea:focus, textarea:focus {
	color: #333;
	border-color: #bac805;
	box-shadow:  0 0 4px #bac805;
}

input[type=text], input[type=password] {
	text-align: left;
	padding-left: 10px;
	color : #a8a8a8;
	height: 20px;
	border : 1px solid #efebe7;
	border-radius: 4px;
	box-shadow: inset 0 1px 4px rgba(0,0,0,0.2);
	width: 180px;
}

input[type=text].date {
	width: 100px;
}


input[type=text]:hover, input[type=password]:hover {
	border: 1px solid #bac805;
	box-shadow:  0 0 4px #bac805;
}


input[type=text]:focus, input[type=password]:focus {
	color: #333;
	border-color: #bac805;
	box-shadow:  0 0 4px #bac805;
}


select {
	padding: 4px 0 4px 10px;
	width: 192px;
	border : 1px solid #efebe7;
	border-radius: 4px;
	box-shadow: inset 0 1px 4px rgba(0,0,0,0.2);
}


select:hover, select:focus {
	border: 1px solid #bac805;
	box-shadow:  0 0 4px #bac805;
} 


/* -- champ erroné-- */

input.input-error, select.input-error, textarea.input-error {
	border: 1px solid #df1818;
	box-shadow: inset 0 1px 4px #df1818;
}

input.input-error:hover, input.input-error:focus, select.input-error:hover, select.input-error:focus, textarea.input-error:hover, textarea.input-error:focus {
	border: 1px solid #df1818;
	box-shadow: 0 0 4px #df1818;
}


/* -- champ validé -- */
input.input-ok {
	border: 1px solid #bac805;
	box-shadow: none;
	background: url(../img/check-input.png) no-repeat  252px 2px;
	color: #7c9127;
}

input.input-error:hover, input.input-error:focus {
	border: 1px solid #df1818;
	box-shadow: 0 0 4px #df1818;
}

/* -- bouton -- */
.btn {
	display: block;
	border : 1px solid #deee02;
	border-radius: 4px;
	font-family: "Fjalla One", sans-serif;
	font-weight: 300;
	font-size: 14px;
	text-transform: uppercase;
	text-align: left;
	text-shadow : 0 2px 1px rgba(0, 0, 0, 0.2);
	color : #fff;
	padding: 4px 0 4px 10px;
	width: 192px;
	background : url(../img/double-fleche.png) no-repeat 164px 8px #bac805;
	box-shadow: 0 2px 3px rgba(0,0,0,0.3), inset 0 0 2px rgba(0,0,0,0.5), inset 0 -5px 5px rgba(144,165,1,0.9);
	transition : box-shadow .3s, background .1s;
	margin: 10px 0 10px 184px;
}

.btn:hover {
	outline: none;
	box-shadow: 0 5px 3px rgba(0,0,0,0.3), inset 0 0 2px rgba(0,0,0,0.3), inset 0 -5px 5px rgba(144,165,1,0.7);
}

.btn:active {
	position: relative;
	top: 1px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.3), inset 0 0 2px rgba(0,0,0,0.8), inset 0 -5px 5px rgba(0,0,0,0.1);
	background: url(../img/double-fleche.png) no-repeat 164px 8px #92aa03;
}

.btn-comp {
	display: block;
	border : 1px solid #9b8f7f;
	border-radius: 4px;
	font-family: "Fjalla One", sans-serif;
	font-weight: 300;
	font-size: 14px;
	text-transform: uppercase;
	text-align: left;
	text-shadow: 0 2px 1px rgba(0, 0, 0, 0.2);
	color: #fff;
	padding: 4px 0 4px 10px;
	width: 192px;
	background : url(../img/double-fleche.png) no-repeat 164px 8px #806a4d;
	box-shadow: 0 2px 3px rgba(0,0,0,0.3), inset 0 0 6px rgba(0,0,0,0.2);
	transition : box-shadow .3s, background .1s;
	margin: 10px 0 10px 184px;

}

.double {
	width: 270px;
	margin-left: 183px;
	/*background: #fc0;*/
}

.double .btn, .double .btn-comp {
	display: inline-block;
	margin: 0;
	width: 130px;
	background-position : 104px 8px;
}

.double .btn:first-child, .double .btn:first-child {
	margin-right : 5px;
}


/* --  chargement/enregistrement en cours "processing" -- */
.processing {
	display: inline-block;
	background: url(../img/ajax-loader-2.gif) no-repeat  5px center #a8a8a8;
	margin: 10px 0 0 184px;	
	width : 163px;
	padding:  7px 0 7px 31px;
	color: #fff;
	font-weight: 700;
	border-radius: 4px;
	letter-spacing: -.01em;
}

/* -- processing du bouton final "valider ma commande -- */
.processing-final {
	display: inline-block;
	background: url(../img/ajax-loader-2.gif) no-repeat  5px center #a8a8a8;
	margin: 10px 0 0 184px;	
	width : 163px;
	padding:  7px 0 7px 31px;
	color: #fff;
	font-weight: 700;
	border-radius: 4px;
	letter-spacing: -.01em;
	float: right;
	margin: 0;
}

.double .processing {
	width : 99px;
	margin: 10px 0;	
}

#container-box h3 {
	margin-top: 1em;
} 

/* -- Menu -- */
#choix-menu .plat h3 {
	margin-top: 0em;
}

#menu label {
	display: inline;
	margin: 4px 10px 0 0;
	border: none;
	position: relative;
	top: 3px;
}

#recap-menu {
	margin-bottom: 10px;
}

#recap-menu h3 {
	margin : 20px 0 5px 0;
}

#recap-menu ul {
	padding:0;
}

#recap-menu li {
	list-style : none;
	line-height: 15px;
	padding: 4px 0 4px 22px;
	background: url(../img/puce-check-empty.gif) no-repeat 0 6px;
}

#recap-menu li.valide {
	background: url(../img/puce-check.gif) no-repeat  0 6px;
}

.modifier {
	background: #ccc;
	border-radius: 3px;
	display: inline-block;
	padding : 0px 3px;
	margin-left : 5px;
	color: #fff;
	font-weight: 700;
	transition : background .3s;
	font-size: 11px;

}

.modifier:hover, .modifier:focus, .modifier:active {
	background: #bac805;
	color: #fff;
	text-decoration: none;
}


#choix-menu p, #choix-menu h3 {
	margin-bottom: 10px;
}

#choix-menu .plat {
	margin-bottom: 20px;
}

div.no-options .ingredients  {
	min-height: 55px;
}


/* -- Récap de commande -- */
#recap-commande table {
	width: 100%;
	border-collapse: collapse;
	margin: 10px 0 0 0;
}

tr#entete {
	background: #a28d71 url(../img/fond-top-mini-panier.gif) top left repeat-x;
}

#bottom-panier {
	height: 5px;
	background: url(../img/fond-bottom-recap.gif) repeat-x bottom left #a28d71;
	padding: 0;
	margin-bottom: 5px;
}

th {
	font-family: "Fjalla One", sans-serif;
	font-size: 14px;
	font-weight: 300;
	text-transform: uppercase;
	padding: 10px 10px 4px 10px;
	color: #fff;
	text-shadow: 0 2px 1px rgba(0,0,0,.35);
	text-align: left;
}

td {
	color: #3c3c3c;
	vertical-align: top;
	padding: 3px 4px;
}
td span.jplus1 {
	color: #CC3300;
	font-weight: bold;
}

.designation {
	width: 210px;
	padding-left: 10px;
}

.qte {
	width: 25px;
	text-align: center;
}

td.prix-unit {
	width: 90px;
	text-align: right;
}

td.sstotal, td.grand-total {
	text-align: right;
	padding-right: 10px;
}

tr.even {
	background: #f4efdf;
}

tr.odd {
	background: #e7e0c9;
}

tr.livraison, tr.offert {
	background: #dce37a;
	border-top: 1px solid #fff;
}

/* -- recap total -- */
table.recap-total {
	margin: 10px 0 20px 0;
	/*width: 50%;*/
	float: right;
	border-collapse: collapse;
	background: #f0f0f0;
	border: 1px solid #d4d4d4;	
	font-weight: 700;
}

.entete-total, .entete-grand-total {
	text-align: left;
	padding-left: 10px;
}

.entete-grand-total, .grand-total {
	font-size: 14px;
}

table.tableau_fidelite {
	background-color:	#BAC805;
	border: 			1px solid #BAC805;
}

table.tableau_fidelite td {
	font-weight:		normal;
	color:				#F5FFFF;
	font-size:			12px;
	background-color:	#BAC805;
	border: 			1px solid #BAC805;
}

table.tableau_fidelite td a {
	font-style:			italic;
	font-size:			12px;
	color:				#F5FFFF;
}

table.tableau_fidelite td a:hover {
	text-decoration:	underline;
}

/* -- liens modification info/commande -- */
.lien-modifier {
		float: left;
		text-align: left;
		width: 228px;
		padding: 0 0 10px 0;
		margin: 10px 0 0 0;

}

.lien-modifier a {
	color: #a8a8a8;
	text-decoration: underline;
}

.lien-modifier a:hover, 
.lien-modifier a:focus, 
.lien-modifier a:active  {
	color: #333;
	transition : color .3s;	
}

/* -- infos complémentaires récap commande -- */

#infos-complementaires {
	clear: both;
}


#infos-complementaires div {
	width: 220px;
	padding-bottom: 10px;
}


#infos-complementaires p {
	padding-top: 5px;
	line-height: 140%;
}

#adresse-livraison {
	float : left;
	padding-right: 9px;
}

#infos {
	float: right;
}

#appel {
	clear: both;
	float: left;
}

#heure {
	float: right;
}

#recap-commande textarea {
	margin: 10px 0 5px 0;
	padding: 4px;
	width: 449px;
}

#recap-commande div#message {
	width: 100%;
	clear: both;
	padding-top: 5px;
}

hr {
	clear: both;
}
/* -- boutons -- */

#boutons-action {
	/*width: 100%;
	background:#ffc;*/
}


#aide {
	display: inline-block;
	/*float: left;*/
	background-image: none;
	padding: 6px 10px;
	width: auto;
	text-align: center;
}

.btn#validation-commande {
	float: right;
	margin: 0;
}


/* -- historique de commande -- */