body {
	background: #ffffff;
	font-family: arial, verdana, sans-serif;
	font-size: 12px;
	color: #313247;
	margin: 0px;
}
body.popup { margin:0 4px 4px 4px;
	background:#ffffff;
}

html, body { margin: 0; padding: 0; height: 100% }

.popup table.liste tr.choix td { background:#FAD8BC; }
.popup table.liste tr:hover td {
	background:#CCD2E4;
	cursor:pointer;
}

.form { font-family : tahoma, serif;margin: 0; padding: 0;}
input, select, textarea { margin: 1px; }

h1,h2,h3,h4 { font-family: tahoma,serif; font-weight:bold; }

table{ border: 0px; border-collapse: collapse; padding: 0px; }


#cadre {
	position: absolute;
	top: 10px;
	left: 50%;
	margin-left: -450px;
	width: 900px;
}

img {
	border: none;
	vertical-align: middle;
	margin-top: 3px;
}
a img {
	border: none;
	vertical-align: middle;
	margin-top: 3px;
}
li img { vertical-align:middle; margin:0; border:0; }

p {
	margin: 3px 0 3px 0;
}

/* erreurs */

p.erreur {
	padding: 20px 20px 20px 30px;
	background: #e7e7e7 url(icones/warning.gif) no-repeat;
	background-position: 5px 50%;
	border: 1px solid #999999;
}

/* block en haut à gauche*/
div.infos_droite {
	padding: 10px;
	background: #f7f7f7;
	border: 1px solid #999999;
 	margin-bottom: 15px;
}

div.infos_droite a.lienbas {
	position: absolute;
	visibility: hidden;
	display: none;
}
a.lienhaut {
	position: absolute;
	visibility: hidden;
	display: none;
}

div.infos_droite_breves {
	padding: 1px;
}
div.infos_droite_breves img {
	vertical-align: bottom;
	margin-right: 5px;
}

/* block en haut à gauche pour la compta*/
div.options {
	padding: 10px;
	background: #e7e7e7;
}

/*===========================================*/
/* Formulaires                               */
/*===========================================*/

input.bouton_mince, input.bouton, #onglet input.bouton_mince, #onglet input.bouton , .options input.bouton{
	height: 25px;
	font-size: 12px;
	text-transform: uppercase;
	background: #C5D0BF url(icones/ok.gif) no-repeat;
	background-position: 0 50%;
	padding: 5px 5px 5px 25px;
	border: 1px solid #bbbbbb;
	font-weight: bold;
}

input.bouton_annuler{
	height: 25px;
	font-size: 12px;
	text-transform: uppercase;
	background: #D59E7F url(icones/supprime.gif) no-repeat;
	background-position: 0 50%;
	padding: 5px 5px 5px 25px;
	border: 1px solid #bbbbbb;
	font-weight: bold;
}

input {
	height: 20px;
	font-size: 12px;
	border: 1px solid #c7c7c7;
	background-color: #f7f7f7;
	vertical-align: middle;
}
select {
	height: 20px;
	font-size: 12px;
	border: 1px solid #c7c7c7;
	background-color: #f7f7f7;
	vertical-align: middle;
}
textarea {
	font-size: 12px;
	border: 1px solid #c7c7c7;
	background-color: #f7f7f7;
	vertical-align: middle;
}

input:disabled, select:disabled, textarea:disabled {
	background-color:transparent;
}

input:focus, textarea:focus, select:focus {
	background-color: #FFFFFF;
}

form.search {
	float: left;
	margin: 2px 5px 0 0;
}
form.searchbreves {
	float: right;
	margin-top: 0;
}

input.search {
	background: #f7f7f7 url(icones/search.gif) no-repeat;
	background-position: 0 50%;
	padding-left: 15px;
	margin: 0;
	font-size: 12px;
	width: 120px;
	height: 20px;
}
input.bouton_search {
	font-size: 12px;
	height: 23px;
	padding: 3px;
	text-transform: uppercase;
	background: #E1E1E1;
	background-position: 0 50%;
	border: 1px solid #bbbbbb;
	font-weight: bold;
}

/*===========================================*/
/* Login                                     */
/*===========================================*/

#login {
	position: absolute;
	visibility: hidden;
	display: none;
}

#fondlogin {
	position: absolute;
	visibility: hidden;
	display: none;
}


/*===========================================*/
/* Infos Persos                              */
/*===========================================*/

#infosperso {
	position: absolute;
	visibility: hidden;
	display: none;
}

#logo {
	position: absolute;
	visibility: hidden;
	display: none;
}

/*===========================================*/
/* Bandeau et Menu Haut et langue            */
/*===========================================*/

#bandeau {
	position: absolute;
	visibility: hidden;
	display: none;
}

#pied {
	position: absolute;
	visibility: hidden;
	display: none;
}
#jencule_ie {
	position: absolute;
	visibility: hidden;
	display: none;
}

/*===========================================*/
/* Contenu  (=menu haut + content)           */
/*===========================================*/

#contenu {
	margin: 0;
	background: #ffffff;
	width: 100%;
	padding: 0;
	z-index: 2;
}

#contenu td {
	vertical-align: top;
}


/*===========================================*/
/* Menu gauche                               */
/*===========================================*/

#colmenugauche {
	position: absolute;
	visibility: hidden;
	display: none;
}
#menugauche {
	position: absolute;
	visibility: hidden;
	display: none;
}

#menugauchefond {
	position: absolute;
	visibility: hidden;
	display: none;
}
#navighautbas a.lienbasg {
	position: absolute;
	visibility: hidden;
	display: none;
}
#navighautbas a.lienhautg {
	position: absolute;
	visibility: hidden;
	display: none;
}


/*===========================================*/
/* Content                                   */
/*===========================================*/

#contenttd {
	height: 100%;
	/*background: #ffffff url("icones/fonds/fonddroite.gif") left top repeat-x;*/
}

#content {
	padding: 10px 10px 10px 0;
	height: 100%;
	width: 100%;
}

#content h1 {
	font-size: 15px;
	margin: 0 0 15px 0;
	padding: 2px 5px 2px 25px;
	border-bottom: 1px solid #555555;
	color: #555555;
	background: #ffffff url(icones/h1.gif) no-repeat;
	background-position: 0 50%;
}

#content table {
	margin: 0;
}

p.nbcontacts {
	font-size: 12px;
	padding: 2px 5px 2px 25px;
	color: #555555;
	background: url(icones/ok.gif) no-repeat;
	background-position: 0 50%;
	text-transform: uppercase;
}

#content a,.popup a { color:#313247; text-decoration: underline;}
#content a:hover { color:#A10000; }

#content .blockdiv,.popup .blockdiv {
	margin: 10px 0 10px 0;
	padding: 0;
	border: 1px solid #CBCED4;
	background-color: #fff;
}
.popup .blockdiv { margin: 10px 0; }

#content .blockdiv h2,.popup h3 {
	background: #f1f1f1;
	border-bottom: 1px solid #CBCED4;
	font-size: 12px;
	padding: 5px 0 5px 15px;
	margin: 0 0 10px 0;
	color: #222A36;
	text-transform: uppercase;
}

#content .blockdiv h3, .popup .blockdiv h4 {
	border-bottom: none;
	border-top: 1px solid #CBCED4;
	font-size: 12px;
	padding: 5px 0 5px 5px;
	margin: 0 0 6px 0;
	color: #222A36;background: #fff;
}

#content .blockdiv h4 {
	background: #f1f1f1;
	background-position: 0 50%;
	border-bottom: 1px solid #CBCED4;
	border-top: 1px solid #CBCED4;
	font-size: 12px;
	padding: 5px 0 5px 15px;
	margin: 0 0 10px 0;
	color: #222A36;
}

#content .blockdiv div, .popup .blockdiv div {
	margin: 5px;
}

#content .blockdiv td {
	padding: 3px;
	vertical-align: middle;
}


#content .blockdiv .normal td {
	vertical-align: middle;
	border-bottom: 1px solid #C5C8CF;
}
#content .blockdiv table.normal {
	border-collapse: collapse;
}

#content .blockdiv td.perm {
	border: 0px;
}

#content .blockdiv td.form {
	width: 200px;
	font-family: tahoma,serif;
	font-weight: bold;
	border-top: 1px solid #C5C8CF;
	padding: 10px 10px 10px 0px;
	color: #444444;
	text-align: right;
}

.blockdiv table {
	border-collapse: collapse;
}

.blockdiv #perm td {
	padding-top: 7px;
	padding-left: 7px;
	vertical-align: middle;
	border-bottom: 1px solid #C5C8CF;
	font-weight: bold;
}
.blockdiv #perm td.petit, .blockdiv #perm td.vert, .blockdiv #perm td.rouge {
	font-weight: normal;
	text-align: center;
}
.blockdiv #perm th {
	padding: 10px;
	font-size: 12px;
	border-top: 1px solid #B3B6BD;
	border-bottom: 1px solid #B3B6BD;
}
.vert  { color: #19B419; }
.rouge { color: #CE393D; }

.blockdiv .annuler {
	padding: 5px 5px 5px 25px;
	background: #D59E7F url(icones/supprime.gif) no-repeat;
	background-position: 0 50%;
	border: 1px solid #CBCED4;
	margin: 10px;
	text-transform: uppercase;
	font-weight: bold;
}
.blockdiv .retour {
	padding: 5px 5px 5px 25px;
	background: #D4EDCB url(icones/ok.gif) no-repeat;
	background-position: 0 50%;
	border: 1px solid #CBCED4;
	margin: 10px;
	text-transform: uppercase;
	font-weight: bold;
}



/*===========================================*/
/* Menu options (onglets)                    */
/*===========================================*/

#menuoptions, #menuoptions table {
	visibility: hidden;
	display: none;
}

#contoption, #contoption2 {
	visibility: hidden;
	display: none;

}
#onglet {
	visibility: hidden;
	display: none;

}
#editecontact, #editeobjet {
	visibility: hidden;
	display: none;
}

#onglet1, #onglet2, #onglet3, #onglet4, #onglet5 {
	display: none;
}


/*======================================================*/
/*  Les Tableaux en général                             */
/*======================================================*/

table.liste, table.fiche, table.liste_messenvoye, .fiche table {
	border-collapse: collapse;
}

.champ {
	font-family: tahoma,serif;
	border-top: 1px solid #C5C8CF;
	padding: 5px;
	color: #444444;
	text-align: right;
	font-weight: bold;
}
.valeur {
	background-color: #e7e7e7;
	padding: 5px;
}

#content .blockdiv .champ {
	width: 200px;
	font-family: tahoma,serif;
	font-weight: bold;
	border-top: 1px solid #C5C8CF;
	padding: 10px 10px 10px 0px;
	color: #444444;
	text-align: right;
}

.border_dot {
	background-color: #C5CEE6;
}


.liste_messenvoye td {
	padding: 3px 5px 2px 5px;
	background-color: #fff;
	text-align: center;
}
.liste_messenvoye th {
	padding: 4px;
	background-color: #fff;
	text-align: center;
}


/*======================================================*/
/*  Les Tableaux de liste                               */
/*======================================================*/

table.liste {
	width: 100%;
	margin-top: 20px;
	border: 1px solid #999999;
}
.popup table.liste { margin-top:4px; }

table.liste th {
	font-size: 12px;
	padding: 7px;
	text-align: center;
	background: #f1f1f1;
	border-bottom: 1px solid #999999;
	background-position: 0 50%;
}
.popup table.liste th { padding:3px; }

table.liste td {
	padding: 3px 5px 2px 5px;
	background-color: #fff;
	text-align: center;
	border-bottom: 1px solid #999999;
}

/*.pair { background-color: #E5E8F0; }
.impair { background-color: #C5CEE6; }*/


/*======================================================*/
/*  Les Tableaux de fiche                               */
/*======================================================*/

table.fiche, .fiche table {
	width: 100%;
	margin-top: 20px;
	border: 1px solid #999999;
}

table.fiche .champ, .fiche table .champ {
	width: 200px;
	border-bottom: 1px solid #999999;
	font-family: tahoma,serif;
	font-weight: bold;
	padding: 10px 10px 10px 0;
	color: #444444;
	font-size: 12px;
	text-align: right;
	background: #fff;
	background-position: 0 50%;
}

table.fiche .valeur, .fiche table td {
	border-bottom: 1px solid #999999;
	font-family: verdana,serif;
	background-color: #fff;
	padding: 5px;
	color: #444444;
}


/*===========================================*/
/* Pop up de permissions                     */
/*===========================================*/

#permission {
	position: absolute;
	width:260px;
	height:350px;
	padding: 0;
	border:1px solid #582758;
	background: #EDEDED;
	top: 100px;
	left:100px;
	overflow-y:auto;
	display:none;
}

#permission .fermer {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	width: 95%;
	text-align: right;
}

#permission .fermer a img {
	margin: 0;
}

#permission table {
	margin: 0 0 0 5px;
}
#permission form {
	margin: 0;
}
#permission h5 {
	margin: 20px 10px 2px 10px;
	padding: 3px;
	font-size:12px;
	border-top: 1px solid #c0c0c0;
	border-bottom: 1px solid #c0c0c0;
	background-color: #E4DEDE;
	font-weight: bold;
}
#permission h6 {
	margin: 0 0 10px 0;
	font-size:13px;
	font-weight: bold;
	border-top:none;
	padding: 3px;
	background-color: #D9D6D9;
	border-bottom: 1px solid #c0c0c0;
	text-transform: uppercase;
}
#permission tr {
	padding:0; margin:0;
}
#permission td {
	padding:0; margin:0;
	vertical-align: middle;
}

/*===========================================*/
/* Export en csv                             */
/*===========================================*/

.apercu { background:#f7f7f7; height:200px; overflow:scroll;}
.apercu td {
	border-top:1px solid #222222;
	border-left:1px solid #222222;
}
.apercu th {
}



/*===========================================*/
/* Compta                                    */
/*===========================================*/

/* Livre journal */
table.journal {width:100%;
	border: 1px solid #999999; }

.journal_date {
	border-top: 1px solid #999999;
	border-left: 1px solid #999999;
	border-right: 1px solid #999999;
	text-align:center;
	padding:0 0 10px;
}
.journal_date p { margin-top:-10px;
}
.journal_date p span {
	background: #f7f7f7;
	padding:0 5px;
}

.journal .case_code {
	background: #E5E8F0;
	padding: 4px 10px 1px 10px;
	text-align:right;
	vertical-align:middle;
}
.journal .libelle {
	border-right: 1px solid #999999;
	border-left: 1px solid #999999;
}
.journal .libelle p {
	margin:0; padding:0;
	padding: 3px 6px;
	background: #eeeeee;
}
.journal td.comm_entree { font-size:110%; padding:6px 12px 2px 46px;
	border-right: 1px solid #999999;
	border-left: 1px solid #999999;
}
.journal .tags {
	font-size:90%; font-style:italic;
	padding:0 0 8px 46px;
	border-right: 1px solid #999999;
	border-left: 1px solid #999999;
	border-bottom: 1px solid #999999;
}
/*.journal tr {
	border-right: 1px solid #333333;
	border-left: 1px solid #333333;
}*/
.journal tr.titre {
	border-bottom: 1px solid #999999;
}
.journal tr.espace { border:none; height:20px; }

.journal th {
	font-size: 12px;
	padding: 7px;
	background-color: #7694DF;
	text-align: center;	background: #E5E8F0 url(icones/fonds/blockdivh2.gif) repeat;
	background-position: 0 50%;
}

.journal td {
	padding: 1px 12px;
}
.journal td.montant {
	text-align: right;
	border-right: 1px solid #999999;
}
.journal .facture { font-style:italic; padding-left:16px; }

.journal .total td {
	text-align:right;
	font-style:italic;
}

.marges { padding: 10px; }

/* liste des opérations */

table.operations { text-align: left; width:100%;
	border: 1px solid #999999;
	border-collapse: separate;
}

table.operations th {
	font-size: 12px;
	padding: 7px;
	background-color: #7694DF;
	text-align: center;	background: #E5E8F0 url(icones/fonds/blockdivh2.gif) repeat;
	background-position: 0 50%;
}
table.operations td {
	padding: 3px 5px 2px 5px;
}

table.operations tr.pair { background-color: #E5E8F0; }
table.operations tr.impair { background-color: #DDE0E7; }
table.operations td.montant { text-align:right; }
table.operations p { margin:0; padding:0; }

operations .tags {
	font-size:90%; font-style:italic;
}
.operations .code { text-align:right; }

.operations .total td {
	text-align:right; padding:2px 0 0;
	font-style:italic;
}
.operations tr.espace { border:none; height:10px; }
.liste tr.espace td { border:none; height:10px; background:none;}
.liste tr.total td { border:none; height:10px; background:none;}

/* cadre vert des options */
/*
.options {
	margin:10px;
	font-family: arial,sans-serif;
	font-size: 11px;
	color: #313131;
}
.options select,.options input {
	background-color: #B4BDA2;
}
.options input.bouton { margin:0; }

td.action { background: #f7f7f7;
	width:84px;
}
*/

/* Factures   par Lego */

table.facture { width:600px; }
table.facture td { font-size:12px; }
.facture .ref { font-size: 130%; font-weight:bold; padding: 0 0 8px 0;  }
.facture .mi td { width:50%; border: 1px solid #000000; padding:4px; }
.facture .mi th { font-weight: bold; text-align:left;border: 1px solid #000000; padding:4px; }

.facture .liste_objets { width:100%; }
.facture .liste_objets td { border:1px solid black; padding:3px; }
.facture .liste_objets th { border:1px solid black; padding:3px; }
.facture .remise { text-align:right; font-size:90%; }
.facture .num { text-align:right; vertical-align:middle;}
.facture .liste_objets td.rien { border:none; }
.facture .date { font-weight:bold; padding: 4px 0 6px; }
.facture .espacev { height:20px; }
.facture .adresse_envoyeur { color: #666666; }
.facture .pied_page { color: #666666; text-align:center; font-size:90%; }
.facture .phrase_bas { padding: 10px 20px 20px 300px; text-align:justify; }

.facture .banques { padding-left: 40px; border-top:1px solid #333333;  }
.facture .banques p { margin: 6px 0 0 0; }


/*==============================================*/
/* Divers                                       */
/*==============================================*/

ul.liste li {
	margin:4px 0 0 0;
	padding: 0 5px 0 0;
	width:560px;
	border-bottom: 1px dotted #999999;
/*	background-color: #FCFCF8;*/
	cursor:move;
}

.droite { float:right; }
.info_droite {
	text-align:right;
	float:right;
}

p.listechamp {
	border: 1px solid black;
	padding: 2px 0 0 5px;
	margin:0;
	background:#F7F7F3;
}

.esp { width: 10px; }

.info_bas { border: 1px solid #CBCED4; background: #fff; padding: 2px;}


a.lien { cursor:pointer;}

.surligne1 { background:#FCD8C8; }
.surligne2 { background:#FCF9C8; }
.surligne3 { background:#CAFCC8; }
.surligne4 { background:#C8FCF9; }
.surligne5 { background:#C8CDFC; }
.surligne6 { background:#F8C8FC; }

.gros { font-size:120%; }

/* lego: tableau des factures dans onglet */

.tableonglet img { vertical-align:top; }
.tableonglet td {
	padding: 6px 4px 0 4px;
	border-left:1px solid #aaaaaa;
}
.tableonglet tr.titre { border-right:none; }
.tableonglet tr {
	border-bottom:1px solid #444444;
	border-right:1px solid #aaaaaa;
}
.tableonglet td.icone { padding:0; }

.clear { clear: both; }

.choisi_photo { height: 0px; margin:0; padding:0; overflow-x:auto; background-color: #f7f7f7;}
.choisi_photo a { margin: 0 10px 0 0; }

.description_objet { font-style: italic; }

.recherche_nb { float: right; font-size:12px; margin-right:20px; }
.recherche_tous { text-align:right; width:100%; }

.body_simple #contenu_simple {
	border: none;
}

#menuprint { display:none; }

