/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul  { list-style-type: none; margin: 0; padding: 0 }

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul  { margin-top: 0px; margin-bottom: 0; padding-top: 0px; padding-bottom: 0px; border: solid 1px #112365; position: absolute; top: 45px; left: 0; width: 150px; display: none }
 

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul  { background-color: #c0c0c0; margin-top: 0; top: 0; left: 148px }

/*
 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; margin-right: 0; position: relative; display: block }

/* Links inside the menu */
.menulist a, .menulist a:visited  { background: url(../images/NCFnewlink.jpg); color: #1c2d6a; font-size: 11px; text-decoration: none; text-align: center; padding: 15px 3px 14px; display: block }

.menulist ul a, .menulist ul a:visited { display: block; padding: 10px 8px 10px 8px; font-size: 12px; color: #1c2d6a; text-decoration: none; text-align: left;}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist ul a:hover, .menulist ul a:visited:hover /*, .menulist a.highlighted:hover, .menulist a.highlighted:visited:hover, .menulist a:focusm, .menulist ul a:visited:hover, .menulist ul a:hover*/    { color: #fff ; background-image: url(../images/NCFnewlinkRO.jpg) }

.menulist a.highlighted, .menulist a.highlighted:visited, .menulist a.highlighted:visited:hover, .menulist a.highlighted:hover, .menulist a:hover, .menulist a:visited:hover { color: #fff; background-image: url(/images/NCFnewlinkRO.jpg); text-decoration: none;}

#current_page { color: #fff; background-image: url(/images/Mgray.jpg); text-decoration: none;}

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

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


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 float: left;
}
.menulist ul a {
 float: none;
}
/* \*/
.menulist a {
 float: none;
}
/* */


/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .menulist ul li {
 float: left;
 width: 100%;
}

* html .menulist ul li {
 float: left;
 height: 1%;
}
* html .menulist ul a {
 height: 1%;
}
/* End Hacks */
