
/* = = = = = = = = = = = = = = = = = 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:#464a46 ;
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:#4B575F;
color:#fff;
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:#71838E;
color:#fff;
text-decoration:none;
}

/* angezeigter link  */

#menu1  li#aktuell a {background:#71838E;
color:#fff;
font-weight:normal;
text-decoration:none;
}

#menu1  li#aktuell a:hover {background:#71838E; }



/* menue oeffnen schalter  formatierung */
nav label.button-open {display:inline-block;
text-align:center;
POSITION:absolute;
top:0rem;right:0rem;
z-index:2;
padding:0rem;
background:darkslategray;
color:#fff;
height:3rem;
width:3rem;
line-height:3rem;
font-size:1.8rem;
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:#efefef;
color:darkslategray;
height:3rem;
width:3rem;
line-height:3rem;
font-size:1.8rem;
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:0rem;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:inline-block;padding:0;margin:0 -.25rem;}
#menu1 li a {width:auto;background:transparent;font-size:1.3rem; padding:.4rem .5rem;color:#3C536C;text-decoration:none;margin:0; }
#menu1 li a:hover {background:transparent;color:#000; }

#menu1 li#aktuell a {color:#3C536C;background:transparent;font-weight:bold; }
#menu1 li#aktuell a:hover {color:#3C536C;background:transparent; }

#menu1 li:first-child a {border-radius:0rem; }
#menu1 li:last-child a {border-radius:0rem; }

}