/* Menu Styling (colors,images,fonts)
---------------------------------- */


#horizontalNav { 
	background: url(/images/bkg_hMenu.gif) repeat-x; 
	font-family: Arial, Helvetica, sans-serif;
	
}

.menu ul a.ekflexmenu_link_selected, 
.menu ul a.ekflexmenu_link_selected:hover 
{
	background: url(/images/btn_nav.jpg) no-repeat left top;
	color: #fff;
	border-right: 1px solid #333;
}

/* style the links for the top level */
.menu a, .menu a:visited 
{
    font-size:14px;
    font-weight: normal;
    text-decoration:none;
    text-transform: uppercase;
    color:#f2e8d1;
	background: url(/images/btn_nav.jpg) no-repeat right top;
	text-shadow: -1px 1px 2px rgba(0,0,0,.4);
    }

.menu ul ul li{
	-moz-box-shadow: -1px 2px 1px rgba(0,0,0,.3);
	-webkit-box-shadow: -1px 2px 1px rgba(0,0,0,.3);
}
/* style the sub level links */
.menu ul ul a, .menu ul ul a:visited 
{
	background-color: #e8e8e0;
	background-color: #57b0ce;
	background-image: none;
    color:#fff;
	border-left: 1px solid #bfcfa2; 
	border-right: 1px solid #4590aa;
	border-bottom: 1px solid #4590aa; 
	font-weight: normal;
	text-transform: none;
	text-shadow: -1px 1px 1px rgba(0,0,0,.1);
    }
    

* html .menu a:hover 
{
    color: #fff;
	background: url(/images/btn_nav.jpg) no-repeat left top;
}
 
.menu :hover > a 
{
	background: transparent url(/images/btn_nav.jpg) no-repeat left top;
    color:#fff;
}
.menu ul :hover > a {
    background: transparent url(/images/btn_nav.jpg) no-repeat left top;
    color: #fff;
}

* html .menu ul ul a:hover { color: #082147; background:#9ac7d6; }
    
.menu ul ul li:hover { position:relative;}
    
.menu ul ul :hover > a { color: #082147; background:#9ac7d6; }

.menu ul ul ul a, .menu ul ul ul a:visited { background: #9ac7d6; color: #082147;}

* html .menu ul ul ul a:hover { background:#bad7e1;}
    
.menu ul ul ul :hover > a { background:#bad7e1;}

.menu ul ul ul ul a:hover { background:#9ac7d6;}

.menu ul ul ul ul a, .menu ul ul ul ul a:visited { background:#bad7e1;}
	


/* ================================= */

#horizontalNav { width: 100%; clear: both; }

.menu { position: relative; z-index: 5000; }

/* remove all the bullets, borders and padding from the default list styling */
.menu ul 
{
    padding:0 2px 0 0;
    margin:0;
    list-style-type:none; 
    height:40px; 
}

/* style the sub-level lists */
.menu ul ul 
{
    width:216px;
}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu ul li 
{
    float:left;
    height: auto;
    line-height:45px;
}

/* style the sub level list items */
.menu ul ul li 
{
    display:block;
    width:216px;
    height:auto; 
    line-height:45px;
}

/* style the links for the top level */

.menu a, .menu a:visited 
{
    display:block;
    float:left;
    height:38px;
	padding: 0 25px 0 25px;
	line-height: 45px;
}
	
	
/* style the sub level links */
.menu ul ul a, .menu ul ul a:visited 
{
    display:block;
    width:200px;
    height:100%;
    line-height:1.25; 
    padding: 10px 8px;
}


/** html .menu ul ul a, * html .menu ul ul a:visited  {width:14em; w\idth:12em;}*/


/* style the table so that it takes no part in the layout - required for IE to work */
.menu table 
{
    position:absolute; 
    left:1px; 
    top:0; 
    width:0; 
    height:0; 
    font-size:12px; 
    z-index:-1;
}

* html .menu a:hover { position:relative; z-index:100; }
    
.menu li:hover { position:relative; }
    
* html .menu ul ul a:hover { position:relative; z-index:5110; }
    
.menu ul ul li:hover { position:relative; }
    
* html .menu ul ul ul a:hover { position:relative; z-index:5120; }

.menu ul ul ul ul a:hover { position:relative; z-index:5130; }


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
    visibility:hidden;
    position:absolute;
    height:0;
    top:38px;
    left:0;
    width:216px;
}

/* position the third level flyout menu */
.menu ul ul ul
{
    left:210px;
    top:0;
    width:185px;

}

/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul
{
    visibility:visible; 
    height:auto; 
    padding-bottom:3em; 
}

/* keep the third level hidden when you hover on first level list OR link */

.menu ul :hover ul ul{visibility:hidden;}
/* keep the fourth level hidden when you hover on second level list OR link */

.menu ul :hover 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;}
/* make the fourth level visible when you hover over third level list OR link */

.menu ul :hover ul :hover ul :hover ul {visibility:visible;}

