﻿
/* ================================================================ 
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_drop.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.
=================================================================== */

/* height is the height of the nav images */
#multi-level {height:30px; position:relative; z-index:100; width:100%; margin-left:0px;}

/* The menu styling */
/* Remove the padding, margins and bullets from the lists */
.menu, .menu ul {list-style-type:none; padding:0; margin:0; font-weight:bold; font-family:arial, sans-serif;}

/* Set up the top level list items and float left to place inline */
.menu li.top {display:block; float:left; position:relative;}

/* Style and position the table so it takes no part in the menu function. The font size is necessary for IE5.5 */
.menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

/* Default top link link styling, height is the height of the nav images */
.menu li.top a.top_link {display:block; float:left; height:30px;text-align:center;padding-top:8px;text-decoration:none; color:#000;}
.menu li.top a.top_link:hover {color:#000;text-decoration:none;}
/*.menu li.top a span {position:absolute; left:-9999px; top:0; z-index:0; font-size:10px;}*/ /* move the link text off screen */
.menu li.top a span { z-index:0; font-size:12px;text-decoration:none; } /* move the link text off screen */

/* Default top link link styling, height is the height of the nav images 
.menu li.top a.top_link {height:16px; display:block; float:left; text-decoration:none; padding:5px 6px 0px; font-size:11px; font-weight:bold;}
.menu li.top a span { z-index:0;  }*/ /* move the link text off screen */


/* pre-load the hover images into the lists */
.menu li.p1 {width:74px; background:url(../images/nav_home_over.gif) no-repeat;}
.menu li.p2 {width:99px; background:url(../images/nav_service_over.gif) no-repeat;}
.menu li.p3 {width:86px; background:url(../images/nav_parts_over.gif) no-repeat;}
.menu li.p4 {width:121px; background:url(../images/nav_used_over.gif) no-repeat;}
.menu li.p5 {width:122px; background:url(../images/nav_contact_over.gif) no-repeat;}
.menu li.p6 {width:122px; background:url(../images/nav_group_over.gif) no-repeat;}


/* set up the normal unhovered images in the links */
.menu li a#home {width:74px; background:url(../images/nav_home.gif) no-repeat;}
.menu li a#service {width:99px; background:url(../images/nav_service.gif) no-repeat;}
.menu li a#parts {width:86px; background:url(../images/nav_parts.gif) no-repeat;}
.menu li a#used {width:121px; background:url(../images/nav_used.gif) no-repeat;}
.menu li a#contact {width:122px; background:url(../images/nav_contact.gif) no-repeat;}
.menu li a#group {width:122px; background:url(../images/nav_group.gif) no-repeat;}



/* Style the list OR link hover. Depends on which browser is used */
.menu a:hover {visibility:visible;color:#990000;} /* for IE6 */
.menu li:hover { position:relative; z-index:200;color:#990000;} /* for IE7 */

/* make the links transparent on hover so that the hover images in the lists show through (no flicker) */
.menu li a#home:hover, .menu li:hover a#home {background:transparent;color:#990000;}
.menu li a#service:hover, .menu li:hover a#service {background:transparent;color:#990000;}
.menu li a#parts:hover, .menu li:hover a#parts{background:transparent;color:#990000;}
.menu li a#used:hover, .menu li:hover a#used {background:transparent;color:#990000;}
.menu li a#contact:hover, .menu li:hover a#contact {background:transparent;color:#990000;}
.menu li a#group:hover, .menu li:hover a#group {background:transparent;color:#990000;}


/* keep the 'next' level invisible by placing it off screen. */
.menu ul, 
.menu :hover ul ul, 
.menu :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0;}


/* set up the first drop down sub level, 
	make top the height of nav image, left is the offset of the dropdown menu with left edge of the nav image */
.menu :hover ul.sub 
{
	left:0px; 
	top:30px; 
	background: #cccccc; 
	padding:0 0; 
	border:0px solid #777777; 
	white-space:nowrap; 
	width:200px; 
	height:auto;
	}
	
.menu :hover ul.sub li 
{
	display:block; 
	height:23px; 
	position:relative; 
	float:left; 
	width:200px;
	}

.menu :hover ul.sub li a 
{
	display:block; 
	font-size:11px; 
	height:23px; 
	width:200px; 
	line-height:20px; 
	text-indent:5px; 
	color:white; 
	text-decoration:none; 
	border: solid 0px black;
	}
	
	
.menu :hover ul.sub li a:hover 
{
	background:#999999; 
	color:#fff;
	}
