


/*
hier erst meine eigenen tags

*/

.menulist ul div.hauptumrandung{
	float: left;
 	background-image: url(./oben_spitze.gif);
	background-repeat: no-repeat;
	background-position: -1px top;
	padding-top: 8px;
	background-color: #FFFFFF;
}

.menulist ul div.sub_lay_1{
	float: left;
 	background-image: url(./menu_left_down.gif);
	background-repeat: repeat-y;
	background-position: left;
}
.menulist ul div.sub_lay_2{
	float: left;
 	background-image: url(./menu_top_left.gif);
	background-repeat: repeat-x;
	background-position: top;
}

.menulist ul div.sub_lay_3{
	float: left;
 	background-image: url(./menu_right_down.gif);
	background-repeat: repeat-y;
	background-position: right;

}
.menulist ul div.sub_lay_4{
	float: left;
 	background-image: url(./menu_bottom_left.gif);
	background-repeat: repeat-x;
	background-position: bottom;
}

.menulist ul div.sub_lay_2_ecke{
	float: left;
 	background-image: url(./ecke_right_oben.gif);
	background-repeat: no-repeat;
	background-position: right top;
}
.menulist ul div.sub_lay_3_ecke{
	float: left;
 	background-image: url(./ecke_right_unten.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
}
.menulist ul div.sub_lay_4_ecke{
	float: left;
 	background-image: url(./ecke_left_unten.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
}
.menulist ul div.haupt_und_ecke{
	float: left;
 	background-image: url(./ecke_left_oben.gif);
	background-repeat: no-repeat;
	background-position: left top;
}


.menulist ul div.sub_lay_con{
	float: left;
	margin-left: 6px;
	margin-right: 5px;
	margin-top: 5px;
	padding-top:9px;
	padding-left: 4px;
	padding-right: 18px;
}



/* HORIZONTAL FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
 margin: 0;
 padding: 0;
 list-style: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 display: none;
 position: absolute;
 top: 1.0em; margin-top: 13px; /* I'm using ems and px to allow people to zoom their font */
 left: 9px;
 top: 18px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
 top: -1px; margin-top: 0;
 left: 168px;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.menulist li {
 float: left;
 display: block;
 position: relative;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none;
 margin: 0;
 border: none;
 font-family: Arial, Helvetica, sans-serif;
 font-size: 11px;
 color: #666666;

}
.menulist ul li ul {
	margin-left: 2px;
}
.menulist ul {
	padding: 0;
	margin: 0;

}
.menulist ul:last-child {
 /* Mozilla fix */
}
.menulist ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulist li a {
	padding: 0;
	border: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: #666666;
	text-decoration: none;
	padding-left: 16px;
	padding-right: 16px;
}
.menulist li a.highlighted:hover, .menulist li a.highlighted, .menulist li a.active, .menulist li a:hover{
	color: #cc0000;
}

.menulist li ul li a {
	text-decoration: none;
	padding-right: 6px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #666666;
	white-space: nowrap;
	text-align: left;
	padding-left: 0px;
}
.menulist li ul li{
	clear: left;
	padding-left: 10px;

}


p.sub_p_1 {
	padding-left: 10px;
	padding-bottom: 5px;
	float: left;
}
.menulist li ul div div div div div div div div div div li p.sub_p_1 a{
	font-size: 10px;
	color: #999999;
}
.menulist li ul div div div div div div div div div div li p.sub_p_1 a:hover, .menulist li ul div div div div div div div div div div li p.sub_p_1 .highlighted:hover, .menulist li ul div div div div div div div div div div li p.sub_p_1 a:focus, .menulist li ul div div div div div div div div div div li p.sub_p_1 a.active, .menulist li ul div div div div div div div div div div li p.sub_p_1 a.highlighted{
	color: #cc0000;
}

.menulist li ul div div div div div div div div div div li p.sub_p_1 a{
	clear: left;
	float: left;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist li ul a:hover, .menulist li ul a.highlighted:hover, .menulist li ul a:focus{
	color: #cc0000;
}

.menulist li ul a.active{
	color: #cc0000;
}

.menulist li ul li a.active{
	color: #cc0000;
}


.menulist li ul a.highlighted {
	color: #cc0000;
}


/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulist a#xyz {
      background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menulist a .subind {
 display: none;
   text-transform: uppercase;
}
.menulist ul a .subind {
 display: block;
 float: right;
}


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 float: left;
}
.menulist ul a {
 float: none;
}
/* \*/
.menulist a {
 float: none;
}
/* */

/* \*/
.menulist ul div.sub_lay_con{
	margin-top: 5px;
	padding-top:9px;
}

/* */


/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .menulist ul li {
 float: left;
 width: 100%;

}

*:first-child+html .menulist ul div.sub_lay_con{
	padding-right: 8px;

}

* html .menulist ul div.sub_lay_con{
	float: left;
 	background-color: #FFFFFF;
	margin-left: 3px;
	margin-right: 3px;
}
* html .menulist ul div.sub_lay_con{
	margin-top: 5px;
	padding-top:9px;
}

* html .menulist ul li {
 float: left;
 height: 1%;
}
* html .menulist ul a {
 height: 1%;
}
/* End Hacks */


