  li {
    display: inline;
    list-style: none;
    color: #fff;
}

a {
    text-decoration: none;
    color: #ffffff;
}

a:hover {
    color: white;
    border-bottom:0px dotted white;
}


#menu {
    font: 12px Tahoma, Helvetica, Arial, Geneva, sans-serif;
    top: 16px;
    right: 0px;
    z-index: 1;
} /* This controls the position of the menu itself */



#menu li {
    display: inline;
    list-style: none;
    color: #fff;
}

#menu a {
    text-decoration: none;
    color: #ffffff;
}

#menu a:hover {
    color: #ffffff;
    border-bottom: none;
}

#menu ul {
    float: left;
    list-style: none outside none;
    margin-right: 10px;
    width: 150px;
    height: 25px;
    line-height: 25px;
    text-shadow: 0px 1px 0px #4c8fc8;
    text-indent: 7px;
    background-image: ;
    border: 1px solid #4b8ec7;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #4c8fc8; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4c8fc8', endColorstr='#3a75a8'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#4c8fc8), to(#3a75a8)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #4c8fc8,  #3a75a8);
	-moz-box-shadow: 0px 2px 1px #285486;
	-webkit-box-shadow: 0px 2px 1px #285486;
	box-shadow: 0px 2px 1px #285486;
		transition:height 1s;
-moz-transition:height 1s; /* Firefox 4 */
-webkit-transition:height 1s; /* Safari and Chrome */
-o-transition:height 1s; /* Opera */
} /* This controls the visible items styling */

#menu ul:hover {    
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;    
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    
    -moz-border-radius-topright: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    
    -webkit-border-top-right-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-right-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
        
    border: 1px solid #4b8ec7;
    font-weight: normal;
    background: #4c8fc8; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3a75a8', endColorstr='#4c8fc8'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#3a75a8), to(#4c8fc8)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #3a75a8,  #4c8fc8);
} /* This controls the visible items rollover styling */

#menu ul .item {
    display:none;
}

#menu ul:hover .item {
    position: relative;
    left: -1px;
    background: #4b8ec7;
    border: 1px solid #4b8ec7;
    display: block;
    height: 25px;
    width: 150px;
    font-weight: normal;
		-moz-box-shadow: 0px 2px 1px #285486;
	-webkit-box-shadow: 0px 2px 1px #285486;
	box-shadow: 0px 2px 1px #285486;
} /* This controls the dropdown styling */

#menu ul:hover .item:last-child{
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -moz-border-radius-bottomleft: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
}

#menu ul:hover .item:hover {
    background: #3a75a8;
}

/* This controls the dropdown rollover styling */

#menu ul:hover .item:active {
    background: #3a758;
}

ul li.top:after {
    content: "▼";
    float: right;
    padding-right: 7px;
    color: #fff;
}

ul:hover li.top:after {
    color: #7aa3c7;
    font-weight: normal;
}

ul li a {
    display: block;
}

#menu .help a {
    color: white;
    width: 20px;
    margin-left: 4px;
}

#menu #help {
    width: 50px;
}

#menu ul:hover #help {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -moz-border-radius-bottomleft: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
}

