#topmenu {
width:990px;
height:40px;
text-align:left;
background-repeat:no-repeat;
margin:0 0 0 10px;
padding:0 0 0 6px;
float: left;
}

* html #topmenu {
width:1000px;
padding-left:8px;
padding-top:6px
}
.topmenu {
position:relative;
z-index:100;
}
/* remove all the bullets, borders and padding from the default list styling */
.topmenu ul {
padding:0;
margin:0;
list-style-type:none;
}
.topmenu ul ul {
width:150px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.topmenu li {
float:left;
width:137px;
position:relative;
}
/* style the links for the top level */
.topmenu a, .topmenu a:visited {
display:block;
float:left;
width:134px;
height:30px;
text-decoration:none;
color:#000;
font-size:12px;
text-align:left;
padding-top:5px;
border-bottom-width:5px;
border-bottom-color:#008681;
margin-right:3px;
border-style:none none solid;
margin-top: auto;
margin-bottom: auto;
}

/* style the second level background */
.topmenu ul ul a.drop, .topmenu ul ul a.drop:visited {
}
/* style the second level hover */
.topmenu ul ul a.drop:hover, .topmenu ul ul a.drop:active {
}
.topmenu ul ul :hover > a.drop {
}
/* style the third level background */
.topmenu ul ul ul a, .topmenu ul ul ul a:visited {
background:#fff;
}
/* style the third level hover */
.topmenu ul ul ul a:hover, .topmenu ul ul ul a:active {
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.topmenu ul ul {
visibility:hidden;
position:absolute;
height:auto;
top:40px;
left:0; 
width:150px;
background-image:url(/fileadmin/templates/images/dropdown_pane.png);
background-position:left bottom;
background-repeat:no-repeat;
padding:5px 10px 10px;
}

/* position the third level flyout menu */
.topmenu ul ul ul{
left:140px; 
top:0;
width:150px;
}
/* position the third level flyout menu for a left flyout */
.topmenu ul ul ul.left {
left:-155px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.topmenu table {position:absolute; top:0; left:0;}

/* style the second level links */
.topmenu ul ul a, .topmenu ul ul a:visited {
color:#000; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:129px;
font-size: 12px;
border-bottom-width:0px;
text-align: left;
}

/* style the top level hover */
.topmenu a:hover, .topmenu a:active, .topmenu a.dropact {
color:#008681;
border-bottom-width:5px;
border-bottom-color:#e2f1f0;
border-style:none none solid
}
.topmenu ul ul a:hover{
color:#008681;
border-bottom-width:0px;
}
.topmenu :hover > a, .topmenu :active > a {
color:#008681;
border-bottom-width:5px;
border-bottom-color:#e2f1f0;
border-style:none none solid
}

/* make the second level visible when hover on first level list OR link */
.topmenu ul li:hover ul, .topmenu ul a:hover ul, .topmenu ul li:active ul, .topmenu ul a:active ul{
visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
.topmenu ul :hover ul ul, .topmenu ul :active ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.topmenu ul :hover ul :hover ul, .topmenu ul :active ul :active ul{ 
visibility:visible;
}

#sidemenu {
height:auto !important;
width:178px;
list-style:none;
float:left;
border:1px solid #ccc;
background-image:url(../images/content_bg.gif);
background-color:#ddd;
background-repeat:no-repeat;
margin:0;
padding:10px
}

* html #sidemenu {
width:198px
}

#sidemenu a {
border-bottom:1px solid #FFF;
color:#666;
display:block;
font-size:12px;
text-decoration:none;
width:170px;
background-image:url(../images/sidemenu_bg.gif);
margin:0;
padding:4px
}

#sidemenu a.level3-no {
background-image:url(../images/sidemenu_bg.gif);
color:#666;
margin-left: 10px;
width:160px;
}

#sidemenu a:hover,#sidemenu a.level2-act,#sidemenu a.level2-ro {
background-image:url(../images/sidemenu_bg_ro.gif);
color:#000
}

#sidemenu a.level3-no:hover,#sidemenu a.level3-act,#sidemenu a.level3-ro {
background-image:url(../images/sidemenu_bg_ro.gif);
color:#000;
margin-left: 10px;
width:160px;
}

