/* ================================================================ 
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.
=================================================================== */
#multi-level {height:73px; position:relative; z-index:200; width:417px; margin-left:543px;}
#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;}

/* 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 */
.menu li.top a.top_link {display:block; float:left; height:73px;}
.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:139px; background:url(../images/menu/potentiometers1.gif) no-repeat;}
.menu li.p2 {width:139px; background:url(../images/menu/about_jaywei1.gif) no-repeat;}
.menu li.p3 {width:139px; background:url(../images/menu/contact_us1.gif) no-repeat;}

/* set up the normal unhovered images in the links */
.menu li a#potentiometers {width:139px; background:url(../images/menu/potentiometers0.gif) no-repeat;}
.menu li a#about {width:139px; background:url(../images/menu/about_jaywei0.gif) no-repeat;}
.menu li a#contactus {width:139px; background:url(../images/menu/contact_us0.gif) 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#potentiometers:hover, .menu li:hover a#potentiometers,
.menu li a#about:hover, .menu li:hover a#about
.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:73px; background: #d9d9d9;filter:alpha(opacity=90);   /* Internet Explorer       */
   -moz-opacity:0.9;           /* Mozilla 1.6 and below   */
   opacity: 0.9;               /* newer Mozilla and CSS-3 */
 padding:7px 0; border:0px solid #888; white-space:nowrap; width:139px; height:auto;}
.menu :hover ul.sub li {display:block; height:20px; position:relative; float:left; width:139px;}
.menu :hover ul.sub li a {display:block; font-size:12px; font-weight:bold; letter-spacing:1px; text-align:center; text-transform:uppercase; height:24px; width:139px; line-height:24px; text-indent:0px; color:#222222; text-decoration:none; border:0px solid #fff; border-width:0 0 0 0px;}
.menu :hover ul.sub li a:hover {background:none; color:#666666;}
