/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
font-family:    Arial, Helvetica, sans-serif;
 margin: 0;
 padding: 0;
 list-style: none;
 background-color: transparent;
  font-size: 12px;
  z-index:1600;
}


/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 visibility: hidden;
 position: absolute;
 top: 2.1em; /* I'm using ems rather than px to allow people to zoom their font */
 left: 0px;
 width:190px;
 max-width: 230px;
 background-color: transparent;
  font-size: 12px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
 top: 0px;
 left: 188px;
   font-size: 12px;
   }
.menulist ul ul.left {
 top: 0px;
 left: -185px;
   font-size: 12px;
   }
/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.menulist li {
 float: left;
 position: relative;
background-color: transparent;
 margin-right: 0px;
  font-size: 12px;
  color: #706f6f;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 width:190px;
 float: none;
 margin-right: 0;
 margin-bottom: -1px;
   background-color: transparent;
   
}

.menulist ul>li:last-child {
 margin-bottom: 1px;
}


.menulist a#mainMenuT, .menulist a#mainMenuT:visited{
  background-color: #ffffff;padding-left:10px;padding-right:10px;
  color: #706f6f;white-space: nowrap;
   font-weight: 600;_font-weight: 500;
  font-size: 12px;  _font-stretch: narrower;/* show to IE */
   padding-bottom:3px;padding-top:3px;
   /* background-image: url('images/navdiv.gif'); */
   background-repeat: no-repeat;
   background-position: right;
   border-right:1px #5b544c solid;
}
.menulist a#mainMenuT:hover,.menulist a.highlighted#mainMenuT, .menulist a#mainMenuT:focus {
padding-left:10px;padding-right:10px;
background-color: #fff;
  color: #f033a3;white-space: nowrap;
  font-weight: 600;_font-weight: 500;
   font-size: 12px; _font-stretch: narrower;/* show to IE */
   padding-bottom:3px;padding-top:3px;
    /* background-image: url('images/navdiv.gif'); */
   background-repeat: no-repeat;
   background-position: right;
    border-right:1px #5b544c solid;
}

a.topSelected,a.topSelected:hover,a.topSelected:visited{
padding-left:10px;padding-right:10px;
background-color: #fff;
  color: #f033a3;white-space: nowrap;
  font-weight: 600;_font-weight: 500;
   font-size: 12px; _font-stretch: narrower;/* show to IE */
    padding-bottom:3px;padding-top:3px;
     border-right:1px #5b544c solid;
}

.menulist a#mainMenuTCurrent, .menulist a#mainMenuTCurrent:visited{
  padding-left:10px;padding-right:10px;
background-color: #fff;
  color: #f033a3;white-space: nowrap;
  font-weight: 600;_font-weight: 500;
   font-size: 12px; _font-stretch: narrower;/* show to IE */
    padding-bottom:3px;padding-top:3px;
    /* background-image: url('images/navdiv.gif'); */
   background-repeat: no-repeat;
   background-position: right;
    border-right:1px #5b544c solid;
}
.menulist a#mainMenuTCurrent:hover,.menulist a.highlighted#mainMenuTCurrent, .menulist a#mainMenuTCurrent:focus {
padding-left:10px;padding-right:10px;
background-color: #fff;
  color: #f033a3;white-space: nowrap;
  font-weight: 600;_font-weight: 500;
   font-size: 12px; _font-stretch: narrower;/* show to IE */
   padding-bottom:3px;padding-top:3px;
    /* background-image: url('images/navdiv.gif'); */
   background-repeat: no-repeat;
   background-position: right;
    border-right:1px #5b544c solid;
   }
   
.last{
   background-image: none;
}
/* Links inside the menu */
.menulist a, .menulist a:visited {
 font-size: 12px;
 display: block;
 padding:1px;
  color: #706f6f;
 text-decoration:  none;


   font-size: 12px;
  padding-bottom:3px;
  padding-left:10px;padding-right:10px;
  
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
 color: #706f6f;
 background-color: #f033a3;

 padding-bottom:3px;
 padding-left:10px;padding-right:10px;
}
.menulist  a.highlighted {
 color: #706f6f;
 background-color: #f033a3;
 white-space: nowrap;
 padding-bottom:3px;
 padding-left:10px;padding-right:10px;
}


a.sub, a.sub:visited{
  background-color: #666666;
 color: #000;font-size: 12px; 
 padding-left:10px;padding-right:10px;

}
a.sub:hover{
  background-color: #f033a3;
 color: #000;font-size: 12px; 
 padding-left:10px;padding-right:10px;

}

a.subm, a.subm:visited{
  background-color: #666666;
 color: #706f6f;font-size: 12px; padding:1px;
 padding-left:10px;padding-right:10px;

}
a.subm:hover{
  background-color: #009D8D;
 color: #706f6f;font-size: 12px; padding:1px;
 padding-left:10px;padding-right:10px;

}
a.subm2, a.subm2:visited{
float:left;
  background-color: #666666;
 color: #706f6f;font-size: 12px; padding:1px;
 padding-left:10px;padding-right:10px;

}
a.subm2:hover{float:left;
  background-color: #009D8D;
 color: #706f6f;font-size: 12px; padding:1px;
 padding-left:10px;padding-right:10px;

}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulist a#xyz {
      background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menulist a .subind {
padding: 0px;
 display:  none;
}
.menulist ul a .subind {
 display:  block;padding: 0px;
 float: right;
}

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 float: left;
}
.menulist ul a {
 float: none;
}
.menulist ul li {
 width:190px;
 float: none;
 margin-right: 0;
 margin-bottom: 0px;
   background-color: transparent;
}
/* \*/
.menulist a {
 float: none;
}
/* */


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist  ul li {
 float: left;
 height: 1%;
}
* html .menulist  ul a {
 height: 1%;
}
/* End Hack */
