.flexdropdownmenu { /*topmost and sub ULs, respectively*/
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0;
  top: 0;
  list-style-type: none;
  border: 1px solid black;
  border-bottom-width: 0;
  display: none; /*collapse all sub menus to begin with*/
  font: normal 14px trebuchet ms;
  text-align: left;
  line-height: 18px;
  z-index: 9999;
  background: lightyellow;
  width: 120px; /* default width for menu */
  box-shadow: 5px 5px 0px rgba(0,0,0,0.3); /*shadow for CSS3 capable browsers.*/
  -webkit-box-shadow: 5px 5px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: 5px 5px 0px rgba(0,0,0,0.3);
}

.flexdropdownmenu ul {
margin: 0;
padding: 0;
list-style-type: none;
}

.flexdropdownmenu li {
  position: relative;
  z-index: 9999;
}

* html .flexdropdownmenu li { /*IE6 CSS hack*/
  display: inline-block;
  width: 170px; /*width of menu (include side paddings of LI A*/
}

.flexdropdownmenu li a {
  width: 100%;
  display: block;
  text-indent: 3px;
  border-bottom: 1px solid black;
  padding: 2px 0;
  text-decoration: none;
  font-weight: bold;
  text-indent: 5px;
}

.flexdropdownmenu a:hover, .flexdropdownmenu li.selected>a {
  background: #525252;
  color: white;
}

.rightarrowclass{
  position: absolute;
  top: 6px;
  right: 5px;
}