﻿/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
 margin:0;
 padding: 0;
 list-style: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 display: none;
 position: absolute;
 top: 34px;
 left: -15px;
 width: 15em;
 border: 2px groove #1c2568;
 border-top: none;
 background-color:#283890;
}

.menulist li {
 float: left;
 display: block;
 position: relative;
}

.menulist ul li {
 float: none;
 margin: 0px;
 width: 100%; /* Ensures link covers entire width of menu item in IE */
}
/* Links inside submenus */
.menulist ul a {
 display: block;
 padding: 3px 4px 3px 4px;

 color:#FFF;
 text-decoration: none;
 font-size:10pt;
 font-family: Calibri, Arial, sans-serif;
}
/* Hovering over/focused on links inside submenus */
.menulist ul a:hover, .menulist ul a:focus {
 color: #fff;
 background-color: #002255;
}


/* --- Begin CSS Hacks --- */

/* '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 */
