@font-face {
	font-family: "Source Sans";
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	src: url("sourcesans-regular.woff") format("woff");
}

@font-face {
	font-family: "Source Sans";
	font-weight: normal;
	font-style: italic;
	font-variant: normal;
	src: url("sourcesans-italic.woff") format("woff");
}

@font-face {
	font-family: "Source Sans";
	font-weight: bold;
	font-style: normal;
	font-variant: normal;
	src: url("sourcesans-bold.woff") format("woff");
}

body {
    margin: 0;
    width: 100%;
    height: 100%;
}

main {
    display: grid;
    grid-template-rows: 30px auto;
    grid-template-columns: 100%;
    margin: 0;
    width: 100%;
    height: 100%;
}

nav {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 1;
    grid-column-end: 1;
}

nav p {
    margin: 5px;
}

article {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 1;
    margin: 18px;
}

article.karte {
   margin: 0;
}

a {
	color: rgb(75, 155, 65);
	text-decoration: none;
}

h1, h2, h3, p, ul, ol, li, table, td, th, label, input, textarea, div.eingabe, select, option, button, legend, span, figcaption, fieldset > div {
	font: normal normal 15px/18px "Source Sans", sans-serif;
	text-align: left;
	vertical-align: top;
}

h1, h2, h3, p, ul, ol, li, table {
	margin: 0 0 18px 0;
}

table {
	border-collapse: collapse;
	table-layout: fixed;
	width: 100%;
	margin: 0 0 18px 0;
}

table th {
	font-weight: bold;
	text-overflow: ellipsis;
	overflow: hidden;
}

table th a {
	xxcolor: rgb(255, 255, 255);
}

table tr:nth-child(odd) td, table tr:nth-child(odd) th {
    background: rgba(75, 155, 65, 0.1);
}

table tr:nth-child(odd) td, table tr:nth-child(odd) th {
    background: rgba(75, 155, 65, 0.1);
}

table tr + tr td, table tr + tr th {
    border-top: 1px solid rgb(75, 155, 65);
}

table thead tr:nth-child(odd) th {
	background: rgb(75, 155, 65);
	color: rgb(255, 255, 255);
}

ul.nav {
	list-style-type: none;
	display: flex;
	padding-left: 0;
}

ul.nav li + li {
	margin-left: 10px;
}

div.karte, div.karte > div {
    width: 100%;
    height: 100%;
}

aside {
    display: none;
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 1;
    background: rgb(255, 255, 255);
    z-index: 4;
}

aside form {
    margin: 10px;
}

div.plus_minus {
    display: flex;
    margin: 0 0 10px 0;
}

div.plus_minus input {
    width: 50px;
    margin: 0;
}

div.plus_minus input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

div.plus_minus > div {
    width: 30px;
    background: rgba(75, 155, 65, 0.5);
    margn: 0 0 10px 0;
    display: grid;
	align-items: center;
	text-align: center;
}

fieldset {
    border: 1px solid rgb(75, 155, 65);
    margin-bottom: 10px;
}

fieldset legend {
    color: rgb(75, 155, 65);
}

input, textarea {
    display: block;
    border: 1px solid rgb(75, 155, 65);
    padding: 5px;
    margin: 0 0 10px 0;
}

textarea {
   width: 100%;
    max-width: 300px;
}

label {
    display: block;
}

fieldset > div div {
    display: flex;
}

fieldset > div div label {
    display: flex;
}

fieldset > div div input {
    display: none;
}

fieldset > div div label input + span {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    opacity: 0.5;
    margin: 5px 10px 10px 0;
}

fieldset > div div label input + span.rot {
    background: red;
}

fieldset > div div label input + span.gelb {
    background: yellow;
}

fieldset > div div label input + span.gruen {
    background: green;
}

fieldset > div div label input:checked + span {
    opacity: 1;
    outline: 2px solid black;
    outline-offset: 2px;
}

button {
    display: block;
    background: rgb(75, 155, 65);
    border: none;
    color: rgb(255, 255, 255);
    padding: 5px;
    margin: 10px 0 10px 0;
}

#kamera_xxx {
    display: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgb(0, 0, 0);
	z-index: 10;
}

div.kamera {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgb(0, 0, 0);
	z-index: 10;
}

div.kamera video, div.kamera canvas, #kamera_xxx img {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

div.kamera canvas, #kamera_xxx img {
	object-fit: contain;
}

div.kamera button.ausloeser {
	position: absolute;
	left: 50%;
	bottom: 10px;
	margin-left: -50px;
	width: 100px;
	height: 100px;
	border-radius: 100%;
	background: rgba(255, 255, 255, 0.25);
	text-align: center;
}

p.infofenster img {
    display: block;
    margin: 0 0 10px 0;
}