/*Spausdinimui skirtas CSS*/
/* Hide the header, vertical divider, and left-side menu */
.header,
.vertikali_linija,
.col-2.paprastas_meniu {
	display: none !important;
}

/* Expand the main content to take up 100% of the printed page */
.col-10 {
	width: 100% !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Reset the row container to avoid float issues in print */
.row {
	display: block !important;
	width: 100% !important;
}

/* General typography optimization for printing */
body {
	background: #ffffff !important;
	color: #000000 !important;
	font-size: 10pt; /* Points are the standard unit for print */
}

/* Remove link colors so they print clearly in black */
a {
	color: #000000 !important;
	text-decoration: none !important;
}

/* --- Table Print Optimizations --- */
table {
	width: 100% !important;
	page-break-inside: auto; /* Allows the table to span multiple pages */
}

tr {
	page-break-inside: avoid; /* Prevents a single row from splitting across two pages */
	page-break-after: auto;
}

thead {
	display: table-header-group; /* Ensures table column headers repeat at the top of a new printed page */
}

th, td {
	display: table-cell !important; /* Forces headers and standard cells to remain in a row */
}

/* Force the browser to print your specific background colors (like the dark blue and yellow headers) */
* {
	-webkit-print-color-adjust: exact !important;
	print-color-adjust: exact !important;
}

/* Footer layout */
.apatinis_blokas {
	display: block !important;
	margin-top: 30px !important;
	padding: 10px 0 !important;
	page-break-inside: avoid; /* Keeps the footer block intact */
}