/* = = = = = = = = = = = = = = = = = datei menue.css = = = = = = = = = = = = = = = = = = = = = = = = = */
/* ############################################################ */
/* diese datei enthält das hauptmenü */
/* alle anderen menüs sowie auch allgemeine links im text bzw. eventuelle "weiter-Links"sind in der datei "format.css" direkt beim jeweiligen abschnitt  definiert */
/* ############################################################ */
/* - - - - - MENU FORMATIERUNG - - - - - */
#nav {
	margin: 0;
	color: #fff;
	padding: 0;
	overflow: hidden;
}

#menu1 {
	display: table;
	position: fixed;
	z-index: 1;
	top: 0%;
	right: 0%;
	height: 100vh;
	width: 100%;
	margin-right: -200vw;
	padding: 0;
	background: transparent;
	transition: 5s ease-out;
}

#menu1 ul {
	display: table-cell;
	background: #222E33;
/* IE9*/
background: linear-gradient(to right, #3D4F58, #13181C);
	vertical-align: middle;
	text-align: center;
	margin: 0;
	padding: 0rem;
	overflow: hidden;
}

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

#menu1 li a {
	display: inline-block;
	position: RELATIVE;
	overflow: hidden;
	// text-align: left;
	text-align: right;
	text-decoration: none;
	font-size: 1.5rem;
	letter-spacing: 0px;
	padding: .6rem 1rem;
	margin: -2px;
	color: #D9E1E6;
	background: #496470;
	border: 1px solid #0F0F0F;
	border-radius: 4px;
	box-shadow: inset 0px 1px 1px 0px rgba(255,255,255,.4);
	text-shadow: none;
	text-transform: uppercase;
	width: 100%;
}

/* #menu1 li .top-box-filter {
	display: inline-block;
	position: ABSOLUTE;
	top: 0px;
	left: -100px;
	height: 200%;
	width: 10px;
	background: rgba(255,255,255,.8);
	opacity: 0.8;
	box-shadow: 0px 0px 20px 10px white;
	transform: rotate(-45deg);
	transform-origin: 0% 0%;
	TRANSITION: all 2s ease-out;
}   */

/* hover und aktuell angezeigter link */
#menu1 li:hover .top-box-filter {
	left: 150%;
	top: 0px;
}

#menu1 li a:hover {
	color: #28353E;
	background: #88A2AE;
}

#menu1 #aktuell a {
	color: #fff;
	// background: #DF0000;
  background: #EF9500;
}

/* - - - menü-oeffnen-schalter  formatierung - - - */
#nav label.button-open {
	display: inline-block;
	position: fixed;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	text-align: center;
	margin: 0;
	padding: 0rem;
	background: transparent;
	cursor: pointer;
	// color: #FF0000;
	color: #FFA500;
	// text-shadow: 1px 1px 1px #BF0000;
	text-shadow: 1px 1px 1px #BF7500;
	font-size: 3rem;
	width: 4rem;
	height: 4rem;
	line-height: 4rem;
	transition: top 1s ease-out, transform .6s ease-out;   // Menübutton fährt nach oben
  // transition: top 2s ease-out, transform .6s ease-out;   // Menübutton fährt nach oben
}

/* - - - menü-schließen-schalter  formatierung - - - */
#nav label.button-close {
	display: inline-block;
	position: fixed;
	top: 1rem;
	right: 1rem;
	margin-right: -100vw;
	z-index: 2;
	cursor: pointer;
	background: transparent;
	text-align: center;
	vertical-align: middle;
	// color: red;
	color: #FFA500;
	font-size: 3rem;
	width: 4rem;
	height: 4rem;
	line-height: 4rem;
	transition: margin 1s ease-out, transform 1s ease-out;  // Schließenbutton fährt raus mit Menühintergrund
}

/* - - - hover bei den menü-schaltern - - - */
#nav label.button-open:hover {
	// color: gold;
  color: #fff;
}

#nav label.button-close:hover {
	color: #fff;
	// transform: rotate(-360deg);
}

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

/*  menue-schließen-button EIN / AUS */
input#open-menue:checked ~  label.button-close {
	margin-right: 0;
}

/*  menue-oeffnen-button EIN / AUS */
input#open-menue:checked ~  label.button-open {
	top: -5rem;
}

/* schaltet menu ein/aus */
input#open-menue:checked ~ #menu1 {
	margin-right: 0;
	transition: 1s ease-out;
}

/* schaltet animation bei den links ein  */
input#open-menue:checked ~ #menu1 li {
	// animation: fade-in  1s  ease-out backwards;
}

/* schaltet die animation-verzögerung bei den links ein  */
input#open-menue:checked ~#menu1 li:nth-child(1) {
	animation-delay: 200ms;
	transform: rotate(360deg);
}

input#open-menue:checked ~#menu1 li:nth-child(2) {
	animation-delay: 500ms;
}

input#open-menue:checked ~#menu1 li:nth-child(3) {
	animation-delay: 800ms;
}

input#open-menue:checked ~#menu1 li:nth-child(4) {
	animation-delay: 1100ms;
}

input#open-menue:checked ~#menu1 li:nth-child(5) {
	animation-delay: 1400ms;
}

input#open-menue:checked ~#menu1 li:nth-child(6) {
	animation-delay: 1700ms;
}

input#open-menue:checked ~#menu1 li:nth-child(7) {
	animation-delay: 2000ms;
}

/* ############################################################ */
/* M E D I A   Q U E R I E S - RESPONSIVE-BILDSCHIRMABFRAGEN*/
/* ############################################################ */
/* ==================================== ab 480 pixel ================================== */
@media (min-width: 480px) {
#menu1 li {
	width: 30rem;
}
}
/* ==================================== ab 580 pixel ================================== */
@media (min-width: 580px) {
#menu1 {
	width: 70vw;
}
}
/* ==================================== ab 768 pixel ================================== */
@media (min-width: 768px) {
#menu1 {
	width: 50vw;
}
}
/* ==================================== ab 960 pixel ================================== */
@media (min-width: 960px) {
#menu1 {
	width: 34rem
}
}
/* = = = = = = = = = = = = = = = = = = = = = Code Ende = = = = = = = = = = = = = = = = = = = = = */