/*Menueleiste */

#logo {
  position: absolute;
  width: 7.5em;
  left: 0px;
  top: -10px; 
  z-index: +11;
  -webkit-transition: all .20s ease-in-out;
  transition: all .25s ease-in-out;
}

#logo:hover {
  transform: rotate(-5deg) scale(1.1);
}	


#willkommen {
 position: absolute;
 left: 8.7em; 
 top: 1em;
 z-index: +12;
 color: #F7F4E4; 
}

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  z-index: +10;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;  
 }

#cssmenu {
float: left;	
position: relative;
top: 2.5em;
left: 7.5em;
} 

.toggleMenu {
    display:  none;
}

#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

#cssmenu {
  background: #81A395;
}

#cssmenu > ul > li {
  float: left;
}

#cssmenu > ul > li > a {
  padding: 1em;
  font-size: 1.2em;
  color: #F7F4E4;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .25s ease; 
}

/* Aendere Farbe links bei hover */
#cssmenu > ul > li:hover > a {
  color: #fafafa;
}


/* verstecke Submenus als default */
#cssmenu ul .submenu {
  position: absolute;
  left: -9999px;
}


/* bei hover sind sie wieder da */
#cssmenu ul > li.hover > .submenu {
    left: auto;
}

#css ul li li.hover ul {
    left: 100%;
    top: 0;
}


#cssmenu .submenu {
  background: #F4EFDE;
  border: thin solid #333;
  box-shadow: 0.4em 0.4em 0.4em rgba(0, 0, 0, 0.4);
  width: 28em;		
  margin: 0;
  padding: 0;
  
}

#cssmenu .submenu a {
  padding: 1.0em 0em;
  width: 100%;
  display: flex;
  color: #333;
  align-content: center;
  transition: background .2s ease; 
}

#cssmenu .submenu li:first-child a {
  border-top-left-radius: 0em;
  border-top-right-radius: 0em;
} 

#cssmenu .submenu li:last-child a {
  border-bottom-left-radius: 0em;
  border-bottom-right-radius: 0em;
}  

#cssmenu .submenu img {
  width: 2.3em;
  height: 2.3em;
}

/* Submenu Icon div links */
#cssmenu .submenu div:first-child {
width: 7em;
display: flex;
justify-content: center;
}


#cssmenu .submenu img {
display: block;
margin: auto;
}

/* Submenu Text div rechts */
#cssmenu .submenu div:last-child {
 display: inline-block; 
 width: 100%; 
 text-align: left;
 font-size: 1.0em; 
 font-weight: bold; 
}

#cssmenu .submenu span {
  display: block;
  margin-top: 0.4em;
  font-size: 0.9em;
  font-weight: normal;
  color: #555;
}

#cssmenu .submenu a:hover, #cssmenu .submenu a:focus {
  background: #f6f095;
  color: #111;
}

#cssmenu .submenu a:hover span, #cssmenu .submenu a:focus span {
  color: #111;
}


@media screen and (max-width: 541px) {
#logo {
  width: 5.5em;
  left: 0px;
  top: 0px; 
} 

.toggleMenu {
  left: 5em;
 }
 
#willkommen {
 left: 7.2em;
 top: 0.5em; 
} 

}


@media screen and (max-width: 720px) {

#topcontainer   /*eigentlich css_layout  */
{
height: 5em;
} 

#containermitte   /*eigentlich css_layout  */
{
min-height: calc(100% - 5em);
}


#top  /*eigentlich css_layout  */
{
height: 5em;
} 


#logo {
  width: 6.0em;
  left: 0em;
  top: -0.5em; 
} 

#willkommen {
 margin-left: -1.1em;
 top: -0.5em; 
} 

#cssmenu {
  width: 100%;
  top: 2.1em;
  left: 0;
  position: relative;
  background: transparent;
 }
 
 .toggleMenu {
  position: absolute;
  font-size: 1.2em;
  color: #F7F4E4;
  left: 5.7em;
  top: 0;
  text-decoration: none;
}

#cssmenu .submenu {
  position: relative;
  display: block;
  width: 100%;
  z-index: +10;
  margin: 0 auto;
  border: none;
  border-radius: 0em;
  box-shadow: none;
  
} 

#cssmenu .submenu li:last-child a, #cssmenu .submenu li:first-child a {
border-radius: 0em;
}  

#cssmenu .hamburger {
    position: relative;
    top: 0.2em;
    display: inline-block;
    width: 1.25em;
    height: 0.8em;
    margin-right: 0.3em;
    border-top: 0.2em solid #F7F4E4;
    border-bottom: 0.2em solid #F7F4E4;
}

#cssmenu .hamburger:before {
    content: "";
    position: absolute;
    top: 0.3em;
    left: 0px;
    width: 100%;
    border-top: 0.2em solid #F7F4E4;
}

 
#cssmenu > ul > li {
  float: none;
} 
   
#cssmenu > ul > li {
  position: relative;
  top: 2.5em;
  left: 0;
  width: 100%;
  background: #81A395;
  text-align: center;
 }
  
#cssmenu ul > li.hover .submenu, #cssmenu ul li .submenu.hover a {
  position: static;
}

#cssmenu .nav {
  display: none;
}    

.minimize {
  display: inline;
 }    

}

@media screen and (max-width: 58em) {
.minimize {
display: none;
}
}


@media screen and (max-width: 63em) {
#cssmenu > ul > li > a {
  padding: 1em 0.7em 1em 0.7em;
}

#willkommen {
 left: 8.3em; 
}

}






/******************************
***************Fusszeile*************/
#fusszeile {
margin-left: 0.5em;
}

#fusszeile a, #fusszeile p {
 font-size: 0.8rem;
}

#statistik_unten {
 margin-top: -1em; 
 color: #333;  
}



/******************************************/
/*****************************************************/

/*******************************************************/

/*rechts*************************************************************/
/*************************************************************************/
#statistik_rechts div {
display: block;
padding: 0;
margin: 0;
}

#statistik_rechts div.left {
 float: right; 
 width: 72%;
}

#statistik_rechts div.right {
 float: right;
 width: 25%
}


#statistik_rechts div.left p {
 font-size: 0.9em;
padding: 0;
margin: 0; 
}

#statistik_rechts div.right p {
 font-size: 0.9em;
 font-weight: bold;
 padding: 0;
 margin: 0; 
}

#logo2 {
width: 70%;
}

/**************************************************************/



/**********************************************++++
*************Kontakt*/

#img_ich {
width: 6rem;
float: left;
margin: 0.2em 1em 0.4em 0.4em;
}

div.kontaktform {
max-width: 45rem;
margin: 0 auto;
margin-top: 1rem;
margin-bottom: 2rem;
}

div.kontaktform .flex_container {
display: -webkit-flex;
display: flex;
-webkit-align-items: flex-end;
align-items: flex-end;
padding: 0.2rem;
}

div.kontaktform .flex_container .left {
 -webkit-flex: 1;
 flex: 1;	 
 text-align: right;
 margin: 0;
 -webkit-align-self: flex-start;
 align-self: flex-start;
}

div.kontaktform .flex_container .right {
 -webkit-flex: 2;
 flex: 2;
 text-align: left;
 margin: 0 0 0 0.3em;
}


div.kontaktform input[type=text]
{
width: 11rem;
}

div.kontaktform textarea
{
width: 100%;	
height: 8rem;
}  


/***************************************************
**********************************Loader*/

/*
Credit: https://projects.lukehaas.me/css-loaders/ */

.loader,
.loader:before,
.loader:after {
  background: #81A395;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}
.loader {
  color: #81A395;
  text-indent: -9999em;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: '';
}
.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 1.5em;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
