@charset "UTF-8";
/* 
CSS Stylesheet by dialog im netz
*/

 :root {
     --rot: #F05322;
     --blau: #555;
     --trans: .3s;
     --trans2: .5s;
 }

/* MENÜ / NAVIGATION */


nav {

}
nav ul {
    padding: 0;
    margin: 0;
}
nav > ul {
    margin-bottom: 20px
}
nav ul li {
    list-style: none;
}
nav > ul > li {
    padding-left: 20px;
    padding-left: 0;
}

nav > ul > li.ac ul,
nav ul ul ul.ac ul,
nav > ul > li.haschildren:hover > ul {
 max-height: 100px;
}

nav ul ul,
nav ul ul ul {
position: relative;
height: auto;
max-height: 0;
padding-left: 20px;
clear: both;
overflow: hidden;
transition: var(--trans2);
}

nav ul ul li a {
    padding-left: 20px;
    width: calc(100% - 40px);
}
nav ul ul ul li a {
    width: calc(100% - 60px);
}

nav a {
    display: block;
    text-decoration: none;
    padding: 4px 4px 2px 16px;
    font-weight: bold;
    color: black;
    opacity: .6;
    transition: .4s
}
nav a:hover  {
 opacity: 1;
}
nav li.ac > a {
    color: var(--rot);
    text-decoration: none 
}
nav li.ext {
    background: transparent url('/img/style/exlink.png') 80% center no-repeat; 
    background-size: 1.5rem auto; 
}
nav li.ac ul{

}

nav ul > li {
    display: flow-root;
}
nav ul > li > a {
    float: left;
    width: calc(100% - 40px)
}
nav a.opensub,
nav a.hidesub {
display: inline-block;
width: 40px;
cursor: pointer;
transition: .2s;
color: #909090
}
nav ul li:hover a.opensub,
nav ul li:hover a.hidesub,
nav a.opensub:hover,
nav a.hidesub:hover {
color: black;
opacity: .5;
}
nav a.opensub.hide,
nav a.hidesub {
display: none;
opacity: 1;
z-index: 2
}
nav a.hidesub.show,
nav a.hidesub {
display: block;
opacity: 1;
z-index: 252
}
nav a.hidesub.hide,
nav a.hidesub {
display: none;
opacity: 1;
z-index: 2
}
nav a.opensub.show,
nav a.showsub {
display: block;
opacity: 1;
z-index: 252
}
nav ul.subac {
    left: 0; 
    max-height: 0
}
#searchform {
    background-color: transparent;
}

#hamburger-button{
position: fixed;
top: 0;
right: 0;
height: 70px;
width: 90px; 
transition: var(--trans);
cursor: pointer
}
#mobilebutton{
background: transparent url('/img/style/hamburger.png') center right no-repeat;
}
#mobilebutton,
#hidenav {
position: absolute;
display: block;
top:10px;
left:15px;
width: 70%;
height: 70%;
background-size: contain; 
transition: var(--trans);
opacity: 0;
}
#mobilebutton.show,
#hidenav.show{
display:block;
z-index: 252;
opacity: 1;
}
#mobilebutton.hide,
#hidenav.hide{
display:none;
opacity: 0;
z-index: -1;
 
}
#hidenav {
background: transparent url('/img/style/hidenav.png') center right no-repeat;
background-size: 80% auto; 
}
#mobilebutton span ,
#hidenav span,
#topbutton span {
visibility: hidden
}

#topbutton {
    position: fixed;
    opacity: 0;
    bottom: 0px;
    right: 0px;
    width: 60px;
    height: 60px;
    background: transparent url('/img/style/top.svg') center center no-repeat; 
    background-size: contain; 
    transition: .4s;
    z-index: 200
}
#topbutton:hover,
#topbutton:focus {
    opacity: 1!important
}
#topbutton a {
    display: block; 
    width: 60px;
    height: 60px;
    
}

#chlangform {
display: inline-block;
background-color: transparent;
padding: 0;
outline: 1px solid #a0a0a0;
border-radius: 5px;
}
#chlang {
display: inline-block;
position: relative;
margin: 0 ;
width: 120px;
height: 20px;
border: 0 none;
background-size: 60% auto;
cursor: pointer; 
}
#chlang[disabled]{
display: none
}
nav input, nav textarea,nav select {
width: calc(100% - 10px);
}
@media screen and (max-width: 680px) {

nav {
position: fixed;
left: -110vw;
top: 60px;
width: 100vw;
height: auto;
overflow: auto;
padding: 20px;
margin: 0;
background-color: rgba(255,255,255,.9);
box-shadow: 0 10px 20px rgba(0,0,0,.4);
z-index: 140;
transition: var(--trans)
}
nav p,
nav a {
    font-size: 1.2rem;
}
nav li{
}

#hamburger-button,
#mobilebutton {
opacity: 1;
z-index: 200;
}

}