/* ================================================================ 
This copyright notice must be kept untouched in the stylesheet at 
all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/pro_drop6.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.preload1 {background: url(../images/blue_button_down.jpg) ;}
.preload2 {background: url(../images/red_button_down.jpg);}

#nav {padding:0; margin:0; list-style:none; text-align:center;   height:32px; background: #000000  url(../images/blue_button.jpg) repeat-x; position:relative; z-index:200; font-family:arial, verdana, sans-serif;}
#nav li.top {display:block; float:left;}
#nav li a.top_link {
	display:block;
	float:left;
	height:32px;
	line-height:31px;
	/* colour of the texts within the buttons below */
	color:#F2F7F5;
	text-decoration:none;
	font-size:11px;
	font-weight:bold;
	padding:0 7px 0 6px;
	cursor:pointer;
	background: url(/images/blue_button.jpg);
}
#nav li a.top_link span {float:left; display:block; padding:0 1px 0 1px; height:32px; background: url(../images/blue_button.jpg) right top no-repeat;}
#nav li a.top_link span.down {float:left; display:block; padding:0 13px 0 1px; height:32px; background: url(../images/blue_button_down.jpg) no-repeat right top;}

#nav li:hover a.top_link,
#nav a.top_link:hover
{color:#fff; background: url(../images/red_button.jpg) no-repeat;}
#nav li:hover a.top_link span, 
#nav a.top_link:hover span
{background:url(../images/red_button.jpg) no-repeat right top;}
#nav li:hover a.top_link span.down,
/* add to padding to be able to touch the dropdown menu */
#nav a.top_link:hover span.down
{background:url(../images/red_button_down.jpg) no-repeat right top; padding-bottom:0px;}

#nav table {border-collapse:collapse; padding:0; margin:0; position:absolute; left:0; top:0;}

#nav li:hover {position:relative; z-index:200;}
#nav a:hover {position:relative; white-space:normal; z-index:200;}

/* add to top to go lower ==> 32 is thickness of nav bar */
/* the background colour here is for the dropdown menus */
#nav :hover ul.sub
{left:1px; top:32px; background: #3379ce; text-align:left; padding:3px; border:1px solid #000000; white-space:nowrap; width:180px; height:auto; z-index:300;}

/* width for sub-menus */
#nav :hover ul.sub li
{display:block; height:20px; position:relative; float:left; width:178px; font-weight:normal;}
/* the colour for the text of the dropdown menus next line */
#nav :hover ul.sub li a
{display:block; font-size:11px; height:18px; width:178px; line-height:18px; text-indent:5px; color:#F2F7F5; text-decoration:none;border:1px solid #F2F7F5;}
#nav li ul.sub li a.fly
{background:#50b5d0 url(../images/arrow.gif) 80px 6px no-repeat;}
/* the colour for the text of the hovered menus below */
#nav :hover ul.sub li a:hover 
{background:#ffffbf; color:#000000; border-color:#000000;}
#nav :hover ul.sub li a.fly:hover
{background:#3f96a9 url(../images/arrow_over.gif) 80px 6px no-repeat; color:#fff;}

#nav li b {display:block; font-size:11px; height:18px; width:88px; line-height:18px; margin-bottom:3px; text-indent:6px; color:#ff6; border-bottom:1px solid #ff6; cursor:default;}

#nav a:hover a:hover ul,
#nav a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover a:hover ul
{left:89px; top:-4px; background: #50b5d0; padding:3px; border:1px solid #0b4d97; white-space:nowrap; width:90px; z-index:400; height:auto;}

#nav ul, 
#nav a:hover ul ul,
#nav a:hover a:hover ul ul,
#nav a:hover a:hover a:hover ul ul,
#nav a:hover a:hover a:hover a:hover ul ul
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#nav li:hover li:hover > ul
{left:90px; top:-4px; background: #50b5d0; padding:3px; border:1px solid #0b4d97; white-space:nowrap; width:90px; z-index:400; height:auto;}
#nav li:hover > ul ul 
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}
#nav li:hover li:hover > a.fly
{background:#3f96a9 url(../images/arrow_over.gif) 80px 6px no-repeat; color:#fff; border-color:#fff;} 
#nav li:hover li:hover > li a.fly
{background:#50b5d0 url(../images/arrow.gif) 80px 6px no-repeat; color:#000; border-color:#50b5d0;}