@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 ul,
nav ul ul ul {
position: relative;
height: auto;
max-height: 0;
clear: both;
overflow: hidden;
transition: var(--trans2);
}

nav ul ul.ac,
nav ul ul ul.ac {
 max-height: 1000px;
}
nav ul ul li a {
    padding-left: 20px;
    width: calc(100% - 80px);
}
nav ul ul ul a {
    padding-left: 40px;
}

nav a,
#left p a {
    display: block;
    text-decoration: none;
    padding: 5px 0;
    font-weight: bold;
    opacity: 1;
    transition: .3s;
    color: black
}
nav a:hover  {
 opacity: 1;
}
nav a.ac{
    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: block;
    width: 40px;
    cursor: pointer;
    
}
nav a.opensub:hover,
nav a.hidesub:hover {
opacity: 1;
}
nav a.opensub.hide,
nav a.hidesub {
display: none;
opacity: 1;
z-index: 2
}
nav ul.subac {
    left: 0; 
    max-height: 0
}
#searchform {
    background-color: transparent;
}


#hamburger-button{
position: fixed;
top: -70px;
right: 0;
height: 70px;
width: 90px; 
transition: var(--trans);
outline: 1px solid black
}
#mobilebutton{
background: transparent url('/img/style/hamburger.png') center right no-repeat;
}
#mobilebutton,
#hidenav {
position: absolute;
display: block;
top: 0px;
right:10px;
width: 90%;
height: 90%;
background-size: contain; 
transition: var(--trans);
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: block;
background-color: transparent;
padding: 0 0 20px;
}
.chlang {
display: inline-block;
position: relative;
margin: 0 10px 10px 0 ;
width: 35px;
height: 20px;
border: 0 none;
background: transparent url('/img/style/en.png') left center no-repeat; 
background-size: 100% auto;
cursor: pointer; 
outline: 1px solid #aaa
}
.hidebig {
 display: none
}

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

.hidebig {
 display: block
}
nav {
position: fixed;
left: -110vw;
top: 10px;
width: calc(100vw - 100px);
height: auto;
overflow: auto;
padding: 20px;
margin: 0;
background-color: rgba(255,255,255,.95);
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 {
 top: 0;
}
#hamburger-button,
#mobilebutton {
opacity: 1;
z-index: 200;
}
#chlangform {
display: block;
background-color: transparent;
padding: 0 80px 20px 0;
}
}