﻿/* ================================================================ 
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.
=================================================================== */



/* remove all the bullets, borders and padding from the default list styling */


/*  for IR version #nav_bar    background-image: url(/img/nav-bg-ir.gif);   */


#nav_bar 
{
   	height: 24px;
	width: 954px; 
    	font-size: .8em;
	padding-top: 6px;
	position: relative;
	left: 16px;
   	background:#EFD684; 
    	/* background-image: url(/img/nav-bg1.gif); */
	border-bottom: 1px solid #005263; 
    z-index:100;
}


#nav_bar ul {
padding:0;
margin:0;
margin-left:38px;
list-style-type:none;
}


#nav_bar ul ul {
width:163px;
background:#EFD684; 
padding: 0px;
margin: 0px;
/*width:130px; */
}


/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#nav_bar li {
float:left;
/* width:163px; */
/* width:130px; */
width: auto;
position:relative;
}


/* style the links for the top level */
#nav_bar a, #nav_bar a:visited {
display:block;
font-family: verdana, helvetica, sans-serif;
font-weight:normal;
text-decoration:none; 
text-transform: uppercase;
text-align: center;
color: #005263; 
/* width:139px; */ 
/* width: 119px; */
width:auto;
height:24px;
/* border:1px solid #005263; */
background: transparent; 
/* padding: 0px 8px 0px 8px; */
margin: 0px 8px 0px 8px;
/* border: 1px solid EFD684; */
}






/* a hack so that IE5.5 faulty box model is corrected */
* html #nav_bar a, * html #nav_bar a:visited {
/* width:163px; */
width:130px;
/* w\idth:139px; */
w\idth:119px;
}


/* style the second level background 
#nav_bar ul ul a.drop, #nav_bar ul ul a.drop:visited {
background:#d4d8bd url(test_menu_drop.gif) bottom right no-repeat;
}


style the second level hover
#nav_bar ul ul a.drop:hover{
background:#c9ba65 url(test_menu_drop.gif) bottom right no-repeat;
}


#nav_bar ul ul :hover > a.drop {
background:#c9ba65 url(test_menu_drop.gif) bottom right no-repeat;
}

*/

/* style the third level background */
#nav_bar ul ul ul a, #nav_bar ul ul ul a:visited {
background:#e2dfa8;
}


/* style the third level hover */
#nav_bar ul ul ul a:hover {
background:#b2ab9b;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#nav_bar ul ul {
visibility:hidden; 
position:absolute;
height:auto;
top:24px;
border-bottom: 1px solid #005263;
border-left: 1px solid #005263;
border-right: 1px solid #005263;
/* left:0; 
width:175px; */
}


/* another hack for IE5.5 */
* html #nav_bar ul ul {
top:30px;
t\op:31px;
}


/* position the third level flyout menu */
#nav_bar ul ul ul{
left:150px; 
top:0;
width:163px;
}


/* position the third level flyout menu for a left flyout */
#nav_bar ul ul ul.left {
left:-150px;
}


/* style the table so that it takes no ppart in the layout - required for IE to work */
#nav_bar table {position:absolute; top:0; left:0;}


/* style the second level links */
#nav_bar ul ul a, #nav_bar ul ul a:visited {
display:block;
background:#EFD684;  
color:#005263; 
text-align: left;
height:auto; 
line-height:1em;
padding:0px ;
margin: 8px; 
/* width: 170px; */
}

#nav_bar ul ul li {
border-left: 1px solid #ceb563;
border-bottom: 1px solid #ceb563; 
width: 99%;
}    
    

/* yet another hack for IE5.5 */

* html #nav_bar ul ul a{
width:140px;
w\idth:129px;
}


/* style the top level hover */
#nav_bar a:hover, #nav_bar ul ul a:hover{
color:#000; 
background: inherit;
}


#nav_bar :hover > a, #nav_bar ul ul :hover > a {
color:#9C0101;
background: inherit;
}


/* make the second level visible when hover on first level list OR link */
#nav_bar ul li:hover ul,
#nav_bar ul a:hover ul{
visibility:visible; 
}



/* keep the third level hidden when you hover on first level list OR link */
#nav_bar ul :hover ul ul{
visibility:hidden;
}


/* make the third level visible when you hover over second level list OR link */
#nav_bar ul :hover ul :hover ul{ 
visibility:visible;
}
