﻿    /* ================================================================ 
    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.
    =================================================================== */
    /* for this demo only */
    #nav {margin:0 0 30px 0;}

    /* the top line styling */
    #nav {width:800px; height:20px; background:#000; position:relative;}
    #nav .select, #nav .current {margin:0; padding:0; list-style:none;}
    #nav li {display:inline; margin:0; padding:0; height:auto;}

    #nav .select a,
    #nav .current a {display:block; height:20px; float:left; background:#000; padding:0 10px 0 10px; text-decoration:none; font-size:12px; line-height:20px; white-space:nowrap; border-right:1px solid #fff; color:#fff;}
    * html #nav .select a, * html #nav .current a {width:1px; height:21px;}

    #nav .select a:hover, 
    #nav .select li:hover a {background:#888; cursor:pointer; color:#ff0;}

    #nav .sub {display:none;}

    /* for IE5.5 and IE6 only */
    #nav table {position:absolute; border-collapse:collapse; left:0; top:0;}

    #nav .current a {background:#666; color:#ff0;}

    #nav .sub li a:hover, 
    #nav .select a:hover .sub li a:hover, 
    #nav .select li:hover .sub li a:hover {background:#888; color:#ff0;}

    #nav .sub_active .current_sub a, 
    #nav .sub_active a:hover {background:#666; color:#ff0;}

    #nav .select li a:hover .sub, 
    #nav .select li:hover .sub {display:block; position:absolute; width:800px; top:20px; left:0; background:#888; margin-top:0; padding:0; z-index:100; color:#fff; font-size:11px;}

    #nav .sub, #nav .sub_active {margin:0; padding:0; list-style:none;}

    #nav .sub_active {display:block; position:absolute; width:800px; top:20px; left:0; background:#666; 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;}

    #nav .sub_active a {height:10px; text-decoration:none; line-height:10px; white-space:nowrap; display:block; float:left; background:#666; padding:5px 5px 5px 5px; margin:0; font-size:12px; white-space:nowrap; border:0; color:#fff;}

    #nav .select a:hover .sub li a, 
    #nav .select li:hover .sub li a {height:10px; display:block; background:#888; line-height:10px; padding:5px 5px 5px 5px; margin:0; white-space:nowrap; border:0; color:#fff; font-size:12px;}