/* CSS Document */

div.facture-view,
div.facture-preview
{ 
	background-color: #FFFFFF;
	position: relative;
	margin: 1em auto;
	font-size: 12px;
	font-family: Verdana,Arial,sans-serif;
}

.facture-border
{
	border: 1px solid #CCC	!important;
}

div.facture-content
{	
	padding: 0.7cm;
}

div.facture-view a
{
	color: blue;
	text-decoration:none;
}

table.facture-liste
{
	margin: 0 auto;
	width: 100%;
	border-collapse: collapse;
}

	table.facture-liste tr th,
	table.facture-liste tr td.facture-header
	{
		background-color: #666666;
		color: white;
		font-size: 1em;
		font-weight: bold;   
		padding: 0 0.5em;
	}
	
	table.facture-liste tr td.no-wrap
	{
		white-space: nowrap;
	}
	
	table.facture-liste tr td {
		border: 1px solid #cccccc;	
	}

table.facture-adresse
{
	text-align: left;
	width: 100%;
}

div.facture-adresse
{
	padding: 1em;
	text-align: left;
	vertical-align: top;
	display: inline-block;
	margin-top: 1em;
}

span.facture-title-bold
{
	font-weight: bold;	
}

span.facture-title
{	
}

.facture-entete-societe 
{
    font-family: Arial,Helvetica,sans-serif;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
	display: inline-block;
	text-align: right;
	float: right;
}

.facture-remarque
{
	text-align: left;
	border: 1px solid #CCC;
	padding: 0.5em;
	margin-top: 30px;
}

div.facture-historique
{
	margin-top: 30px;	
	text-align: left;
}

div.facture-lignes
{
	margin-top: 30px;	
}

table.facture-liste tr.mercuriale
{
	background-color: #ffff99;
}
	
table.facture-liste tr td, table.liste tr td 
{
	font-size: inherit;
}

div.modalites
{
	text-align: center;	
}
	
.no-border
{
	border: none !important;
}

@media screen
{	
	div.facture-view
	{ 
		width: 210mm;
		min-height: 297mm;
	}
}

@page {
	margin: 0px 0px 0px 0px !important;
	padding: 0px 0px 0px 0px !important;
}

@media print
{	
	@page
	{
		size: portrait;
		margin: 0px 0px 0px 0px !important;
		padding: 0px 0px 0px 0px !important;
		letter-spacing: normal;
	}	
	
	body
	{
		width: auto;
		min-width: 0;	
	}

	.facture-remarque
	{
		margin-top: 5px;
		page-break-inside: avoid;		/*Evite d'avoir la remarque � cheval sur 2 pages */
		border: none;
	}
	
	a
	{
		color: #000;
		text-decoration: none;	
	}
	
	table.facture-liste tr th
	{
		color: #000;
		border: 1px solid #CCC;
	}
	
	.no-border,
	table.liste tr td.no-border 
	{
		border: none;
	}
}

.ta-center {
    text-align: center;
}

.ta-right {
    text-align: right;
}

.ta-left {
    text-align: left;
}

.fleft {
    float: left;
}
.fleft-30 {
    display: block;
    float: left;
    width: 30%;
}
.fleft-70 {
    display: block;
    float: left;
    width: 70%;
}

/* FIN FACTURES */