ul.topmain{
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  z-index: 90;
}

li.topmain  {
  margin: 0;
  padding: 0;
  background: url(../images/button-bg.gif) no-repeat;
  height: 52px;
  line-height: 40px;
}

a.topmain, .topmain a:link, .topmain a:active, .topmain a:visited {
  font-family: Arial, Sans-serif;
  font-size: 0.75em;
  display: block;
  color: #ffffff;
  text-decoration: none; 
  font-weight: bold;
  text-align: center;
  padding: 6px 0px 6px 0px;
}

.topmain a:hover{
  text-decoration: none; 
  color: #ac0000;
  font-weight: bold;
  background: url(../images/button-bg-hover.gif) no-repeat;
}

li.topmain:hover {
  margin: 0;
  padding: 0;
}

ul.subul{
  list-style: none;
  margin: 0;
  padding: 0;
  width: 120px;
  position:relative;
  overflow:visible; 
  z-index:99;
}

ul.subul LI {
  display: block;
}

a.subul a, .subul a:link, .subul a:visited, .subul a:active {
  text-decoration:none; 
  color: #ffffff;
  margin:0;
  width: 120px;
  padding: 5px;
  display: block;
  font-size: 12px;
  font-weight: bold;
  background: #808080;
  text-align: left;
}

.subul a:hover {
  text-decoration:none; 
  color: #ac0000;
  display: block;
  background: #b0b0b0;
}

#nav{
  margin:0;
  padding:0;
  list-style: none;
}

#cnav{
  position: absolute; 
  z-index: 101;
}

#nav li,#nav ul li { 
  padding: 0;
  margin: 0;
  position: relative; 
  float: left;
  width: 120px;
  display: block;
  z-index: 100;
}

#nav ul{
  display: none;
  z-index: 100;
}

#nav ul ul, #nav ul ul ul{
  display: none; 
  position: absolute; 
  padding: 0;
  margin-top: -1.8em; 
  margin-left: 100px;
  width: 155px;
}


#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul, #nav li:hover ul ul ul ul ul{
 display:none;
}

#nav li:hover ul, #nav ul li:hover ul, #nav ul ul li:hover ul, #nav ul ul ul li:hover ul, #nav ul ul ul ul li:hover ul{
 display:block;
}

@media screen, projection {
/* This next rule exploits a parsing bug in MacIE5 so @media rules will be applied on screen*/
.BeNiceToMacIE5 {        /* next 2 lines are known as the "box model hack" */
  font-family: "\"}\"";
  font-family: inherit;
}

body {
	font-size: 100%;     /* prevent weird scaling in WinIE */
}

}

