﻿


/* = = = = = = = = = = = = = = = = = datei menue.css = = = = = = = = = = = = = = = = = = = = = = = = = */



/* ############################################################ */
/* diese datei enthält das hauptmenü */
/* ############################################################ */


nav {
overflow:hidden;
color:#fff;
padding:0;margin:0;
}

#menu  {display:table;POSITION:absolute;z-index:-1;
top:50%; left:50%;
margin-top:-30rem;margin-left:-15rem;
width:30rem;height:60rem;
background:transparent;
padding:0rem;
background:rgba(90,145,200,.8);
border-radius:0;
opacity:0;
transition:opacity 1s ;
}

#menu ul {height:100%;width:100%;
display:table-cell;vertical-align:middle;
padding:0 ;
margin:0;
}

#menu  li {list-style-type : none;display:block;
padding: .4rem .2rem ;
margin:0;
font-size:1.7rem;
}

#menu li span {cursor:pointer;
}

#menu  li span:hover {letter-spacing:1px;
color: white;
}

/* - - - menü-oeffnen-schalter  formatierung - - - */

nav label.button-open  {display:block;
position: absolute;z-index:2;
top:50%;left:50%;
margin-top:-2.5rem;margin-left:-2.5rem;
text-align:center;
border-radius:0rem;
background:rgba(90,145,200,.8);
cursor:pointer;
color:white;
box-shadow:none;
border:none;
font-size:2.6rem;
width:4rem;
height:4rem;
line-height:4rem;
transition:left 1s;
}


/* - - - menü-schließen-schalter  formatierung - - - */

nav label.button-close  {display:block;
position: absolute;z-index:2;
top:50%;right:50%;
margin-top:-2rem;margin-right:-15rem;
cursor:pointer;
background:none;
border:none;
color:white;
text-align:center;
border-radius:0rem;
font-size:3rem;
width:4rem;
height:4rem;
line-height:4rem;
opacity:0;
transition:all 1s;
}


/* - - - hover bei den menü-schaltern - - - */

nav label.button-open:hover {
background:#fff;
color:dodgerblue;
}

nav label.button-close:hover {
color:gold;
}


/* - - - toggle-funktion - - - */

/* checkbox versteckt */
input[type=checkbox]{
display: none;
}


/* schaltet menu ein/aus */
input#open-menue:checked ~ #menu  {
opacity:1;z-index:100;
transition:opacity 1s ;
}

/*  menue-oeffnen-button EIN / AUS */
input#open-menue:checked ~  label.button-open  {
opacity:0;
transition:opacity 1s;
}



/*  menue-schließen-button EIN / AUS */
input#open-menue:checked ~  label.button-close  {
opacity:1;z-index:101;
transition:opacity 2s;
}



/* ############################################################ */
/* M E D I A   Q U E R I E S - RESPONSIVE-BILDSCHIRMABFRAGEN */
/* ############################################################ */



/* ==================================== ab 760 pixel ================================== */
@media (min-width: 760px) {

#menu  {opacity:1;
z-index:1;
margin-top:-20rem;height:40rem;
}

nav label.button-open {margin-left:15rem;font-size:2rem;
width:4rem;
height:4rem;
line-height:4rem;
}

/* schaltet menu ein/aus */
input#open-menue:checked ~ #menu  {
opacity:0;
transition: opacity 3s;
}

/*  menue-oeffnen-button EIN / AUS */
input#open-menue:checked ~  label.button-close  {
opacity:0;

}

/*  menue-oeffnen-button EIN / AUS */
input#open-menue:checked ~  label.button-open  {
opacity:1;
position:fixed;
top:2rem;right:0rem;
transition:all 3s;
}


}

