/* Based partially on Matthew Carroll's keyboard accessible flavor of Suckerfish 
 * Dropdowns by Patrick Griffiths and Dan Webb. 
 * http://carroll.org.uk/sandbox/suckerfish/bones2.html
 */

/* ----[ LINKS ]----*/

/* all menu links */
#nav a, #subMenusContainer a {
	text-decoration: none;
	display: block;
	color: #d47e1b;
	white-space: nowrap;
}

#nav {
	margin-right: 30px !important;
}
#hauptmenue {
	overflow: visible !important;
}


/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/
#hauptmenue #nav a {
	margin: 0;
	float: left;
	padding: 4px 10px 3px;
	font-weight: bold;
	font-size: 13px;
}

/* Just sub menu links */
#subMenusContainer a, #hauptmenue #nav li li a {
	text-align: left;
	border-bottom: 1px solid #CCCCCC;
	padding: 4px 10px;
	font-size: 12px;
	display: block;
	font-weight: normal;
	background-color: #F6F6F6;
}
#hauptmenue #nav li li a {
	clear: both;
	width: 100%;
}

/* All menu links on hover or focus */
#nav a:hover,
#nav a:focus,
#subMenusContainer a:hover,
#subMenusContainer a:focus,
#nav a.mainMenuParentBtnFocused,
#subMenusContainer a.subMenuParentBtnFocused {
	color: #8d4d06;
}

/* sub menu links on hover or focus */
#subMenusContainer a:hover, 
#subMenusContainer a:focus, 
#subMenusContainer a.subMenuParentBtnFocused,
#nav ul a:hover,
#nav ul a:focus {
	background-color: #d9d3d3;
}

/* Parent Sub Menu Links ---[javascript users only]*/
.subMenuParentBtn { 
	background: url(gfx/pfeil_dot.gif) right center no-repeat;  
}
/* Parent Sub Menu Links on hover or focus ---[javascript users only]*/
.subMenuParentBtnFocused { 
	background: url(gfx/pfeil_dot.gif) right center no-repeat;  
}
/* Parent Main Menu Links ---[javascript users only]*/
.mainMenuParentBtn{	
	 /* background: url(../img/arrow_down.gif) right center no-repeat; */
}
/* Parent Main Menu Links on hover or focus ---[javascript users only]*/
.mainMenuParentBtnFocused{	
	/* background: url(../img/arrow_down_over.gif) right center no-repeat; */
}


/* ----[ OLs ULs, LIs, and DIVs ]----*/

/* Submenu Outer Wrapper - each submenu is inside a div with this class - javascript users only */
.smOW{ 
	display: none; 
	position: absolute; 
	overflow: hidden;
}


/* All ULs and OLs */
#nav, #nav ul, #nav ol, #subMenusContainer ul, #subMenusContainer ol { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1em;
}

/* All submenu OLs and ULs */
#nav ol, #nav ul, #subMenusContainer ul, #subMenusContainer ol {	
	background: #F6F6F6;
	left: 0;
}


/* List items in main menu --[for non-javascript users this applies to submenus as well]  */
#nav li { 
	/*great place to use a background image as a divider*/
	display: block;
	list-style: none;
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
}
#hauptmenue #nav li {
	display: block;
}

#subMenusContainer li{
	list-style: none;
	margin: 0;
	padding: 0;
}

/* main menu ul or ol elment */
#nav {
	display: block;
	position: relative;
	list-style: none;
	margin: 0 0 0 0;
	z-index: 5;
	text-align: center;
	display: block;
}

#subMenusContainer {
	display: block;
	position: absolute;
	top: 0;
	left: 1px;
	width: 100%;
	height: 0;
	overflow: visible;
	z-index: 1000000000;
}


/* --------------------------[ The below is just for non-javscript users ]--------------------------*/
#hauptmenue #nav li li  {
float:none;
}
#hauptmenue #nav li li a {
float:none;
position:relative;
}
#hauptmenue #nav li ul {
margin-left:-1000em;
margin-top:2em;
position:absolute;
width:12em;
}
#hauptmenue #nav li ul ul {
margin:-1em 0 0 -1000em;
left: 21px;
}
#hauptmenue #nav li:hover ul ul {
margin-left:-1000em;
}
#hauptmenue #nav li:hover ul {
margin-left:0;
}
#hauptmenue #nav li li:hover ul {
margin-left:12em;
margin-top:-2em;
}
#hauptmenue #nav li a:focus + ul {
margin-left:0;
margin-top:2em;
}
#hauptmenue #nav li li a:focus + ul {
left:0;
margin-left:1012em;
margin-top:-2em;
}
#hauptmenue #nav li li a:focus {
left:0;
margin-left:1002em;
margin-top:0;
width:12em;
}
#hauptmenue #nav li li li a:focus {
left:0;
margin-left:2014em;
margin-top:-1em;
width:12em;
}
#hauptmenue #nav li:hover a:focus {
margin-left:0;
}
#hauptmenue #nav li li:hover a:focus + ul {
margin-left:12em;
}
