


/* = = = = = = = = = = = = = = = = = datei menue.css = = = = = = = = = = = = = = = = = = = = = = = = = */


/* ############################################################ */
/* diese datei enthält das hauptmenü */
/* alle anderen menüs sowie auch allgemeine links im text bzw. eventuelle "weiter-Links"
sind in der datei "format.css" direkt beim jeweiligen abschnitt  definiert */
/* ############################################################ */



/* - - - - - MENU FORMATIERUNG - - - - - */

#nav {margin:0;color:#fff;background:black;
padding:0;overflow:hidden;
}

#menu1 {display:table;
position:fixed;
z-index:1;
top:0%;right:0%;
height:100vh;
width:100%;
margin-right:-200vw;
padding:0;
background:transparent;
transition: 3s ease-out;
}

#menu1 ul {display:table-cell;
background:#EFEFEF;
vertical-align:middle;
text-align:center;
margin:0;
padding:0rem;overflow:hidden;
}

#menu1 li {list-style-type : none;display:block;
margin:.5rem 2rem;
text-align:center;
padding:0;
background:#3F3F3F;
}

#menu1  a {display:inline-block;
text-align:left;
text-decoration : none;
font-size:1.5rem;
letter-spacing:0px;
padding:.4rem 1rem ;
margin: 0rem;
color:#fff;
text-shadow:none;
text-transform:uppercase;
width:100%;
}

/* hover und aktuell angezeigter link/icon */

#menu1 a:hover {color:#000;
}

#menu1 li:hover {
background:#fff;
}

#menu1 #aktuell  {
color:#fff;
background:red;
}


/* - - - menü-oeffnen-schalter  formatierung - - - */

/* menü-öffnen-schalter  formatierung */
#nav label.button-open  {display:block;
position: fixed;
top:1rem;left:2rem;
z-index:2;
text-align:center;
margin:0;
padding:0rem;
background:red;
cursor:pointer;
color:white;
font-size:2rem;
width:3rem;
height:3rem;
line-height:3rem;
}


/* - - - menü-schließen-schalter  formatierung - - - */

#nav label.button-close  {display:inline-block;
position: fixed;
top:1rem;right:2rem;
margin-right:-200vw;
z-index:2;
cursor:pointer;
background:transparent;
text-align:center;
vertical-align:middle;
color:red;
font-size:2rem;
width:3rem;
height:3rem;
line-height:3rem;
transition:margin 4s;
}

/* - - - hover bei den menü-schaltern - - - */

#nav label.button-open:hover {background:#efefef;
color:#000;
}

#nav label.button-close:hover {
color:white;
}

/* - - - toggle-funktion - - - */

/* checkbox versteckt */
input[type=checkbox]{
display: none;
}



/*  menue-schließen-button EIN / AUS */
input#open-menue:checked ~  label.button-close  {
margin-right:0;
}

/* schaltet menu ein/aus */
input#open-menue:checked ~ #menu1  {
margin-right:0;
transition: 1s ease-out;
}

/* schaltet animation bei den links ein  */
input#open-menue:checked ~ #menu1 li {
animation: fade-in  1.5s  ease-out backwards;
}

/* schaltet die animation-verzögerung bei den links ein  */
input#open-menue:checked ~
#menu1 li:nth-child(1)    {animation-delay:200ms; }
input#open-menue:checked ~
#menu1 li:nth-child(2)    {animation-delay:400ms; }
input#open-menue:checked ~
#menu1 li:nth-child(3)    {animation-delay:600ms; }
input#open-menue:checked ~
#menu1 li:nth-child(4)    {animation-delay:800ms; }
input#open-menue:checked ~
#menu1 li:nth-child(5)    {animation-delay:1000ms; }
input#open-menue:checked ~
#menu1 li:nth-child(6)    {animation-delay:1200ms; }
input#open-menue:checked ~
#menu1 li:nth-child(7)    {animation-delay:1400ms; }




/* ############################################################ */
/* M E D I A   Q U E R I E S - RESPONSIVE-BILDSCHIRMABFRAGEN*/
/* ############################################################ */

/* ==================================== ab 480 pixel ================================== */

@media (min-width: 480px) {

#menu1 li { width:60vw;margin:0 auto;margin-bottom:.5rem;}

}


/* ==================================== ab 580 pixel ================================== */

@media (min-width: 580px) {

#menu1  { width:50vw; }
#menu1 li { width:45vw;}

}


/* ==================================== ab 640 pixel ================================== */

@media (min-width: 640px) {

#menu1  { width:65vw; }

}

/* ==================================== ab 768 pixel ================================== */

@media (min-width: 768px) {

#menu1  { width:50vw; }

}


/* ==================================== ab 960 pixel ================================== */
@media (min-width: 960px) {

#nav {border-top:2.5rem solid #000; }


/* menu-schalter versteckt */
#nav label.button-open ,
#nav label.button-close {display:none;
}


/* menu sichtbar */
#menu1 {position:relative;
background:transparent;
height:0%;width:100%;
margin-top:0rem;
margin-left:0;
padding:0rem;
box-shadow:none;
text-align:left;
}

#menu1 ul  {display:inline-block;
background:transparent;
xbackground:linear-gradient(45deg , red 90% , transparent 90%);
text-align:left;
margin:0rem;
padding:.5rem 7rem .5rem 2rem;
}

#menu1 li  {display:inline-block;
width:auto;
background:#fff;
margin: 0 0 .3rem 0;
padding:0;
transform: skewX(45deg);
box-shadow:none;
}

#menu1  a {font-size:1.3rem;display:inline-block;
text-decoration:none;
width:100%;
padding: .5rem 1.3rem;
margin:0rem;
letter-spacing:1px;
color:#000;
font-weight:bold;
border-radius:.4rem;
transform: skewX(-45deg);
}

#menu1  li:hover {background:#e8e8e8;
}

#menu1 a:hover {color:#000;
}


#menu1  #aktuell  {
background:red;
}

#menu1  #aktuell a {
color:#fff;
}


}


/* = = = = = = = = = = = = = = = = = = = = = Code Ende = = = = = = = = = = = = = = = = = = = = = */