/** usage:
  <table class="table_stat">
  ajouter "pretty" 					=> version avec les background en image
  Taille des textes:
  	- ajouter "large" 				=> texte +30%
  	- ajouter "small" 				=> texte -15%
  Alignement des textes:
 	- ajouter "center"				=> alignement Par défaut centré ( sinon c'est à droite )
  	- ajouter "left"				=> alignement à gauche 			( sinon c'est à droite )
  ajouter "table_consultation" 		=> version spécifique Résultats de recherche d'articles en mode consultation

  <tr class="...">
  - alt 			=> version alternative d'une ligne data normale
  - total, subtotal => lignes spécifiques pour les totaux
  - headline 		=> pour utiliser comme un sous-caption, ou contenir des <th>

  <td class="...">
  - right, left, center => alignement du texte
  - total				=> pour une case contenant un total ( en fin de ligne par exemple )

*/



/** alignements textes */
.table_stat .right 	{ text-align: right 	!important; 	}
.table_stat .left 	{ text-align: left 	!important; 	}
.table_stat .center	{ text-align: center 	!important; 	}

.center tr td		{ text-align: center 	!important; 	}
.left   tr td		{ text-align: left 		!important; 	}

/** taille textes */
.small td 			{ font-size:	70%; 				}
.large td			{ font-size:	120%; 				}

/** Couleurs textes */
.green {
	color:#006699 !important;
	background-color:#E0FFE0 !important;
	}

.red {
	color:#006699 !important;
	background-color:#FFE0E0 !important;
	}

.green_total {
	font-weight: bold !important;
	color:#006699 !important;
	background-color:#D0FFD0 !important;
	}

.red_total {
	font-weight: bold !important;
	color:#006699 !important;
	background-color:#FFD0D0 !important;
	}

.table_stat caption
{
	background:			#8fafc4 ;
	padding:			0em 0.5em;
	color:				#fff;
	font-weight:		bold;
	border-bottom:		solid 2px #fff;
}

.table_stat caption a,
.table_stat caption em
{
	color: #fff !important;
}

.table_stat caption em
{
	font-style:	 italic;
}

.table_stat th
{
	background:		#ddd;
	border-right:		solid 1px #e8e8e8;
	font-weight:		bold;
	font-size:			100%;
	color:				#303030;
	text-align:			center;
	text-shadow: 	0 1px 0 #eee;
	padding:			0 2px;
}

.table_stat tr.alt th{ 	background:	 #eee; }


.table_stat tr td
{
	background: #f0f0f0;
	text-align:	right;
	padding: 0em 0.5em;
}

.table_stat tr.alt td	{ background: #fafafa; 	}

.table_stat tr.no-bg td	{ background: none; }

.table_stat tr.vspace td	{
	padding-top: 		10px;
	padding-bottom: 	10px;
}



/** headline ( "sous-caption" )*/
.table_stat tr.headline th
{
	background:				#fff ;
	/*	padding:			0em 0.5em;*/
	font-size:				80%;
	font-weight:			bold;
	color:					#303030;
	text-align:				center;
}

/** higlight */
.table_stat th.highlight		{ font-size: 120%; }
.table_stat tr td.highlight
{
	background: #e9e9e9;
	font-weight: bold;
	color: #2b5476;
}


/** Entete  */
.table_stat .entete
{
	background:			#e0e0e0;
	border-right:		solid 1px #e8e8e8;
	width:				20%;
	font-weight:		bold;
	text-align:			center;
	font-size:			120%;
	color:				#808080;
}

/** Sous-total */
.table_stat tr.subtotal th	{ background: #c5c5c5;	border-top:	solid 1px #fff; }
.table_stat tr.subtotal td	{ background: #c5c5c5;	border-top:	solid 1px #fff;	font-weight: bold; }

/** Total */
.table_stat tr.total th	{ background: #45a0d9; color: #fff;	font-size: 110%; text-shadow: none;}
.table_stat tr.total td 	{ background: #45a0d9; color: #fff;	font-size: 110%; font-weight: bold; }

.table_stat tr td.total 	{ font-weight: bold; }
.table_stat tr th.total 	{ font-weight: bold; font-size:			110%; }

/** Pretty ;) */
.table_stat.pretty caption
{
	background:			#8fafc4 url(/images/table_skin/caption.gif) repeat-x;
	height:				25px;
	line-height:		25px;
}

.table_stat.pretty tr.subtotal td
{
	background:			#c5c5c5 url(/images/table_skin/subtotal.gif) repeat-x;
	height:				24px;
}

.table_stat.pretty tr.total td
{
	background:			#45a0d9 url(/images/table_skin/total.gif) repeat-x;
	color:				#fff;
	height:				24px;
}

.table_stat.pretty tr.headline th {
	background:				#fff url(/images/table_skin/th.gif);
	background-repeat:	 	no-repeat;
	background-position:	100% 100%;
	height:					24px;
	/*	padding:			0em 0.5em;*/
}


.table_stat  input,
.table_stat  select,
.table_stat  option,
.table_stat textarea
{
	font-size: 10px !important;
}


/** Résultats de recherche d'articles en mode consultation */

.table_consultation { border-collapse: collapse; }

.table_consultation td.img,
.table_consultation td.img img
{
	width: 30px;
}

.table_consultation td.titre a
{
	color: 			#000;
	font-weight: 	bold;
}

.table_consultation tr td,
.table_consultation tr.headline
{
	background-color:	#fff;
	border-bottom: 		solid 5px #f8f8f8;
}


/** Test table mini */

.table_mini tr
{
	vertical-align: top;
	border: 		1px !important;
}
.table_mini td
{
  padding: 	0 !important;
  border: 	0;
  margin: 	0;
}
