﻿
/* ================================================================ 
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 */
#MainNav {height:43px; position:relative; z-index:100;}

/* 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; height:43px;}

/* 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:43px;}
.menu li.top a span {position:absolute; left:-9999px; top:0; z-index:0; font-size:10px;} /* move the link text off screen */

/* pre-load the hover images into the lists*/ 
/* pre-load the hover images into the lists */
.menu li.navHome {width:75px; background:url(../images/nav_home_on.jpg) no-repeat;}
.menu li.navNew {width:109px; background:url(../images/nav_new_on.jpg) no-repeat;}
.menu li.navUsed {width:105px; background:url(../images/nav_used_on.jpg) no-repeat;}
.menu li.navSpecials {width:84px; background:url(../images/nav_specials_on.jpg) no-repeat;}
.menu li.navFinance {width:99px; background:url(../images/nav_finance_on.jpg) no-repeat;}
.menu li.navService {width:78px; background:url(../images/nav_service_on.jpg) no-repeat;}
.menu li.navParts {width:67px; background:url(../images/nav_parts_on.jpg) no-repeat;}
.menu li.navContact {width:105px; background:url(../images/nav_contact_on.jpg) no-repeat;}
.menu li.navRecreditpair {width:198px; background:url(../images/nav_recreditpair_on.jpg) no-repeat;}


/* set up the normal unhovered images in the links */
.menu li a#Home {width:75px; background:url(../images/nav_home.jpg) no-repeat;}
.menu li a#New {width:109px; background:url(../images/nav_new.jpg) no-repeat;}
.menu li a#Used {width:105px; background:url(../images/nav_used.jpg) no-repeat;}
.menu li a#Specials {width:84px; background:url(../images/nav_specials.jpg) no-repeat;}
.menu li a#Finance {width:99px; background:url(../images/nav_finance.jpg) no-repeat;}
.menu li a#Service {width:78px; background:url(../images/nav_service.jpg) no-repeat;}
.menu li a#Parts {width:67px; background:url(../images/nav_parts.jpg) no-repeat;}
.menu li a#Contact {width:105px; background:url(../images/nav_contact.jpg) no-repeat;}
.menu li a#Recreditpair {width:198px; background:url(../images/nav_recreditpair.jpg) no-repeat;}




/* Style the list OR link hover. Depends on which browser is used */
.menu a:hover {visibility:visible;} /* for IE6 */
.menu li:hover { position:relative; z-index:200;} /* 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;}
.menu li a#New:hover, .menu li:hover a#New {background:transparent;}
.menu li a#Used:hover, .menu li:hover a#Used {background:transparent;}
.menu li a#Specials:hover, .menu li:hover a#Specials {background:transparent;}
.menu li a#Finance:hover, .menu li:hover a#Finance {background:transparent;}
.menu li a#Service:hover, .menu li:hover a#Service {background:transparent;}
.menu li a#Parts:hover, .menu li:hover a#Parts {background:transparent;}
.menu li a#Contact:hover, .menu li:hover a#Contact {background:transparent;}
.menu li a#Recreditpair:hover, .menu li:hover a#Recreditpair {background:transparent;}


/* 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 
{

	background:#000000 url(../images/dropdown_bottom.gif) no-repeat left bottom; 
	left:0px; 
	top:43px; 
	padding:0 0 10px 0;  
	white-space:nowrap; 
	width:174px; 
	height:auto;
	color:#000;
	border-bottom:solid 1px #1d51a8;
	border-left:solid 1px #1d51a8;
	border-right:solid 1px #1d51a8;
	}
.menu :hover ul.sub li.dTop
{
	display:block; 
	height:10px; 
	position:relative; 
	float:left; 
	width:174px;
    background: transparent url(../images/dropdown_top.gif) no-repeat left top; 
    z-index:500;
    border:0px;
	}
.menu :hover ul.sub li 
{
	display:block; 
	height:20px; 
	position:relative; 
	float:left; 
	width:172px;
	background:#000000;
	/*border-left:solid 1px #1d51a8;
	border-right:solid 1px #1d51a8;*/
	
	}
.menu :hover ul.sub li a.menu 
{
	display:block; 
	font-size:11px; 
	height:20px; 
	width:166px; 
	line-height:20px; 
	text-indent:5px; 
	color:#ffffff; 
	text-decoration:none; 
	border:3px solid #000000; 
	border-width:0 0 0 3px;
	text-align:left;
	}

/* not being used, no fly outs in this menu */
.menu :hover ul.sub li a.fly 
{
	background:#000000 url(../scripts/nav/navArrowBlack.gif) 142px 7px no-repeat;
	}
.menu :hover ul.sub li a.menu:hover 
{
	background:#1d51a8; 
	color:#fff;
	}
.menu :hover ul.sub li a.fly:hover 
{
	background:#1d51a8 url(../scripts/nav/navArrowBlack.gif) 142px 7px no-repeat; 
	color:#1d51a8;
	}
.menu :hover ul li:hover > a.fly 
{
	background:#d71a21 url(../scripts/nav/navArrowBlack.gif) 142px 7px no-repeat; 
	color:#d71a21;
	} 

/* set up the flyout levels when hovering */
.menu :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul :hover ul
{left:156px; top:-4px; background: #4c4c4c; padding:3px 0; border:1px solid #888; white-space:nowrap; width:162px; z-index:200; height:auto; z-index:300;}