/* CSS Document */
html { width: 100%; height: 100%; }
body { margin: 0px; padding: 0px; font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: #333; background: linear-gradient(to bottom right, #efefef, #bbb) fixed; min-height: 100%; width: 100%; }
table { margin: 0px; padding: 0px; }
tr, thead, tbody { margin: 0px; padding: 0px; }
td { margin: 0px; padding: 0px; vertical-align: top; font-size: 12px; } tr > td:first-child { padding-top: 1px; }
th { margin: 0px; padding: 0px; vertical-align: top; }
p { margin: 0px; padding: 0px; margin-bottom: 12px; height: auto; }
ul, ol { margin: 12px 0px; }
li { margin-top: 0px; margin-bottom: 0px; }
img { border: none; vertical-align: top; }
input, button { vertical-align: middle; margin: 0px; margin-top: -1px; border: 1px solid #888; font-size: 13px; color: #000; }
input[type=file] { border: none; }
input[type=submit] { border-radius: 5px; background: #eee url(/img/admin/tick.png) 4px center no-repeat; padding: 1px 4px; padding-left: 24px; border-color: #ccc; color: #666; cursor: pointer; }
input[type=reset] { border-radius: 5px; background: #eee url(/img/admin/undo.png) 4px center no-repeat; padding: 1px 4px; padding-left: 24px; border-color: #ccc; color: #666; cursor: pointer; }
input[disabled], select[disabled] { pointer-events: none; background: #f3f3f3; color: #666; }
textarea { margin: 0px; border: 1px solid #888; font-size: 13px; color: #000; resize: none; }
select { margin: 0px; border: 1px solid #888; font-size: 13px; color: #000; }
div { position: relative; }
hr { color: #999; background-color: #999; height: 1px; border: none; }
form { margin: 0; }

/* Liens et classes associées */
a, a:link, a:visited { text-decoration: none; color: #246; }
a:hover { text-decoration: underline; }
a.actif {  font-weight: bold; }
li a { text-decoration: none; color: #246; }

/* Titres */
h1 { font-size: 18px; font-weight: bold; font-style: normal; text-transform: uppercase; margin: 0px; margin-bottom: 6px; padding: 3px 18px; color: #fff;
	background-color: #333; background: linear-gradient(to bottom, #222, #666 80%, #444); letter-spacing: 1px; text-shadow: 1px 1px 2px #000, -1px -1px 2px #000; } 
h2 { font-size: 20px; font-weight: bold; color: #95bcd1; margin: 0px; padding: 0px; text-transform: uppercase; }
h3 { font-size: 20px; font-weight: bold; color: #95bcd1; margin: 5px 0px; padding: 0px; text-transform: uppercase; }
h4 { font-size: 18px; font-weight: bold; color: #95bcd1; margin: 0px; margin-bottom: 5px; padding: 0px; text-transform: uppercase; } 
h4 > img { margin-top: 3px; } h4 > a, h4 > a:link, h4 > a:visited { color: #95bcd1; }
h5 { font-size: 14px; font-weight: bold; font-style: normal; letter-spacing: 1px; background: #aaa; color: #fff; text-transform: uppercase; margin: 10px 0px; padding: 2px 6px; }
h6 { font-size: 14px; font-weight: bold; color: #95bcd1; font-style: normal; text-transform: uppercase; margin: 0px; margin-bottom: 5px; }
h7 { display: block; font-size: 12px; font-weight: bold; color: #fff; background: #333; padding: 6px 8px; margin-bottom: 4px; }

/* Classes de style */
.clear { clear: both; }
.erreur { font-size: 13px; font-style: italic; color: #F00; background: url(/img/admin/erreur.png) no-repeat left; padding-left: 22px; font-weight: 500; }
.info { font-size: 11px; font-style: italic; background: url(/img/admin/information.png) no-repeat left; padding-left: 22px; font-weight: 500; color: #369; 
    min-height: 18px; line-height: 18px; vertical-align: middle; }
.gros { font-size: 18px; font-weight: bold; color: #000; margin-bottom: 8px; }
.petit { font-size: 11px; font-style: italic; color: #000; }
.surligne { background: #FF0; color: #036; font-style: normal; font-weight: bold; }
.hr { border-top: 1px solid #777; height: 1px; font-size: 0px; }
.hrd { border-top: 1px dotted #777; height: 1px; font-size: 0px; display: block; margin: 3px 0 6px 0; }
.ombre { -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5); box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5); }
.espace { height: 5px; font-size: 0px; overflow: hidden; }
input.montant, input.entier, input.reel { text-align: right; }
.divfond { background: #ddd; padding: 8px; border-radius: 5px; }
a.btnLien { border-radius: 5px; background: #eee url(/img/admin/add.png) 4px center no-repeat; padding: 2px 4px; padding-left: 26px; color: #666; border: 1px solid #ccc; font-size: 13px; }
.icone { height: 16px; width: 16px; }
a.btnCancel { border-radius: 5px; background: #eee url(/img/admin/undo.png) 4px center no-repeat; padding: 1px 8px; padding-left: 28px; padding-bottom: 2px; text-decoration: none;
	border: 1px solid #ccc; color: #666; font-size: 13px; display: inline-block; vertical-align: top; }

.coulrf { color: #7b4400 !important; }
.coulrm { color: #008033 !important; }
.coulmdp { color: #576d88 !important; }
.coulcan { color: #F84600 !important; }

/* Choix couleur */
input.couleur { width: 0px; opacity: 0.1; border: none; padding: 0; margin: 0; }
div.chx_couleur { display: inline-block; border: 1px solid #333; height: 19px; width: 19px; cursor: pointer; vertical-align: top; }

/* Styles tableaux listes */ 
table.MooTableau tr { background: #aaa; }
table.MTrows tr.encours { background-color: #cfe; }
table.MTrows tr.encours td { border-right: 1px solid #9fa; border-bottom: 1px solid #9fa; color: #060; }
table.MTrows tr.invisible { background-color: #EFECE7; }
table.MTrows tr.invisible td { border-right: 1px solid #DFDAD3; border-bottom: 1px solid #DFDAD3; color: #888; }
table.MTrows tr.rupture { background-color: #ffdfdf; }
table.MTrows tr.rupture td { border-right: 1px solid #F5C3C6; border-bottom: 1px solid #F5C3C6; }
table.MTrows tr.alerte { background-color: #fff8Cf; }
table.MTrows tr.alerte td { border-right: 1px solid #F5C67E; border-bottom: 1px solid #F5C67E; }
.chkimg { display: inline; width: 12px; height: 14px; overflow: hidden; }
.chkimg > input { opacity: 0.67; }

/* Eléments uniques */
#btop-test { position: fixed; bottom: 0; left: 0; right: 0; padding: 4px 8px; background: #f00; color: #fff; text-align: center; z-index: 100004; }
#frmlogin { position: absolute; left: 50%; top: 50%; width: 340px; height: 180px; margin-top: -102px; margin-left: -182px; padding: 12px; background: #fff; color: #000;
	border-radius: 5px; box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); } 
#entete { position: fixed; top: 0; left: 0; width: 100%; background: #000; color: #fff; padding: 0; font-size: 18px; font-weight: 600; z-index: 3; min-width: 1000px;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); }
#cntcols { display: table; table-layout: fixed; width: 1000px; height: 100%; z-index: 1; min-width: 1000px; left: 50%; margin-left: -500px; }
#colg { display: table-cell; width: 200px; padding: 8px; padding-top: 46px; z-index: 1; vertical-align: top; }
#cold { display: table-cell; width: auto; padding: 8px 12px; padding-top: 46px; background: #fff; z-index: 1; vertical-align: top; }
#cntDerart { display: none; position: absolute; width: 400px; height: 400px; left: 50%; top: 50%; margin-left: -200px; margin-top: -200px; z-index: 3; overflow-y: auto; 
	background: #fff; border-radius: 5px; box-shadow: 0 0 4px rgba(0,0,0,0.6); }
#cntwait { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 99999; }
#msgwait { font-size: 32px; font-weight: bold; color: #fff; text-align: center; position: fixed; left: 0; top: 50%; width: 100%; margin-top: -16px; }
#cntPopup { position: absolute; background: #fff; color: #333; padding-bottom: 8px; box-shadow: 0 0 4px rgba(0,0,0,0.6); z-index: 9999; text-align: center; }
#cntPopup a { background: #fff; color: #246; display: block; padding: 3px 10px; text-align: left; } #cntPopup a:hover { text-decoration: none; background: #246; color: #fff; }
#cntPopup .erreur { padding: 8px 12px; padding-left: 34px; padding-bottom: 0px; background-position: 12px 8px; }
#fadFenetre { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 9999; }
#cntFenetre { background-color: #fff; position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 16px; }

/* Menus */
.submenu { display: block; border: 1px solid #aaa; padding: 2px 4px; margin: 5px 0; background: linear-gradient(to bottom right, #f7f7f7, #cfcfcf); font-size: 13px; } 
.submenu > .icone { margin-top: 1px; } 
.submenu > em { font-size: 13px; display: inline-block; margin-top: 1px; color: #666; }
.submenu > a { display: block; padding: 2px; padding-left: 16px; background: #fff url(/img/admin/bull_right.png) no-repeat 0px 2px; margin-bottom: 2px; }
.submenu > a.actif { background-color: #246; color: #fff; }

/* Styles stats de ventes */
.stats_vte { width: 100%; border-collapse: collapse; }
.stats_vte th { text-align: center; font-weight: normal; font-style: italic; border: 1px solid #999; background: #666; color: #fff; padding: 4px 0;  font-size: 10px; }
.stats_vte tr > td:first-child { padding: 4px 0; }
.stats_vte td { text-align: center; border: 1px solid #999; padding: 4px 0; transition: all 0.3s ease-in-out;  font-size: 11px; }
.stats_vte td:hover { transform: scale(2); background: #fff; box-shadow: 0 0 2px #000 inset; z-index: 9999; }
.stats_vte td.titre { background-color: #e7e7e7; padding: 8px 0; font-weight: bold;  }
.stats_vte td.titre:hover { transform: none; }

/* Affichage par onglets */
#onglets { background: linear-gradient(to bottom right, #efefef, #bbb) fixed; padding: 4px 4px 0 4px; margin: -8px -12px 8px -12px; border-bottom: 1px solid #bbb; }
#onglets > div { display: inline-block; padding: 4px 8px; line-height: 16px; vertical-align: top; border-radius: 8px 8px 0 0; margin-right: 6px; margin-bottom: -1px;
    background: #eee linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2)); border: 1px solid #bbb; color: #666; }
#onglets > div.actif { background: #fff; border-bottom: 1px solid #fff; font-weight: 700; color: #000; }

/* Liste d'enregistrements */
.inline { display: inline-block; }
.enreg { padding: 6px 8px; }
.enreg > * { vertical-align: top; }
.lst-enregs > .enreg { background: #f7f7f7; border: 1px solid #ddd; }
.lst-enregs > .enreg:nth-of-type(2n+1) { background: #ddd; }
