nav {
margin: 0;
z-index: 1;
float: left;
width: 100%;
position: relative;
}

.vpg .mobilenav {display: block !important;}

nav ul
{
			float: left;
            margin: 0;
			padding: 0;
			list-style-type: none;
            display: flex; flex-wrap: no-wrap;
            width: 100%; justify-content: center;
}

nav ul li {
                         display: block;
                         float: left;
                         margin: 0 5px; padding: 0;
                         position: relative;
                         z-index: 3;

}


nav ul li a {
float: left;
display: block;
padding: 15px 30px;
margin: 0; position: relative; z-index: 2;
font-size: 16px;
text-align: center; color:#052722;
box-sizing: border-box;
width: 100%; height: 55px;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
text-transform: uppercase;
}
nav ul li a span {
    display: inline-block; padding: 0 0 10px;
}
nav ul li a:hover span {
    padding: 0 0 8px; border-bottom: 2px solid #052722;
}

nav ul li a:link, nav ul li a:visited {
text-decoration: none;
}

ul.hauptnav > li > a::after { content: ""; width: 0; height:1px; background: #052722; position: absolute; left: 30px; bottom: 10px;-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
transition: all 0.3s ease;border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;}

nav ul li a.aktiv {
color:#00FF6A;
}

nav ul li a:hover, nav ul li a:active {
 color:#00FF6A;
}
ul.hauptnav > li > a:hover::after { content: ""; width:calc(100% - 60px); height:1px; background: #00FF6A;}
ul.hauptnav > li > a.aktiv::after { content: ""; width:calc(100% - 60px); height:1px; background: #00FF6A;}


nav ul.unternav {
position: absolute;
top: 60px; z-index: 5;
left: 0; padding:10px 20px 0;
width: 100%;
min-width: 220px;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
opacity: 0;
display: block;
visibility: hidden;
background: rgba(255,255,255,0.8);
}


.vpg nav ul.sichtbar { opacity: 1; top:50px; visibility: visible; }


nav ul.unternav li {width: 100%; margin: 0;}
nav ul.unternav li a {
padding: 10px;
margin: 0;
font-size: 0.9em;
font-weight: 400;
border: none;
height: auto;
width: 100%;
text-align: left;
text-transform: none; position: relative;
border-top: 1px solid #00FF6A;
}

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

nav ul.unternav li a:hover, nav ul.unternav li a:active {
color: #00FF6A;
}

nav ul.unternav li a.aktiv2 {
color:#00FF6A;
}

nav ul.unternav li:first-child a {
    border-top: 0;
}

#footer ul
{
			float: left;
            margin: 0;
			padding: 0;
			list-style-type: none; width: 100%;
}

#footer ul li {
                         display: block;
                         float: left;
                         margin: 0; padding: 0;

}

#footer ul li a {display: block; padding:10px 25px 10px 0; float: left;
}
#footer ul li a:hover {
background: color: #fff;
}
#footer a {
color: #052722;
}

#footer a:hover {
    color: #fff;
}

#footer a:hover svg path {
    fill: #fff;
}
span.qn {display: none; font-family: icons; font-size: 1.5em;
position: absolute; top: 0; right: 0; z-index: 4; width: 20px; height: 25px; cursor: pointer; padding: 12px; color:#052722; background: rgba(82,46,26,0.2);}

#copyright a {
    color: #fff;
}

a.totop {
    bottom: 0;
    position: fixed;
    right: 30px;z-index: 9; display: block;
    font-family: 'icons'; font-size: 1.5em; z-index: 30;
    background:#000; background: rgba(0,0,0,0.6); color: #fff !important; padding: 10px 20px;text-decoration: none;
}
a.totop:hover {  background: #052722; text-decoration: none;}



.social  { float: right; width: 42%; font-size: 0.8em; text-align: right; z-index: 90; margin: 0; padding: 0 4%; }
.social a {display: block; float: right; margin:5px 5px 30px;  padding: 5px 0; color: #fff;text-decoration: none; font-weight: 400;}
.social a span {
   display: inline-block; width: 130px; text-align: left;
}

.social a.fblink { font-family: 'icons'; font-size: 1.8em;  margin:5px 10px; line-height: 20px;}
.social a.instlink { font-family: 'icons'; font-size: 1.3em;margin:5px 10px; position: relative; line-height: 20px;}
.social a.tellink::before {
  display: inline-block; padding: 0 10px 0 0;
  font-family: 'icons';
  text-decoration: none;
  font-size: 1.1em;
  content: "\e804";
}
.social a.cryptmail2::before {
  display: inline-block; padding: 0 10px 0 0;
  font-family: 'icons';
  text-decoration: none;
  font-size: 1.1em;
  content: "\e90c";
}


 #menuelink {display: none; position: absolute; top:50px; right: 5%; margin:5px; padding: 2px 5px;text-decoration: none; width: 30px; height: 30px; z-index: 101;}
 #menuelink.open {
     top: 40px;position: fixed; right: 50%;
 }
 #menuelink span { display: block; float: left; width: 30px; height: 3px; background:#052722; position: absolute; top: 7px; left: 0;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
transition: all 0.2s;
transform-origin: center;}
#menuelink span#mlm { top: 15px; }
#menuelink span#mlu { top: 23px; }
#menuelink.open span#mlo {-webkit-transform: rotate(45deg) translate(7px,8px); -moz-transform: rotate(45deg) translate(7px,8px); transform: rotate(45deg) translate(7px,8px); }
#menuelink.open span#mlm { display: none; }
#menuelink.open span#mlu {-webkit-transform: rotate(-45deg) translate(4px,-4px); -moz-transform: rotate(-45deg) translate(4px,-4px); transform: rotate(-45deg) translate(4px,-4px); }


a#nulink { font-family: icons; font-size: 2.0em; text-decoration: none; position: absolute;
padding:10px 0; bottom: 5%; left: 50%; margin: 0 0 0 -25px;
width: 50px; height: 50px; box-sizing: border-box;
font-weight: normal;
color: #fff;
z-index: 200; text-align: center;
opacity:0.7;-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
transition: all 0.3s;
line-height: 30px;
border-radius: 30px;
-moz-border-radius: 30px;
-webkit-border-radius: 30px;
background: rgba(0,0,0,0.3);
}
#bilder:hover a#nulink {
bottom:3%;
}
a#nulink:hover {opacity:0.9; color: #fff; background: #666;}

.iglink {
    font-family: icons; font-size: 2.7em; margin: 10px 0; display: inline-block;
}

.shareandprint {float: left; font-family: icons; margin: 10px 0; }
.shareandprint a {display: block; float: left; padding: 10px; margin: 0 5px; font-size: 1.4em; color: #fff !important; width:30px; height: 30px; line-height: 30px; text-align: center; border-radius: 40px; -moz-border-radius: 40px; -webkit-border-radius: 40px; background: #666; }
.shareandprint a:hover { background: rgb(136,221,251); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(136,221,251,1) 0%, rgba(41,137,216,1) 69%, rgba(1,119,189,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(136,221,251,1) 0%,rgba(41,137,216,1) 69%,rgba(1,119,189,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(136,221,251,1) 0%,rgba(41,137,216,1) 69%,rgba(1,119,189,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88ddfb', endColorstr='#0177bd',GradientType=0 ); /* IE6-9 */ }

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

}
@media only screen and (max-width: 1160px) {

.mobilenav #navinner {
    margin-right: -60%; -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.mobilenav.open #navinner {
    margin-right: 0;
}

span.qn {display: block;}

.mobilenav {display: none;}
nav {  width: 100%; margin: 100px 0 50px; padding:0; text-align: center; }
nav ul {width: 100%;flex-wrap:wrap;}
nav ul li {
                         display: block;
                         float: left;
                         z-index: 2;
                         width: 100%;
                         margin: 0; box-sizing: border-box; padding: 0 10px;
}

nav ul li a {
width: 100%;
text-align: center;padding: 15px 0;
margin: 0;
border-right: none;
border-left: none; font-size: 1.1em; height: auto;text-shadow: none;
}
nav ul li a span {padding: 0 !important; border: 0 !important;}

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: 80%;padding: 0 10%;-webkit-transition:none;
-moz-transition:none;
transition:none;
opacity: 1 !important; top: 0; visibility: visible !important;}
nav ul.umenaktiv { display: block; visibility: visible !important; position: relative; top: 0; width: 80%;}
nav ul.unternav li {width: 100%;}
nav ul.unternav li a {margin: 0;width: 100%; font-size: 1.0em; text-align: center; }

#menuelink {display: block;}

#sprache { position: absolute;}
#unternav {float: left; width: 100%;padding: 0 0 10px;}

a#nulink { font-size: 2.0em;
padding:10px 0; bottom: 5%;margin: 0 0 0 -25px;
width: 50px; height: 50px; }
}
@media only screen and (max-width: 960px) {
aside#unternavigation {
    float: left; width: 92%; margin: 10px 4%;border-right:0; border-top: 1px solid #ccc;
}
 #menuelink.open {left: 35%; right: auto;}

.social  {  width: 92%;  }

}
@media only screen and (max-width: 680px)
{


#unternav ul li a {font-size: 1.1em;}
a.totop {padding:8px 15px;}

 #menuelink.open {left: 15%; }

}
@media only screen and (max-width: 460px) {
#menuelink {top: 40px;}
}