﻿/*
medpeds: used for main nav 
*/

/* HORIZONTAL FREESTYLE MENU LAYOUT */

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

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

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

/*
 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.
*/
.bannermenulist li {
 float: left;
 padding-right : 8px;
 padding-left:2px;
 position: relative;
/* border: 1px solid #330; */
 margin-right: -1px;
 }

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.bannermenulist ul li {
 float: none;
 margin-right: 0;
 margin-bottom: -1px;
}
.bannermenulist ul>li:last-child {
 margin-bottom: 1px;
}

/* Links inside the menu */
.bannermenulist a, .bannermenulist a:visited {
 display: block;
 padding: 3px 3px 3px;
 color:white;
 text-decoration:  none;
 border: none;
}


/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.bannermenulist a:hover, .bannermenulist a.highlighted:hover, .bannermenulist a:focus{
 color: #A50000;
 background-color: white;
/*  background-image: url(../images/navgrad.gif); */
  border: none;
}
.bannermenulist  a.highlighted {
 color: #FFF;
 background-color: #A50000;
  text-decoration:  none;
  border: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:
    .bannermenulist a#xyz {
      background-image: url(out.gif);
    }
    .bannermenulist a#xyz:hover, .bannermenulist a.highlighted#xyz, .bannermenulist a:focus {
     background-image: url(over.gif);
    }
*/

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

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


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