@charset "utf-8";
/* CSS Document — Cometa print theme */

@media print {

body, p, li, h1, h2, h3, h4, h5, h6 {
	font-family: Arial, Helvetica, sans-serif !important;
}

/* Impostazioni pagina */
@page {
	size: A4;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 0;
}
/* Reset generale per la stampa */
body {
	background-color: #fff;
	color: #232323;
	font-size: 11pt;
	line-height: 1.5;
	max-width: 100%;
	min-height: 100%;
	padding: 0;
	margin: 0;
	padding-top: 2cm;
}
/* Ogni capitolo inizia in una nuova pagina */
.page {
	page-break-before: always;
	break-before: always;
	box-shadow: none;
	min-height: calc(297mm - 5.5cm);
	padding: 0;
	margin: 0;
}
/* Evita interruzioni dopo i titoli */
h1, h2, h3, h4, h5, h6 {
	page-break-after: avoid;
	break-after: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
}
/* Gestione delle tabelle */
.results-table {
	page-break-inside: avoid;
	break-inside: avoid;
}
.results-table {
	page-break-before: avoid;
	break-before: avoid;
}
.results-table tr {
	page-break-inside: avoid;
	break-inside: avoid;
}
.results-table thead {
	display: table-header-group;
}
/* Nascondi elementi non necessari in stampa */
.no-stampa {
	display: none !important;
}
.solo-stampa {
	display: block;
}
/* Forza la stampa degli sfondi */
.forza-sfondo {
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
	color-adjust: exact;
}
.no-break {
	page-break-inside: avoid;
	break-inside: avoid;
}
/* Ottimizzazione immagini */
img {
	max-width: 100%;
	page-break-inside: avoid;
	break-inside: avoid;
}
.app-header {
	position: fixed;
	top: 1cm;
	left: 2cm;
	right: 2cm;
	height: 2cm;
	padding: 0;
	background-color: #fff;
	color: #51636d;
	box-shadow: none;
	border-bottom: 1px solid #040C6B;
}
.app-header-left {
	flex: 1 1 auto;
	align-items: flex-end;
}
.app-header h1 {
	flex: 1 1 auto;
	font-size: 18px;
	text-align: right;
}
.app-main-container {
	position: relative;
	z-index: 9999;
	min-height: auto;
	padding: 0;
}
.app-main {
	border: none;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
	background-color: transparent;
}
.app-tab-content > .app-pane {
	display: block;
	opacity: 1;
	background-color: #fff;
	position: relative;
	margin-top: 3.5cm;
	margin-bottom: 2cm;
	margin-left: 2cm;
	margin-right: 2cm;
}
.app-tab-content > .app-pane:first-child {
	margin-top: 1.5cm;
}
.app-tab-content {
	padding: 0;
}
.app-form {
	padding: 0;
	border: 0;
}
.app-data {
	padding-top: 16px;
}
.app-card {
	border: 0;
}
.app-card-body {
	padding: 0;
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}
.app-card-body > div {
	flex: 0 0 calc(50% - 16px);
}
#misure-compensative .app-card-body {
	flex-wrap: wrap;
}
#misure-compensative .app-card-body > div {
	flex: 0 0 calc(50% - 16px);
}
.app-form-switch {
	padding: 0;
}
.app-form-switch .form-check-input {
	display: none;
}
.app-form-switch .form-check-label {
	margin-top: 0;
	color: #040C6B;
	line-height: 1;
}
.app-form-label {
	flex: 1 1 auto;
	margin-bottom: 0;
	margin-right: 8px;
	font-weight: 500;
	font-size: 14px;
}
.app-form-control {
	align-self: flex-start;
	flex: 1 1 40%;
	width: 40%;
	max-width: 50%;
	padding: 0;
	border: none;
	font-weight: 700;
	color: #040C6B;
	line-height: 1;
	text-align: right;
}
.solo-stampa h2 {
	font-size: 18px;
	font-weight: 700;
	color: #040C6B;
}
.solo-stampa p {
	font-size: 12px;
	color: #232323;
	line-height: 14px;
	margin-bottom: 0;
}
.solo-stampa li {
	font-size: 12px;
	color: #232323;
	line-height: 1;
	line-height: 14px;
	margin-bottom: 0;
}
.solo-stampa .results-table td {
	font-size: 12px;
	color: #232323;
	line-height: 1;
	padding: 0;
}
.solo-stampa ul {
	margin: 10px 0 10px 0 !important;
}
.app-nota p {
	margin-bottom: 0 !important;
}
.results-table {
	margin-top: 0;
}
.results-table td {
	padding: 5px 5px;
	line-height: 1;
}
.results-table tr.highlight td {
	padding: 5px 5px;
	line-height: 1;
}
.app-nota {
	line-height: 1;
	font-size: 12px;
}
.chart-container {
	padding: 0;
	border: 0;
	border-radius: 0;
	margin-top: 0;
}
.chart-container svg {
	display: block;
	margin: 0 auto;
}
.legend-item {
	flex: 1 1 auto;
}
.legend-color {
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
	color-adjust: exact;
}
.footer-stampa {
	display: flex;
	position: absolute;
	bottom: -1.2cm;
	left: 0;
	right: 0;
	z-index: 9999;
	border-top: 1px solid #040C6B;
}
.footer-stampa .app-name {
	color: #51636d;
	font-size: 18px;
}
.footer-stampa .app-name strong {
	color: #040C6B;
}
.footer-stampa .app-pages {
	margin-left: auto;
}
}
