


/* = = = = = = = = = = = = = = = = = 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;
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: 5s ease-out;
}

#menu1 ul {display:table-cell;
background:#bfbfbf; /* IE9*/
background:linear-gradient(to right,#BFBFBF, #EFEFEF);
vertical-align:middle;
text-align:center;
margin:0;
padding:0rem;
overflow:hidden;
}

#menu1 li {list-style-type : none;display:block;
margin:0 2rem 0 2rem;
text-align:left;
padding:0rem;
}


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

/* hover und aktuell angezeigter link */



#menu1 li a:hover {color:#000;
background:#DFDFDF;
}

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


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

#nav label.button-open  {display:inline-block;
position: relative;
top:0rem;left:0rem;
z-index:2;
text-align:center;
margin:0;
margin-left:-1rem;
padding:0rem;
background:transparent;
cursor:pointer;
color:#C64027;
font-size:4rem;
width:4rem;
height:4rem;
line-height:4rem;
transition:opacity 1s;
}


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

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

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

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

#nav label.button-close:hover {
color:crimson;
transform:rotate(-360deg);
}

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

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

/*  menue-schließen-button EIN / AUS */
input#open-menue:checked ~  label.button-open  {
opacity:0; z-index:1;
}

/*  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  1s  ease-out backwards;
}
/* schaltet animation bei den links ein  */
input#open-menue:checked ~ #menu1 li    a {
transform:rotate(0deg);
}

/* schaltet die animation-verzögerung bei den links ein  */
input#open-menue:checked ~
#menu1 li:nth-child(1)    {animation-delay:200ms; transform:rotate(360deg);}
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:30rem;margin:0 auto;}

}



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

@media (min-width: 580px) {

#menu1  { width:70vw;}

}

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

@media (min-width: 768px) {

#menu1  { width:50vw;}

}


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

#menu1  { width:34rem }

}


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