* {margin: 0; padding: 0;}

html {min-height: 100%}

body {
	padding: 0 0 50px;
	color: #ccc;
	font-family: Arial, sans-serif;
	background-color: #888;
	background:    -moz-linear-gradient(top, #666, #777 75%, #888);
	background: -webkit-linear-gradient(top, #666, #777 75%, #888);
}

a {color: #666;}
a:visited {color: #999; text-decoration: none;}
a:hover {color: #fff; text-decoration: none;}

li {list-style: none;}

table {border-collapse: collapse;}

hr.clear {border: none; clear: both; background: none; height: 0;}

.preload {width: 0; height: 0; visibility: hidden; border: none;}

#page {
	position: relative;
	margin: 0 auto;
	padding: 0 0 50px;
}
#main {
	position: relative;
	width: 533px;
	padding: 25px 25px 5px;
	color: #333;
	font-size: .8em;
	border: 1px solid #333;
	border-top: none;
	background: #ccc;
	z-index: 5;
}
.wide {width: 900px !important;}
.wider {width: auto !important; min-width: 900px;}

#main #infos {text-align: center;}
#main h3 {margin: 15px auto 25px; color: #e7d8bc; border-bottom: 1px solid #64000c; width: 408px;}
#main #infos p {margin: 10px 0;}

form {margin-top: 40px;}
form h3 {margin: 10px auto; text-align: center; width: 408px; border-bottom: 1px solid #64000c; color: #e7d8bc;}
form p {margin: 10px auto; text-align: center; width: 408px;}
form ul {list-style: none; margin-top: 25px;}
form li {
	w-idth: 408px;
	margin: 2px auto;
	padding: 3px 0;
	position: relative;
	list-style: none;
}
form label {color: #222;}
form select, 
form textarea, 
form input[type=text], 
form input[type=password] {
	display: block;
	width: 250px;
	height: 16px;
	padding: 2px 3px;
	position: absolute;
	left: 150px;
	top: 0;
	color: #666;
	background: #e6e6e6;
	border: 1px solid #bbb;
}
form textarea {height: 160px;}
form select {width: 100px; height: 20px;}

form select:hover, 
form textarea:hover, 
form input[type=text]:hover, 
form input[type=password]:hover 
	{background: #eee; color: #333; border-color: #999;}

form select:focus, 
form textarea:focus, 
form input[type=text]:focus, 
form input[type=password]:focus 
	{background: #fff; color: #000; border-color: #000;}

form select:active, 
form textarea:active 
	{background: #fff; color: #000; border-color: #000;}

form input[type=text]#cp, 
form input[type=text]#zip 
	{width: 50px;}
form input[type=text]#ville, 
form input[type=text]#city 
	{left: 210px; width: 190px;}
form option {padding: 1px 3px;}
form li.text {height: 160px;}
form li.subscribe {margin-top: 15px; padding-top: 15px;}
form li.subscribe label {padding-left: 5px;}
form li.order {text-align: left; margin-top: 15px; padding-top: 15px; border-top: 1px solid #64000c; line-height: 25px;}
form li.order label {padding-left: 5px;}
form li.buttons {text-align: center; margin-top: 15px; padding-top: 15px; border-top: 1px solid #64000c;}
form li.buttons button {padding: 1px 10px; margin: 0 25px;}
form li.buttons #send {font-weight: bold;}

.send-password {
	text-align: right;
}
.send-password button {
	padding: 2px 5px;
}

/* résultat d'envoi de formulaire */
.message,
.error,
.confirm {
	display: block;
	margin: 0 0 20px;
	padding: 25px;
	text-align: center;
	color: #ccecff;
	background: #597c8f;
		-moz-box-shadow: 		0px 4px 10px -5px hsla(0, 0%, 0%, .5);
		-webkit-box-shadow: 	0px 4px 10px -5px hsla(0, 0%, 0%, .5);
		-o-box-shadow: 			0px 4px 10px -5px hsla(0, 0%, 0%, .5);
	box-shadow: 				0px 4px 10px -5px hsla(0, 0%, 0%, .5);
}
.message strong, 
.error strong, 
.confirm strong 
	{color: #fff;}
.message a, 
.error   a, 
.confirm a 
	{color: #fff;}
.confirm {
	color: #e4ffbf;
	background: #738f47;
}
.error {
	padding: 25px 25px 25px 50px;
	color: #fcc;
	text-align: left;
	background: #af6d70 url(img/icon_exclamation.png) no-repeat 20px 25px scroll;
}

/* page shops */

#main {margin: 0 auto;}

/* layout alternatif pour les pages de l'outil resellers (sauf maps) */
.altmenu {padding-top: 0;}
.altmenu #main {margin: 0 auto; padding-top: 50px;}
.altmenu #header {background: none;}

#shops_menu2 {
	position: relative;
	left: -25px;
	top: -25px;
	width: 900px;
	height: 16px;
	padding: 5px 25px;
	font-size: 14px;
	border-bottom: 1px solid #000;
	background-color: #555;
		-moz-box-shadow: 		0 5px 10px -5px #333;
		-webkit-box-shadow: 	0 5px 10px -5px #333;
		-o-box-shadow: 			0 5px 10px -5px #333;
	box-shadow: 				0 5px 10px -5px #333;
}
.wider #shops_menu2 {left: 0; width: auto;}
#shops_menu2 ul {
	margin: 0;
	padding: 0;
	position: relative;
}
#shops_menu2 ul li {d-isplay: inline;}
#shops_menu2 ul li a {color: #aaa;}
#shops_menu2 ul li a:hover {color: #fff; text-decoration: underline;}
#shops_menu2 ul li#back {float: left;}
#shops_menu2 ul li#go_dakine {float: right;}
#shops_menu2 ul li#logout {float: right; padding-left: 35px;}
#shops_menu2 ul li#logout a {
	padding-left: 20px;
	color: #fd9;
	background: transparent url(img/icon_key.png) no-repeat left top scroll;
	opacity: .65;
}
#shops_menu2 ul li#logout a:hover {opacity: 1;}

/* shops > administration (détails d'un magasin) */
input {position: static; display: inline;}
p {margin: 0; width: auto; text-align: left;}
li {width: auto;}
form {margin-top: 0;}
fieldset {
	padding: 5px 10px;
	margin-bottom: 15px;
	background-color: #ddd;
	border: 1px solid #bbb;
}
fieldset fieldset {
	background-color: #eee;
	border-color: #ccc;
}
legend {
	padding: 0 2px;
	color: #666;
	font-size: 1.2em;
	font-style: italic;
	margin-top: -2px;
	background:    -moz-linear-gradient(top, #ccc 40%, #ddd 60%);
	background: -webkit-linear-gradient(top, #ccc 40%, #ddd 60%);

}
fieldset fieldset legend {
	background:    -moz-linear-gradient(top, #ddd 40%, #eee 60%);
	background: -webkit-linear-gradient(top, #ddd 40%, #eee 60%);

}
h2 {
	position: relative;
	margin-bottom: 25px;
	border-bottom: 1px solid #999;
	border-top: 1px solid #999;
	font-weight: normal;
}
h2 a.export{
	float: right;
}
p.note {
	width: auto;
	padding: 5px 10px 0;
	color: #999;
	text-align: left;
	font-style: italic;
	border-top: 1px solid #ccc;
}
#main h2 input {
	position: absolute;
	left: auto; right: 0;
	top: auto; bottom: 0;
	width: auto;
	min-width: 100px;
	height: auto;
	padding: 1px 3px 0;
	color: #fff;
	font-size: 18px;
	text-align: right;
	border: 1px solid #999;
	border-bottom: none;
	background: #aaa;
}
#main ul {margin-top: 0;}
#pers_cont li {
	position: relative;
	width: 290px;
	float: left;
}
#pers_cont label {padding-right: 5px;}
#pers_cont input {
	display: inline;
	position: static;
}
#pers_cont p.note {margin: 5px -10px 0;}
#mag {position: relative;}
#mag_infos_gen {width: 434px; margin: 15px 0 25px;}
#mag_infos_gen li {position: relative;}
#mag_infos_gen li input {
	position: absolute;
	left: auto;
	right: 15px;
}
#mag_infos_gen li p.exemple {
	margin: 0;
	padding: 2px 18px 2px 166px;
	margin-bottom: -7px;
	color: #999;
	text-align: left;
	font-size: 11px;
	width: auto;
}
#mag_infos_gen li p.exemple i {color: #666;}
#mag_infos_gen li input#mag_npa {width: 50px; right: 215px;}
#mag_infos_gen li input#localite {width: 190px;}
#mag_infos_gen li#online .note {
	width: 254px;
	margin-top: 3px;
	padding: 0 0 0 165px;
	font-size: 11px;
	border-top-style: dotted;
}
#mag_infos_gen li#online input {top: 4px; right: 260px;}

#mag_horaires {width: 416px; margin-top: 15px; padding: 10px 0;}
#mag_horaires legend {margin-left: 10px;}
#mag_horaires table {
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
#mag_horaires table thead tr {
	height: 23px;
}
#mag_horaires table tbody tr {
	height: 23px;
}
#mag_horaires table th {
	padding: 2px;
	color: #666;
	text-align: left;
	vertical-align: top;
	background-color: #fff;
	border-bottom: 1px solid #666;
}
#mag_horaires table td {
	padding: 0;
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	background-color: #eee;
	vertical-align: top;
}
#mag_horaires table tr td:first-child {padding: 0px 2px 6px 10px; vertical-align: top;}
#mag_horaires table td.ns {padding-left: 27px; padding-top: 7px;}
#mag_horaires table td.cl {text-align: center; padding-top: 7px;}
#mag_horaires table td.ns input {width: auto;}
#mag_horaires table td.cl input {width: auto;}
#mag_horaires table input {
	outline: none !important;
	background-color: #fff;
	border-color: #ddd;
	padding: 0 2px;
	position: static;
}
#mag_horaires table input:hover {border-color: #999;}
#mag_horaires table input:focus {border-color: #000;}
#mag_horaires table input:active {border-color: #000;}
#mag_horaires table p {position: relative; width: 100px; margin: 0; overflow: hidden;}
#mag_horaires table p label {float: left; padding: 0; width: 30px;}
#mag_horaires table p input {float: left; margin: 0;}
#mag_horaires table input {width: 50px;}
#mag_horaires .nonstop td {background-color: #edffdf !important;}
#mag_horaires .closed td  {background-color: #ccc !important; color: #777;}
#mag_horaires .note {border-top: none;}
#boutons {
	margin: 15px 0 3px;
	padding: 0;
	text-align: center;
	background: #666;
	border: 1px solid #333;
}
.simple {padding: 15px 10px !important;}
#duplicate {margin-top: 10px;}
#boutons button {padding: 0px 5px;}
#boutons p.note {
	margin: 10px 0 0;
	padding: 0;
	color: #aaa;
	text-align: center;
	border-top: none;
}
#boutons #save {
	float: left;
	width: 480px;
	padding: 40px 10px;
	border-right: 1px solid #222;
	background: #333;
}
#boutons #save button {font-weight: bold;}
#boutons #admin {
	float: right;
	width: 375px;
	padding: 15px 10px;
	text-align: center;
	display: inline;
}
#boutons #admin p {text-align: center; margin-bottom: 20px;}
#boutons #admin p.etat {color: #000;}
#boutons #admin p.etat b {
	padding: 0 0 0 20px;
	color: #fff;
	background-color: transparent;
	background-attachment: scroll;
	background-position: left top;
	background-repeat: no-repeat;
}
#boutons #admin p.etat span.modif {
	padding-left: 10px;
	color: #ccc;
	font-size: .9em;
}
#boutons #admin button span {
	padding: 0 0 0 20px;
	background-color: transparent;
	background-attachment: scroll;
	background-position: left top;
	background-repeat: no-repeat;
}
#boutons #admin .val span {background-image: url(img/icon_tick.png);}
#boutons #admin .del span {background-image: url(img/icon_cross.png);}

#mag_com {text-align: center;}

#mag_produits {width: 412px; float: right;}
#mag_produits p.note {
	margin: 0 -10px 5px;
}
#mag_produits #products {
	margin: 0 -10px;
	border-top: 1px solid #ccc;
}
#mag_produits #products li {
	position: relative;
	margin: 0;
	padding: 0;
}
#mag_produits #products li label {
	display: block;
	padding: 3px 10px 3px 18px;
	border-bottom: 1px solid #ccc;
	cursor: pointer;
}
#mag_produits #products li label.sub {
	background-image: url(img/icon_expand.png);
	background-attachment: scroll;
	background-repeat: no-repeat;
	background-position: 6px 8px;
}
#mag_produits #products li.checked label.sub {background-image: url(img/icon_reduce.png);}
#mag_produits #products li.checked > label {background-color: #edffdf;}

#mag_produits #products li:hover > label {background-color: #fff;}
#mag_produits #products li.checked:hover > label {background-color: #f6ffef;}
#mag_produits #products li.checked > label.sub:hover {background-color: #fff;}
#mag_produits #products li.checked:hover .products_sub label {background-color: #f6ffef;}
#mag_produits #products li.checked .products_sub label:hover {background-color: #fff;}

#mag_produits #products li input {position: absolute; left: auto; right: 10px; top: 5px;}
#mag_produits #products .products_sub {margin: 0 -10px 0 0;}
#mag_produits #products .products_sub li {margin-right: 10px;}
#mag_produits #products .products_sub label {
	padding-left: 25px;
	background-image: url(img/shops_products_subs_bg.gif);
	background-repeat: no-repeat;
	background-position: 15px center;
	background-attachment: scroll;
}
#mag_produits #products .products_sub li:last-child label          {background-image: url(img/shops_products_subs_last_bg.gif);}
#mag_produits #products .products_sub li.checked label             {background-image: url(img/shops_products_subs_checked_bg.gif);}
#mag_produits #products .products_sub li.checked:last-child label  {background-image: url(img/shops_products_subs_checked_last_bg.gif);}
#mag_produits #products li.o-dd .products_sub {background-color: hsla(0, 0%, 0%, .1)}
#mag_produits #products .products_sub {background-color: transparent !important;}
#mag_produits #products .products_sub textarea {
	position: static;
	width: 404px;
	height: 100px;
	margin: 10px;
}
#mag_produits #products .products_sub p.note {margin: 0 10px 0 0; border-top: none;}

/* liste des magasins d'un client */
#shops_list ul {margin: 15px 150px;}
#shops_list li {
	position: relative;
	margin: 0;
	padding: 2px 5px;
	text-align: right;
	border-top: 1px solid #ccc;
	background-color: #eee;
}
#shops_list li:first-child {border-top: none;}
#shops_list li span {
	position: absolute;
	left: 5px;
	top: 5px;
}
#shops_list li:hover {background-color: #fff;}
#add_shop {
	margin: -10px 0 10px;
	text-align: right;
}
#add_shop input {
	background: transparent url(img/icon_add.png) no-repeat 19px 2px scroll;
	border: none;
	text-decoration: underline !important;
	color: #666;
	padding: 0 0 0 35px;
}
#add_shop input:hover {color: #fff; cursor: pointer;}

/* shops > validation des magasins (Dakine) */
#filtres {padding-right: 12px;}
#filtres button {outline: none;}
#filtres button#show_all {
	margin: 22px 50px 0;
	padding: 1px 0;
	float: left;
}
#filtres button#show_all span {
	padding: 0 20px;
	font-weight: bold;
	background-color: transparent;
	background-attachment: scroll;
	background-position: left top;
	background-repeat: no-repeat;
}
#filtres button#show_all.active span {background-image: url(img/icon_tick.png);}
#filtres button#show_all span i {color: #999; font-style: normal; font-weight: normal; padding-left: 4px;}
#filtres button#show_all.active span i {color: #ccc;}
#filtres fieldset#filtres2 {margin-bottom: 5px; padding: 5px 12px;}
#filtres fieldset#filtres2 button {display: block; margin: 0 15px 8px 0; float: left;}
#filtres fieldset#filtres2 button span {
	padding: 1px 5px 1px 24px;
	line-height: 20px;
	background-color: transparent;
	background-attachment: scroll;
	background-position: 2px 1px;
	background-repeat: no-repeat;
}
#filtres fieldset#filtres2 button span i {font-style: normal; padding-left: 4px; color: #999;}
#filtres fieldset#filtres2 button:hover span {opacity: 1;}
#filtres fieldset#filtres2 button.active span {
	color: #fff;
	background-color: #666;
		-moz-border-radius: 	2px;
		-webkit-border-radius: 	2px;
		-o-border-radius: 		2px;
	border-radius: 				2px;
}
#filtres fieldset#filtres2 button.active span i {color: #ccc}

#filtres fieldset#filtres2 button#show_new      span {background-image: url(img/icon_asterisk_yellow.png);}
#filtres fieldset#filtres2 button#show_active   span {background-image: url(img/icon_tick.png);}
#filtres fieldset#filtres2 button#show_inactive span {background-image: url(img/icon_error.png);}
#filtres fieldset#filtres2 button#show_rejected span {background-image: url(img/icon_cross.png);}
#filtres fieldset#filtres2 button#show_modified span {background-image: url(img/icon_arrow_rotate_clockwise.png);}

#validation table {
	width: 100%;
	margin: 10px 0 15px;
	border-collapse: separate;
	border-spacing: 0 10px;
}
#validation tr {background-color: #999;}
#validation th {
	padding: 2px 4px;
	color: #ccc;
	text-align: left;
	line-height: 24px;
	vertical-align: top;
	background-color: #333;
}
#validation th.etat {padding-left: 28px;}
#validation td {vertical-align: top;}
#validation td.personne {max-width: 100px;}
#validation td.magasin  {max-width: 200px;}
#validation td.adresse  {max-width: 200px;}
#validation td.internet {max-width: 150px;}
#validation td.telfax   {max-width: 125px;}
#validation td.etat     {max-width: 75px;}

#validation td a {text-decoration: none; border-bottom: 1px dotted; color: #fff;}
#validation td a:hover {border-bottom-style: solid;}
#validation td a:visited {}
#validation td.internet a.mail, 
#validation td.internet a.web, 
#validation td.internet a.shop1 {
	padding-left: 20px;
	background: transparent url(img/icon_email.png) no-repeat left 1px scroll;
	border: none;
}
#validation td.internet a.mail span, 
#validation td.internet a.web span, 
#validation td.internet a.shop1 span {border-bottom: 1px dotted;}
#validation td a:hover span {border-bottom-style: solid !important;}
#validation td.internet a.mail  {background-image: url(img/icon_email.png);}
#validation td.internet a.web   {background-image: url(img/icon_world.png);}
#validation td.internet a.shop1 {background-image: url(img/icon_cart.png); padding-left: 16px;}
#validation td.internet a.shop1 span {display: none;}
#validation td.internet a.shop0 {display: none;}

#validation td p {
	position: relative;
	padding: 2px 4px;
	line-height: 24px;
	white-space: nowrap;
	overflow: hidden;
		-o-text-overflow: 	ellipsis;
	text-overflow: 			ellipsis;
}
#validation td p.l2 {}
#validation td b {font-weight: normal;}
#validation .personne p.l2 {
	padding-top: 2px;
	background: #bbb;
}
#validation .personne b {padding-left: 10px;}
#validation .magasin p.l2 {
	margin-right: 5px;
	padding-top: 2px;
	background: #bbb;
	background: #bbb url(img/corner_cut_999.gif) no-repeat right top scroll;
}
#validation .magasin b {padding-left: 10px;}
#validation .adresse p.l2 {font-weight: bold;}
#validation .internet {}
#validation .telfax p.l2 {}
#validation .telfax b {}
#validation .etat {
	text-align: left;
	vertical-align: middle;
	padding: 2px 4px 2px 6px;
	border-right: 1px solid #311;
}
#validation td.etat {
	padding-left: 8px;
	color: #fff;
	background: #333;
}
#validation .etat p {
	display: inline;
	padding: 0 0 0 20px;
	line-height: 20px;
	background-color: transparent;
	background-attachment: scroll;
	background-position: left top;
	background-repeat: no-repeat;
}
.etat_new      {background-image: url(img/icon_asterisk_yellow.png);}
.etat_active   {background-image: url(img/icon_tick.png);}
.etat_inactive {background-image: url(img/icon_error.png);}
.etat_rejected {background-image: url(img/icon_cross.png);}
.etat_modified {background-image: url(img/icon_arrow_rotate_clockwise.png);}
#validation td.etat p span.modif {
	color: #999;
	font-size: .9em;
}
.premium {
	display: inline-block;
	position: relative;
	top: -1px;
	width: 7px;
	height: 7px;
	margin: 0 5px 0 0;
	background-color: #fb0;
	box-shadow: 0 0 0 1px #000;
	border-radius: 20px;
}
#validation .legend {
	display: inline-block;
	margin-bottom: 5px;
	padding: 2px 10px 2px 4px;
	color: #666;
	background-color: #fff;
}
#validation .legend h3 {
	width: auto;
	margin: 0 0 5px;
	border: none;
	color: inherit;
	font-size: 1em;
}

/* fenêter "patientez SVP" */
#wait {
	display: none;
	margin: 1px 0 0 0;
	padding: 6px 20px;
	float: right;
	color: #333;
	text-align: center;
	font-weight: bold;
	background: #ccc;
		-moz-border-radius: 	3px;
		-webkit-border-radius: 	3px;
		-o-border-radius: 		3px;
	border-radius: 				3px;
}

/* shops > page de login */
body.login h2 {
	border-top: none;
	border-bottom-style: dotted;
}
body.login li {
	overflow: hidden;
	margin: 0 auto;
	padding: 5px 0;
}
body.login #main fieldset {
	padding: 15px 0 0;
	border-color: #999;
}
body.login label {
	display: block;
	width: 200px;
	padding: 2px 10px 0 0;
	float: left;
	text-align: right;
}
body.login input {
	position: static;
}
body.login #main .bouton {
	margin: 0;
	padding: 5px 80px 10px 212px;
	text-align: right;
}
body.login #main .bouton button {padding: 0 5px;}
body.login #main .lost-pwd {
	margin: 0;
	padding: 3px 80px 15px 212px;
	border-bottom: 1px solid #999;
}
body.login #main .lost-pwd a {
	color: #900;
}
body.login #main .note {
	margin: 0;
	padding: 5px 80px 5px 212px;
	text-align: right;
	background: #aaa;
}
body.login #main .note a {color: #ddd;}
body.login #main .note a:hover {color: #fff;}

