
/* Begin CSS Popout Menu */

#menu{
	width:100%;
	float:left;
	height: 82px;
	background: #004A18 url('../images/navigation_back.png') repeat-x;
}

#menu a{
	display:block;
	margin:0;
	padding: 10px 15px 10px 15px ;	
	font-size: 13px;
	font-weight: normal;
	text-decoration: none;
	color: #666666;
}

* html #menu a {	
	white-space:nowrap;
}

#menu h3 a{
	display:block;
	font-size: 13px;
	font-weight: normal;
	text-decoration: none;
	color: white;
	display: block;
	
	text-align: center;
	border-left: 1px solid white;	
	height: 21px;
	margin: 21px 0 10px 0;
	padding: 12px 0 10px 0;
}

#menu a:hover{
	color: #156C21;
}

#menu a:active{
	
}

#menu ul{
	list-style:none;	
	width: 985px;
	margin: 0 auto 0 auto;
	padding: 0;
}

#menu li{
	position:relative;
	float: left;
	width: 164px;
}

#erlebnisbauernhof ul {
	border-top: 8px solid #cfe71f;
}
#fnl_mainpage ul {	
	border-top: 8px solid #8dad0a;
}
#menu ul ul{
	position:absolute;
	z-index:500;
	top:auto;
	left: 0;
	display:none;
	width: 165px;
	background: transparent url('../images/subnavigation_back.png') repeat;
	background-position: bottom;	
	}

* html #menu ul ul{
	
	background: white url('');
		
	}
#menu ul li ul li {
	
		border-bottom: 1px solid #666666;
	
}
#menu ul li ul li:hover {
	
	background: transparent url('../images/subnavigation_back.png') repeat;
	
}
* html #menu ul li ul li:hover {
	background: white url('');
}
#menu ul ul ul{
	top:0;
	left:100%;
}

/* Begin non-anchor hover selectors */

/* Enter the more specific element (div) selector
on non-anchor hovers for IE5.x to comply with the
older version of csshover.htc - V1.21.041022. It
improves IE's performance speed to use the older
file and this method */

#menu h3 a:hover{
	color: white;
}

div#menu li:hover{
	cursor:pointer;
	z-index:100;
}

div#menu li:hover ul ul,
div#menu li li:hover ul ul,
div#menu li li li:hover ul ul,
div#menu li li li li:hover ul ul
{display:none;}

div#menu li:hover ul,
div#menu li li:hover ul,
div#menu li li li:hover ul,
div#menu li li li li:hover ul
{display:block;}

/* End of non-anchor hover selectors */

/* Styling for Expand */

#menu a.x, #menu a.x:visited{
	
}

#menu a.x:hover{

}

#menu a.x:active{

}

#menu #fnl_mainpage li.selected{

	background: transparent url('../images/menu_border.gif') bottom repeat-x;
	height:82px;
	
}
#menu #erlebnisbauernhof li.selected{

	background: transparent url('../images/menu_border_eb.gif') bottom repeat-x;
	height:82px;
	
}
#menu li.selected h3 a{
	font-weight: bold;
}
div#menu li:hover.selected ul{
	display: none;
}
/* End CSS Popout Menu */