﻿

/* =DROP DOWN MENU
-----------------------------------------------------------------------------*/


/* ///////////////////////////////////////////////////////////////////////////////////////////////
------------------------------------ QUICKLINKS MENU CSS/EKTRON DROPDOWN STYLES ---------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////// */

/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

/* =Main Nav
-----------------------------------------------------------------------------*/


/* =TOP PRIMARY NAVIGATION STYLES
////////////////////////////////////////////////////////////////////// */

#horizontalNav {
	background: url(/images/bkg_nav.jpg) repeat-x;
	height: 33px;
	padding-left: 20px;
}

#horizontalNav ul a {
float: left;
display:block;
text-decoration: none;
}

#horizontalNav ul {
float: left;
padding: 0;
}

#horizontalNav li {
float: left;
padding: 0;
}

.menu {
font-size:12px;
position:relative;
z-index:9999;
background: none;
font-family:Arial, Helvetica, sans-serif;
position:relative;
float: left;
}


/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin: 0;
list-style-type:none;
text-align: center;
}

.menu li {
float:left;
position:relative;
margin: 0 0 0 0;
}
/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
color: #fff;
font-size: 12px;
text-decoration:none; 
height:33px; 
vertical-align: middle;
line-height: 33px;
padding: 0 48px 0 20px;
}

.menu ul a {
background: url(/images/bkg_navButton.jpg) no-repeat left top;

}

.menu ul a:hover, .menu ul > a, .menu ul :hover {
background: url(/images/bkg_navButton.jpg) no-repeat -300px top;
}


/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
font-weight:normal;
/*background:#d4d8bd url(/test_menu_drop.gif) bottom right no-repeat;*/
/*background: url(test_menu_bkg.gif) no-repeat left bottom;*/
}
/* style the second level hover */
.menu ul ul a.drop:hover{
font-weight: normal;
background: #ccc url(/images/bkg_horizontalNavButton.jpg) no-repeat left top;
}
.menu ul ul :hover > a.drop {
background: #ccc url(/images/bkg_horizontalNavButton.jpg) no-repeat left top;

}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
font-weight: normal;
background: #ddd;
color: #333;
}

/* style the third level hover */
.menu ul ul ul a:hover 
{
font-weight: normal;
background: #eee;
color: #333;
}

/* style the third level drop background */
.menu ul ul ul a.drop, .menu ul ul ul a.drop:visited {
font-weight: normal;
background: #ddd;
color: #666;
}
.menu ul ul ul a.drop:hover
{
font-weight: normal;
background: #eee;
color: #333;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
width:174px;
height:0;
margin: 0;
padding: 0 0 0 0;
background: none;
position:absolute;
left:0; 
top:33px;
visibility:hidden;
font-size: 12px;
font-weight: normal;
text-align: left;
}

.menu ul ul li {
margin: 0;
padding: 0;
}


/* another hack for IE5.5 */
* html .menu ul ul {
top:33px;
top:33px;
}


.menu ul ul li {
background-image: none;
font-weight: normal;
}


/* position the third level flyout menu */
.menu ul ul ul
{
font-weight: normal;
left:172px; 
top:0;
width:165px;
padding-bottom: 0;
background-color: #ddd;
background-image: none;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-165px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; }

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
color:#666; 
height:auto; 
line-height: 28px; 
padding: 6px 4px 7px 10px; 
width:160px;
line-height: normal;
border-bottom: 1px solid #666;
background: #eee;
font-weight: normal;
font-size: 11px;
}



/* style the top level hover */
.menu a:hover {
background: url(/images/bkg_navLinkSliding.gif) no-repeat right center;
color: #eee39c;
}
.menu :hover > a {
background: url(/images/bkg_navLinkSliding.gif) no-repeat right center;
color: #eee39c;
}

/* style the first drop down level hover */
.menu ul ul a:hover{
color:#333; 
background: #ccc;
}
.menu ul ul :hover > a {
color:#333;
background: #ccc ;
}

/* make the seco`el list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{
visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
visibility:visible;
}

/* keep the fourth level hidden when you hover on first level list OR link */
.menu ul :hover ul :hover ul ul{
visibility:hidden;
}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul ul: hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul :hover ul{ 
visibility:hidden;
}

/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul{ 
visibility:visible;
}
