
/* = = = = = = = = = = = = = = = = = datei menue.css = = = = = = = = = = = = = = = = = = = = = = = = = */


/* ############################################################ */
/* diese datei enthaelt das hauptmenue */
/* ############################################################ */


nav {POSITION:relative;
display:block;
margin: 0 auto;
}

#menu1 {display:table;
POSITION:fixed;z-index:0;
top:0%;right:-150%;
height:100vh;width:100%;
margin:0;
padding: 0;
transition:all 2s;
}

#menu1 ul {
display:table-cell;
background:#2f2f2f;
vertical-align:middle;
margin:0 auto;
padding:0rem 1rem 0rem 1rem;
}

#menu1 li {list-style-type: none;
display:block;
text-align:center;
padding:0px 5px 0px 10px;
margin:0rem;
}

#menu1 li a {display:block;width:100%;
background:transparent;
border-bottom:solid 1px #5F5F5F;
color:#BFBFBF;
text-align:left;
text-decoration : none;
font-size:1.6rem;
letter-spacing:2px;
padding: .5rem .5rem .5rem 1.5rem;
margin: 0;
font-weight:normal;
text-transform:none;
}

/* letzter link - border-linie unsichtbar  */
#menu1 li:last-child a {border-bottom:solid 1px transparent; }



/*  hover   */
#menu1 li a:hover {background:transparent;
color:#fff;
text-decoration:none;
}

/* angezeigter link  */

#menu1  li#aktuell a {background:transparent;
color:#fff;
font-weight:normal;
text-decoration:none;
}

#menu1  li#aktuell a:hover {background:transparent; }


/* menue oeffnen schalter  formatierung */
nav label.button-open {display:inline-block;
text-align:center;
POSITION:fixed;
top:1rem;right:1rem; 
z-index:2;
padding:0rem;
background:#fff;
color:#4f4f4f;
height:3rem;
width:3rem;
line-height:3rem;
font-size:1.8rem;
border-radius:36rem;
cursor:pointer;
}

/* menue schliessen schalter  formatierung */

nav label.button-close  {display:inline-block;
text-align:center;
POSITION:fixed;
top:1rem;right:1rem;
z-index:3;
padding:0rem;
background:#fff;
color:#4f4f4f;
height:3rem;
width:3rem;
line-height:3rem;
font-size:1.8rem;
border-radius:36rem;
cursor:pointer;
opacity:0;
}


/* checkbox versteckt */
input[type=checkbox]{
display: none;
}

/* schaltet menue ein/aus */
input#open-menue:checked ~ #menu1  {
right:0;
z-index:2;
transition:all 1s ;
}

/* menue schliessen button  formatierung */
input#open-menue:checked ~  label.button-close  {
opacity:1;
transition:opacity 2s ease-out;
}

/*  menue oeffnen button EIN  AUS */
input#open-menue:checked ~  label.button-open  {
opacity:0;
transition:opacity 1s ;
}


/* ############################################################ */
/* M E D I A   Q U E R I E S */
/* CSS Bildschirmabfragen */
/* ############################################################ */

/* ==================================== ab 480 pixel ================================== */
@media (min-width: 480px) {

#menu1 {width:32rem; }

#menu1 li a {
font-size:1.4rem;
padding: .3rem .3rem .3rem 1.5rem;
}

}


/* ==================================== ab 760 pixel ================================== */
@media (min-width: 760px) {


#menu1 li a {
font-size:1.5rem;
padding: .6rem .6rem .6rem 1.5rem;
}

}


/* ===================================== ab 960 pixel ================================= */
@media (min-width: 960px) {

nav label.button-open,nav label.button-close {display:none; }

nav {position:static; margin:0;padding:0rem;height:auto; }

#menu1 {width:100%;
POSITION:relative;z-index:2;
top:0;left:0;
height:0rem;margin:0 0  0 0;padding:0rem;
box-shadow:none;
opacity:1;
}

#menu1 ul {background:transparent;margin:0;padding: 0;vertical-align:middle;width:100%;text-align:center; }

#menu1 li {display:inline-block;padding:0;margin:0 auto;text-align:left;}

#menu1 li a {width:auto; background:transparent;
border-bottom:solid 0px transparent;
font-size:1.3rem;
padding:.4rem .8rem;
color:#4f4f4f;
text-decoration:none;
letter-spacing:2px;
}

#menu1 li a:hover {background:whitesmoke;color:#4f4f4f;border-radius:.6rem; }

#menu1 li#aktuell a {background:transparent;color:#000;font-weight:bold;border-radius:.6rem;  }
#menu1 li#aktuell a:hover {color:#000;background:whitesmoke; }

}