#popupmenu{
	/*float: left;*/ /* to keep the other floating objects contained*/
	position: relative; /* This can also be fixed or absolute*/
	width: 1000px;
	margin: 0;  
	padding: 0;
	color: #787878;
	font-family: Arial;
	height:52px;
	z-index: 0;
	background-image: url('/img/backgrounds/hg_navigation.gif');
}

#popupmenu ul{
	float: left;
	white-space: nowrap;
	margin: 0;  
	padding: 0;  
}
#popupmenu ul li{
	margin:  0px;  
	padding: 0px;  
}


/* add more for each extra submenu level*/
#popupmenu ul li,
#popupmenu ul li ul li,
#popupmenu ul li ul li ul li,
#popupmenu ul li ul li ul li ul li
{ 
	/*margin: 0;
	padding: 0;*/
	float: left;
	list-style-type: none;
	position: relative;  
}
/* add more for each extra submenu level*/
#popupmenu ul li ul,
#popupmenu ul:hover li ul li ul,
#popupmenu ul:hover li ul li ul li ul,
#popupmenu ul:hover li ul li ul li ul li ul
{ 
	display: none;
	z-index: 1000;
}



/* First submenu level*/
#popupmenu  > ul > li:hover > ul{
	display: block; /*unhide it*/
	margin-left:0px;
	margin-bottom:5px;
	float: left;	
	position: absolute; /* It needs to be absolute
	for the effect to work.*/
	
	width: 9em;
	bottom: 3.7em; /* This places the the bottom of the 
	ul 1.1em from the bottom of the enclosing li. This 
	is the important part of the effect.*/
	left:0px;
	z-index: 1000;
}
/* For the remaining submenu levels*/
/* add more for each extra submenu level*/
#popupmenu  ul  li  ul  li:hover  ul,
#popupmenu  ul  li  ul li ul li:hover  ul,
#popupmenu  ul  li  ul li ul li ul li:hover  ul{
	float: right;
	display: block;
	position: absolute;
	
	width: 7em;
	left: 6em;
	bottom: 3px; /* Required with some value or
	the effect will not work*/
	z-index: 1000;
}

#popupmenu ul li:hover ul li{ 
	display: block;
 	float: left;   
 	width: 100%;
}

#popupmenu ul li a{
	float: left;
	display: block;
	text-decoration: none;
	color: #1A3148;
	padding: 0;
	margin: 0px;
	
}
/* The on state for the link when you are on the submenu.
This should be before the hover state for the link itself*/
#popupmenu ul li:hover > a{
	/*background-color: #1A3148;
	color: White;*/
}
#popupmenu ul li a:hover
{ 
	/*background-color: #345D84; 
	color: White; */
}

/**
* Extra
**/
#popupmenu ul li a span{
	display: block;
   height: 0;
   overflow: hidden;
   width: 0;

}
#popupmenu ul li a.profil{
	background: url(/img/navi/navigationBtn_profil.png);
	width: 150px;height:52px;
}
#popupmenu ul li a.profil:active{
	background: url(/img/navi/navigationBtn_profil_hover.png);
	width: 150px;height:52px;
}
#popupmenu ul li a.profil:visited{
	background: url(/img/navi/navigationBtn_profil.png);
	width: 150px;height:52px;
}
#popupmenu ul li a.profil:hover, #popupmenu ul li a.profil_Aktiv{
	background: url(/img/navi/navigationBtn_profil_hover.png);
	width: 150px;height:52px;
}
#popupmenu ul li ul.profil_items {
	width: 146px;
	background:url(/img/navi/subnavigation_profil.png);
}
#popupmenu ul li ul.profil_items li{
	margin-left:0px;
	height:27px;
	line-height:27px;
	font-size:12px;
	border-top:1px dotted #787878;
	background-color: #898989;
	width:146px;
	text-align: left;
}
/**
*
*/
#popupmenu ul li a.produkte{
	background: url(/img/navi/navigationBtn_produkte.png);
	width: 253px;height:52px;
}
#popupmenu ul li a.produkte:visited{
	background: url(/img/navi/navigationBtn_produkte.png);
	width: 253px;height:52px;
}
#popupmenu ul li a.produkte:hover, #popupmenu ul li a.produkte_Aktiv{
	background: url(/img/navi/navigationBtn_produkte_hover.png);
	width: 253px;height:52px;
}
#popupmenu ul li ul.produkte_items {
	width:253px;
	background:url(/img/navi/subnavigation_produkte-leistungen.png);
}
#popupmenu ul li ul.produkte_items li{
	margin-left:0px;
	height:27px;
	line-height:27px;
	font-size:12px;
	border-top:1px dotted #787878;
	background-color: #898989;
	width:250px;
	text-align: left;
}



#popupmenu ul li a.gallerie, #popupmenu ul li a.gallerie:visited{
	background: url(/img/navi/navigationBtn_gallerie.png);
	width: 150px;height:52px;
}
#popupmenu ul li a.gallerie:hover, #popupmenu ul li a.gallerie_Aktiv{
	background: url(/img/navi/navigationBtn_gallerie_hover.png);
	width: 150px;height:52px;
}
#popupmenu ul li ul.gallerie_items {
	width:147px;
	background:url(/img/navi/subnavigation_gallerie.png);
}
#popupmenu ul li ul.gallerie_items li{
	margin-left:0px;
	height:27px;
	line-height:27px;
	font-size:12px;
	border-top:1px dotted #787878;
	background-color: #FFFFFF;
	width:147px;
	text-align: left;
}

#popupmenu ul li a.presse, #popupmenu ul li a.presse:visited{
	background: url(/img/navi/navigationBtn_presse.png);
	width: 150px;height:52px;
}

#popupmenu ul li a.presse:hover, #popupmenu ul li a.presse_Aktiv{
	background: url(/img/navi/navigationBtn_presse_hover.png);
	width: 150px;height:52px;
}

#popupmenu ul li a.partner, #popupmenu ul li a.partner:visited{
	background: url(/img/navi/navigationBtn_partner.png);
	width: 150px;height:52px;
}

#popupmenu ul li a.partner:hover, #popupmenu ul li a.partner_Aktiv{
	background: url(/img/navi/navigationBtn_partner_hover.png);
	width: 150px;height:52px;
}

#popupmenu ul li a.kontakt {
	background: url(/img/navi/navigationBtn_kontakt.png);
	width: 147px;height:52px;
}
#popupmenu ul li a.kontakt:hover, #popupmenu ul li a.kontakt_Aktiv{
	background: url(/img/navi/navigationBtn_kontakt_hover.png);
	width: 147px;height:52px;
}

#popupmenu ul li ul li a{ 
	float: none;
	color: #474646;
	font-weight:bold;
	font-size: 12px;
	margin-left:12px;
	
 }

 #popupmenu ul li ul li a:hover{ 
	float: none;
	color:#9debff;
	font-weight:bold;
	font-size: 12px;
	
 }

