/** Worldwide styles **/

@import url('https://fonts.googleapis.com/css?family=PT+Sans');

p {
	font: normal 4mm PT Sans;
	margin: 0;
}

h1 {
	font: bold 8mm PT Sans; 
	margin: 0;
}

h2 {
	font: bold 6mm PT Sans; 
	margin: 0;
}

h3 {
	font: bold 5mm PT Sans; 
	margin: 0;
}

/** Page view **/
@page { margin: 0 }
body { margin: 0 }
.sheet {
	margin: 0;
	padding: 15mm;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: top;
	align-items: center;
	box-sizing: border-box;
	page-break-after: always;
}

body.A4               .sheet { 
	width: 210mm; 
	height: 296mm;
}

/** For screen preview **/
@media screen {
	body { background: #e0e0e0 }
		.sheet {
		background: white;
		box-shadow: 0 .5mm 2mm rgba(0,0,0,.3);
		margin: 5mm auto;
	}
}

/** Fix for Chrome issue #273306 **/
@media print {
	body.A4	{ width: 210mm }
}

/** First and last pages **/
.sheet>.logo {
	text-align: center;
	margin: 5mm 0;
	width: 100%;
}

.sheet>.main_header {
	text-align: center;
	margin: 5mm 0;
	width: 100%;
}

.sheet>.abstract {
	text-align: justify;
	margin: 5mm 0;
	text-indent: 10mm;
}
.sheet>.raw_data {
	text-align: justify;
	margin: 5mm 0;
	width: 100%;
}
.sheet>.reports {
	text-align: justify;
	margin: 5mm 0;
	width: 100%;
}
.sheet>.footer {
	text-align: center;
	margin: 5mm 0;
	width: 100%;
}
