
/* = = = = = = = = = = = = = = = = = 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:#fff ;
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:inline-block;width:100%;
background:beige;
color:#5f5f5f;
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:uppercase;
}

#menu1 li:first-child a {border-top-left-radius:2rem;border-top-right-radius:2rem;
}

#menu1 li:last-child a {border-bottom-left-radius:2rem;border-bottom-right-radius:2rem;
}


/*  hover   */
#menu1 li a:hover {background:cornsilk;
color:#5f5f5f;
text-decoration:none;
}

/* angezeigter link  */

#menu1  li#aktuell a {background:cornsilk;
color:#5f5f5f;
font-weight:normal;
text-decoration:none;
}

#menu1  li#aktuell a:hover {background:#FFFBF5; }



/* menue oeffnen schalter  formatierung */
nav label.button-open {display:inline-block;
text-align:center;
POSITION:absolute;
top:-2.5rem;right:0rem;
z-index:2;
padding:0rem;
background:rgba(12,78,40);
color:#fff;
height:3rem;
width:3rem;
line-height:3rem;
font-size:2rem;
font-weight:bold;
border-radius:.5rem;
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:#084420;
height:3rem;
width:3rem;
line-height:3rem;
font-size:2rem;
font-weight:bold;
border-radius:.5rem;
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; }

}



/* ===================================== ab 960 pixel ================================= */
@media (min-width: 960px) {

nav label.button-open,nav label.button-close {display:none; }

nav {position:static; margin:0;padding:.4rem;height:auto; }

#menu1 {width:100%;
POSITION:relative;z-index:2;
top:0;left:0;
height:0rem;margin:-.25rem 0 0 0;padding:0rem;
box-shadow:none;
opacity:1;
}

#menu1 ul {background:transparent;margin:0;padding: 0;vertical-align:top; }

#menu1 li {display:block;padding:0;margin:0 -.25rem;text-align:left;}
#menu1 li a {width:auto;background:transparent;font-size:1.3rem; padding:.4rem .5rem;color:#fff;;text-decoration:none;margin:0; letter-spacing:5px;}
#menu1 li a:hover {background:transparent;color: #fff;font-weight:bold;}

#menu1 li#aktuell a {color:#fff;background:transparent;font-weight:bold; }
#menu1 li#aktuell a:hover {color:#fff;background:transparent; }

#menu1 li:first-child a {border-radius:0rem; }
#menu1 li:last-child a {border-radius:0rem; }

}
