/* CSS Document */

demo .menu {
/*
width:750px;
*/
font-size:0.85em;
position:relative;
z-index:1000;
border:1px solid red;
}
/* remove all the bullets, borders and padding from the default list styling */
.demo .menu ul {
padding:0;
margin:0;
list-style-type:none;
margin-left:-50px;
}
.demo .menu ul ul {
width:100px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.demo .menu li {
float:left;
width:100px;
position:relative;
/*
border:1px solid red;
*/
}
/* style the links for the top level */
.demo .menu a, .demo .menu a:visited {
display:block;
font-size:11px;
text-decoration:none;
color:#000;
width:100px;
text-align:center;
height:18px;
padding-top:7px;
/*
border:1px solid #fff;
border-width:1px 1px 0 0;

background:#758279;
padding-left:10px;
line-height:29px;
*/
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .demo .menu a, * html .demo .menu a:visited {
width:100px;
w\idth:100px;
}


/* ohne dritte ebene */ 

/* style the second level background */
.demo .menu ul ul a, .demo .menu ul ul a:visited {
background-color:#ccc;
background-image:none;
border:1px solid white;
height:40px;
padding:5px 10px;
z-index:1001;
 
}
/* style the second level hover */
.demo .menu ul ul a:hover{
background-color:white;
background-image:none;
border:1px solid white;
color:#000;
height:auto;
/*
line-height:1em;
*/
padding:5px 10px;
width:129px;
text-align:left;
}
.demo .menu ul ul :hover > a {
background-color:white;
background-image:none;
border:1px solid white;
color:#000;
height:auto;
/*
line-height:25px;
*/
padding:5px 10px;
}

/* mit dritter ebene */ 

/* style the second level background */
.demo .menu ul ul a.drop, .demo .menu ul ul a.drop:visited {
background-color:#ccc;
 
}
/* style the second level hover */
.demo .menu ul ul a.drop:hover{
background-color:#fff;
}
.demo .menu ul ul :hover > a.drop {
background-color:#fff;
}
/* style the third level background */
.demo .menu ul ul ul a, .demo .menu ul ul ul a:visited {
background:#e2dfa8;
}

/* style the third level background */
.demo .menu ul ul ul a:hover {
background:#fff;
}

/* style the fourth level background */
.demo .menu ul ul ul ul a, .demo .menu ul ul ul ul a:visited {
background:#ccc;
}

/* style the fourth level hover */
.demo .menu ul ul ul ul a:hover {
background:#ffffff;
}
 
 
/* hide the sub levels and give them a positon absolute so that they take up no room */
.demo .menu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:25px;
left:0;
width:100px;
/*
border:1px solid red;
*/
}
/* another hack for IE5.5 */
* html .demo .menu ul ul {
top:25px;
t\op:25px;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.demo .menu ul ul ul {
visibility:hidden;
position:absolute;
height:0;
top:25px;
left:0;
width:100px;
/*
border:1px solid red;
*/
}

/* hide the fourth sub levels and give them a positon absolute so that they take up no room */
.demo .menu ul ul ul ul {
visibility:hidden;
position:absolute;
height:0;
top:25px;
left:0;
width:100px;
/*
border:1px solid red;
*/
}
 
/* position the third level flyout menu */
.demo .menu ul ul ul{
left:200px;
top:0;
width:100px;
}
/* position the third level flyout menu for a left flyout */
.demo .menu ul ul ul.left {
left:-150px;
}

/* position the fourth level flyout menu */
.demo .menu ul ul ul ul{
left:200px;
top:0;
width:100px;
}
/* position the fourth level flyout menu for a left flyout */
.demo .menu ul ul ul ul.left {
left:-150px;
}
 
/* style the table so that it takes no ppart in the layout - required for IE to work */
.demo .menu table {position:absolute; top:0; left:0;}
 
/* style the second level links */
.demo .menu ul ul a, .demo .menu ul ul a:visited {
background-color:#ccc;
color:#000;
height:auto;
/*
line-height:1em;
*/
padding:5px 10px;
width:129px;
text-align:left;
/* yet another hack for IE5.5 */
}
* html .demo .menu ul ul a{
width:100px;
w\idth:129px;
}
 
 
/* style the top level hover */
.demo .menu a:hover 
/*,.demo .menu ul ul a:hover */{
		background-image:url(../images/bg-navi.jpg);
		background-repeat:repeat-x;
		border:1px solid white;
		height:16px;
		/*
		height:25px;
		padding:5px 9px 3px 9px;
		*/
		/*
		display:block;
		width:100px;
		text-align:center;
		padding-top:5px;
		*/
}
.demo .menu :hover > a
/*, .demo .menu ul ul :hover > a */{
background-image:url(../images/bg-navi.jpg);
		background-repeat:repeat-x;
		/*
		padding:5px 9px 3px 9px;
		*/
		/*
		border:1px solid white;
		display:block;
		width:100px;
		text-align:center;
		padding-top:5px;
		height:25px;
		*/
}

/* style the top level active */
.demo .menu  a.dropact, .demo .menu  a.dropact:hover
/*, .demo .menu ul ul  a.dropact*/
{
		background-image:url(../images/bg-navi.jpg);
		background-repeat:repeat-x;
		border:1px solid white;
		height:16px;
		/*
		height:25px;
		padding:5px 9px 3px 9px;
		*/
		/*
		display:block;
		width:100px;
		text-align:center;
		padding-top:5px;
		*/
}
.demo .menu :link > a.dropact, .demo .menu :hover > a.dropact 
/*,.demo .menu ul ul :link > a.dropact */
{
		background-image:url(../images/bg-navi.jpg);
		background-repeat:repeat-x;
		border:1px solid white;
		height:16px;
		/*
		padding:5px 9px 3px 9px;
		*/
		/*
		border:1px solid white;
		display:block;
		width:100px;
		text-align:center;
		padding-top:5px;
		height:25px;
		*/
}
 
/* make the second level visible when hover on first level list OR link */
.demo .menu ul li:hover ul,
.demo .menu ul a:hover ul{
visibility:visible;
}
/* keep the third level hidden when you hover on first level list OR link */
.demo .menu ul :hover ul ul{
visibility:hidden;
}
 
/* make the third level visible when you hover over second level list OR link */
.demo .menu ul :hover ul :hover ul{
visibility:visible;
}

/* keep the fourth level hidden when you hover on first level list OR link */
.demo .menu ul :hover ul ul ul li{
visibility:hidden;
}
 
/* make the fourth level visible when you hover over second level list OR link */
.demo .menu ul :hover ul :hover ul :hover ul li{
visibility:visible;
}

