/* Reset */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
  margin:0;
  padding:0;
}
table {
  border-collapse:collapse;
  border-spacing:0;
}
fieldset,img { border:0; }
address,caption,cite,code,dfn,em,strong,th,var {
  font-style:normal;
  font-weight:normal;
}
ol,ul { list-style:none; }
caption,th { text-align:left; }
h1,h2,h3,h4,h5,h6 {
  font-size:100%;
  font-weight:normal;
}
q:before,q:after { content:''; }
abbr,acronym { border:0; }

/* Un-reset */

body { font: 9pt/1.5em "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; color: #333; }
pre, code, tt { font: 1em/1.5em 'Andale Mono', 'Lucida Console', monospace; }
h1, h2, h3, h4, h5, h6, b, strong { font-weight: bold; font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; }
em, i, dfn { font-style: italic; }
dfn { font-weight: bold; }
p, code, pre, kbd { margin: 0 0 1.5em 0; }
blockquote { margin: 0 1.5em 1.5em 1.5em; }
li ul, li ol { margin: 0 1.5em; }
ul, ol { margin: 0 1.5em 1.5em 1.5em; line-height: 20px; }
ul, ul li { list-style-type: disc; }
ol, ol li { list-style-type: decimal; }
dl { margin: 0 0 1.5em 0; line-height: 20px; }
dl dt { font-weight: bold; }
dd { margin-left: 1.5em; }
table { margin-bottom: 1.4em; width: 100%; }
th { font-weight: bold; }
th, td, caption { padding: 4px 10px 4px 5px; }
tfoot { font-style: italic; }
sup, sub { line-height: 0; }
abbr, acronym { border-bottom: 1px dotted; }
address { margin: 0 0 1.5em; font-style: italic; }
del { text-decoration: line-through; }
pre { margin: 1.5em 0; white-space: pre;}
a { color: #4a7da6; }

h1 {
  margin: 0 0 10px;
  padding: 0;
  font-weight: normal;
  font-size: 18px;
  color: #4a7da6;
}
h2 {
  margin: 15px 0 5px;
  font-size: 16px;
  color: #4a7da6;
}
h3 {
  margin: 15px 0 5px;
  font-size: 14px;
  color: #333;
}
h4 { font-size: 12px; color: #4a7da6; }
h5 { font-size: 11px; color: #4a7da6; }
h6 { font-size: 11px; color: #4a7da6; }
ul li { list-style: circle; }

/* Container */

#container {
  position: relative;
  width: 940px;
  margin: 0 auto;
}

/* Header */

#header {
  height: 41px;
  margin: 0 10px;
}
#header #logo {
  position: absolute;
  top: 15px;
}
#userbox {
  position: absolute;
	top: 24px;
  right: 18px;
  height: 22px;
}
#register-link {
  display: block;
  width: 149px;
  height: 22px;
  line-height: 22px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  background: transparent url(/static/img/register-back.png) 0 0 no-repeat;
  text-decoration: none;
}
#userbox form {
  float: left;
}
#userbox p {
  float: left;
}
#userbox p#useronline {
  text-align: right;
  margin-top: -16px;
  width: 500px;
}

#userbox form input {
  margin: 0 0 0 6px;
}
#userbox .itext {
	width: 130px;
	height: 16px;
	padding: 2px;
  border: 1px solid #989898;
  color: #333;
}
#userbox .isubmit {
	height: 22px;
  padding: 2px 6px;
  border: 1px solid #989898;
  background: #ababab url(/static/img/isubmit-back.png) 0 0 repeat-x;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
}

/* Tabs */

#tabs {
  padding: 11px;
  width: 918px;
  height: 61px;
  background: transparent url(/static/img/tabs.png) 0 0 no-repeat;
}
#main-tabs {
  height: 37px;
  margin: 0;
}
#main-tabs li {
  list-style: none;
  float: left;
}
#main-tabs li a {
  display: block;
  height: 37px;
  padding: 0 15px;
  line-height: 33px;
  color: #d0f7ff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}
#main-tabs li a:hover,
#main-tabs li.active a {
	color: #fff;
  background: transparent url(/static/img/main-tabs-hover.png) bottom center no-repeat;
}
.second-tabs {
  margin: 0 0 0 15px;
}
.second-tabs li {
  display: inline;
  margin: 0 15px 0 0;
  list-style: none;
}
.second-tabs li a {
  font-weight: bold;
  color: #333;
  text-decoration: none;
}
.second-tabs li a:hover {
  text-decoration: underline;
}

/* Content */

#content {
  margin: 20px 0;
  width: 900px;
  margin: 0 auto;
}

/* Tables */

table thead {
  border: 1px solid #4A7DA6;
	border-width: 1px 1px 0 1px;
}
table th {
	color: #fff;
  background: #549eb3 url(/static/img/th.png) bottom left repeat-x;
  white-space: nowrap;
}
table td {
  border: 1px solid #bfbfbf;
	border-width: 0 1px 1px 1px;
}
table .impair td {
  background: #efefef;
}
table tr:hover td {
  background: #dfdfdf;
}
.euros {
	text-align: right;
}
input.euros {
  width: 100px;
}
input.qte {
  width: 30px;
  text-align: center;
}
.expired {
  color: red;
}

.formtable {
  
}
.formtable thead {
  border: none;
}
.formtable th {
  padding: 10px 10px 10px 6px;
  background: none;
  color: #333;
  white-space: normal;
  border-bottom: 1px solid #dfdfdf;
}
.formtable .formtitl {
  width: 300px;
	text-align: right;
}
.formtable td {
  padding: 10px;
  border: none;
	background: none;
	border-bottom: 1px solid #dfdfdf;
}
.formtable .impair td,
.formtable .impair th {
  background: #efefef;
}
.formtable tr:hover td,
.formtable tr:hover th {
  background: #dfdfdf;
}
.tabdes {
  font-size: 11px;
  font-weight: normal;
  color: #7F7F7F;
  line-height: 14px;
}

/* Factures */

#facture-params {
  width: 420px;
  padding: 10px;
  float: left;
  border: 1px dotted #bfbfbf;
}
#facture-params h2,
#facture-paiement h2 {
  margin: 0 0 10px;
}
#facture-params p,
#facture-paiement p {
  margin: 0;
}
#facture-params table th {
  width: 150px;
}
#facture-params #id_client {
  width: 200px;
}
#facture-params #id_modal {
  width: 400px;
}
#facture-params textarea {
  width: 400px;
}
#facture-paiement {
  width: 420px;
  padding: 10px;
  float: right;
  background: #efefef;
}

#facture .formtable {
	border: 1px solid #bfbfbf;
}


/* Dashboard */

div.dashboard {
  width: 30%;
	border: 1px solid #549eb3;
	float: left;
	margin: 5px;
	padding: 5px;
	height: 200px;
}
div.dashboard ul {
  height: 165px;
  overflow: auto;
  margin:0px;
  padding: 0px;
}
div.dashboard ul li {
  border-left: 1px solid #549EB3;
  padding-left: 2px;
  margin-bottom: 2px;
}
div.dashboard h3 {
	color: #fff;
  background: #549eb3 url(/static/img/th.png) bottom left repeat-x;
  white-space: nowrap;
  padding: 5px;
  margin: 0px 0px 5px 0px;
}
div.dashboard span.des {
  font-size: 11px;
}

/* Footer */

#footer {
	margin: 10px;
	padding: 15px 0 0;
  font-size: 11px;
	border-top: 1px solid #d8d8d8;
}
#footer p {
	text-align: center;
}

/* Generics */

.ichamp {
  height: 16px;
  padding: 2px;
  border: 1px solid #989898;
  color: #333;
}
textarea.ichamp {
  height: 48px;
  overflow: visible;
}
.ibtn {
	height: 22px;
  padding: 2px 6px;
  border: 1px solid #989898;
  background: #ababab url(/static/img/th.png) 0 0 repeat-x;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
}
.cboth {
  clear: both;
}
select {
  padding: 2px;
  border: 1px solid #989898;
  color: #333;
}
.uhuherreur, .error { color: red; }
.acenter { text-align: center; }

div.errors {
  background-color: #EFE0E0;
  border: 1px solid #BF0B0B;
  padding: 5px;
}

#popup {
  position: absolute;
  width: 500px;
  top: 50px;
  left: 50%;
  margin-left: -250px;
  border:3px solid #DEDEDE;
  background-color: #FFF;
  padding: 10px;
}

#popup #content { width: 99%; }

