/*
mainmenu.css: used for main nav 
*/

/* HORIZONTAL FREESTYLE MENU LAYOUT */
.mainmenulist{
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 12px;
}
/* All <ul> tags in the menu including the first level */
.mainmenulist, .mainmenulist  ul {
 margin: 0;
 padding: 0;
 list-style: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.mainmenulist ul {
	 visibility: hidden;
	 position: absolute;
	 top: 1.8em; /* I'm using ems rather than px to allow people to zoom their font */
	 left: 0px; /* RIGHT ADJUST MENU */
	 width: 146px;
/*	border: 1px dashed green;*/
	 background-color:#E0E3CD;
}

/* Second and third etc. level submenus - position across from parent instead */
.mainmenulist ul ul {
	 top: 0px;
	 left: 146px;
}

/*
 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.
*/
.mainmenulist li {
	 float: left;
	 margin-right : 4px;
/*	 padding-left:0px;*/
	 position: relative;
	/* margin-right: -1px;*/
	width:86px; /* for widest menu item */
/*	border: 1px dotted blue;*/
 }

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.mainmenulist ul li {
	 float: none;
	 margin-right: 0px;
	 margin-bottom: -1px;
	/*  margin-right: -1px;*/
	 width:146px;  /* for widest menu item */
	 font-size : 10px;
/*	border: 1px dotted red;*/
}
.mainmenulist ul>li:last-child {
 margin-bottom: 1px;
 
}

/* Links inside the menu */
.mainmenulist a, .mainmenulist a:visited {
 display: block;
/* padding: 3px 3px 3px;*/
padding: 3px 3px 3px;
 color:#333;
 text-decoration:  none;
/* border: none;*/
}


/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.mainmenulist a:hover, .mainmenulist a.highlighted:hover, .mainmenulist a:focus{
 color: #A50000;
/* background-color: #fff;*/
/*  background-image: url(../images/navgrad.gif); */
  border: none;
}
/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.mainmenulist ul li a:hover, .mainmenulist ul li a.highlighted:hover, ul li .mainmenulist a:focus{
	color: #A50000;
	background-image : url(../images/menuolivehighlight.jpg);
	background-repeat : no-repeat;
	background-position:center right;
	border: none;
/*	background-position: 0px 3px;*/
/*	background-position: 0px 3px;*/
	}

.mainmenulist  a.highlighted {
 color: #A50000;
 /*background-color: #fff;*/
  text-decoration:  none;
}

/*
 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:
    .mainmenulist a#xyz {
      background-image: url(out.gif);
    }
    .mainmenulist a#xyz:hover, .mainmenulist a.highlighted#xyz, .mainmenulist a:focus {
     background-image: url(over.gif);
    }
*/

 .mainmenulist a#m_home {  background-image: url(../images/m_home.gif);background-repeat: no-repeat; }
 .mainmenulist a#m_home:hover, .mainmenulist a.highlighted#m_home, .mainmenulist a:focus { 
 		background-image: url(../images/m_home_ovr.gif); background-repeat : no-repeat;     }

 .mainmenulist a#m_od {  background-image: url(../images/m_od.gif);background-repeat: no-repeat; }
 .mainmenulist a#m_od:hover, .mainmenulist a.highlighted#m_od, .mainmenulist a:focus { 
 		background-image: url(../images/m_od_ovr.gif); background-repeat : no-repeat;     }

 .mainmenulist a#m_oc{  
 		background-image: url(../images/m_oc.gif);background-repeat: no-repeat; }
 .mainmenulist a#m_oc:hover, .mainmenulist a.highlighted#m_oc, .mainmenulist a:focus { 
 		background-image: url(../images/m_oc_ovr.gif); background-repeat : no-repeat;     }

 .mainmenulist a#m_ot {  background-image: url(../images/m_ot.gif);background-repeat: no-repeat; }
 .mainmenulist a#m_ot:hover, .mainmenulist a.highlighted#m_ot, .mainmenulist a:focus { 
		background-image: url(../images/m_ot_ovr.gif);     background-repeat : no-repeat;     }

 .mainmenulist a#m_rec {  background-image: url(../images/m_rec.gif);background-repeat: no-repeat; }
 .mainmenulist a#m_rec:hover, .mainmenulist a.highlighted#m_rec, .mainmenulist a:focus {
 		background-image: url(../images/m_rec_ovr.gif);     background-repeat :no-repeat;}

 .mainmenulist a#m_cu {  background-image: url(../images/m_cu.gif);background-repeat: no-repeat; }
 .mainmenulist a#m_cu:hover, .mainmenulist a.highlighted#m_cu, .mainmenulist a:focus { 
 		background-image: url(../images/m_cu_ovr.gif);     background-repeat : no-repeat;     }


/* Only style submenu indicators within submenus. */
.mainmenulist a .subind {
 display:  none;
}
.mainmenulist ul a .subind {
 display: block;
 float: right;
}

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.mainmenulist a {
 float: left;
}
.mainmenulist ul a {
 float: none;
}
/* \*/
.mainmenulist a {
 float: none;
}
/* */


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .mainmenulist  ul li {
 float: left;
 height: 1%;
}
* html .mainmenulist  ul a {
 height: 1%;
}
/* End Hack */