﻿
/*------------------------------------*\
	NAV
\*------------------------------------*/
#nav{
	list-style: none;
	font-weight: bold;
	margin-bottom: 10px; /* Clear floats */;
	margin-top: 8px;
	float: left;
	padding-left: 0px;
	margin-left: -10px; 
	/* Bring the nav above everything else--uncomment if needed.*/
	position: relative;
	z-index: 5;
	/* background-color: #FFFFFF; */
}
#nav li{
	float: left;
	margin-right: 10px;
	position: relative;
}
#nav p{
	display: block;
	padding: 2px 10px 2px 10px;
	margin-top: 3px;
	margin-bottom: 3px;
	color: #000000; /* background: #FFFFFF; */;
	text-decoration: none;
}
#nav a{
	display: block;
	padding: 2px 32px 2px 10px; /* die 32px sind gepfuscht, damit das Menu halb so breit wird wie der Content. Besser hier 10px und gleichmäßig verteilen */
	margin-top: 3px;
	margin-bottom: 3px;
	color: #000000; /* background: #FFFFFF; */;
	text-decoration: none;
}
#nav a:link {color:black; text-decoration:none}
#nav a:visited {color:black; text-decoration:none}
#nav a:active {color:blue; text-decoration:none}
#nav a:hover{
	color:#808000;
	background:#FFFFFF;
	text-decoration:none;
}

/*--- DROPDOWN ---*/
#nav ul{
	background: #fffff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
	background: rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
	list-style: none;
	position: absolute;
	left: -9999px;
	margin-left: 0px;
	padding-left: 5px;
}
#nav ul li{
	padding-top:0px; /* Introducing a padding between the li and the a give the illusion spaced items */
	border: 0px #808000 solid;
	float:none;
}
#nav ul a{
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
#nav li:hover ul{
	/* Display the dropdown on hover */
	left: 0px;
	background:#707000;
}
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	background:#ffffff;
	/* text-decoration:underline; */
}
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
	text-decoration:none;
}
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	background:#ffffff;
}

/* Ein alternatives Menü, unabhängig von nav: */
#nav-top{
	position: absolute;
	z-index: 5;
	right: 0px;
	/* background-color: #FFFFFF; */
}
#nav-top ul{
	list-style: none;
	font-weight: bold;
	margin-bottom: 10px; 
	margin-top: 50px;
	padding-left: 0px;
	margin-left: 0px; 
}
#nav-top ul li{
	display: inline;
}
#nav-top li a{
	/* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	text-decoration: none;
	color: #000000;
	padding: 0px 10px 0px 10px;
}
#nav-top li:hover a{
	/* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	background: #cccccc;
	color: #000000;
	background-color: #cccc00; 
}


