#cssdropdown, #cssdropdown ul{
padding: 0;
padding-top:6px;
padding-left:0;
padding-right:0;
padding-bottom:0;
margin: 0;
list-style: none;
float:right;
text-align:left;
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;


}

#cssdropdown li {

position: relative;

}

.mainitems{
padding-top:5px;
padding-bottom:5px;
margin-left: 6px;
margin-right: 8px;
display:block;
float:left;
}

.mainitems a{
text-decoration: none;
color:#ffffff;
display:block;
}
.mainitems a:hover{
text-decoration: none;
color:#333333;
display:block;
}

.subuls {
display: none;
position: absolute;
top: 1.5em;
left: 0;
background:#e7a20e;
}

.subuls li{
margin:0px;
width: 200px;
display:block;
border:1px #efefef solid;  
}

.subuls li a{

padding:5px;
text-decoration:none;
display:block;

}
.subuls li a:hover{

padding:5px;
text-decoration:none;
display:block;
background:#FFCC66;
}

#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;

}

#cssdropdown li:hover ul, li.over ul { /* lists nested under hovered list items */
display: block;
}

#restofcontent { /*wrap rest of content of the page inside a div with id=content*/
clear: left;
}


/* menu bottom */

#cssdropdownbottom, #cssdropdownbottom ul{
padding: 0;
margin: 0;
margin-top:1px;
list-style: none;
float:right;
text-align:left;
color:#FFFFFF;
 font-family:Verdana;
 font-size:11px;
 font-weight:bold;

}

#cssdropdownbottom li {

position: relative;

}

.mainitemsbottom{
padding-top:5px;
padding-bottom:5px;
margin-left: 5px;
margin-right: 5px;
display:block;
float:left;
}

.mainitemsbottom a{
text-decoration: none;
color:#FFFFFF;
display:block;
}
.mainitemsbottom a:hover{
text-decoration: none;
color:#CCCCCC;
display:block;
}

.subulsbottom {
display: none;
position: absolute;
/*top: 2.5em;*/
bottom: 1.7em;
left: 0;
background:#666666;
}

.subulsbottom li{
margin:0px;
width: 170px;
display:block;
border:1px #CCCCCC solid;  
}

.subulsbottom li a{

padding:5px;
text-decoration:none;
display:block;

}
.subulsbottom li a:hover{

padding:5px;
text-decoration:none;
display:block;
color:#FFFFFF;
background:#999999;
}

#cssdropdownbottom 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;

}

#cssdropdownbottom li:hover ul, li.over ul { /* lists nested under hovered list items */
display: block;
}

#restofcontentbottom { /*wrap rest of content of the page inside a div with id=content*/
clear: left;
}