/* --------------- use <div id="cssmenu"> around ul li items  ------------- */
#cssmenu ul,
#cssmenu li,
#cssmenu span,
#cssmenu a {
  margin: 0;
  padding: 0;
  position: relative;
  z-index:199;
}
#cssmenu:after,
#cssmenu ul:after {
  content: '';
  display: block;
  clear: both;
}
#cssmenu a {
  color: #CFE;
  display: inline-block;
  font-family: Verdana, Helvetica, Arial, sans-serif;
  font-size: 14px;
  min-width: 35px;
  text-align: center;
  text-decoration: none;
  /*
  text-shadow: 0 -1px 0 #333333;
  */
}
#cssmenu ul {
  list-style: none;
  position: relative;
  z-index:199;
}
#cssmenu > ul > li {
  float: left;
  
}

#cssmenu > ul > li a {
  /*
  box-shadow: inset 0 0 0 1px #16C;
  -moz-box-shadow: inset 0 0 0 1px #16C;
  -webkit-box-shadow: inset 0 0 0 1px #16C;
  */
  /* #037 is the dark bottom of main bar */
  background: -moz-linear-gradient(top, #48F 0%, #037 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #48F), color-stop(100%, #037));
  background: -webkit-linear-gradient(top, #48F 0%, #037 100%);
  background: -o-linear-gradient(top, #48F 0%, #037 100%);
  background: -ms-linear-gradient(top, #48F 0%, #037 100%);
  background: linear-gradient(to bottom, #48F 0%, #037 100%);
  /* filter: progid:dximagetransform.microsoft.gradient(startColorstr='#48F', endColorstr='#037', GradientType=0); */
  -pie-background: linear-gradient(#48F, #037);
  behavior: url(/PIE.htc);  

  border-bottom: 1px solid #348;
  border-top: 1px solid #348;
  border-right: 1px solid #69F;     /* make lighter for more noticeable line between items in main bar */
  line-height: 30px;    /* vertical height of items - lowering creates gap -
                            change also: cssmenu li ul  to be 2 more than this */
  padding: 0 10px;      /* horizontal separation of items */
  filter: none;
}

/*  This doesn't seem to be necessary */
#cssmenu > ul > li.active a {
  background: -moz-linear-gradient(top, #23B 0%, #13C 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #23B), color-stop(100%, #13C));
  background: -webkit-linear-gradient(top, #23B 0%, #13C 100%);
  background: -o-linear-gradient(top, #23B 0%, #13C 100%);
  background: -ms-linear-gradient(top, #23B 0%, #13C 100%);
  background: linear-gradient(to bottom, #23B 0%, #13C 100%);
  /*filter: progid:dximagetransform.microsoft.gradient(startColorstr='#23B', endColorstr='#13C', GradientType=0); */
  -pie-background: linear-gradient(#23B, #13C);
  behavior: url(/PIE.htc);  
  filter: none;
}



/*    --------------------  H o v e r ------------------- */

#cssmenu > ul > li.active a:hover {
  background: -moz-linear-gradient(top, #7CE 0%, #34B 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #7CE), color-stop(100%, #34B));
  background: -webkit-linear-gradient(top, #7CE 0%, #34B 100%);
  background: -o-linear-gradient(top, #7CE 0%, #34B 100%);
  background: -ms-linear-gradient(top, #7CE 0%, #34B 100%);
  background: linear-gradient(to bottom, #7CE 0%, #34B 100%);
  /* filter: progid:dximagetransform.microsoft.gradient(startColorstr='#7CE', endColorstr='#34B', GradientType=0);  */
  -pie-background: linear-gradient(#7CE, #34B);
  behavior: url(/PIE.htc);    
  filter: none;
}

#cssmenu > ul > li a:hover {
  background: -moz-linear-gradient(top, #7CE 0%, #34B 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #7CE), color-stop(100%, #34B));
  background: -webkit-linear-gradient(top, #7CE 0%, #34B 100%);
  background: -o-linear-gradient(top, #7CE 0%, #34B 100%);
  background: -ms-linear-gradient(top, #7CE 0%, #34B 100%);
  background: linear-gradient(to bottom, #7CE 0%, #34B 100%);
  /* filter: progid:dximagetransform.microsoft.gradient(startColorstr='#7CE', endColorstr='#34B', GradientType=0); */
  -pie-background: linear-gradient(#7CE, #34B);
  behavior: url(/PIE.htc);    
  filter: none;
}
#cssmenu > ul > li:first-child a {


  border-left: none;
}
#cssmenu > ul > li:last-child a {

}
#cssmenu li:hover ul {
  display: block;
}
#cssmenu li ul {
  display: none;
  position: absolute;
  top: 32px;
  left: -1px;
  min-width: 100%;
  text-align: center;
  /* IE7 */    
  *width: 100%;
}
#cssmenu li ul li {
  text-align: center;
}
#cssmenu li ul li a {
  border-top: 0 none;
  border-left: 1px solid #69F;
  display: block;
  line-height: 120%;
  padding: 6px 5px;          /* first is vertical padding on dropdowns */
  text-align: center;
}