h1.headline {
	font-size: 22px;
	font-family: arial;
	color: rgb(255, 255, 255);
	margin: 15px;
}

body {
	background-color: rgb(255, 255, 255);
	width: 100%;
	height: 100%;
	margin: 0;
}

.Date {
	max-width: auto;
	color: white;
	font-size: 18px;
	font-weight: bold;
	display: none;
	position: absolute;
	margin-top: 10px;
	right: 12px;
}

.chartTitle {
	color: rgb(0, 120, 202);
	font-weight: bold;
	font-size: 16px;
	font-family: arial;
	margin-bottom: 0px;
	padding-left: 4px;
	display: inline-block;
}

.statusTitle {
	color: rgb(0, 120, 202);
	font-weight: bold;
	font-size: 16px;
	font-family: arial;
	margin-bottom: 0px;
	display: inline-block;
	right: 35px;
	position: absolute;
}

.cardMenu {
	border: 3px solid rgb(211, 211, 211);
	border-radius: 8px;
	display: none;
	flex-flow: column;
	position: absolute;
	background-color: whitesmoke;
	z-index: 200;
	right: 42px;
	top: -15px;
	padding: 0.5rem;
}

.cardMenuItem {
	display: flex;
	flex-flow: column;
	padding-top: 5px;
	margin-bottom: 6px;
	color: rgb(0, 50, 90);
}

.cardMenu .cardMenuItem:nth-child(2) {
	margin-bottom: 0px;
}

.cardMenuItem span {
	font-size: medium;
	display: block;
}

.cardMenuButtons {
	display: inline-flex;
	width: 100%;
	flex-flow: row;
	gap: 0.3rem;
	justify-content: space-between;
}

.cardMenuButtons button {
	flex: 1 1 0px;
	padding: 0.2rem;
}

.cardMenuButtons button:hover, .cardMenuButtons button:link, .cardMenuButtons button:active {
	background-color: orange;
	color: white;
}



.ui-button.configurationButton {
	position: absolute;
	right: 0px;
	background-color: white;
	border: 0px;
	z-index: 1;
}

.ui-button.configurationButton:hover {
	background-color: #004080;
}

.led {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: inline-block;
	position: absolute;
	right: 0px;
}

.led-green {
	background-color: green;
	box-shadow: 0px 0px 10px green;
}

.led-yellow {
	background-color: yellow;
	box-shadow: 0px 0px 10px orange;
}

.led-red {
	background-color: red;
	box-shadow: 0px 0px 10px red;
}

.led-gray {
	background-color: rgb(220,220,220);
	box-shadow: 0px 0px 10px rgb(220,220,220);
}

body .pi {
	color: #C0C0C0;
	padding: 2px;
	display: inline-block;
}

.imageContainer {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
}

.image {
	width: 100%;
	flex-grow: 1;
	flex-shrink: 1;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.header {
	background-color: rgb(0, 50, 90);
	position: relative;
}

.title {
	position: relative;
}

.footerContent {
	max-width: auto;
	margin: 10px auto;
	gap: 3rem;
	color: white;
	font-style: italic;
}

.footer {
	background-color: rgb(0, 50, 90);
	height: 75px;
	z-index: 100;
	position: fixed;
	width: 100%;
	bottom: 0px;
}

.footer a, .footer a:active, .footer a:link {
	color: white;
	text-decoration: none;
}

.footer a:hover {
	color: #80ffff;
}

.errorDialog {
	border: 3px solid #ff0000;
	border-radius: 7px;
	max-width: 100%;
	max-height: 100%;
	height: 70px;
	width: 100%;
	position: fixed;
	display: none;
	background-color: #ff8080;
	color: red;
	z-index: 10;
	transition: transform 1s;
	transition-delay: 1s;
}

.errorDialogText {
	padding-top: 18px;
	padding-bottom: 18px;
	margin-left: 5px;
	color: black;
	font-size: 16px;
	font-family: arial;
	font-weight: bold;
}

.ui-chart {
	display: flex;
}

.ui-chart canvas {
	display: flex;
	height: 300px;
}

.cards {
	width: 100%;
	max-width: auto;
	max-height: auto;
	margin: 15px auto;
	display: grid;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: stretch;
	gap: 1rem;
	padding: 13px;
	background-color: rgb(255, 255, 255);
	border: 0px solid;
}

.card {
	border: 3px solid rgb(211, 211, 211);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	margin-bottom: 0;
	width: 100%;
	min-height: 400px !important;
}

.cardContent {
	flex-grow: 1;
	flex-flow: column;
	overflow: hidden;
	height: 100%;
}

@media ( max-width : 799px) {
	.cards {
		grid-template-columns: repeat(1, minmax(0, 1fr));
		grid-template-rows: repeat(6, minmax(0, 1fr));
	}
	.card {
		max-height: 35vh;
	}
	.statusTitle {
		display: none;
	}
	.errorDialogText {
		padding-top: 10px;
		padding-bottom: 18px;
	}
}

@media ( min-width : 800px) {
	.cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: repeat(3, minmax(0, 1fr));
	}
	.statusTitle {
		display: inline-block;
	}
	.card {
		max-height: 35vh;
	}
}

@media ( min-width : 1200px) {
	.cards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-template-rows: repeat(2, minmax(0, 1fr));
		gap: 1rem;
		padding-bottom: 10px;
	}
	.card {
		max-height: calc(50vh - 105.8px);
		min-height: 100px !important;
	}
	.Date {
		display: inline-block;
	}
}

.layout-main {
	padding-bottom: 5rem;	
}
