/* Facture Sanrival : couleurs de la charte (crème, brun terre, rouge Sanrival), Open Sans fournie par l'extension. */
@page {
	margin: 0 0 2.6cm 0;
	footer: docFooter;
}

body {
	margin: 0;
	padding: 0 1.6cm;
	background: #fff;
	color: #2a1a12;
	font-family: 'Open Sans', sans-serif;
	font-size: 9pt;
	line-height: 1.35;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	vertical-align: top;
	text-align: left;
	padding: 0;
}

h1,
h3,
p {
	margin: 0;
}

.band {
	margin: 0 -1.6cm 0.9cm;
	padding: 7pt 1.6cm;
	background: #2a1a12;
	color: #fdf6ea;
	font-size: 8pt;
	letter-spacing: 0.4pt;
}

.head .brand {
	width: 55%;
}

.logo {
	width: 3.4cm;
	margin-bottom: 8pt;
}

.seller {
	color: #4a2f22;
	font-size: 8.5pt;
}

.head .doc {
	width: 45%;
	text-align: right;
}

h1 {
	color: #b21c2d;
	font-size: 26pt;
	font-weight: bold;
	line-height: 1;
	margin-bottom: 10pt;
}

.meta th,
.meta td {
	padding: 2pt 0;
	font-size: 8.5pt;
	border-bottom: 0.5pt solid #eadfc4;
}

.meta th {
	color: #6b4a38;
	font-weight: normal;
}

.meta td {
	text-align: right;
	font-weight: bold;
}

.parties {
	margin: 0.8cm 0 0.6cm;
}

.parties td {
	width: 50%;
	padding: 9pt 11pt;
	background: #fdf6ea;
	border-left: 2.5pt solid #b21c2d;
}

.parties td.solo {
	width: 100%;
}

.parties td + td {
	border-left: 8pt solid #fff;
}

h3 {
	color: #b21c2d;
	font-size: 8pt;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.6pt;
	margin-bottom: 4pt;
}

.muted {
	color: #6b4a38;
	margin-top: 3pt;
}

.lines thead th {
	padding: 6pt 6pt;
	background: #2a1a12;
	color: #fdf6ea;
	font-size: 8pt;
	font-weight: bold;
}

.lines td {
	padding: 6pt 6pt;
	border-bottom: 0.5pt solid #eadfc4;
}

.lines .num,
.recap .num {
	text-align: right;
	white-space: nowrap;
}

.lines .label {
	width: 46%;
}

.lines .discount td {
	color: #8e1424;
}

.bottom {
	margin-top: 0.6cm;
}

.bottom .vat {
	width: 52%;
	padding-right: 0.8cm;
}

.recap th,
.recap td {
	padding: 3pt 4pt;
	border-bottom: 0.5pt solid #eadfc4;
	font-size: 8.5pt;
}

.recap th {
	color: #6b4a38;
	font-weight: normal;
}

.note {
	margin-top: 6pt;
	color: #6b4a38;
	font-size: 8pt;
}

.totals th,
.totals td {
	padding: 4pt 6pt;
	border-bottom: 0.5pt solid #eadfc4;
}

.totals td {
	text-align: right;
	white-space: nowrap;
}

.totals .ttc th,
.totals .ttc td {
	padding: 7pt 6pt;
	background: #b21c2d;
	color: #fff;
	font-size: 11pt;
	font-weight: bold;
	border: 0;
}

.paid {
	margin-top: 7pt;
	text-align: right;
	color: #4a2f22;
	font-size: 8.5pt;
}

.terms {
	margin-top: 0.8cm;
	color: #6b4a38;
	font-size: 7.5pt;
}

#footer {
	position: absolute;
	bottom: -2cm;
	left: 1.6cm;
	right: 1.6cm;
	padding-top: 6pt;
	border-top: 0.5pt solid #dccda8;
	color: #6b4a38;
	font-size: 7pt;
	text-align: center;
}
