body {
               behavior:url("fileadmin/templates/csshover.htc"); 
}

/* --------------Bildmenuzeile----------------------------------------- */

#bildmenuzeile {
	width: 609px;
	float: right;
	display: inline;
	height: 24px;
	background-image: url(images/mgpage.gif);
	background-repeat: repeat-y;
	background-position: right top;
	margin: 0;
	padding: 0;
	font-size: 13px;
}

/* --------------Bildmenu----------------------------------------- */

#bildmenu {
/*	(en) containing floats in IE */
/*	(de) Einfassen der Floats im IE */
	width: 521px;
	overflow: hidden;
/*	(en) containing floats in all other browsers */
/*	(de) Einfassen der Floats in allen anderen Browsern */
	float: left;
	display: inline;
/*	(en) Repeat the main color from the image */
/*	(de) Wiederholung der Hauptfarbe aus der Bilddatei */
	background: #000;
	line-height: 1em;   
	height: 24px;
    	margin: 0;
	padding: 0;
}

#bildmenu ul {
/*	(en|de) Bugfix: IE - Doubled Float Margin Bug */
	display: inline;
	margin: 0;
	padding: 0;
}

#bildmenu ul li {
/*	(en|de) Bugfix: IE - Doubled Float Margin Bug */
	display: inline;
	float: right;
	font-size: 1em;   
	line-height: 1.4em;
	list-style-type: none;
	margin: 0px 5px;
	padding: 0 0;
	height: 24px;
}
  
.mir { letter-spacing: -1000em; }
html>body .mir {letter-spacing: normal; text-indent: -999em; overflow: hidden;}
  
/*	Hier die ID der Seite "kontakt" eintragen */
#bildmenu ul li#p8 {
  	background-color: transparent;
  	background-image: url(images/mgkontaktd.gif);
  	background-repeat: no-repeat;
}
  
  
/*	Hier die ID der Seite "home" eintragen */
#bildmenu ul li#p3 {
  	background-color: transparent;
  	background-image: url(images/mghomed.gif);
  	background-repeat: no-repeat;
}

    
/* Hier die ID der Seite "kontakt" eintragen */
#bildmenu ul li#p8act {
  	background-color: transparent;
  	background-image: url(images/mgkontakt.gif);
  	background-repeat: no-repeat;
} 
  
/*	Hier die ID der Seite "home" eintragen */
#bildmenu ul li#p3act {
  	background-color: transparent;
  	background-image: url(images/mghome.gif);
  	background-repeat: no-repeat;
}

#bildmenu ul li a,
#bildmenu ul li strong {
	background: transparent;
	color: #000;  
	display: block;
	text-decoration: none;
	width: 22px;
}

  /* Seite "Kontakt" */
 
#bildmenu ul li#p8 a:focus,
#bildmenu ul li#p8 a:hover,
#bildmenu ul li#p8 a:active  {
	background: transparent;
	background-image: url(images/mgkontakt.gif);
    	background-repeat: no-repeat;
	background-position: center center;
	color: #fff;
	text-decoration: none;
}

  
  /* Hier die ID der Seite "home" eintragen */

#bildmenu ul li#p3 a:focus,
#bildmenu ul li#p3 a:hover,
#bildmenu ul li#p3 a:active  {
	background: transparent;
	background-image: url(images/mghome.gif);
    	background-repeat: no-repeat;
	background-position: center center;
	color: #fff;
	text-decoration: none;
}


#bildmenu ul li#current {
    /* (en) Repeat the main color from the image */
    /* (de) Wiederholung der Hauptfarbe aus der Bilddatei */
	background: #000 url(images/info.gif) no-repeat center right;
}


#bildmenu ul li#current strong,
#bildmenu ul li#current a,
#bildmenu ul li#current a:focus,
#bildmenu ul li#current a:hover,
#bildmenu ul li#current a:active {
	background: transparent;
	color: #fff;
	text-decoration: none;
}


/* --------------flag----------------------------------------- */
 
#flag {
	width: 80px;
	float: right;
	height: 24px;
	margin: 0px 2px 0 0;	
}

#flag table {
	floar: right;
	height: 24px;	
}

#flag td {
    /* (en|de) Bugfix: IE - Doubled Float Margin Bug */
	display: inline;
	hight: 24px;
	margin: 0;
	padding: 0;
}

#flag a {
	hight: 24px;
	margin: 2px 5px;
	display: inline;
}

/* --------------hauptmenu----------------------------------------- */

#menu {
	float: right;	
	width: 609px;
	height: 48px;
	background-image: url(images/mg2.gif);
	background-repeat: no-repeat;
	background-position: right top; 
	font-size:13px;
	position:relative;
	z-index:100;
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;

}

/* remove all the bullets, borders and padding from the default list styling */
#menu ul {
	position:absolute;
	top:11px;
	padding:0;
	margin:0px 0px 0px 17px;
	list-style-type:none;
	display: inline;
}

* html #menu ul {
	top:11px;
	t\op:11px;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
#menu ul ul {
	visibility:hidden;
	position:absolute;
	top:28px;
	left:1px;
	width:120px;
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	list-style-type:none;
}

/* another hack for IE5.5 */
* html #menu ul ul {
	top:28px;
	t\op:28px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#menu li {
	float:left;
	position:relative;
}

/* style the links for the top level */
#menu a, #menu a:visited {
	display:block;
	font-size:0.9em;
	text-decoration:none; 
	color:#212121;
	line-height:24px;
	float: left;
	margin: 0px 0px 0px 0px;
	padding: 0px 12px 0px 12px;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	border-width: 0px 0px 4px 0px;
	border: solid #06f900;	
}

/* a hack so that IE5.5 faulty box model is corrected */
* html #menu a, * html #menu a:visited {
	width:60px;
	w\idth:61px;
}

/* style the top level hover */
#menu a:hover, #menu ul ul a:hover, #menu a:active, #menu ul ul a:active {
	color:#212121; 
	background:#cbffca;
}

#menu :hover > a, #menu ul ul :hover > a, #menu :active > a, #menu ul ul :active > a {
	color:#212121;
	background:#cbffca;
}

/* style the top level active */
#menu a:active {
	color:#ff0000; 
	background:#cbffca;
}



/* style the second level links */
#menu ul ul a, #menu ul ul a:visited {
	background:#cbffca; 
	color:#212121; 
	height:auto; 
	line-height:1em; 
	padding:5px 10px; 
	width:120px;
	text-transform: none;
	border-width: 0 2px 2px 2px;
	border: solid #06f900;
}

/* style the second level hover */
#menu ul ul a.drop:hover{
	color:#212121;
	background:#6BF867;
}

#menu ul ul :hover > a.drop {
	color:#212121;
	background:#6BF867;
}

/* style the second level background */
#menu ul ul a.drop, #menu ul ul a.drop:visited {
}

/* position the third level flyout menu */
#menu ul ul ul{
	left:150px; 
	top:0;
	width:150px;
}

/* position the third level flyout menu for a left flyout */
#menu ul ul ul.left {
	left:-150px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#menu table {position:absolute; top:0; left:0;}

/* yet another hack for IE5.5 */

* html #menu ul ul a{
	width:120px;
	w\idth:120px;
}

/* make the second level visible when hover on first level list OR link */
	#menu ul li:hover ul,
	#menu ul a:hover ul{
	visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
#menu ul :hover ul ul{
	visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
#menu ul :hover ul :hover ul{ 
	visibility:visible;
}
