#sitemenu
{
position:absolute;
top:0;
right:10px;
z-index:300;
}

* html #sitemenu
{
position:absolute;
top:0;
right:-20px;
z-index:100;
}

*+html #sitemenu
{
position:absolute;
top:0;
right:5px;
z-index:100;
}

/* style the outer div to give it width */
.dmenu {
position:relative;
width:110px;
font-size:12px;
font-weight:bold !important;
z-index:301;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.dmenu table {border-collapse:collapse; border:0 !important; position:absolute; left:0; bottom:1px;}

.dmenu td {position:relative;}

/* remove all the bullets, borders and padding from the default list styling */
.dmenu ul
{
float: left;
width:135px;
padding:0;
margin:0;
list-style-type:none;
list-style-image:none;
text-align: left;
}

.dmenu li
{
float:left;
width:135px;
position:relative;
border:0 !imporatant;
}

.dmenu a, .dmenu a:visited
{
display:block;
font-size: 13px;
text-decoration:none;
color: #000000;
width:120px !important;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.dmenu ul ul
{
width:135px;
visibility:hidden;
position:absolute;
top:19px;
left:0px;
z-index:303;
}

* html .dmenu ul ul
{
top:0 !important;
left: -6px !important;
}

*+html .dmenu ul ul
{
top:20px !important;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.dmenu ul ul li
{
width:125px;
}

/* style the links for the top level */
.dmenu ul ul a, .dmenu ul  ul a:visited
{
display:block;
font-size: 11px;
text-decoration:none;
color: #000000;
width:122px !important;
height:auto;
line-height:1em;
background: #E3E3E3;
padding:5px 5px;
border: 1px solid #E3E3E3;
}

/* yet another hack for IE5.5 */
* html .dmenu ul ul a
{
font-size: 11px;
width:125px;
}


/* style the second level background */
.dmenu ul ul a.drop, .dmenu ul ul a.drop:visited
{
background:#E3E3E3;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .dmenu ul ul a, * html .dmenu ul ul a:visited
{
width:122px;
}

/* style the second level hover */
.dmenu ul ul a.drop:hover
{
background:#ffffff;
}

.dmenu ul ul :hover > a.drop
{
background:#ffffff;
}



/* position the third level flyout menu */
.dmenu ul ul ul
{
left:-191px;
top:0px;
width:180px;
}

* html .dmenu ul ul ul
{
left:-187px !important;
top:-20px !important;
}

*+ html .dmenu ul ul ul
{
top:0px !important;
}

/* style the third level background */
.dmenu ul ul ul a, .dmenu ul ul ul a:visited
{
background: #E3E3E3;
width: 180px !important;
}

/* style the third level hover */
.dmenu ul ul ul a:hover
{
background: #ffffff;
}

.dmenu ul ul ul :hover > a
{
background: #ffffff;
}



/* size the third level flyout menu */
.dmenu ul ul ul ul
{
left:-262px;
width:270px;
}

* html .dmenu ul ul ul ul
{
left:-257px !important;
width:270px;
}

.dmenu ul ul ul ul li
{
width:270px;
}

.dmenu ul ul ul ul a, .dmenu ul ul ul ul a:visited
{
width:250px !important;
}

/* position the third level flyout menu for a left flyout */
.dmenu ul ul ul.left
{
left:-160px;
}


/* style the top level hover */
.dmenu a:hover
{
background:none !important;
font-size:13px;
}
.dmenu ul ul a:hover
{
color:#000000;
font-size: 11px;
background:#fff !important;
}

.dmenu :hover > a
{
color:#000000;
font-size: 13px;
}

.dmenu ul ul :hover > a
{
background:#ffffff;
font-size: 11px;
}

/* make the second level visible when hover on first level list OR link */
.dmenu ul :hover ul
{
visibility:visible;
height:auto;
}

/* keep the third level hidden when you hover on first level list OR link */
.dmenu ul :hover ul ul
{
display:none;
}

/* keep the fourth level hidden when you hover on second level list OR link */
.dmenu ul :hover ul :hover ul ul
{
display:none;
}

/* make the third level visible when you hover over second level list OR link */
.dmenu ul :hover ul :hover ul
{
display:block;
bottom:0;
}

/* make the fourth level visible when you hover over third level list OR link */
.dmenu ul :hover ul :hover ul :hover ul
{
display:block;
bottom:0;
}



