


/**
* MENU STUFF
*/

/*

Here's a demo stylesheet used to format a menu and its content.
Feel free to alter the menu layout however you want!
All you have to do is ensure the script has the correct CSS property name
(like 'visibility' or 'display') that changes to show/hide menus.

If you want to extend this layout, one good resource for UL/LI formatting is:
    http://www.alistapart.com/articles/taminglists/
Alternatively, you can use any other CSS dropdown layout instead. More here:
    http://www.alvit.de/css-showcase/
Consult your favourite CSS reference for customising fonts/borders/etc.

Otherwise, you can just change the #RGB border/background colours where
suitable to customise for your site -- easy :).

*/



/* HORIZONTAL FREESTYLE MENU LAYOUT */


/* Primary
----------------------------------------------- */

/* All <ul> tags in the menu including the first level */
#helixMenuSystem, #helixMenuSystem  ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
}

/*
 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.
*/
#helixMenuSystem{ width: 950px; height: 35px; }
#helixMenuSystem li {

 float: left;
 display: block;

 position: relative;
 
 }

/* Links inside the menu */
#helixMenuSystem span,
#helixMenuSystem a {
 display: block;
 color: #000;
 text-decoration: none;
 background-image:none;
}


/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
#helixMenuSystem ul li span.helixCMSListMenuLinkHighlightedHelixOnState,
#helixMenuSystem ul li a:hover, 
#helixMenuSystem ul li a.highlighted:hover, 
#helixMenuSystem ul li a:focus {
    color: #FFF;
    background-color: #8c8c8c;
    background-image:none;
}

#helixMenuSystem ul li a.highlighted {
 color: #FFF;
 background-color: #8c8c8c;
}


/**
* Off State
**/

#helixMenuSystem_LI_0_1_1 span,
#helixMenuSystem_LI_0_2_1 span,
#helixMenuSystem_LI_0_3_1 span,
#helixMenuSystem_LI_0_4_1 span,
#helixMenuSystem_LI_0_5_1 span,
#helixMenuSystem_LI_0_6_1 span,
#helixMenuSystem_LI_0_7_1 span {
 height:35px;
 background-image:url(../divestcomain/img/header_grouped.gif);
 cursor:default;
  display: block;
  float: left;
}


#helixMenuSystem_LI_0_1_1 span { width:109px;}

#helixMenuSystem_LI_0_2_1 span { 
    width:162px; 
    background-position: -109px 0px; 
}

#helixMenuSystem_LI_0_3_1 span {
 width:114px;
 background-position: -271px 0px;
}

#helixMenuSystem_LI_0_4_1 span {
 width:167px;
 background-position: -385px 0px;
}

#helixMenuSystem_LI_0_5_1 span {
 width:160px;
 background-position: -552px 0px;
}

#helixMenuSystem_LI_0_6_1 span {
 width:103px;
 background-position: -712px 0px;
}

#helixMenuSystem_LI_0_7_1 span {
 width:135px;
 background-position: -815px 0px;
} 

#helixMenuSystem_LI_0_1_1 span,
#helixMenuSystem_LI_0_2_1 span,
#helixMenuSystem_LI_0_3_1 span,
#helixMenuSystem_LI_0_4_1 span,
#helixMenuSystem_LI_0_5_1 span,
#helixMenuSystem_LI_0_6_1 span,
#helixMenuSystem_LI_0_7_1 span { 
    overflow: hidden; 
    text-indent: -5000px; 
} 


#helixMenuSystem_LI_0_1_1 ul li span,
#helixMenuSystem_LI_0_2_1 ul li span,
#helixMenuSystem_LI_0_3_1 ul li span,
#helixMenuSystem_LI_0_4_1 ul li span,
#helixMenuSystem_LI_0_5_1 ul li span,
#helixMenuSystem_LI_0_6_1 ul li span,
#helixMenuSystem_LI_0_7_1 ul li span { width: auto; } 






/**
* Active State
**/
#helixMenuSystem_LI_0_1_1 .helixCMSListMenuLinkHighlighted { background-position: 0px -35px; }
#helixMenuSystem_LI_0_2_1 .helixCMSListMenuLinkHighlighted { background-position: -109px -35px; }
#helixMenuSystem_LI_0_3_1 .helixCMSListMenuLinkHighlighted  { background-position: -271px -35px; }
#helixMenuSystem_LI_0_4_1 .helixCMSListMenuLinkHighlighted  { background-position: -385px -35px; }
#helixMenuSystem_LI_0_5_1 .helixCMSListMenuLinkHighlighted  { background-position: -552px -35px; }
#helixMenuSystem_LI_0_6_1 .helixCMSListMenuLinkHighlighted  { background-position: -712px -35px; }
#helixMenuSystem_LI_0_7_1 .helixCMSListMenuLinkHighlighted  { background-position: -815px -35px; } 

/**
* Hover State
**/
#helixMenuSystem_LI_0_1_1 .helixCMSListMenuLinkHighlightedHelixOnState,
#helixMenuSystem_LI_0_1_1 a:hover { background-position: 0px -70px;}

#helixMenuSystem_LI_0_2_1 .helixCMSListMenuLinkHighlightedHelixOnState,
#helixMenuSystem_LI_0_2_1 a:hover { background-position: -109px -70px;}

#helixMenuSystem_LI_0_3_1 .helixCMSListMenuLinkHighlightedHelixOnState,
#helixMenuSystem_LI_0_3_1 a:hover { background-position: -271px -70px;}

#helixMenuSystem_LI_0_4_1 .helixCMSListMenuLinkHighlightedHelixOnState,
#helixMenuSystem_LI_0_4_1 a:hover { background-position: -385px -70px;}

#helixMenuSystem_LI_0_5_1 .helixCMSListMenuLinkHighlightedHelixOnState,
#helixMenuSystem_LI_0_5_1 a:hover { background-position: -552px -70px;}

#helixMenuSystem_LI_0_6_1 .helixCMSListMenuLinkHighlightedHelixOnState,
#helixMenuSystem_LI_0_6_1 a:hover { background-position: -712px -70px;}

#helixMenuSystem_LI_0_7_1 .helixCMSListMenuLinkHighlightedHelixOnState,
#helixMenuSystem_LI_0_7_1 a:hover { background-position: -815px -70px;} 


/* Secondary
----------------------------------------------- */

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
#helixMenuSystem ul {
 display: none;
 position: absolute;
 top: 1.0em; 
 margin-top: 18px; /* I'm using ems and px to allow people to zoom their font */
 left: 0px;

 width: 175px;
 height: 1%;
}
#helixMenuSystem ul li{ width: 175px;}

#helixMenuSystem ul li ul li{ width: 175px;}

/**
* Clear the menu items
**/
/*.helixMenuSystem_LI_1_1_79 a {
 background-image:none;
}*/
#helixMenuSystem ul li a,
#helixMenuSystem ul li span {
 background-image:none;
 text-indent:0;
 background-color:#aaa;
 color:#fff;
 font-family:Verdana,Arial,Helvetica,sans-serif;
 font-size:7pt;
 font-weight:700;
 padding-left:29px;
 height:auto;
 padding-right:8px;
 padding-top: 4px; 
 padding-bottom: 4px;
 border:solid 1px #777;
 cursor:pointer;
}

#helixMenuSystem ul li span { cursor: default; }

/* Tertiary padding reduce */
#helixMenuSystem ul li ul li a,
#helixMenuSystem ul li ul li span {
    padding-left:8px;
}


/* Items in submenus - override float/border/margin from above, restoring default vertical style */
#helixMenuSystem ul li {
 float: none;
 margin: 0;
 margin-bottom: -1px;
}
#helixMenuSystem ul>li:last-child { margin-bottom: 1px; /* Mozilla fix */ }



/* Tertiary
----------------------------------------------- */
/* Second and third etc. level submenus - position across from parent instead */
#helixMenuSystem ul ul {
 margin-top: -16px;
 left:99.5%;
}


/*
 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);
    }
*/

/* Float this specific submenu right as it was cauing overflow in browsers */
#helixMenuSystem_LI_0_7_1 ul ul
{
    left: -100%;
}

/* Submenu Arrow
----------------------------------------------- */
/* Only style submenu indicators within submenus. */
#helixMenuSystem span .subind,
#helixMenuSystem a .subind {
 display: none;
}
#helixMenuSystem ul span .subind,
#helixMenuSystem ul a .subind {
 display: block;
 float: right;
}


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
#helixMenuSystem span,
#helixMenuSystem a {
 float: left;
}
#helixMenuSystem ul span,
#helixMenuSystem ul 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 #helixMenuSystem ul li {
 float: left;

}

* html #helixMenuSystem ul li {
 float: left;
 height: 1%;
}
* html #helixMenuSystem ul a {
 height: 1%;
}
/* End Hacks */

