#cssdropdown, #cssdropdown ul {
padding: 0;
margin: 0;
list-style:none;
background-color: #8B7EC3;
}
#cssdropdown li {
float: left;
position: relative;

}
.mainitems{
border-left:1px solid white;
border-top-style:hidden;
border-bottom-color:#8B7EC3;
background-color: #8B7EC3;
text-align:center;
font-weight:200;
height:25px;
}
.mainitems a{
margin-left: 6px;
margin-right: 8px;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
COLOR:white;
font-size:10px;
}
.subuls{
display: none;
position:absolute;
top: 1.2em;
left: 0;
background-color: #8B7EC3;
border: 1px #8B7EC3;
z-index:2;
}
.subuls li{
text-align:justify;
width:10em;
white-space:nowrap;
z-index:2;
}
.subuls li:hover{
color:#000000;
text-align:left;
white-space:nowrap;
background-color:#FFFFFF;
}
.subuls li a{
text-decoration: none;
font:Arial, Helvetica, sans-serif;
white-space:nowrap;
}
.subuls li a:hover{
text-decoration: none;
font:Arial, Helvetica, sans-serif;
color:#000000;
}
#cssdropdown li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
top: auto;
left: auto;

}
#cssdropdown li:hover ul, li.over ul { /* lists nested under hovered list items */
display:block;
}
#restofcontent { /*wrap rest of content of the page inside this div*/
clear: left;
}