﻿#sitemenu
{
position: absolute;
top: 20px;
right: 50px;
z-index:300;
}


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

.dmenu ul li.drop a:hover {
  font-size:0.8em;
  text-decoration: none;
}

.dmenu ul li ul li a:hover {
  color:#000000 !important;
  font-size: 11px !important;
  background:#fff !important;
  font-weight: bold;
}

/* 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;
color:#FFFFFF;
float:right;
font-size:0.8em;
text-align:right;
text-decoration:none;
font-weight: normal;
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:12px;
left:10px;
z-index:303;
}

/* 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;
font-weight: bold;
}

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

/* 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:-134px;
top:0px;
width:170px;
}

/* 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:-202px;
width:270px;
}

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

.dmenu ul ul ul ul a, .dmenu ul ul ul ul a:visited
{
width:190px !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 ul ul > 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;
}
