/*
One good resource for UL/LI formatting: http://www.alistapart.com/articles/taminglists/
*/

/* HORIZONTAL FREESTYLE MENU LAYOUT */


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

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menu_topp ul {
 visibility: hidden;
 position: absolute;
 top: 1.5em; /* I'm using ems rather than px to allow people to zoom their font */
 left: 0px;
 width: 150px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menu_topp ul ul {
 top: 0px;
 left: 151px;
}

/*
 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.
*/
.menu_topp li {
 float: left;
 position: relative;
 background: #FFF;
 border: 1px dotted #006;
 border-top: none;
 margin-right: -1px;
 width: 195px;
 *width: 197px;
 text-align: center;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menu_topp ul li {
 /* background: #DAE0EB; */
 background: #E6E2E2;
 border: 1px solid #fff;
 border-top: 1px solid #fff;
 float: none;
 margin-right: 0;
 margin-bottom: -1px;
 width: auto;
 text-align: left;
}
.menu_topp ul>li:last-child {
 margin-bottom: 1px;
}

/* Links inside the menu */
.menu_topp a {
 color: #00004d;
 display: block;
 padding: 3px;
 text-decoration:  none;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menu_topp a:hover, .menu_topp a.highlighted:hover, .menu_topp a:focus {
/* color: #626060; */
 background-color: #001966;
 color: #DAE0EB;
}
.menu_topp  a.highlighted {
/* color: #626060; */
 background-color: #a9a9a9;
}

/*
 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:
    .menu_topp a#xyz {
      background-image: url(out.gif);
    }
    .menu_topp a#xyz:hover, .menu_topp a.highlighted#xyz, .menu_topp a:focus {
     background-image: url(over.gif);
    }
*/

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

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


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