#topnav {
float: left;
margin: 0;
text-align: left;
padding: 10px 0 0 45px;
font-size: 1.4em;
letter-spacing: 1px;
font-weight: bold;
position: relative; z-index: 5;
}


#topnav a:link, #topnav a:visited {
color: #222;
text-decoration: none;
}
#topnav a:hover, a:active {
color: #222;
text-decoration: underline;
}


nav {
margin: 0;
z-index: 1;
float: left;
width: 100%; border: 2px solid #fff; box-sizing: border-box;
}

.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: 100%;
}


nav ul li a {
float: left;
display: block;
padding:10px 10%;
margin:1px 0; position: relative; z-index: 2;
font-size: 1.1em; font-weight: normal;
text-align: left; color:#00697D; text-shadow: none;
background: #b0d5db;
width: 80%;
}

a#link1:after {
display: block; padding: 0; float: right;position: absolute; top: 10px; right: 5%;
  font-family: 'fontello';
  text-decoration: none;
  speak: none; font-size: 1.4em;
  content: "\e803"; color: #fff;

}

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: #00697D;
}

nav ul li a.aktiv {
color:#fff;
background: #00697D;
}

nav ul.unternav {
display: none;
position: relative;
top: 0; z-index: 5;
left: 0; padding:0;
width: 100%;
}
.vpg nav ul.sichtbar { display: block;}

nav ul.umenaktiv { display: block; visibility: visible !important; position: relative; top: 0; width: 100%;}

nav ul.unternav li {width: 100%; margin: 0;}
nav ul.unternav li a {
padding: 10px 10%;
margin: 0;
font-size: 0.9em;
border: none;
height: auto;
background:#eee;
border-bottom: 1px solid #fff;
width: 80%;
text-transform: none;
text-shadow: none;
}

nav ul.unternav li a:link, nav ul.unternav li a:visited {
color:#00697D;text-shadow: none;
}

nav ul.unternav li a:hover, nav ul.unternav li a:active {
background: #999;color: #fff;
border-bottom: 1px solid #fff;
}

nav ul.unternav li a.aktiv2 {
background: #00697D;color: #fff;
}

nav ul.unternav li a:before {
  display: inline-block; padding: 0 7px 0 0;
  font-family: 'fontello';
  text-decoration: none;
  speak: none; font-size: 1.0em;
  content: "\e80e";
}

span.qn {font-family: fontello; font-size: 1.3em;
position: absolute; top: 2px; right: 0; z-index: 4; width: 40px; height: 100%; cursor: pointer; padding: 10px; color: #fff; border-left: 1px solid #fff;
text-align: center; box-sizing: border-box;}




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: #eee; color: #000 !important; text-decoration: none;}


#menuelink {display: none; position: absolute; top: 150px; left:3%; margin: 0; background: #fff; padding: 2px 5px;
 font-family: 'fontello'; font-size: 2.0em; color: #1e3953; text-decoration: none; z-index: 7;}


@media only screen and (max-width: 960px)
{
#topnav {font-size: 1.0em;}

nav ul li a { font-size: 0.95em; }

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: 10px 0;
margin: 0;
border-right: none;border-top: 2px solid #fff;
border-left: none; font-size: 1.2em;
}

nav ul li a:hover, nav ul li a:active {
text-decoration: none;
border-left: none; 
border-right: none;
padding: 10px 0;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%;  }
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 {padding: 8px 1%;margin: 0 2%;width: 94%; font-size: 1.0em; }
a.totop {
    bottom: 0;
    right: 20px;
}
a.totop img {width: 40px;}

#menuelink {display: block; }

#unternav {float: left; width: 100%;padding: 0 0 10px;}
}
@media only screen and (max-width:680px)
{
#topnav {font-size: 0.8em; float: left; width: 100%; z-index: 6; text-align: center;padding: 0 0 10px 0; }
}

@media only screen and (max-width: 460px)
{
#topnav {font-size: 0.65em; }
}

