/* Menu Styling (colors,images,fonts)
---------------------------------- */


#horizontalNav { 
	background: #ffe4ca url(/images/bkg_hmenu.gif) repeat-x left bottom; 
	font-family: "Microsoft Sans Serif", Arial, Geneva;
	
}

.menu ul a.ekflexmenu_link_selected, 
.menu ul a.ekflexmenu_link_selected:hover 
{
	background: url(/images/btn_nav.jpg) no-repeat right -50px;
	color: #fff;
}


/* style the links for the top level */
.menu a, .menu a:visited 
{
    font-size:14px;
    font-weight: normal;
    text-decoration:none;
    color: #777;
	background: url(/images/btn_nav.jpg) no-repeat right top;
    }

.menu ul {
	border-left: 1px solid #ccc;
}

.menu ul ul {
	border-left: none;
}

.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: #f68d22;
	background-image: none;
	border-left: 1px solid #ff6600; 
	border-right: 1px solid #ff6600;
	border-bottom: 1px solid #ff6600;
	color: #fff;
	font-weight: normal;
	text-transform: none;
	text-shadow: -1px 1px 1px rgba(0,0,0,.1);
	font-size: 13px;
    }
    

* html .menu a:hover 
{
    color: #fff;
	background: url(/images/btn_nav.jpg) no-repeat right -50px;
}
 
.menu :hover > a 
{
	background: transparent url(/images/btn_nav.jpg) no-repeat right -50px;
    color:#fff;
}
.menu ul :hover > a {
    background: transparent url(/images/btn_nav.jpg) no-repeat right -50px;
    color: #fff;
}

* html .menu ul ul a:hover { color: #6e0404; background:#f9af63; }
    
.menu ul ul li:hover { position:relative;}
    
.menu ul ul :hover > a { color: #6e0404; background:#f9af63; }

.menu ul ul ul a, .menu ul ul ul a:visited { background: #f9af63; color: #6e0404;}

* html .menu ul ul ul a:hover { background:#fbc792;}
    
.menu ul ul ul :hover > a { background:#fbc792;}

.menu ul ul ul ul a:hover { background:#f9af63;}

.menu ul ul ul ul a, .menu ul ul ul ul a:visited { background:#fbc792;}
	


/* ================================= */

#horizontalNav { width: 100%; clear: both; }

.menu { position: relative; z-index: 5000; }

/* remove all the bullets, borders and padding from the default list styling */
ul.menu li {
	float: left;
}

.menu ul 
{
    padding:0 2px 0 0;
    list-style-type:none; 
    height:28px; 
}

/* 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:28px;
}

/* style the sub level list items */
.menu ul ul li 
{
    display:block;
    width:216px;
    height:auto; 
    line-height:28px;
}

/* style the links for the top level */

.menu a, .menu a:visited 
{
    display:block;
    float:left;
    height:28px;
	padding: 0 25px 0 25px;
	line-height: 28px;
}
	
	
/* 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:27px;
    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;}
