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

td {
	font-family: arial, verdana, sans-serif;
	font-size: 11px;
	color: #313247;
}

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;
}
.popup table.liste tr.sousobj td
{
	background:#ffffff;
	cursor: default;
}
.popup table.liste tr.sousobj:hover td
{
	background:#ffffff;
	cursor: default;
}
.popup table.liste tr.sousobj p:hover
{
	cursor: pointer;
	background:#CCD2E4;
}
.popup table.liste tr.sousobj p.choix
{ background:#FAD8BC; }

.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: #EDEDED url(icones/warning.gif) no-repeat;
	background-position: 5px 50%;
	border: 1px solid #999999;
}

.body_simple p.erreur {
	margin:50px 10px 10px;
}

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


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: #EDEDED;
}

/* block en haut à gauche pour les dossiers (le h2 est avec blockdiv h2) */
div.infos_droite_dos {
	padding: 0px;
	background: #EDEDED;
	border: 1px solid #999999;
 	margin-bottom: 15px;
}

div.infos_droite_dos div {
	margin: 10px;
}



/*===========================================*/
/* 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;
}

input.chbox {border:0; margin: 0; background-color: transparent; font-size: 0; padding: 0; }


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

#login {
	position: absolute;
	top: 70px;
	left: 50%;
	height: 150px;
	width: 300px;
	margin-left: -150px;
	border: 1px solid #555555;
	background-color: #ffffff;
	z-index: 10;
}

#login .fermer {
	position: absolute;
	top: 4px;
	left: 280px;
	width: 15px;
	height: 15px;
	background: url(icones/fermer.gif) top left no-repeat;
}

#fondlogin {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	opacity: 0.6;
	-Moz-Opacity: 0.6;
        -Khtml-Opacity: 0.6;
	filter:alpha(opacity=60);
	background: #ffffff url(icones/fonds/fondlogin.gif) repeat;
	z-index: 8;
}

#login h2 {
	font-size: 12px !important;
	text-transform: uppercase !important;
	background: #EDEDED url(icones/h1log.gif) no-repeat !important;
	background-position: 0 50% !important;
	padding: 5px 5px 5px 25px !important;
	margin: 0 0 20px 0 !important;
	border-bottom: 1px solid #bbbbbb !important;
}

#login .form {
	width: 100px;
	height: 22px;
	vertical-align: middle;
	text-align: right;
	padding: 0 5px 0 0;
	font-weight: bold;
}

#login input {
	height: 20px;
	font-size: 13px;
	padding: 0 0 0 18px;
	border: 1px solid #c7c7c7;
	background-color: #f7f7f7;
}

#login input.login_pseudo {
	background: #f7f7f7 url(icones/userlogin.gif) no-repeat;
	background-position: 0 50%;
	width: 160px;
}
#login input.login_passe {
	background: #f7f7f7 url(icones/password.gif) no-repeat;
	background-position: 0 50%;
	width: 160px;
}

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




/*===========================================*/
/* Infos Persos et langues                   */
/*===========================================*/

#wabany {
	position: absolute;
	top: 35px;
	left: 75px;
	font-size: 15px;
	font-family: tahoma;
}
#langues {
	position: absolute;
	top: 35px;
	left: 10px;
}
#langues img.nonchoix {
	margin:0 10px 0 0;
	height: 14px;
	opacity: 0.4;
	-Moz-Opacity: 0.4;
        -Khtml-Opacity: 0.4;
	filter:alpha(opacity=40);
}

#langues img.choix {
	margin:0 10px 0 0;
	height: 14px;
	opacity: 1;
	-Moz-Opacity: 1;
        -Khtml-Opacity: 1;
	filter:alpha(opacity=100);
}

#infosperso {
	position: absolute;
	top: 5px;
	left: 0;
	width: 100%;
	text-align: left;
	color:#313247;
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	padding: 0;
}
#infosperso .flleft {
	float: left;
	margin-left: 10px;
}
#infosperso .flright {
	float: right;
	margin-right: 10px;
}

#infosperso a { color:#0c0d1b; text-decoration:none}
#infosperso a:hover { color:#555555; }

#logo {
	display: none;
	position: absolute;
	top: 15px;
	left: 20px;
	height: 50px;
	width: 60px;
}

#logo img {
	width: 50px;
	margin: 0;
	border: 1px solid black;
}


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

#bandeau {
	position: absolute;
	position: fixed;
	_position:absolute;
	/*_top:expression(documentElement.scrollTop+body.scrollTop);*/
	top: 0;
	left: 0;
	width: 100%;
	height:59px;
	border-bottom: 1px solid #555555;
	font-family: arial,sans-serif;
	background: #f7f7f7 url("icones/fonds/fond.gif") left top repeat;
	z-index: 5;
}
.body_simple #bandeau {
	height: 30px;
}


#menuhaut {
	position: absolute;
	top: 30px;
	padding: 0;
	margin: 0 0 0 204px;
	z-index: 5;
}

#menuhaut td,tr {
	margin: 0;
	padding: 0;
	font-size: 11px;
}

#menuhaut td {
	font-family: tahoma,sans-serif;
	font-size: 11px;
	font-weight: bold;
	padding: 0 15px 0 15px;
	border-left: 1px solid #555555;
	border-right: 1px solid #555555;
	height: 30px;
	vertical-align: middle;
	background: #EAEAEA url("icones/fonds/bigonglets.gif") left top repeat;
}

#menuhaut td.selected {
	background: #CED8DE url("icones/fonds/bigonglets2.gif") left top repeat-x;
}

#menuhaut a { color:#313247; text-decoration:none}
#menuhaut a:hover { color:#A10000; }

#menuhaut td.selected a { color:#C10000; text-decoration:none}
#menuhaut td.selected a:hover { color:#313247; }

#pied {
	position: absolute;
	z-index: 6;
	text-align: left;
	font-size: 12px;
	top: 100%;
	margin-top: -15px;
	left: 5px;
	position: fixed;
}
#jencule_ie {
	height: 59px;
}

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

#contenu {
	margin: 0;
	background: #ffffff;
	width: 100%;
	padding: 0;
	z-index: 2;
}
.body_simple #contenu {
	margin: 50px 0 0 0;
	padding:4px 0;
}
.body_simple #contenu_simple {
	margin: 50px 10px 10px 10px;
	padding:4px 10px;
	border: 1px solid #333333;
}

#contenu td {
	vertical-align: top;
}


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

#colmenugauche {
	background: #ffffff;
	width: 200px;
}
#menugauche {
	position: absolute;
	position: fixed;
	_position:absolute;
	_top:expression(documentElement.scrollTop+body.scrollTop);
	top: 0;
	left: 0;
	z-index: 4;
	width: 190px;
	height: 100%;
	font-size: 0;
	padding: 0;
	margin: 0px;
	background: #f7f7f7;
	border-right: 1px solid #e0e0e0;
	overflow: auto;
}
#contientmenugauche {
	margin: 70px 0 0 0px;
}
#menugauche h1 {
	font-size: 11px;
	margin: 10px 0 5px 0 ;
	padding: 3px 3px;
	/*border-bottom: 1px solid #DDC35A;
	border-top: 1px solid #DDC35A;*/
	background-color: #DADADA;
	text-align: left;
	text-transform: uppercase;
}

#menugauche h2 {
	font-size: 11px;
	margin: 0 0 0 2px ;
	font-weight: normal;
	padding: 2px 0;
}

#menugauche h1 a {
	color:#555555;
	text-decoration:none;
	background: url(icones/h1gauche.gif) no-repeat;
	background-position: 10px 50%;
	padding-left: 26px;
}

#menugauche h2 a {
	color:#555555;
	text-decoration:none;
	background: url(icones/h2gauche.gif) no-repeat;
	background-position: 10px 50%;
	padding-left: 22px;
}

#menugauche a:hover { color:#000000; }

#menugauche h1 a.dessus {
	color:#C10000;
	text-decoration:none;
	background: url(icones/h1gauchesel.gif) no-repeat;
	background-position: 10px 50%;
	padding-left: 26px;
}
#menugauche h2 a.dessus {
	color:#C10000;
	text-decoration:none;
	background: url(icones/h2gauchesel.gif) no-repeat;
	background-position: 10px 50%;
	padding-left: 22px;
}
#menugauche a:hover.dessus { color:#000000; }

#menugauchefond {
	position: absolute;
	position: fixed;
	_position:absolute;
	_top:expression(documentElement.scrollTop+body.scrollTop);
	top: 0;
	left: 0;
	width: 200px;
	height: 100%;
	z-index: 2;
	background: white;
}

#menugauche form {
	margin-top: 10px;
}

#navighautbas {
	height: 20px;
}
#navighautbas a.lienbasg {
	float: right;
	height: 20px;
	width: 20px;
	background: url(icones/lienbas.gif) top left no-repeat;
	margin-right: 5px;
}
#navighautbas a.lienhautg {
	float: right;
	height: 20px;
	width: 20px;
	background: url(icones/lienhaut.gif) top left no-repeat;
}


/*===========================================*/
/* 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%;
}

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

#content h1 {
	font-size: 11px;
	margin: 0 0 10px 0;
	padding: 2px 5px 2px 15px;
	color: #555555;
	background: url(icones/h1.gif) no-repeat;
	background-position: 0 4px;
}

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


#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: #EDEDED;
}
.popup .blockdiv { margin: 10px 0; }

#content .blockdiv h2,.popup h3, div.infos_droite_dos h2 {
	background: #d8d8d8 url(icones/fonds/blockdivh2.gif) repeat-x !important;
	background-position: 0 0 !important;
	border-bottom: 1px solid #CBCED4 !important;
	font-size: 12px !important;
	padding: 5px 0 5px 5px !important;
	margin: 0 0 10px 0 !important;
	color: #222A36 !important;
	text-transform: uppercase !important;
}

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

#content .blockdiv h4 {
	background: #d8d8d8 url(icones/fonds/blockdivh2.gif) repeat-x;
	background-position: 0 0;
	border-bottom: 1px solid #CBCED4;
	border-top: 1px solid #CBCED4;
	font-size: 12px;
	padding: 5px 0 5px 5px;
	margin: 0 0 10px 0;
	color: #222A36;
}

#content .blockdiv h5 {
	text-align: right;
	border-top: 1px solid #CBCED4;
	font-size: 12px;
	padding: 2px 0 2px 5px;
	margin: 0 0 3px 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 table#perm { margin-top: 20px; margin-bottom: 10px;}
.blockdiv table#perm table {}
.blockdiv table#perm table table td { font-weight: normal !important; border-top: 1px dotted #d9d9d9; }

.blockdiv #perm td {
	padding: 0 5px 0 5px;
	height: 35px;
	vertical-align: middle;
	font-weight: bold;
}
.blockdiv #perm tr { padding: 0;}
.blockdiv #perm td img { border: none; margin: 0 !important;}
.blockdiv #perm td.petit, .blockdiv #perm td.vert, .blockdiv #perm td.rouge {
	font-weight: normal;
	text-align: center;
}
.blockdiv #perm th {
	background: #d8d8d8 url(icones/fonds/blockdivh2.gif) repeat-x;
	background-position: 0 0;
	text-transform: uppercase;
	padding: 10px 0;
	font-size: 11px;
	border-top: 1px solid #CBCED4;
	border-bottom: 1px solid #CBCED4;
}
.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: 0px;
	text-transform: uppercase;
	font-weight: bold;
}

.blockdiv .retour a, .blockdiv .annuler a, .blockdiv .retour a:hover, .blockdiv .annuler a:hover { text-decoration: none !important; }



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

#menuoptions, #menuoptions table {
	height: 22px;
	padding: 0;
	font-family:arial,sans-serif;
	width: 100%;
	border: none;
}

#menuoptions tr {
	margin: 0;
	padding: 0;
}
#menuoptions td {
	font-size: 11px;
	height: 35px;
	padding: 0 10px 0 10px;
	vertical-align: middle;
	font-weight: bold;
	border-bottom: none !important;
	border-left: 1px solid #999999;
	border-right: 1px solid #999999;
}

#menuoptions td.plein {
	height: 35px;
	width: 120px;
	background: #AFAFAF url(icones/fonds/petitonglet.gif) repeat-x;
	color:#555555;
}
#menuoptions td.vide {
	width: auto;
	border-right: none !important;
	background: #ffffff url(icones/fonds/petitonglet2.gif) repeat-x;
}

#menuoptions td.plein:hover, #menuoptions td.selected:hover  { cursor:pointer; color:#720E0E; text-decoration: none; }

#menuoptions td.selected {
	width: 120px;
	background: #ededed url(icones/fonds/petitonglet3.gif) repeat-x;
	color: #A10000;
}

#menuoptions td.selected a { color:#313247; text-decoration: none; }
#menuoptions td.plein a {  text-decoration: none; }
/*#menuoptions a { color:#313247; text-decoration: none; }*/
#menuoptions a:hover { color:#720E0E; text-decoration: none; }

#menuoptions td.selected a {  !important; text-decoration: none; }
#menuoptions td.selected a:hover { color:#313247; }

#contoption2 {
	margin: 0px;
	width: 100%;
	font-family: arial,sans-serif;
	background: #EDEDED;
	border-left: 1px solid #999999;
	border-right: 1px solid #999999;
	border-bottom: 1px solid #999999;
}


#contoption {
	margin: 15px 0 0 0px;
	width: 100%;
	font-family: arial,sans-serif;
	background: #EDEDED;
	border: 1px solid #999999;
}
#onglet {
	margin: 10px;
	font-family: arial,sans-serif;
	font-size: 11px;
	color: #313131;
}
#editecontact, #editeobjet {
	margin: 10px;
	font-family: arial,sans-serif;
	font-size: 11px;
	color: #313131;
}
#onglet a { color:#313247; text-decoration: underline;}
#onglet a:hover { color:#A10000; }
#onglet select {
	margin: 2px;
	width: 140px;
}

#onglet ul, .blockdiv ul {
	list-style-type: square;
	margin: 10px 0 10px 3px;
	padding: 0 0 0 15px;
}
#onglet li, .blockdiv li {
	list-style-type: square;
	padding: 0;
	margin: 4px 0;
}


#onglet input.chbox {border:0; margin: 0; background-color: transparent; font-size: 0; padding: 0; }

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

#onglet h4,#onglet h2 { margin : 15px 0 8px 0; font-size:11px; border-top: 1px solid #a9a9a9; background-image: none !important; padding: 2px 0 !important; color: #313131 !important; text-transform: none !important}

#onglet .normal td {
	vertical-align: middle;
	border-bottom: 1px solid #CDCDCD;
	padding-right: 10px;
}
#onglet .normal td.petit {
	padding-right: 0;
}
#onglet table.normal {
	border-collapse: collapse;
}
#onglet td.form {
	vertical-align: middle;
	padding: 0 20px;
	font-weight: bold;
	font-family: arial;
}

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

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

.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;
}
.num {
	font-family: verdana,serif;
	background-color: #EDEDED;
	padding: 5px;
	color: #444444;
	text-align:center; vertical-align:middle;
}

#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: #d7d7d7;
	text-align: center;
}
.liste_messenvoye th {
	padding: 4px;
	background-color: #c4c4c4;
	text-align: center;
}

/* Pour limiter la tailler des photos dans les tableaux et fiches */
.phototab {
	max-height: 200px; /* désolé pour IE Lego */
}


/*======================================================*/
/*  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: #d8d8d8 url(icones/fonds/blockdivh2.gif) repeat-x;
	background-position: 0 0;
}
table.liste th.gauche { text-align:left; }
.popup table.liste th { padding:3px; }

table.liste td {
	padding: 3px 5px 2px 5px;
	background-color: #EDEDED;
	text-align: center;
}

table.liste td.pair { background-color: #EDEDED; }
table.liste td.impair { background-color: #e6e6e6; }

/* pour les export de liste en pdf */

table.liste td table td {
	background-color: transparent !important;
	vertical-align :middle !important;
}


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

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

table.fiche .champ, .fiche table .champ, .champ_doux {
	width: 200px;
	font-family: tahoma,serif;
	font-weight: bold;
	padding: 10px 10px 10px 0;
	color: #444444;
	font-size: 12px;
	text-align: right;
	background: #dadada;
	border: none;
}

table.fiche .champ_doux {
	width: 100px !important;
}
table.fiche .valeur, .fiche table td, table.fiche .num {
	font-family: verdana,serif;
	background-color: #EDEDED;
	padding: 10px 5px;
	color: #444444;
}
table.fiche .valeur p { padding:0; margin: 0;}

.fiche th  {
	font-family: tahoma,serif;
	padding: 10px 5px;
	color: #444444;
	text-align: center;
	font-weight: bold;
	background: #d8d8d8 url(icones/fonds/blockdivh2.gif) repeat-x;
	background-position: 0 0;
	font-size:12px;
}


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

.explication, #permission {
	position: absolute;
	padding: 0 !important;
	border:1px solid #582758;
	background: #EDEDED;
	top: 100px;
	left:100px;
	display:none;
}

 #permission {
	width:260px;
	height:350px;
	overflow-y:auto;
}

.explication {
	width: 350px;
}

.explication a img, #permission a img {
	float: right;
	margin: 3px 3px 0 0;
}

#permission table {
	margin: 0 0 0 5px;
}
#permission form {
	margin: 0;
}
#permission h5 {
	margin: 20px 0px 5px 0px !important;
	padding: 3px 5px;
	font-size:12px;
	border-top: 1px solid #c0c0c0 !important;
	border-bottom: 1px solid #c0c0c0 !important;
	background-color: #e4e4e4;
	font-weight: bold;
	text-align: left !important;
}
.explication h6, #permission h6 {
	margin: 0 0 10px 0;
	font-size:13px;
	font-weight: bold;
	border-top:none;
	padding: 3px 3px !important;
	background: #d8d8d8 url(icones/fonds/blockdivh2.gif) repeat-x;
	background-position: 0 -5px;
	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: #EDEDED;
	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: #cfcfcf;
	text-align: center;	background: #EDEDED 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;
	text-align: center;
	background: #EDEDED url(icones/fonds/blockdivh2.gif) repeat;
	background-position: 0 50%;
}
table.operations td {
	padding: 3px 5px 2px 5px;
}

table.operations tr.pair { background-color: #EDEDED; }
table.operations tr.impair { background-color: #e3e3e3; }
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;}

.compta_resume td {
	vertical-align: middle;
	border-bottom: 1px solid #C5C8CF;
}
table.compta_resume {
	border-collapse: collapse;
}
.compta_resume .libelle { width:500px; }
.compta_resume .montant { text-align:right; }

/* 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:700px; }
table.facture td { font-size:12px; }
.facture .ref, .facture .date  { font-size: 130%; font-weight:bold; padding: 0 0 15px 0;  }
.facture .date { text-align: right; }

.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 { width: 100px;text-align:right; vertical-align:middle; background-color:transparent;}
.facture .numqte { width: 25px;text-align:center; vertical-align:middle;}

.facture .liste_objets td.rien { border:none; height:25px; }
.facture .espacev { height:10px; }
.facture .espacev td {border-bottom: 1px solid black;}
.facture .adresse_envoyeur { color: #666666; }
.facture .pied_page { color: #666666; text-align:center; font-size:90%; border-top:1px solid #333333; }
.facture .phrase_bas { padding: 10px 0px 10px 0px; text-align:justify; }
.facture .cond_paiment { padding: 10px 0px 10px 0px; font-style:italic; }

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

/* totaux pour la liste des factures et achats */

#totauxfact {border-collapse: separate;}
#totauxfact td.titremontant { text-align: left; font-weight: bold; background: #EDEDED url(icones/fonds/blockdivh2.gif) repeat; padding: 10px 0 10px 5px; width: 120px; }
#totauxfact td.montant {text-align: center; background: #ededed; padding: 10px 5px; width: 100px;}

/*==============================================*/
/* 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-top: 1px solid #CBCED4; background: #ededed; padding: 2px; margin: 0; text-align: right;}
.infos_milieu { text-align: right;}

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%; }

.gras { font-weight: bold; }

/* body_simple : pages de desinscription, de mail visible sur web, et de facture permalien */
.body_simple .titre_mail {
	padding: 4px 9px;
	font-size:12px;
}
.body_simple .contenu_mail {
	padding:4px 9px;
	border-top: 1px solid  #555555;
}
.body_simple h2 {
	margin: 5px 0 2px 20px;
	font-size:15px;
	padding:0;
	font-weight:normal;
}
.body_simple h3 {
	margin: 4px 0;
}

#menuprint {
	position: absolute;
	position: fixed;
	_position:absolute;
	_top:expression(documentElement.scrollTop+body.scrollTop);
	top: 0;
	left: 0;
	z-index: 4;
	font-size: 0;
	padding: 0;
	margin: 40px 0 10px 10px;
}

input.petitchbox { width: 10px; height:12px;  padding:0; font-size:3px; }
table.liste td.nom_dossier {
	padding: 3px 3px 3px 20px;
	text-align:left;
}
p.dossier_chemin { font-size:130%; }
table.liste td.dossier_chemin {
	font-size:130%;
	text-align:left;
}


/* Sous objet */

.sousobj_orig {   /* affiche les valeurs inchangées par rapport au parent */
	color: #999999;
}
.sousobj_ouvre { cursor: crosshair; }

