/* ================================================================ 
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.
=================================================================== */
div#multi-level {height:50px; position:relative; z-index:100; padding-left:0px;}
div#multi-level .pad {float:left; }

/* The menu styling */
/* Remove the padding, margins and bullets from the lists */
.menu, .menu ul {list-style-type:none; padding:0; margin:0; font-family:arial, sans-serif;background-color:#fff;}

/* Set up the top level list items and float left to place inline */
.menu li.top {display:block; float:left; position:relative;}

.menu li { background-color:#79b927;}

/* 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 */
.menu li.top a.top_link {display:block; float:left; height:50px;}
.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 */
.menu li.p1 {width:93px; background:url(../img/nav/nav_home.gif) no-repeat;}
.menu li.p2 {width:70px; background:url(../img/nav/nav_news.gif) no-repeat;}
.menu li.p3 {width:99px; background:url(../img/nav/nav_aboutus.gif) no-repeat;}
.menu li.p4 {width:128px; background:url(../img/nav/nav_diyproducts.gif) no-repeat;}
.menu li.p5 {width:191px; background:url(../img/nav/nav_industrialproducts.gif) no-repeat;}
.menu li.p6 {width:119px; background:url(../img/nav/nav_contactus.gif) no-repeat;}
.menu li.p7 {width:235px;}

/* set up the normal unhovered images in the links */
.menu li a.home {width:93px; background:url(../img/nav/nav_home.gif) -93px 0px no-repeat; }
.menu li a.home-active {width:93px; background:url(../img/nav/nav_home.gif) -186px 0px no-repeat; }
.menu li a.home:hover {width:93px; background:url(../img/nav/nav_home.gif) 0px 0px no-repeat; }

.menu li a.news {width:70px; background:url(../img/nav/nav_news.gif) -70px 0px no-repeat;}
.menu li a.news-active {width:70px; background:url(../img/nav/nav_news.gif) -140px 0px no-repeat;}
.menu li a.news:hover {width:70px; background:url(../img/nav/nav_news.gif) 0px 0px no-repeat;}

.menu li a.aboutus {width:99px; background:url(../img/nav/nav_aboutus.gif) -99px 0px no-repeat;}
.menu li a.aboutus-active {width:99px; background:url(../img/nav/nav_aboutus.gif) -198px 0px no-repeat;}
.menu li a.aboutus:hover {width:99px; background:url(../img/nav/nav_aboutus.gif) 0px 0px no-repeat;}

.menu li a.diy-product-categories {width:128px; background:url(../img/nav/nav_diyproducts.gif) -128px 0px no-repeat;}
.menu li a.diy-product-categories-active {width:128px; background:url(../img/nav/nav_diyproducts.gif) -256px 0px no-repeat;}
.menu li a.diy-product-categories:hover {width:128px; background:url(../img/nav/nav_diyproducts.gif) 0px 0px no-repeat;}

.menu li a.industrial-product-categories {width:191px; background:url(../img/nav/nav_industrialproducts.gif) -191px 0px no-repeat;}
.menu li a.industrial-product-categories-active {width:191px; background:url(../img/nav/nav_industrialproducts.gif) -382px 0px no-repeat;}
.menu li a.industrial-product-categories:hover {width:191px; background:url(../img/nav/nav_industrialproducts.gif) 0px 0px no-repeat;}

.menu li a.contactus {width:119px; background:url(../img/nav/nav_contactus.gif) -119px 0px no-repeat;}
.menu li a.contactus-active {width:119px; background:url(../img/nav/nav_contactus.gif) -238px 0px no-repeat;}
.menu li a.contactus:hover {width:119px; background:url(../img/nav/nav_contactus.gif) 0px 0px 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,
.menu li a.news:hover, .menu li:hover a.news,
.menu li a.aboutus:hover, .menu li:hover a.aboutus,
.menu li a.diy-product-categories:hover, .menu li:hover a.diy-product-categories,
.menu li a.industrial-product-categories:hover, .menu li:hover a.industrial-product-categories,
.menu li a.contactus:hover, .menu li:hover a.contactus
{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 */

.menu :hover ul.sub {left:0; top:50px; background: #fff; padding:0px 0; white-space:nowrap; width:210px; height:auto; border-left:1px solid #fff; border-right:1px solid #fff;border-top:1px solid #fff;}
.menu :hover ul.sub li {display:block; position:relative; float:left; width:210px; border-bottom:1px solid #fff; font-family:Arial, Helvetica, sans-serif; text-align:left;}
.menu :hover ul.sub li a {display:block; padding:5px 0px 5px 10px; font-size:12px; width:200px; line-height:20px; text-decoration:none; border:none; border-width:0 0 0 3px; font-family:Arial, Helvetica, sans-serif; color:#fff; font-weight:normal;}
.menu :hover ul.sub li a.fly {background:#79b927 url(../img/nav/arrow.gif) no-repeat; background-position:right;}
.menu :hover ul.sub li a:hover {background:#34751d; color:#fff;}
.menu :hover ul.sub li a.fly:hover {background:#34751d url(../img/nav/arrow_over.gif) no-repeat; color:#fff; background-position:right;}
.menu :hover ul li:hover > a.fly {background:#34751d url(../img/nav/arrow_over.gif) no-repeat; color:#fff; background-position:right;} 

/* 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:210px; top:-1px; background: #fff; padding:0px 0; border-left:1px solid #fff; border-right:1px solid #fff;border-top:1px solid #fff; white-space:nowrap; width:210px; z-index:200; height:auto; z-index:300;}
