/* ================================================================ 
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/simple_dropline.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.
=================================================================== */
/* position of the whole menu */
#nav {margin:0px;}

/* background & position for the whole menu  */
#nav {width:100%; height:40px; background:#666; position:relative;}

/* basic properties for the top level menu  */
#nav .select, #nav .current {margin:0; padding:0; list-style:none;}
#nav li {display:inline; margin:0; padding:0; height:auto;}

/* styles for the top level menu  */
#nav .select a,
#nav .current a {display:block; height:19px; float:left; background:#666; padding:0 10px 0 10px; text-decoration:none; font-size:11px; line-height:19px; white-space:nowrap; border-right:1px solid #fff; border-bottom:1px solid #fff; color:#fff;}
* html #nav .select a, * html #nav .current a {width:1px; height:21px;} /* for IE5.5 and IE6 only */

/* styles for the top level menu on hover */
#nav .select a:hover, 
#nav .select li:hover a {background:#666; cursor:pointer; color:#fff; text-decoration:underline;}

/* hide the sub level menu  */
#nav .sub {display:none;}
#nav table {position:absolute; border-collapse:collapse; left:0; top:0;} /* for IE5.5 and IE6 only */

/* style for the active top level menu */
#nav .current a {background:#999; color:#fff; border-bottom:1px solid #999;}

/* styles for the sub level menu on hover */
#nav .sub li a:hover, 
#nav .select a:hover .sub li a:hover, 
#nav .select li:hover .sub li a:hover { color:#fff; text-decoration:underline;}

/* styles for the active sub level menu on hover */
#nav .sub_active .current_sub a, 
#nav .sub_active a:hover { color:#fff; text-decoration:underline;}

/* background for the sub level menu */
#nav .select li a:hover .sub, 
#nav .select li:hover .sub {display:block; position:absolute; width:993px; top:20px; left:0; background:#999; margin-top:0; padding:0; z-index:100; color:#fff; font-size:11px;}

/* background & position for active the sub level menu */
#nav .sub, #nav .sub_active {margin:0; padding:0; list-style:none;} 
#nav .sub_active {display:block; position:absolute; width:993px; top:20px; left:0; background:#999; margin-top:0; padding:0; z-index:10;}
* html #nav .sub_active, * html #nav .select a:hover .sub {z-index:-1; margin-top:0; margin-t\op:1px;}/* for IE5.5 and IE6 only */

/* styles for active the sub level menu */
#nav .sub_active a {height:20px; text-decoration:none;  line-height:20px; white-space:nowrap; display:block; float:left; background:#999; padding:0 10px 0 10px; margin:0; font-size:11px; white-space:nowrap; border:0; color:#fff;}

/* styles for the sub level menu */
#nav .select a:hover .sub li a, 
#nav .select li:hover .sub li a {display:block; background:#999; padding:0 10px 0 10px; margin:0;  line-height:20px; white-space:nowrap; border:0; color:#fff; font-size:11px; text-decoration: none;}