div#s1 {
  width: auto;          /* menu width */
}

div#s1 ul {
  list-style-type: none; /* get rid of the bullets */
  padding: 0;             /* no padding */
  margin: 0;              /* no margin for IE either */
}

div#s1 ul li {
  margin: 0;
  padding: 0;
  display: inline;
  border-top: none; /* lines */
}

div#s1 ul li a {
  display: inline;         /* lines extend to right, make area clickable */
  color: green;
  padding-bottom: 5px;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 7px;
  margin: 0;
  text-decoration: none;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  height: 20px;           /* hint for IE, alternatively remove whitespace from HTML */
}

div#s1 ul ul li a {
  margin-left: 20px;     /* indent level 1 */
}

div#s1 ul ul ul li a {
  margin-left: 40px;     /* indent level 2 */
}

div#s1 li ul, div#s1 li.open li.closed ul {
  display: none;         /* collapse */
}

div#s1 li.open ul {
  display: block;        /* expand */
}
 
div#s1 ul li.open a {
  background-image: url(images/bullet_open.gif);
  background-repeat: no-repeat;
}

div#s1 ul li.closed a {
  background-image: url(images/bullet_closed.gif);
  background-repeat: no-repeat;
}

div#s1 ul li.leaf a {
  background-image: url(images/bullet_leaf.gif);
  background-repeat: no-repeat;
}
 
div#s1 li.active a {
  color: black;            /* highlight text */
  border-bottom: 3px solid green;
}
 
div#s1 li.active li a {
  background-position: 0px 0px;
  color: white;          /* fix lower levels */
}

div#s1 ul li a:hover {
  color: white;
  background-color: green; /* rollover effect */
}
