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


/* ############################################################ */
/* diese datei enthält das hauptmenü */
/* alle anderen möglichen menüs sowie auch allgemeine links im text bzw. eventuelle "Weiter-(Button-)Links"
sind in der Datei "format.css"  definiert */
/* ############################################################ */


nav {
display:block;
margin: 0 auto;

}

#menu1 {display:table;POSITION:fixed;
top:0;right:0;z-index:1;
height:100%;width:100%;
margin:0;margin-right:-200vw;
padding:0;
box-shadow:0 0  2px rgba(0,0,0,.3);
transition:all 2s;
}

#menu1 ul {
display:table-cell;
vertical-align:middle;text-align:left;
background:mediumvioletred;
margin:0;
padding:0rem 1rem 0rem 2rem;
}

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

#menu1 li a {display:inline-block;
text-align:center;
text-decoration : none;
font-size:1.6rem;
line-height:3rem;
letter-spacing:1px;
padding: 0rem 0rem;
margin: 0;
background:transparent;
color:#fff;
font-weight:normal;
text-transform:uppercase;
}


/*  hover   */
#menu1 li a:hover {background:transparent;
color:#fff;
text-decoration:underline;
}

/* angezeigter link  */

#menu1  li#aktuell a {background:transparent;
color:#fff;
font-weight:bold;
text-decoration:none;
}



/*  menü-oeffnen-schalter  formatierung  */

/* menü-öffnen-schalter  formatierung */
nav label.button-open {display:inline-block;
text-align:center;
POSITION:absolute;
top:1rem; right:1rem;
z-index:2;
padding:0rem;
background:transparent;
color:white;
height:3rem;
width:3rem;
line-height:3rem;
font-size:2rem;
cursor:pointer;

}

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

nav label.button-close  {display:inline-block;
text-align:center;
POSITION:fixed;
top:1rem; right:1rem;
z-index:3;
padding:0rem;
background:transparent;
color:white;
height:3rem;
width:3rem;
line-height:3rem;
font-size:2rem;
cursor:pointer;
opacity:0;
transition:all 1s;
}


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

/* schaltet menu ein/aus */
input#open-menue:checked ~ #menu1  {
margin:0;
transform:scale(1);
z-index:2;
transition:all 1s ease-out;
}

/*  menue-schließen-button EIN / AUS */
input#open-menue:checked ~  label.button-close  {
opacity:1;
transition:all 2s ease-out;
}



/* ############################################################ */
/* M E D I A   Q U E R I E S */
/* CSS Bildschirmabfragen */
/* ############################################################ */


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

nav label.button-open,nav label.button-close {display:none; }

nav {padding:1rem 1rem;height:auto; }

#menu1 {width:100%;margin:0rem 0;box-shadow:none;POSITION:relative }

#menu1 ul {background:transparent;height:0;padding:2rem 0rem;text-align:right; }

#menu1 li {display:inline-block; }
#menu1 li a {font-size:1.3rem;  }


}






