:root {
	--color-button: #8e1b48 ;
	--color-button-text: white;
	--color-button-current: #ea5153;
	--color-button-current-text: white;
	--color-button-hover: white;
	--color-button-hover-text: black;	
}

body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #FFF
}

h1, h2 {
	color: #000;
}

#mainwrap {
	width: 100%;
	position: relative;
}
#mainmenu {
	width: 15em;
	vertical-align: top;
	text-align: center;
	float: left;
}
#content {
	margin-left: 17em;
}
#header {
	width: 100%;
}
#footer {
	width: 100%;
	text-align: center;
	margin-top: 1em;
}

.tblwrapper {
	display: grid;
	width: 100%;
}
.tblwrapper > span {	
	padding: 0.4em;
	#border: 1px solid black;
}
.tblwrapper > span.formheader, .tblwrapper > span.firstrow {
	font-weight: bold;
	font-style: italic;
}
.tbl-2col {
	grid-template-columns: 15em auto;
}
.tbl-3col {
	grid-template-columns: 1fr 1fr 1fr;
}
.tbl-4col {
	grid-template-columns: 1fr 2fr 2fr 2fr;
}
.tbl-6col {
	grid-template-columns: 3fr 1fr 3fr 1fr 1fr 3fr;
}
.tbl-6col > span {
	padding: 0.1em;
}
.tbl-settings {
	grid-template-columns: 1fr 1fr;
	border-top: 1px dotted black;
}
.tbl-dateproperties {
	grid-template-columns: 5fr 2fr;

}
.overview-registered {
	grid-template-columns: 1fr 2fr 2fr 2fr;
}
.overview-empty {
	grid-template-columns: 1fr 4fr 2fr;
}
.overview-comment {
	grid-template-columns: 1fr 4fr 2fr;
}
div.slotrow {
	border-top: 1px dotted black;
}
a.mainmenu {
	font-size: 14px;
	color: var(--color-button-text);
	background-color: var(--color-button);
	display: inline-block;
	height: 20px;
	line-height: 20px;
	width: 15em;
	border: thin #000000 solid;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	font-weight: bold;
	border-radius: 10px;
}

a.mainmenu:hover {
	background-color: var(--color-button-hover);
	color: var(--color-button-hover-text);
}

a.mainmenucurrent {
	color: var(--color-button-current-text);
	background-color: var(--color-button-current);
}

a.smallbutton, input[type=button], input[type=submit], input[type=reset] {
	font-size: 10px;
	color: var(--color-button-text);
	background-color: var(--color-button);
	display: inline-block;
	height: 20px;
	width: 150px;
	border: thin #000000 solid;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	font-weight: bold;
	border-radius: 10px;
}

a.smallbutton {
	line-height: 20px;
	margin: 0.2em;
}
 a.smallbutton:hover, input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
	background-color: var(--color-button-hover);
	color: var(--color-button-hover-text);
}

select, textarea, input[type=text], input[type=password]{
	border: thin #000000 solid;
	border-radius: 5px;
}

a {
	color: #000;
}

a:hover {
	color: #AAA;
}

.datebox {
	padding: 10px;
	font-size: 1em;
	color: #000000;
	display: block;
	width: 70%;
	background-color: #DDD;
	border: thin #000000 solid;
	margin-bottom: 1em;
}

#maincontent {
	padding-left: 25px;
}

.dateheader {
	font-weight: bold;
}

.dialogbox {
	padding: 10px;
	font-size: 14px;
	color: #000000;
	display: inline-block;
	width: 50%;
	background-color: #FF9933;
	border: thin #000000 solid;
	border-radius: 10px;
	margin-bottom: 1em;
}

#versioninfo {
	font-size: 10px;
	color: #a9a9a9;
	text-align: center
}

.flag {
	border: 2px solid white;
	height: 1em;
	width: auto;
	margin-left: 5px;
	vertical-align: middle;
}

.flaghighlight {
	border: 2px solid black;
	height: 1em;
	width: auto;
	margin-left: 5px;
	vertical-align: middle;
}

.property {
		font-size: smaller;
}

@media only screen and (max-width: 900px) {
	#mainwrap {
		width: 95%;
		margin: 0 auto;
	}
	#mainmenu {
		width: 100%;
	}
	#content {
		width: 100%;
		display: inline-block;
		margin-left: 0;
	}
	#header {
		width: 100%;
		display: inline-block;
	}
	#footer {
		width: 100%;
		display: inline-block;
		text-align: center;
	}
	#mainmenu p {
		margin-top: -0.8em;
	}
	h1 {
		font-size: 1.4em;
		margin-bottom: 1em;
		margin-top: 1.2em;
	}
	h2 {
		font-size: 1em;
	}
	.tblwrapper {
		display: block;
		width: 100%
	}
	.tblwrapper > span.formheader, .tblwrapper > span.firstrow {	
		margin-top: 0.5em
	}
	.tblwrapper > span {
		display: block;		
		width: 100%;
		padding: 0.1em;
	}
	.dialogbox, .datebox {
		width: 90%;
		margin: 0 auto;
	}
}