﻿/* ================================================================ 
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.
=================================================================== */
body {
	behavior:url("/csshover3.htc");
}

#nav-primary {
width:940px; 
font-size:12px;
position:relative;
z-index:100;
}
/* remove all the bullets, borders and padding from the default list styling */
#nav-primary ul {
padding:0;
margin:0;
list-style-type:none;
text-align:center;

}
#nav-primary ul ul {
width:134px;
text-align:left;

}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#nav-primary li {
display:inline;	
float:left;
width:134px;
position:relative;
padding-left:0;
margin-left:0;
}
/* style the links for the top level */
#nav-primary a, #nav-primary a:visited {
display:block;
font-size:13px;
font-weight:bold;
text-decoration:none; 
color:#fff; 
width:125px; 
height:50px; 
border:1px solid #fff; 
border-width:1px 1px 0 0; 
background:transparent; 
padding:3px 4px; 
}

#nav-primary li a, #nav-primary li a:visited {
cursor:default;
}

#nav-primary li li a, #nav-primary li li a:visited 
{
border:0;     
cursor:pointer;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html #nav-primary a, * html #nav-primary a:visited {
width:150px;
w\idth:122px;
}

/* style the second level background */
#nav-primary ul ul a.drop, #nav-primary ul ul a.drop:visited {
background:#cdf0f4;

}
/* style the second level hover */
#nav-primary ul ul a.drop:hover{
background:#1aafc1;
}
#nav-primary ul ul :hover > a.drop {
background:#1aafc1;
}
/* style the third level background */
#nav-primary ul ul ul a, #nav-primary ul ul ul a:visited {
background:#cdf0f4;
}
/* style the third level hover */
#nav-primary ul ul ul a:hover {
background:#1aafc1;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#nav-primary ul ul {
visibility:hidden;
position:absolute;
height:0;
top:57px;
left:0; 
}
/* another hack for IE5.5 */
* html #nav-primary ul ul {
top:56px;
t\op:57px;
}

/* position the third level flyout menu */
#nav-primary ul ul ul{
left:150px; 
top:0;
width:150px;
}
/* position the third level flyout menu for a left flyout */
#nav-primary ul ul ul.left {
left:-150px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#nav-primary table {position:absolute; top:0; left:0;}

/* style the second level links */
#nav-primary ul ul a, #nav-primary ul ul a:visited {
background:#cdf0f4; 
font-size:11px;
color:#000; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:179px;
border-right:1px solid #1aafc1;
/* yet another hack for IE5.5 */
}
* html #nav-primary ul ul a{
width:200px;
w\idth:179px;
}


/* style the top level hover */
#nav-primary a:hover, #nav-primary ul ul a:hover{
color:#fff; 
background:#1aafc1;
}
#nav-primary :hover > a, #nav-primary ul ul :hover > a {
color:#fff;
background:#1aafc1;
}

/* make the second level visible when hover on first level list OR link */

#nav-primary ul li:hover ul,
#nav-primary ul a:hover ul{
visibility:visible; 
}

/* keep the third level hidden when you hover on first level list OR link */
#nav-primary ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
#nav-primary ul :hover ul :hover ul{ 
visibility:visible;
}

/* keep the FOURTH level hidden when you hover on SECOND level list OR link */
#nav-primary ul :hover ul :hover ul ul{
visibility:hidden;
}

/* make the FOURTH level visible when you hover over THIRD level list OR link */
#nav-primary ul :hover ul :hover ul :hover ul{ 
visibility:visible;
}

