#header, #navigation, #headertitel, #footer, #content, #infobox {
	font-family: 'MS Sans Serif', 'Arial', sans-serif;
	font-size: 1.25vw;
}

#container {
	height: 100%;
	overflow: hidden;
	overflow-x: hidden;
	overflow-y: hidden;
}

#header {
	display:block;
	height: 5vh;
	width:100%;
	background-color:#C00017;
	background: rgb(192,0,23);
	background: linear-gradient(180deg, rgba(192,0,23,1) 0%, rgba(192,0,23,1) 75%, rgba(158,1,20,1) 100%);
	position:absolute;
	top:0;
	left:0;
	z-index: 210;
	color: #ffffff;
	user-select: none;
}

.headertitel {
	font-size: 3.5vh;
	font-family: 'Myriad Pro', 'Arial', sans-serif;
	font-weight:bold;
	float:left;
	margin-top: 0.3vh;
	margin-left: 5vh;
	text-shadow: 3px 3px 4px #00000033;
}



#header #userbox {
	display: inline-flex;
	float: right;
	font-size: 2.5vh;
	top: 0.8vh;
	position: absolute;
	right: 10px;
	height: 100%;
}

#userboxtext {
	align-content: center;
	position: relative;
	height: 100%;
	margin-top: -0.8vh;
	display: block;
}

#userboximg {
	height: 2.5vh;
	float: left;
	margin-right: 10px;
	background-color: #333;
	padding: 0.5vh;
	border-radius: 2.5vh;
	box-shadow: inset 2px 2px 3px 0px #00000033;
}

#userboxlogout {
	height: 2.5vh;
	color: white;
	font-size: 2.5vh;
	float: right;
	margin-left: 30px;
	padding-left: 0.3em;
	padding-right: 0.3em;
	padding-top: 0.1em;
	padding-bottom: 0.1em;
	background-color: #ff000099;
	border-radius: 2vh;
	box-shadow: 2px 2px 3px 0px #000000aa;
	user-select: none;
	align-content: center;
	display: block;
}

#userboxlogout img {
	height: 2.5vh;
	margin-right: 5px;

	display: inline-flex;
	float: left;
}

#userboxlogout:hover {
	background-color: #ff0f0fff;
	cursor: pointer;
}

#userboxlogout:active {
	background-color: #00000033;
	box-shadow: inset 2px 2px 3px 0px #000000cc;
}



#infobox {
	color: white;
	position:absolute;
	right: 0;
	top: 0.75vw;
	margin-top: 0;
	padding-bottom: 1vw;
	margin-top: -0.4vw;
	vertical-align: center;
	z-index: 990;
	font-size: 1.25vw;
	width:  40vw;
}

.infozeit {
	color: white;
	position:absolute;
	right: 42.5vw;
	top: 0.75vw;
	margin-top: 0;
	padding-bottom: 1vw;
	margin-top: -0.4vw;
	vertical-align: center;
	z-index: 990;
	font-size: 1.25vw;
	width:  15vw;
}

.infotable {
	padding-top: 0.4vw;
	width: 40vw;
}

.infotable td{
	padding-left: 0.25vw;
	padding-right: 0.25vw;
}

#navigation {
	display: flex;
	height: 5vh;
	background-color:#505050;
	position: absolute;
	padding-left: 10px;
	left:0px;
	right:0px;
	top: 5vh;
	z-index: 2000;
	color: #ffffff;
	user-select: none;
	border-bottom: solid 1px black;
}

#navigation a {
	position: relative;
	font-size: 2vh;
	text-decoration: none;
	bottom: 0px;
	/*background-color:#b9b9b9;*/
	background-color:#aaaaaa;
	color: #000000;
	display: inline-flex;
	height: 3vh;
	width: auto;
	margin-left: 0px;
	margin-top: 0.9vh;
	margin-right: 0px;
	text-align: center;
	vertical-align: center;
	padding-top: 1vh;
	padding-bottom: 0px;
	padding-left: 1vw;
	padding-right: 1vw;
	border: solid 1px gray;
	/*-webkit-box-shadow: inset -1px -13px 15px -15px #000000; 
	box-shadow: inset -1px -13px 15px -15px #000000;*/
	overflow: hidden;
	z-index: 10;
	border-bottom: solid 1px #000000;
	box-shadow: inset 0px -4px 2.5px 0px #00000033;
}

#navigation a:hover {
	background-color:#fff;
	/*-webkit-box-shadow: -1px 1px 15px -2px #000000 !important;
	box-shadow: -1px 1px 15px -2px #000000 !important;*/
}

#navigation a:active {
	background-color:#606060;
}

#navigation a.active {
	background-color: #f5f5f5;
	border-bottom: solid 3px #f5f5f5;
	height: 2.8vh;
	z-index:11;
	box-shadow: 5px -5px 2.5px 0px #00000033;
}

#footer {
	font-family: "Arial", sans-serif;
	height: 23px;
	background-color: #404040;
	position: fixed;
	bottom: 0px;
	left: 334px;
	right: 0vw;
	text-align: right;
	color: #999999;
	font-size: 13pt;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-right: 10px;
	display: block;
	overflow: hidden;
	border-top: solid 2px #777;
	border-left: solid 2px #777;
	user-select: none;
}

#footer #status {
	position: fixed;
	height: 23px;
	padding-left: 10px;
	color: white;
	background-color: #c00017;
	bottom: 0px;
	left: 0px;
	width: 322px;
	text-align: left;
	border-right: solid 2px #3e0007;
	border-top: solid 2px #df6674;
	display: inline;
}

#footer #status #statuspfeil {
	font-family: "Consolas";
	position: relative;
	left: 0px;
	width: 19px;
	float: left;
	display: inline;
	margin-right: 2px;
}

#footer #status #statuskringel {
	display: inline;
	float: left;
	position: relative;
	height: 19px;
	width: 19px;
	top: 2px;
	margin-right: 6px;
	margin-left: -4px;
	
}

#footer #zeit
{
	float: left;
	padding-left: 3px;
	padding-top: 3px;
	color: white;
	font-size: 12pt;
}

#content {
	width: 100vw;
	background-color: #f0f0f0;
	left: 0vw;
	top: 10vh;
	display: block;
	padding-top: 1vw;
	position:absolute;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: auto;
	bottom: 25px;
	overflow-x:hidden;
	z-index: 300;
	border-top: solid 1px black;
}

select, option, input {
	font-size: 1.25vw;
	background-color: #f9f9f9;
	border-radius: 0.4vw;
}

#content h1 {
	font-size: 2.5vw;
	font-weight: bold;
}

.headerlogo {
	position: absolute;
	display: block;
	left: 0.5vh;
	top: 0.5vh;
	height: 4vh;
	width: 4vh;
	filter: drop-shadow(2px 2px 4px #00000044)
}


#loadimg {
    position:absolute;
    width:128px; /*image width */
    height:128px; /*image height */
    left:50%; 
    top:50%;
    margin-left:-64px; /*image width/2 */
    margin-top:-64px; /*image height/2 */
}

#stattab {
	background-color: white;
	font-size: 1.25vw;
	margin-top: 1vw;
  	border-collapse: collapse;
  	border-style: hidden;
	width: 75vw;
}

#stattab tr:hover {
	background-color: #a0a0a0;
	

}

#stattab th {
	font-size: 1.5vw;
	border-bottom: 4px solid black;
	padding-right: 0.5vw;
	padding-left: 0.5vw;
        border-left: 2.5px solid #444444;
}

#stattab td {
	text-align: center;
	width: auto;
	padding-right: 0.5vw;
	padding-left: 0.5vw;
	border-left: 2.5px solid #444444;
}

#ug {
	background-color: #cccccc;
}
 
.er {
	background-color: #ff0000;
	opacity: 0.4;
}

#stattab tr #tsaldo {
	text-align: center;
	padding-left: 0px;
	padding-right: 0px;
	width: 8vw;
}


#flag {
	height: 1vw;
	width: 1vw;
	margin-top: auto;
	margin-bottom: auto;
}

#nobg {
	background-color: #e0e0e0;
	width: 4vw !important;
	border-left: none !important;
}

#stattab .aktion {
	opacity: 0;
}

#stattab tr:hover .aktion {
	opacity: 1;
}

#noborder {
	border-top: none !important;
}

#seitenspalter {
	border: none;
}

#seitenspalter td {
	width: 40.75vw;
}

#buchungsinfo {
	background-color: #dadada;
	border-left: 2px solid #999999;
	border-right: 2px solid #999999;
	border-top: 2px solid #999999;
	border-bottom: 2px solid #999999;
	border-radius: 5px;
	margin-left: auto;
	width: auto;
	margin-right: auto;
}

#buchungsinfo td {
	width: auto !important;
}

.header-buttons {
	display: flex;
	justify-content: flex-end;
}
.header-buttons button {
	margin-left: 10px;
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
	size-adjust: auto;
}
.header-buttons button.save-btn {
	background-color: #00000000;
	border: #00000000;
	font-size: large;
	color: white;
}
.header-buttons button.discard-btn {
	background-color: #00000000;
	color: white;
	font-size: large;
	border: #00000000;
}

.headerinfo {
	background-color: #c00017;
	align-content: center;
	vertical-align: center;
  border: solid 10px white;
	box-shadow: 10px 10px 10px 0px #00000055;
	text-decoration: none;
	color: white;
	text-align: center;
	display: flex;
	align-items: center;
	position: fixed;
	width: 15vw;
	height: 11vh;
	left: 42.5vw;
	top: 5px;
	bottom: 5px;
	z-index: 1000000;
	border-radius: 15px 15px 15px 0px;
	

	& a {
		text-decoration: none;
		color: white;	
		font-family: "Myriad Pro", "Arial", sans-serif;
		font-weight: bold;
		font-size: 20pt;
		vertical-align: center;
		align-items: center;
		align-content: center;
		text-align: center;
		display: flex;
		text-decoration: underline;
    height: 50%;
		width: fit-content;
		margin-left: auto;
		margin-right: auto;
	   & img {
		  height: 100%;
			 align-content: center;
			 align-self: center;
			 margin-right: 0.3em;
	   }
	}
}
