html, body {
	/* Reset the document's margin values */
	margin: 0;
	/* Reset the document's padding values */
	padding: 0;
	/* Use the platform's native font as the default */
	font-family: "Verdana", sans-serif;
	/* Define a reasonable base font size */
	font-size: 12pt;

	/* Use a non-white background color to make the content areas stick out from the full page box */
	background-color:  #3B3B3B; 
	color: #FAFAFA;
}

/* Styles that are shared by all elements */
* {
	/* Include the content box as well as padding and border for precise definitions */
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	
	margin: 0;
	padding: 0;
}

/* For top-level headings only */
h1 {
	/* Force page breaks after */
	page-break-before: always;
}
/* For all headings */
h1, h2, h3, h4, h5, h6 {
	/* Avoid page breaks immediately */
	page-break-after: avoid;
}
/* For all paragraph tags */
p {
	/* Reset the margin so that the text starts and ends at the expected marks */
	margin: 0;
}
/* For adjacent paragraph tags */
p + p {
	/* Restore the spacing between the paragraphs */
	margin-top: 0.5cm;
}
/* For links in the document */
a {
	/* Prevent colorization or decoration */
	text-decoration: none;
	color: #00FF00;
}
/* For tables in the document */
table {
	/* Avoid page breaks inside */
	page-break-inside: avoid;
}

.table {
    display: table;
}

.table .title {
    display: table-caption;
    text-align: center;
    font-weight: bold;
    font-size: larger;
}

.table .header {
    display: table-row;
    font-weight: bold;
    text-align: center;
}

.table .row {
    display: table-row;
}

.table .cell {
    display: table-cell;
    border: 1px solid #ccc;
    border-width: thin;
    padding-left: 5px;
    padding-right: 5px;
}

ul { 
	list-style: none; 
	padding: 0; 
}

.row:after {
    content: "";
    display: table;
    clear: both;
}
.column { float: left; }
.w-10 { width: 10%; }
.w-15 { width: 15%; }
.w-25 { width: 25%; }
.w-50 {	width: 50%; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.p-2 { padding: 2px; }
.p-5 { padding: 5px; }
.p-10 { padding: 10px; }
.px-5 { padding-left: 5px; padding-right: 5px; }
.py-2 { padding-top: 2px; padding-bottom: 2px; }
.pb-10 { padding-bottom: 10px; }
.m-5 { margin: 5px; }
.m-10 { margin: 10px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.ml-10 { margin-left: 10px; }
.ml-20 { margin-left: 20px; }
.mr-10 { margin-right: 10px; }
.mr-20 { margin-right: 20px; }
.border { border: 1px solid #ccc; }
.border-dark { border-color: #333; }
.text-end { text-align: right; }
.spacer { margin-bottom: 20px; }
.fw-bold { font-weight: bold; }

textarea {
	background-color: #4E4E4E !important;
	color: #FAFAFA !important;
	padding: 12px 20px;
	box-sizing: border-box;
	border: 2px solid #ccc;
	resize: none;
}

@page {
	size: A4;
	margin: 6mm;
}

/* Responsive layout - when the screen is less than 1200px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 1200px) {
	.column { width: 100%; }
}

@media screen {
	.report-content { display: none; }
}
@media print {
	* {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}
	
	html, body {
		width: 210mm;
		height: 297mm;
		margin: 0;
		padding: 0;
		display: flex;
		background-color: #fff;
		-webkit-print-color-adjust: exact;
	}
	
	.container { display: none; }
	
	.report-content { 
		width: 100%;
		padding: 6mm;
		color: #000;
		font-size: 10px;
		text-wrap: nowrap;
	}
	
	.report-content img { 
		width: 100%; 
		height: 100%; 
	}
	
	.report-header {
		font-size: 14px;
		text-wrap: wrap;
	}
	
	.report-title-field {
		background-color: #808080;
		color: #fff;
		font-size: 12px;
	}
}

.button {
	background-color: #04AA6D; /* Green */
	border: none;
	color: white;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
}
.button1 {background-color: #04AA6D;} /* Green */
.button2 {background-color: #008CBA;} /* Blue */
.button3 {background-color: #f44336;} /* Red */
.button4 {background-color: #e7e7e7; color: black;} /* Gray */
.button5 {background-color: #555555;} /* Black */
.button6 {background-color: #FFA500;} /* Orange */

.button:hover {
    background-color: #ccc;
    color: #000;
}

.sidebar {
    position: fixed; /* Fixed Sidebar (stay in place on scroll) */
    z-index: 1; /* Stay on top */
    background: #2B2B2B;
    height: 100%;
    width: 190px;
    left: 0;
    top: 0;
}
.sidebar a {
    color: #FAFAFA;
}
.sidebar .menu {
	padding: 10px 5px;
}
.sidebar .menu ul li {
    margin-bottom: 5px;
}
.sidebar .menu ul li a {
    display: block;
    background-color: #3B3B3B;
    font-size: larger;
    text-align: center;
    padding: 15px 32px;
}
.sidebar .menu ul li a:hover {
    background-color: #ccc;
    color: #000;
}
.sidebar .systeminfo {
	padding: 5px;
}
.sidebar .systeminfo li {
	margin-bottom: 5px;
	display: block;
    background-color: #3B3B3B;
    font-size: 16px;
    text-align: center;
    padding: 10px 32px;
}
.sidebar .auto-updater {
	padding: 5px;
	position: absolute;
	bottom: 5px;
	left: 5px;
}
.sidebar .auto-updater p { 
	display: inline-block; 
	float: left; 
	margin-right: 10px;
	font-size: 12px;
	line-height: 19px;
}

.logo {
    background-image: url("/public/img/fls.jpg");
    background-repeat: no-repeat;
    background-size: 190px 100px;
    height: 100px;
}
.logo a {
    display: block;
    width: 190px;
    height: 110px;
}

.title {
    background: #2B2B2B;
    padding: 5px;
}

.title h1 {
	font-size: 24px;
	font-weight: normal;
}

main { 
    position: absolute;
    left: 200px;
    top: 0;
    bottom: 0;
    right: 0;
}
main .content {
    padding: 5px;
}
.calculus-status {
    padding: 15px 32px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    background-color: #E7E7E7;
}
.controls p {
    font-size: 16px;
    margin: 0;
    color: #000;
}
.results h4 {
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 2px solid #ccc;
}
.results div p {
    float: left;
    min-width: 200px;
    font-size: 18px;
}
.image {
    padding: 5px;
}
.image img {
	border: 1px solid #ccc;
    width: 100%;
    height: 100%;
}

.counter-unit p.name {
	font-size: 18px;
	font-weight: bold;
	padding: 5px;
	margin: 0;
}
.counter-unit .results {
	background-color: #2B2B2B;
	padding: 5px;
}
.counter-unit .results p {
	font-size: 14px;
	font-weight: bold;
	margin: 0;
	padding: 5px 0;
}
.input-label {
	display: inline-block;
	margin-right: 10px;
	margin-left: 10px;
        
}
.input-label_cage {
	display: inline-block;
	margin-right: 19px;        
	margin-left: 10px;
        
}
.input-container {
    display: flex;
    margin-top:20px; 
    align-items: center; 
    margin-bottom: 20px; 
}

.chart-container {
	margin: 5px;
	padding: 1px;
	background-color: rgba(255, 255, 255, 0.8);
	border: 2px solid #ccc;
}
.chart-title {
    text-align: center;
    margin-bottom: 5px;
    font-weight: bold;
}
.graph {
    margin-top:20px; 
    background-color: rgba(41, 144, 164, 0.4); 
    display: block;
}
.chart-dist {
	margin: 2px;
	padding: 2px;
	background-color: rgba(255, 255, 255, 0.8);
	border: 2px solid #ccc;
}
.chart-title-dist {
    text-align: center;
    margin-bottom: 5px;
    font-weight: bold;
}
