/* HORIZONTAL FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
html>body iframe {display: none;}

html>body .menulist ul {margin-top: 0px;width:159px;}
html>body .menulist ul li {margin-top: 0px;padding-bottom: 1px;width:159px;}

.menulist, .menulist  ul {
 margin: 0;
 padding: 0;
 /*list-style: none;*/
 /*position:absolute;*/
z-index:1000;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 visibility: hidden;
 position: absolute;
 top: 4.9em; /* I'm using ems rather than px to allow people to zoom their font */
 left: 20px;
 width: 159px;
 font-weight:bold;
 /*border-left: 1px solid #AA231D;
 border-top: 1px solid #AA231D;
 border-right: 1px solid #AA231D;
 border-bottom: 1px solid #AA231D;*/
 padding: 0px;
 z-index:3;
 /*background: #AA231D;*/
 
}

/* Second and third etc. level submenus - position across from parent instead */
html>body .menulist ul {top: 49px;}
html>body .menulist ul ul {top: 0px;}
.menulist ul ul {
 top: 0px;
 left: 156px;
 width:92px;
}

/*
 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.
*/

html>body .menulist li {background-position: 2px 55%;padding-left: 0px;padding-right: 0px;}
.menulist li {
 float: left;
 font-size: 10px;
 position: relative;
 /*background: url(../img/arrow_down.gif) left center no-repeat;
 background-position: 6px 60%;*/
 padding-left: 0px;
 margin-right: 0px;
 /*padding-right: 25px;*/
 /*background-image: url('/images/menu.jpg');*/
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none;
 margin-right: 0;
 margin-bottom: 0px;
 background: #AA231D;
 padding-left: 0px;
}

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

/* Links inside the menu */
.menulist a:link, .menulist a:visited {
 display: block;
 font-size: 1.0em;
 color:#ffffff;
 padding: 0px;
 text-decoration:  none;
}

.menulist ul li a:link, .menulist ul li a:visited {
 display: block;
 font-size: 1.1em;
 border: 1px solid #AA231D;
 padding-bottom: 3px;
 padding-top: 1px;
 font-family:tahoma;
 padding-left: 3px;
 padding-right: 3px;
 width:151px;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
 /*background-color: #FFFFFF;*/
 text-decoration: none;
}

.menulist li a:hover {
 /*background-color: #FFFFFF;*/
 text-decoration: underline;
}


.menulist ul li a:hover {
 font-size: 1.1em;
 color: #ffffff;
 background-color: #B7443F;
 text-decoration: none;
 border: 1px solid #AA231D;
}
.menulist  a.highlighted {
 color: #FFF;
 background-color: #AA231D;
 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:
    .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 {
 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;
}
/* */


/* 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 */
