
nav {
margin: 0;
z-index: 1;
float: left;
width: 100%;
}

.vpg nav.mobilenav {display: block !important;}

nav ul
{
			float: left;
            margin: 0;
			padding: 0;
			list-style-type: none; width: 100%;
}

nav ul li {
                         display: block;
                         float: left;
                         margin: 0; padding: 0;
                         position: relative;
                         z-index: 3; width: 20%;
}


nav ul li a {
float: left;
display: block;
padding: 15px 0;
margin: 0; position: relative; z-index: 2;
font-size: 17px; font-weight: normal;
text-align: center; color:#2c2b28;
box-sizing: border-box;
width: 100%; height: 50px;
}
nav ul li:first-child a {
    border-left: 0;
}

nav ul li a:link, nav ul li a:visited {
text-decoration: none;
}

nav ul li a:hover, nav ul li a:active {
color:#fff;
background: #666666;
}

nav ul li a.aktiv {
color: #fff;
background: #2c2b28;
}



nav ul.unternav {
display: none;
position: absolute;
top: 45px; z-index: 5;
left: 0; padding:5px 0 0;
width: 100%;
min-width: 220px;
}
.vpg nav ul.sichtbar { display: block;}

nav ul.unternav li {width: 100%; margin: 0;}
nav ul.unternav li a {
padding: 12px 5%;
margin: 0;
font-size: 0.9em;
border: none;
height: auto;
background:#f5f2f0;
width: 100%;
text-transform: none;
text-align: left;
}

nav ul.unternav li a:link, nav ul.unternav li a:visited {
color: #2c2b28;text-shadow: none;
}

nav ul.unternav li a:hover, nav ul.unternav li a:active {
background: #666666;color: #fff;
}

nav ul.unternav li a.aktiv2 {
color: #fff;
background: #666666;
}

nav ul.unternav li:last-child a {
    border-bottom: 0;
}


span.qn {display: none; font-family: fontello; font-size: 1.5em;
position: absolute; top: 0; right: 0; z-index: 4; width: 20px; height: 25px; cursor: pointer; padding: 12px; color: #fff; background: rgba(255,255,255,0.6);}


#footnav {  }
#footnav a {display: block; float: left; width: 96%;  padding: 3px 2%; }
#footnav a:first-child { border-top: 0; }

footer a { color:#fff !important; text-shadow: none; }
footer a:hover { color: #666666; text-decoration: none; }


a.totop {
    bottom: 0;
    position: fixed;
    right: 30px;z-index: 9; display: block;
    font-family: 'fontello'; font-size: 1.5em; z-index: 30;
    background:#000; background: rgba(0,0,0,0.4); color: #fff !important; padding: 10px 20px;text-decoration: none;
}
a.totop:hover {  background: #f2f3f8; color: #666666 !important; text-decoration: none;}


a#nulink { text-decoration: none; background: #666; padding: 10px 10px 40px; width: 120px;  margin: 10px 0 -20px -60px; display: block; color: #fff; font-size:1.2em; position: absolute; bottom: 0; left: 50%; z-index: 3;font-family: 'Roboto Condensed', sans-serif;  border-top-left-radius: 2px; border-top-right-radius: 2px; -moz-border-radius-topleft: 2px; -moz-border-radius-topright: 2px; -webkit-border-top-left-radius: 2px; -webkit-border-top-right-radius: 2px;}
a#nulink:hover { color: #666; background: #e5e2e0;  }


 #menuelink {display: none; position: absolute; top: 40px; right: 5%; margin:5px; padding: 2px 5px;text-decoration: none; width: 30px; height: 30px;
 }
 #menuelink span { display: block; float: left; width: 30px; height: 3px; background: #2c2b28; position: absolute; top: 0; left: 0;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
transition: all 0.2s;}
#menuelink span#mlm { top: 8px; }
#menuelink span#mlu { top: 16px; }
#menuelink.open span#mlo { -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); transform: rotate(45deg); top: 5px;}
#menuelink.open span#mlm { display: none; }
#menuelink.open span#mlu {-webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); transform: rotate(-45deg); top: 5px; }


@media only screen and (max-width: 1160px) { nav ul li a {padding: 15px 20px;} }

@media only screen and (max-width: 960px)
{
footer a.totop {bottom: 10px; right: 10px; }

span.qn {display: block;}

.mobilenav {display: none;}
nav {  width: 100%; margin: 0; text-align: center;  }
nav ul {width: 100%;}
nav ul li {
                         display: block;
                         float: left;
                         z-index: 2;
                         width: 100%;
                         margin: 0;
}

nav ul li a {
width: 100%;
text-align: center;padding: 13px 0;
margin: 0;
border-right: none;border-bottom: 1px solid #f5f2f0;
border-left: none; font-size: 1.1em;
}

nav ul li a:hover, nav ul li a:active {
text-decoration: none;
border-left: none; 
border-right: none;margin: 0;
}

nav ul li a.aktiv {
border-left: none;
border-right: none; margin: 0;
}

nav ul.unternav {display: none; position: relative; top: 0; width: 100%;padding: 0;}
nav ul.umenaktiv { display: block; visibility: visible !important; position: relative; top: 0; width: 100%;}
nav ul.unternav li {width: 100%;}
nav ul.unternav li a {margin: 0;width: 100%; font-size: 1.0em; }
a.totop { right: 20px;}

#menuelink {display: block;}

#unternav {float: left; width: 100%;padding: 0 0 10px;}
}

@media only screen and (max-width: 680px)
{
#unternav ul li a {font-size: 1.1em;}
a.totop {padding: 10px 15px;}
a#nulink { font-size: 1.0em;}

}

@media only screen and (max-width: 460px) {

}
