
/* CSS V1.3
 * Copyright 2025 Nicolas von Auw, all rights reserved
 * Edition Flexbox
 * Conteneur: body
 * Eléments: header, nav, section, footer
 */


@media print {
	body {	
		font-family: system-ui;
		margin: auto;
		margin: auto;
		height: 100%;
		width: 210mm;
		border-left, border-right: solid 1mm rgba(150,150,150,1);
		color: rgba(70,70,70,1);
	}
	
	
	/* GENERAL */
	/* TEXTS ITEMS */
	p, h1, h2, h3, h4, h5, h6, ul, ol, dl, table, legend, mark, address, cite, figcaption {
		color: rgba(0,0,0,1);
	}
	
	/* GENERAL */
	/* BALISES */
	body, header, main, footer {
		background-color: rgba(255,255,255,1);	
	}

	/* HEADER */
	header {
		width: 180mm;
		height: 100%;
		margin-top: 60mm;
		margin-left: 15mm;
		text-align: center;
	}

	header h1 {
		font-size: 10mm;
	}

	header img {
		height: 70mm;
		width: auto;
	}

	header figcaption {
		font-size: 4mm;
		text-align: center;
		font-style: italic;
	}

	header ol {
		text-align: left;
	}

	span, fieldset, .newPage {
		page-break-before: always;	
	}
	
	/* SECTION */
	main {
		page-break-before: always;
		margin: auto;
		height: auto;
		width: 180mm;
		text-align: left;
	}
	main h2 {
		font-size: 8mm;
		padding-top: 20mm;
	}


	main h3 {
		font-size: 6mm;
		padding-top: 10mm;
	}


	main p, main ul, main ol, main dl {
		font-size: 5mm;
	}
	
	main legend, main figcaption {
		font-size: 4mm;	
	}

	main figcaption {
		text-align: center;
		font-style: italic;
	}

	main table {
		border-collapse: collapse;
		text-align: left;
	}

main table tr:nth-child(odd){
background-color: rgba(0,0,0,0.1);
}

	main figure {
		text-align: center;
	}


	main td:fisrt-child {
		border-left: 0mm solid rgba(255,255,255,0);
	}

	main td {
		border-right: 0.25mm solid rgba(0,0,0,1);
		border-top: 0.25mm solid rgba(0,0,0,1);
		border-bottom: 0.25mm solid rgba(0,0,0,1);
		padding-left: 1mm;
		padding-top: 1mm;
		padding-bottom: 1mm;
		padding-right: 1mm;
	}

	main td:last-child {
		border-right: 0mm solid rgba(255,255,251,);
	}

	a, a:hover, a:visited {
		text-decoration: none;
		color: rgba(0,0,0,1);
	}
}
