/* ================================================================ 
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.

If this menu is used on a commercial website then a donation to support
CSSplay should be considered. 
=================================================================== */

#multi-level {position:relative; z-index:100;}
#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;}

/* Set up the top level list items and float left to place inline */
#menu li.top {display:block; float:left; position:relative; padding-right: 0px;}

/* 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; width:101px; height:26px;}
#menu li.top a span {position:absolute; left:-9999px; top:0; z-index:0; font-size:10px;} /* move the link text off screen */

/* 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#b1:hover, #menu li:hover a#b1,
#menu li a#b2:hover, #menu li:hover a#b2,
#menu li a#b3:hover, #menu li:hover a#b3,
#menu li a#b4:hover, #menu li:hover a#b4,
#menu li a#b5:hover, #menu li:hover a#b5,
#menu li a#b6:hover, #menu li:hover a#b6,
#menu li a#b7:hover, #menu li:hover a#b7,
#menu li a#b8:hover, #menu li:hover a#b8
{background:transparent;}

/* set up the normal images in the links */
#menu li a#b1 {width:101px; background:url(Canon.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b2 {width:101px; background:url(Epson.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b3 {width:101px; background:url(Microtek.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b4 {width:101px; background:url(Nikon.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b5 {width:101px; background:url(PIE.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b6 {width:101px; background:url(Plustek.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b7 {width:101px; background:url(Reflecta.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b8 {width:16px; background:url(Button.png) no-repeat; display:block; float:left; height:26px;}

/* pre-load the mouse over images into the lists */
#menu li a#b1:hover, #menu li.b1:hover {width:102px; background:url(Canon%2Dover.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b2:hover, #menu li.b2:hover {width:102px; background:url(Epson%2Dover.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b3:hover, #menu li.b3:hover {width:102px; background:url(Microtek%2Dover.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b4:hover, #menu li.b4:hover {width:102px; background:url(Nikon%2Dover.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b5:hover, #menu li.b5:hover {width:102px; background:url(PIE%2Dover.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b6:hover, #menu li.b6:hover {width:102px; background:url(Plustek%2Dover.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b7:hover, #menu li.b7:hover {width:102px; background:url(Reflecta%2Dover.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b8:hover, #menu li.b8:hover {width:16px; background:url(Button%2Dover.png) no-repeat; display:block; float:left; height:26px;}

/* pre-load the mouse down images into the lists */
#menu li a#b1:active {width:101px; background:url(Canon.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b2:active {width:101px; background:url(Epson.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b3:active {width:101px; background:url(Microtek.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b4:active {width:101px; background:url(Nikon.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b5:active {width:101px; background:url(PIE.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b6:active {width:101px; background:url(Plustek.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b7:active {width:101px; background:url(Reflecta.png) no-repeat; display:block; float:left; height:26px;}
#menu li a#b8:active {width:16px; background:url(Button.png) no-repeat; display:block; float:left; height:26px;}

/* 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 {font-weight: bold; font-style: normal; text-decoration: none; left:0px; top:26px; background: #d0e3f1; padding: 1px; border:0px solid #01325d; white-space:nowrap; width:237px; height:auto;}
#menu :hover ul.sub li {display:block; position:relative; float:left; width:235px; padding: 2px;}
#menu :hover ul.sub li a {font-weight: bold; font-style: normal; text-decoration: none; font-family:Tahoma, arial, sans-serif; font-size:11px; display:block; background:#d0e3f1; text-indent:0px; color:#01325d; border:0px solid #ffffff; padding: 2px;}
#menu :hover ul.sub li a.fly {font-weight: bold; font-style: normal; text-decoration: none; font-family:Tahoma, arial, sans-serif; font-size:11px; background:#d0e3f1 url(arrowright.gif) 229px 7px no-repeat; border:0px solid #ffffff; padding: 2px;}
#menu :hover ul.sub li a:hover {font-weight: bold; font-style: normal; text-decoration: none; font-family:Tahoma, arial, sans-serif; font-size:11px; background:#01325d; border:0px solid #bed2d6; color:#d0e3f1; padding: 2px;}
#menu :hover ul.sub li a.fly:hover {font-weight: bold; font-style: normal; text-decoration: none; font-family:Tahoma, arial, sans-serif; font-size:11px; background:#01325d url(arrowright.gif) 229px 7px no-repeat; border:0px solid #bed2d6; color:#d0e3f1; padding: 2px;}
#menu :hover ul li:hover > a.fly {font-weight: bold; font-style: normal; text-decoration: none; font-family:Tahoma, arial, sans-serif; font-size:11px; background:#01325d url(arrowright.gif) 229px 7px no-repeat; border:0px solid #bed2d6; color:#d0e3f1; padding: 2px;} 

/* 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:237px; top:0px; background:#d0e3f1; padding: 1px; border:0px solid #01325d; white-space:nowrap; width:237px; z-index:200; height:auto; z-index:300;}