@import "hmenu.css";


/* allgemein */
.menu {
    z-index:1000;
}

.menu ul {
    padding:0;
    margin:0;
    list-style-type:none;
    /*width:153px;*/
    position:relative;
    z-index:1000;
}
/* gesetztes list style image löschen  */
.menu li {
    list-style-image:none;
}

.menu ul li {
    position: relative;
}

* html .menu li {
margin-left:-16px; margin-left:0;}

/* get rid of the table */
.menu table {
    position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em; width:0; height:0;
}

.menu a:hover {
    text-decoration: none;
}

/* end allgemein */

/* 1st level */

.menu li a, .menu li a:visited {
    display:block; 
    text-decoration:none;
    height:23px;
    line-height:23px;
    font-weight:bold;
    color:#FFFFFF;
    padding-left: 7px;
    text-align:left;
}

.menu ul li {
    background:url(/images/button1.gif) no-repeat;
    height:28px;
    width:153px;
    margin-bottom:2px;
    margin-left:1px;
}

.menu li a:hover {
    color:#C2DFC9;
}

/*.menu li:hover {
    color:red;
    background: #A8C2A1 url(/images/button2.gif) no-repeat;
}*/

/* end 1st level */

/* 2nd level style  */
.menu .top2 li {
    display: block;
    background-image: none;
    height: 25px;
    margin-bottom: 0px;
}

.menu .top2 {
    background-color: none;
}

.menu li li a, .menu li li a:visited, .menu li li {
    float: left;
    width: 200px;    
    height: auto !important;
    font-weight:normal;
    color: #000;
    white-space: normal;
    position: relative;
}

.menu li ul li a, .menu li ul li a:visited {
    background-color: #BED3BB;
    border: 1px solid #5ca465;
    font-size: 12px;
}

.menu .top2 li a:hover {
    background-color: #5ca465;
    color: #FFF;
}

.menu .top2 a {
    white-space: normal;
}

/*end 2nd level*/

/* style the link hover */
* html .menu a:hover {
    color:#00000; background: #A8C2A1 url(/images/button2.gif) no-repeat;
}


* html .menu li ul li a:hover {
    color:#FFF;
    background-image: none;
    background-color: #5ca465;
}

/* 3rd level style */
.menu .top3 {
    background-color: none;
}

.menu ul li ul.top3 :hover {
    color:#ffffff;
    background-color: #5CA465;
}

.menu ul li ul.top3  {
}

/* 4th level hover */
.menu ul li ul.top4 :hover {
color:#FFFFFF;
background: #5CA465;
}

/* 4th level style */
.menu ul li ul.top4  {
}

/* 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:0px;
left:153px;
}

.menu ul ul ul {
visibility:hidden;
position:absolute;
top:0px;
left:207px;
}

/* 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;
    /*width: 153px;*/
}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
    visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover 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;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul { 
    visibility:visible;
}