@charset "utf-8";

/* PADDING NICHT dazuaddieren sondern INNERHALB * * * * * * * * */
.nav, .label{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

nav {
  float: left;
  width: 100%;
  background: #FFF;
  font-family: Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	letter-spacing: 1px;
    
}

nav ul {
  margin: 0;
  padding: 0;
     
}

nav a {
  display: block;
  color: #005515;
    font-weight: bold;
  text-decoration: none;
   
  
}
nav a:visited {
	text-decoration: none;
	color: #005515;
}

nav ul li {
  position: relative;
  float: left;
  list-style: none;
  transition: 0.5s;
}

nav ul li a {
  padding: 10px;
}

nav ul > li.submenu > a:after {
  position: relative;
  float: right;
  content: '';
  margin-left: 10px;
  margin-top: 5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
  border-bottom: 5px solid transparent;
}

nav ul ul li.submenu > a:after {
  margin-left: auto;
  margin-right: -10px;
  border-left: 5px solid #fff;
  border-right: 5px solid transparent;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

nav ul li:hover {
  background: #F0F0F0;
}

nav ul ul {
  position: absolute;
  top: -9999px;
  left: -9999px;
  background: #333;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

nav ul ul li {
  float: none;
  width: 200px;
  border-bottom: 1px solid #555;
}

nav ul ul li a {
  padding: 10px 10px;
}

nav ul ul li:last-child {
  border-bottom: none;
}

nav ul li:hover > ul {
  top: 100%;
  left: 0;
}

nav ul ul li:hover > ul {
  top: 0;
  left: 200px;
}
input#responsive-nav,
label.responsive-nav-label {
  display: none;
}


@media screen and (max-width: 1024px) {
 
label.responsive-nav-label {
  position: relative;
  display: block;
  padding: 20px;
  background: #FFF;
	background-repeat: repeat-x;
	background-position: bottom;
  cursor: pointer;
  color: #005515;
    font-weight: bold;
}
label.responsive-nav-label span {
  margin-right: 10px;  
}
nav {
  position: absolute;
  top: -9999px;
  padding: 10px;
}
 
input#responsive-nav[type=checkbox]:checked ~ nav {
  position: relative;
  top: 0;
}
nav a:after {
  display: none;
}
nav li {
  float: none !important;
  width: 100% !important;
  border-bottom: none !important; 
}
   
nav li a {
  margin-bottom: 10px !important;
  padding: 10px 20px !important; 
  background: #CCC;
}
 
nav ul li:hover {
  background: none;
}
   
nav ul li a:hover {
  background: #CCCCCC;
}
nav ul ul {
  position: relative !important;
  width: 100%;
  left: 0 !important;
  top: 0 !important;
  background: none !important;
  box-shadow: none;
}
nav ul ul li {
  padding-left: 20px;
}