body{
			/*min-width: 600px;*/
		margin: 0;
		}
		#title{
		    white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: calc(100vw - 6em);
		}
		audio{
			width: 30em;
			max-width: 98vw;
		}
			#header{
			margin: 0;
			padding: .5em;
			background-color: #ffcc00;
			font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
			font-size: 0.75em;
			font-weight: lighter;
			box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
			display: flex;
			align-items: center;
			justify-content: space-between;
			height: 4em;
			z-index: 2;
			}
			
			
			#footer{
			bottom: 0;
			position:fixed;
			margin: 0;
			padding-left: 1em;
			padding-right: 1em;
			    background-color: #ffcc00;
			font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
			font-size: 0.75em;
			font-weight: lighter;
			box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 
6px 20px 0 rgba(0, 0, 0, 0.19);
			width: 100%;
			display: flex;
			flex-wrap: nowrap;
			}
			#footer > div
			{
				width: 100%;
			}
			#page{
			margin-left: 1em;
			height: calc(100vh - 4em);
			overflow: auto;
			}
			#message{
				background-color: #ffcc00;
				border-radius: 1em;
				text-align: center;
				position: fixed;
				left: calc(50% - 8em);
				width: 16em;
				padding: 0.2em;
				-webkit-transition: bottom 1s; /* Safari 
*/
				transition: bottom 1s;
				transition-timing-function: ease-in-out
			}
			#message p{
				margin: 0;
			}
			.MessageHidden{
				bottom: -4em;
			}
			.MessageActive{
				bottom: 4em;
			}
			.Button{
	background-color:#ffcc00;
	cursor: pointer;
	display: inline-block;/*todo bei fehler davor: inline*/
	padding: .5em;
	border-radius: .25em;
	font-family: sans-serif;      /* Opera/IE 8+ */
}
.LightText{
	color: #515151;
}
.Button:hover{
	/*background-color: #deb200;*/
	filter: brightness(0.75);
	/*border: 1px solid gray;*/
}
.GreenBackground{
	 background-color: #68ff68 !important;
}
.RedBackground{
	 background-color: #ea3636 !important;
	 color: white;
}
.Flex{
	display: flex;
}
.FlexWrap{
	display: flex;
	flex-wrap: wrap;
}
.FlexSB{
	display: flex; 
	justify-content: space-between;
}
.FlexRight{
	display: flex;
	width: 100%;
	justify-content: flex-end;
}
input{
	box-sizing: border-box;
}
.NavIcon{
  width: 2.5em;
  height: 2.5em;
  position: relative;
	float: left;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

 .NavIcon span{
  display: block;
  position: absolute;
  height: 0.5em;
  width: 100%;
  background: black;
  //background: #d3531a;
  border-radius: 8px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}


.NavIcon span:nth-child(1) {
  top: 0em;
}

.NavIcon span:nth-child(2),.NavIcon span:nth-child(3) {
  top: 0.8em;
}

.NavIcon span:nth-child(4) {
  top: 1.6em;
}

.NavIcon.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.NavIcon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.NavIcon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.NavIcon.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}
#menuButton{
	display: block;
	position: relative;
	left: 1em;
}
#menu{
	background-color: #e6e6e6;
	padding: 1em;
	position: absolute;
	transition: left .5s ease-out;
	left: -40em;
	width: 20em;
	height: calc(100vh - 6em);
	overflow-y: auto;
	z-index:50;
	
			box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.MenuWrapper{
	display: flex;
	flex-direction: column;
	
}
.MenuWrapper a{
	text-decoration: none;
	display: flex;
	align-items: center;
	margin-bottom: 1em;
	background-color: white;
	border-radius: .2em;
	padding: .5em;
	color: black;
}
.MenuWrapper a img{
	max-height: 1.5em;
	margin-right: .5em
}
.MenuWrapper a:hover{
	background-color: #ffcc00;
}
.CircleFoto{
	width: 5em;
	height: 5em;
	background-size: contain;
	border-radius: 2.5em;
	flex-shrink: 0;
}

 /* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  font-size: 110%;
  width: 2.5em;
  height: 1em;/*
  width: 60px;
  height: 34px;*/
  flex-shrink: 0;
}
input:checked + .slider:before {
  -webkit-transform: translateX(1.5em);
  -ms-transform: translateX(1.5em);
  transform: translateX(1.5em);
}
/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: .75em;
  width: .75em;
  left: .125em;
  bottom: .125em;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}



/* Rounded sliders */
.slider.round {
  border-radius: .5em;
}

.slider.round:before {
  border-radius: 50%;
}
@media only screen and (max-width: 600px) {
	   #username{
		   display: none;
	   
	   }
	}

#popup{
	display: none;
	z-index: 10;
	position: absolute;
    width: 100%;
    height: 100%;
	background-color: rgba(0,0,0,0.6);
	align-items: center;
	justify-content: center;
	color: white;
	top: 0;
}
#popupContentWrapper{
	background-color: white;
	color: black;
	padding: 2em;
	border-radius: 1em;
	max-height: 80vh;
	overflow-y: auto;
	width: 50vw;
	max-width: 1000px;
	min-width: 300px;
}
#popupCloseButton{
	background-color:gray;
	cursor: pointer;
	color: white;
	border-radius: 1em;
	width: 2em;
	display: flex;
	justify-content: center;
	align-items: center;
	float: right;
	height: 2em;
	font-family: Arial, Helvetica, sans-serif;
}

#popupCloseButton:hover{
	background-color:lightgray;


}
#popupContentIframe{
	border: none;
	display: none;
}
@media (min-width: 480px) {
    #popupContentWrapper{
    	padding: 2em;
    }
}
/*


*/
@media (max-width: 479px) {
    #popupContentWrapper{
    	padding: 0em;
    }
    #popupCloseButton{
        z-index: 1000;
        position: absolute;
        right: 1em;
        top: 1em;
        font-size: 120%;
    }
}