#topmenu {
    width: 100%;
    overflow:hidden; 
    background: #b8b8b8 url(shiny_buttons/background.gif) repeat-x center right;
    border-top: 1px #333 solid; 
    border-bottom: 1px #333 solid;
}

/* #main { border-top: 1px #ddd solid; } */

#topmenu ul {
    display: block;
  margin: 0;
  padding: 0;
    font-size: 1.0em;
  line-height: 1em;
}

#topmenu ul li {
  float: left;
  margin: 0;
  padding: 0;
    font-size: 1.0em;
  line-height: 1em;
    list-style-type: none;
  border-left: 1px #fff solid;
  border-right: 1px #aaa solid;
}

#topmenu ul li#first {  border-right: 1px #aaa solid; border-left: none; padding: 0.5em 0em 0.5em 0em; width:48px; }
#topmenu ul li#last { border-left: 1px #fff solid; border-right: none; padding: 0.5em 0em 0.5em 0em; }

#topmenu ul li a {
    display:block;
    width: auto;
  font-size: 1em;
    font-weight: bold;
  background: transparent;
  text-decoration: none;
  color: #000;
  margin: 0;
  padding: 0.5em 0.8em 0.5em 0.8em;
}

#topmenu ul li a:hover {
  background: #eee;
  color: #333;
  text-decoration: none;
}

#topmenu ul li#current { 
    border-left: 1px #444 solid; 
  border-right: 1px #888 solid;

  background: transparent url(shiny_buttons/background_active.gif) repeat-x center right;  
}

#topmenu ul li#current a,
#topmenu ul li#current a:hover {
  color: #fff;
  background: transparent;
  text-decoration: none;
}

}
