html {
  position: relative;
  min-height: 100%;
}


.loginBox {
  margin-top: 30%;
}

body {
  background-color: #ddd;
  margin-bottom: 25px;
}
/*
#fussbereich {
    position:absolute;
    bottom: 0;
    width: 100%;
    background-color: silver;
        height: 2em;
}
*/

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 25px;
  background-color: #f5f5f5;
}


#header h1 {
  margin: 0;
  padding: 0;
}

#header h1 a {
  text-shadow: 1px 1px 0px #EEE;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#999));
  background-color:#ccc;
  border-bottom: 1px solid #666;
  color: #222;
  display: block;
  font-size: 20px;
  font-weight: bold;
  padding: 10px 0;
  text-align: center;
  text-decoration: none;
}

#menu ul {
  list-style: none;
  margin: 10px;
  padding: 0;
}

#menu ul li a{
  background-color:#FFF;
  border: 1px solid #999;
  color: #222;
  display: block;
  font-size: 17px;
  font-weight: bold;
  margin-bottom: -1px;
  padding: 12px 10px;
  text-decoration: none;
}
#menu ul li:first-child a {
  -webkit-border-top-left-radius: 6px;
  -webkit-border-top-right-radius: 6px;
}

#menu ul li:last-child a {
  -webkit-border-bottom-left-radius: 6px;
  -webkit-border-bottom-right-radius: 6px;
}

#content, #sidebar {
  padding: 12px;
}


.menu {
z-index:3;
float: right;
list-style-type: none;
}

.menu li {
float: left;
margin-right: 10px;
}

.menu #aktiv {
border-bottom: 2px solid rgb(0,100,0);
}

#passiv:hover {
border-bottom: 2px solid rgb(0,100,0);
}

.menu li a {
text-decoration: none;
color: black;
font-weight: bold;
font-family: arial;
}

.menu-bottom {
display: none;
}

@media screen and (max-width: 520px){
.menu {
display: none;
}

.menu-bottom {
float: right;
display: block;
background: white;
border-radius: 5px;
height: 30px;
width: 40px;
margin-right: 10px;
margin-top: 10px;
}

  .menu-bottom_b {
float: right;
display: none;
background: white;
border-radius: 5px;
height: 30px;
width: 40px;
margin-right: 10px;
margin-top: 10px;
}

.menu-bottoma {
background: rgb(0,0,0);
height: 20px;
width: 24px;
margin-top: 5px;
margin-left: 8px;
float: left;
}

.menu-bottomb {
background: rgb(255,255,255);
height: 4px;
width: 100%;
margin-top: 4px;
float: left;
}

.menu-bottomc {
background: rgb(255,255,255);
height: 4px;
width: 100%;
margin-top: 4px;
float: left;
}

.menu-bottom:hover {
float: right;
display: block;
background: black;
border-radius: 5px;
height: 30px;
width: 40px;
margin-right: 10px;
margin-top: 10px;
}
  .menu-bottom:hover .menu-bottoma {
background: rgb(255,255,255);
height: 20px;
width: 24px;
margin-top: 5px;
margin-left: 8px;
float: left;
}

.menu-bottom:hover .menu-bottomb {
background: rgb(0,0,0);
height: 4px;
width: 100%;
margin-top: 4px;
float: left;
}

.menu-bottom:hover .menu-bottomc {
background: rgb(0,0,0);
height: 4px;
width: 100%;
margin-top: 4px;
float: left;
}

.header {
width: 100%;
height: 50px;
background: rgb(230,230,230);
}

#menu-open:target .menu{
display: block;
float: none;
}

#menu-open:target .menu-bottom_b{
display: block;
}

#menu-open:target .menu-bottom{
display: none;
}


#menu-open:target .menu-bottom_b:hover .menu-bottoma {
background: rgb(255,255,255);
height: 20px;
width: 24px;
margin-top: 5px;
margin-left: 8px;
float: left;
}
  
#menu-open:target .menu-bottom_b:hover .menu-bottomb {
background: rgb(0,0,0);
height: 4px;
width: 100%;
margin-top: 4px;
float: left;
}

#menu-open:target .menu-bottom_b:hover .menu-bottomc {
background: rgb(0,0,0);
height: 4px;
width: 100%;
margin-top: 4px;
float: left;
}

#menu-open:target .menu-bottom_b:hover {
float: right;
display: block;
background: black;
border-radius: 5px;
height: 30px;
width: 40px;
margin-right: 10px;
margin-top: 10px;
}

.menu {
position: absolute;
left: 0px;
background: rgb(250,250,250);
top: 50px;
margin-top: 0px;
width: 100%;
box-sizing: border-box;
text-align: center;
}

.menu li {
float: none;
margin-left: -25px;
margin-top: 10px;
margin-bottom: 10px;
}

.menu li a {
font-weight: normal;
}


}
  