* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

body {
	font-family: "Montserrat", sans-serif;
	background: #ccc;
	margin: 1em;
	color: var(--color-dark-blue);
	font-size: 9pt;
}

page[size="A4"] {
	position: relative !important;
	background: white !important;
	width: 21cm !important;
	height: 29.7cm !important;
	display: block !important;
	margin: auto !important;
	border: 0.1mm solid #00000000 !important; /* CSS Margin-Top Fix */
	box-shadow: 0 0 0.5cm rgba(0,0,0,0.5) !important;
	overflow: hidden;
}

#status {
	font-size: 200%;
	text-align: center;
}

#certificate-holder {
	display: none;
}

.certificate {
	margin: 0.8cm;
}

.certificate-header {
	padding: 0.3cm 0.4cm;
	background-image: url("../img/logo-white.svg");
	background-position: right 0.4cm center;
	background-attachment: local;
	background-repeat: no-repeat;
	background-size: 1.5cm;
	border-radius: 14px 14px 0 0;
}

.certificate-section-header {
	//padding: 0.15cm 0.3cm;
	padding: 0.15cm 0;
	//border-bottom: 1px solid var(--color-gray);
	//clip-path: polygon( 100% 0%, 8px 0%, 0% 50%, 8px 100%, 100% 100%);
	//clip-path: polygon( 0% 0%, calc(100% - 12px) 0%, 100% 100%, 100% 100%, 0% 100%);
	// ! clip-path: polygon( 0% 0%, calc(100% - 10px) 0%, 100% 50%, calc(100% - 10px) 100%, 0% 100%);
	//border-radius: 6px 0 0 6px;
	//border-radius: 6px;
	color: --var(color-dark-blue);
}

.table {
	text-align: left;
	border-spacing: 0.1cm;
	border-collapse: separate;
}

.table-quality-review {
	padding: 0.2cm 0;
	font-size: 90%;
}

.table-aqi {
	box-shadow: var(--panel-shadow);
	width: 351px;
}

.table-aqi td {
	padding: 3px;
}

.table-quality-review td {
	vertical-align: top;
}

.table-health-risks {
	//border-spacing: 0.5cm 0.3cm;
	box-shadow: var(--panel-shadow);
	font-size: 90%;
	border-collapse: collapse;
}

.table-health-risks td {
	padding: 8px;
}

.table-health-risks th {
	padding: 8px;
}

.table-bordered {
	border-collapse: collapse;
}

.table-bordered td {
	border: 1px solid var(--color-info-border);
	padding: 4px;
}

.qrcode {
	display: inline-block;
	width: 80px;
	height: 80px;
	color: var(--color-dark-blue);
}

.section-info {
}

.health-risks-description {
}

.health-risks-disclaimer {
	font-size: 90%;
}

#map {
	box-shadow: var(--panel-shadow);
	width: 100%;
	height: 179px;
}

#graph-weekly {
	box-shadow: var(--panel-shadow);
	width: 100%;
	height: 179px;
}

#graph-hourly {
	box-shadow: var(--panel-shadow);
	width: 100%;
	height: 179px;
}

.footer {
	//position: absolute;
	text-align: center;
	bottom: 0.8cm;
	left: 0;
	right: 0;
}

a, a:visited {
	color: var(--color-blue);
	text-decoration: none;
	font-weight: 600;
}

a:hover, a:visited:hover {
	color: var(--color-teal);
	text-decoration: underline;
}

a:active, a:visited:active {
	color: var(--color-red);
}

.aqi-category {
	padding: 2px 12px 2px 3px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	white-space: nowrap;
	clip-path: polygon( 0% 0%, calc(100% - 10px) 0%, 100% 50%, calc(100% - 10px) 100%, 0% 100%);
}

.aqi-category > span {
	text-shadow: 0 1px 2px #000000C0;
	padding-left: 5px;
}

.aqi-range {
	display: inline-block;
	font-weight: 300;
}

.aqi-name {
	display: inline-block;
	margin-left: 6px;
	font-weight: 500;
}

.aqi-category small {
	//background: #00000070;
	//color: #fff;
	//font-weight: bold;
	font-size: 100%;
	//background: #ffffffa0;
	//border-radius: 4px;
	width: 52px !important;
	text-align: center;
	color: #000;
	display: inline-block;
	border-right: 1px solid #00000030;
}

.aqi-category-pointer {
	//clip-path: polygon( 0% 0%, calc(100% - 0.4em) 0%, 100% 50%, calc(100% - 0.4em) 100%, 0% 100%);
	clip-path: polygon( 100% 0%, 8px 0%, 0% 50%, 8px 100%, 100% 100%);
	padding: 2px 4px;
	//width: 50px !important;
	width: calc(100% - 8px);
	text-align: center;
	white-space: nowrap;
}

.aqi-category-pointer > span {
	text-shadow: 0 1px 2px #000000C0;
	padding-left: 2px;
}

.aqi-w-1 {
	width: 48%;
}

.aqi-w-2 {
	width: 58%;
}

.aqi-w-3 {
	width: 68%;
}

.aqi-w-4 {
	width: 78%;
}

.aqi-w-5 {
	width: 88%;
}

.aqi-w-6 {
	width: 98%;
}

.sparrow-seal {
	position: absolute;
	right: 1.4cm;
	bottom: 1.6cm;
	text-transform: uppercase;
	text-align: center;
	padding: 0.25cm;
	//opacity: 0.5;
	transform: rotate(-16deg);
}

.seal-green {
	color: var(--color-stamp-green);
	border: 0.1cm solid var(--color-stamp-green);
}

.seal-red {
	color: var(--color-stamp-red);
	border: 0.1cm solid var(--color-stamp-red);
}

.seal-title {
	font-size: 150%;
	font-weight: 800;
}

.seal-subtitle {
	font-size: 45%;
	font-weight: 700;
}


.leaflet-interactive {
	cursor: default;
}

.icon-sm {
	width: 16px;
	height: 16px;
	margin-left: 4px;
	margin-right: 4px;
	float: right;
}

li {
}

ul {
	margin-top: 8px;
	padding-left: 26px;
}

#table-month-overview {
	font-size: .71em;
	vertical-align: middle;
}

#table-month-overview td{
	font-size: 85%;
	border-radius: 4px;
}

.table-row-spacer {
	height: 4px;
}

@media print {
	body {
		background: none !important;
		margin: 0 !important;
	}
	
	body, page[size="A4"] {
		margin: 0 !important;
		box-shadow: none !important;
	}

	page {
		box-shadow: none !important;
	}

	.table-aqi {
		box-shadow: none !important;
		border: 1px solid #eee;
	}

	.aqi-category > span {
		text-shadow: none !important;
	}

	.aqi-category-pointer > span {
		text-shadow: none !important;
	}

	#map {
		box-shadow: none !important;
		border: 1px solid #eee;
	}

	#graph-weekly {
		box-shadow: none !important;
		border: 1px solid #eee;
	}

	#graph-hourly {
		box-shadow: none !important;
		border: 1px solid #eee;
	}

}