nav {
margin: 0 10% 0 0;
z-index: 1;
width: 90%;
float: left;
font-family: 'Nunito', sans-serif;
}

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

nav ul
{
			float: right;
            margin: 0;
			padding: 0;
			list-style-type: none;
}

nav ul li {
                         display: block;
                         float: left;
                         margin: 0 10px; padding: 0;
                         position: relative;
                         z-index: 2;
}


nav ul li a {
float: left;
display: block;
font-weight:800;
padding: 12px 25px;
margin: 0;
font-size: 16px;
text-transform: uppercase;
border: 0;
}

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

nav ul li a:hover, nav ul li a:active {
text-decoration: none;
color: #e30f18;
}
nav ul li a.aktiv {
color:#e30f18;
border: 0;
}

nav ul.unternav {
display: none;
position: absolute;
top: 45px;
left: 0; padding: 5px;
background: #fff;
box-shadow: 0px 0px 3px 0px #000000; -moz-box-shadow: 0px 0px 3px 0px #000000; -webkit-box-shadow: 0px 0px 3px 0px #000000;
}

nav ul#umen4 {
    left: auto; right: 0;
}

.vpg nav ul.sichtbar { display: block;}

nav ul.unternav li {width: 100%; float: left; margin: 0;}

nav ul.unternav li a {
padding: 8px 25px;
margin: 0;
border-top: none;
height: auto; color: #000;
font-size: 0.85em;
background: #fff;
width: 170px;
font-weight: 400;
border-bottom: 1px solid #c7c7c6;
border-left: 0; border-right: 0; border-top: 0;
text-transform: none;
}

nav ul.unternav li:last-child a { border-bottom: 0;}

nav ul.unternav li a.aktiv2 {
font-weight: bold; color: #e30f18;
}
nav ul.unternav li a:hover {
color: #fff; background:#e30f18;
}


span.qn {font-family: fontello;position: absolute; top: 10px; right: 10px; color:#282827; }

#footnav { width: 100%; float: left; text-align: center; margin: 20px 0; }
#footcontent a {color: #fff;}
#footcontent a:hover { color: #e30f18; }

.shareandprint {float: right; font-family: fontello; margin: 10px 0; font-family: fontello; }
.shareandprint a {display: block; float: left; padding: 10px; margin: 0 5px; font-size: 1.9em; color: #fff !important; width:30px; text-align: center; border-radius: 40px; -moz-border-radius: 40px; -webkit-border-radius: 40px; background: #eb981b; }
.shareandprint a:hover { background: #e30f18; }


#menuelink {display: none; position: absolute; top:60px; right: 5%; margin: 5px; padding: 5px; text-decoration: none; width:25px; height: 25px; }
#menuelink span { display: block; float: left; width: 100%; height: 3px; background: #e30f18; 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 {transform: rotate(45deg); top: 9px;}
#menuelink.open span#mlm { display: none; }
#menuelink.open span#mlu {transform: rotate(-45deg);top: 9px; }

a.totop {
    bottom: 50px;
    position: fixed;
    right: 50px; width: 50px; height: auto;
    text-decoration: none;
    padding: 10px 5px;
     color: #333;
    font-size: 1.2em; border: 1px solid #333;
     z-index:10;
}
a.totop span  {
    font-family: fontello; display: block; float: left; width: 100%;font-size: 1.5em;
}

a.totop:hover {
    text-decoration: none;
    background: #e30f18; color: #fff;
}



a#nulink { font-family: fontello; text-decoration: none; padding: 5px 0; width: 60px;  margin: 10px 0 10px -30px; display: block; color: #fff; font-size:3.0em; position: absolute; bottom: 10%; left: 50%;z-index:10; display: none;  }
a#nulink:hover { background: #e30f18; color: #fff;  }



#suchbutton { position: absolute; right: 2%; top: 90px;font-family: fontello; font-size: 1.2em;
-webkit-transition: top 0.3s;
-moz-transition: top 0.3s;
transition: top 0.3s; }
#suchbutton a { color: #575656;}
#suchbutton a:hover { color: #e30f18; }


#sprachmen {
    position: absolute; top: 10px; right: 2%; width: 90px; box-sizing: border-box; padding-top: 35px; height: 30px; overflow: hidden; background: #fff; z-index: 10;
}
#sprachmen:hover {
    height: auto; box-shadow: 0px 0px 5px 0px #666; -moz-box-shadow: 0px 0px 5px 0px #666; -webkit-box-shadow: 0px 0px 5px 0px #666;
}

#sprachmen h4 {
    display: none;
}
#sprachmen a {
    float: left; width: 100%; padding: 5px 0 5px 35px; box-sizing: border-box; text-transform: uppercase; color:#575756; background-size: 25px auto; background-position: 4px 8px; background-repeat: no-repeat;
}
#sprachmen a#slde {background-image: url('images/de.png');)}
#sprachmen a#slen {background-image: url('images/en.png');)}
#sprachmen a#sles {background-image: url('images/es.png');)}

#sprachmen a:hover {
    color: #e30f18;
}

#sprachmen a.aktiv {
    position: absolute; top: 0; left: 0;
}

#sprachmen a.aktiv::after {
  display:block; padding: 0;
  font-family: 'fontello';
  text-decoration: none;font-size: 1.5em;
  content: "\e809"; position: absolute; top: 5px; right: 10px;
}

@media only screen and (min-width: 960px)
{
.fixiert #suchbutton { top: 25px; }
.fixiert #sprachmen {display: none;}
}


@media only screen and (max-width: 1160px)
{
nav ul.unternav {top: 28px;}
nav ul li {  margin: 0 10px; }
nav ul li a {padding: 12px 25px;}
#sprachmen {  padding: 0; height: auto; width: 250px; }
#sprachmen a { width: 33%;   }
#sprachmen a.aktiv {position: relative; top: auto; left: auto;}
#sprachmen a.aktiv::after {  content: ""; }
}

@media only screen and (max-width: 960px)
{
#suchbutton { right: 18%; top: 60px; font-size: 1.4em; }
 #shortcut { top: 200px; position: absolute; }
span.qn {display: block; font-size: 1.6em;margin: 0;top: 1px;
 z-index: 4; width: 20px; height: 20px; cursor: pointer; padding: 12px; }


.mobilenav {display: none; border-bottom: 1px solid #c7c7c6; }
nav {  width: 100%; margin: 0; text-align: center;  }
nav ul {width: 100%; border-bottom: 1px solid #fff; }
nav ul li {
                         display: block;
                         float: left;
                         z-index: 2;
                         width: 100%;
                         margin: 0;
}


nav a#homelink {float: none; display: inline-block;}

nav ul li a {
width: 100%;
text-align: center;padding: 12px 0;
margin: 0;
border-right: none;border-top: 1px solid #fff;
border-left: none; border-bottom: none;
}

nav ul li a:hover, nav ul li a:active {
text-decoration: none;
border-left: none; 
border-right: none;
padding: 12px 0;margin: 0; border-bottom: none;
}

nav ul li a.aktiv {
border-left: none;
border-right: none; margin: 0;
border-bottom: none; padding: 12px 0;margin: 0;
}

nav ul.unternav {display: none; position: relative; top: 0; width: 100%; padding: 0; left: 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,nav ul.unternav li a:hover {padding: 8px 1%;margin: 0 2%;width: 94%; font-size: 1.0em;border-bottom: 1px solid #c7c7c6;  }
nav ul.unternav li:last-child a:hover { border-bottom:0 }

a.totop {
    bottom: 20px;
    right: 10px;
}

#menuelink {display: block;}

}

@media only screen and (max-width: 680px) {
#sprachmen {  padding: 0; height: auto; width:150px; }
#sprachmen a { width: 33%; padding: 5px 0 5px 25px;background-size: 18px auto;background-position: 2px 10px;  }

}

@media only screen and (max-width: 460px)
{
 #shortcut { width: 50px; overflow: hidden; font-size: 0.5em;  }
#suchbutton { right: 27%; }

}