ul.menu-system *
{
  font-size: 1em;
  background-color: inherit;
  color: inherit;
}

ul.menu-system li
{
  padding: 0.25em 0 0 0;
  margin: 0;
  font-size: 0.9166em;
}

ul.menu-system li a
{
  display: inline;
  text-decoration: none;
  margin: 0;
  border-right: 1px solid;
  padding: 0.4em 0.6em 0.4em 0.6em;
}

ul.menu-system li a:hover
{
  color: #FAA;
  background-color: inherit;
}

/* override excessive padding which is included
   to deal with IE/Win problems with a selector it
   doesn't understand to hide the declaration */

html>body ul.menu-system li a
{
  padding: 0.4em 0.5em 0.3em 0.33em;
}

ul.menu-system li ul 
{
  left: 0;
  top: 1.8em !important;
  border-top: 1px solid;
}

ul.menu-system li ul li
{
  border-style: solid;
  border-width: 0 1px 1px;
  list-style: none;
}

ul.menu-system li ul li a
{
  padding: 3px 2.5%;
  border-width: 0;
}

ul.menu-system li ul 
{
  background-color: silver;
  border-color: white;
  color: inherit;
}

ul.menu-system li ul li 
{
  background-color: rgb(97%,97%,97%);
  border-color: rgb(66%,66%,66%);
  color: inherit;
}

ul.menu-system li.submenu ul a
{
  color: black !important;
  background-color: inherit;
}
