@charset "utf-8";
/* CSS Document */



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

nav a:link, a:visited{
	color: #fff;
	text-decoration: none;
}


/* hide the checkbox and the label */

input#responsive-nav,
label.responsive-nav-label {
  display: none;
  float:right;
}

/* declarations for the not-responsove-menu */

nav {
  float: left; 
  width: 100%;
  font-size: 16px;
}

nav ul {
  margin: 0;
  padding: 0;
}

nav a {
  display: block;
  color: #fff;
  text-decoration: none;
}

nav ul li {
  position: relative;
  float: left;
  list-style: none;
  color: #fff;
  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: #4096ee;
}

nav ul ul {
  position: absolute;
  top: -9999px;
  left: -9999px;
  background: #333;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

nav ul ul li {
  float: none;
  width: 200px;
  border-bottom: 1px solid #555;
}

nav ul ul li a {
  padding: 10px 20px;
}

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;
}

/* Declarations for the responsive menu */

@media screen and (max-width: 1680px) {
  
* {
  /* font-size: 18px; */
}
  
label.responsive-nav-label {
  position: relative;
  display: block;
  padding: 20px;
  padding-top:44px;    /* vorher 5px und 52 */
  padding-bottom:0px;  /* damit rand Ueberschrift nicht verletzt*/
  background:   white;
  cursor: pointer;
  color:  rgb(54,92,170);
  
  font: 200% Arial,sans-serif;
  color: #005FA9;
  
}
  
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:  rgb(54,92,170);
}
  
nav ul li:hover {
  background: none;
}
  
nav ul li a:hover {
  background: #4096ee;
}
  
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;
}


}

