/* ================================================================ 
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; top: 127px; left: 18px;}
#multi-level .pad {float:left;}

/* The menu styling */
/* Remove the padding, margins and bullets from the lists */
#menu, #menu div {list-style-type:none; padding:0; margin:0;}

/* Set up the top level list items and float left to place inline */
#menu div.top {display:block; float:left; position:relative; padding-right: 2px;}

/* 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 div.top a.top_link {display:block; float:left; width:109px; height:32px;}
#menu div.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 div: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) */
a#b1:hover, #menu div div:hover a#b1,
a#b2:hover, #menu div div:hover a#b2,
a#b3:hover, #menu div div:hover a#b3,
a#b4:hover, #menu div div:hover a#b4,
a#b5:hover, #menu div div:hover a#b5,
{background:transparent;}

.b1 {width: 109px; height: 32px;}
.b2 {width: 126px; height: 32px;}
.b3 {width: 115px; height: 32px;}
.b4 {width: 111px; height: 32px;}
.b5 {width: 90px; height: 32px;}

/* set up the normal images in the links */
#b1, #b1:hover {width:109px; background:url(main.png) no-repeat; display:block; float:left; height:32px;}
#b2, #b2:hover {width:126px; background:url(products.png) no-repeat; display:block; float:left; height:32px;}
#b3, #b3:hover {width:115px; background:url(partners.png) no-repeat; display:block; float:left; height:32px;}
#b4, #b4:hover {width:111px; background:url(contacts.png) no-repeat; display:block; float:left; height:32px;}
#b5, #b5:hover {width:90px; background:url(prices.png) no-repeat; display:block; float:left; height:32px;}

/* pre-load the mouse over images into the lists */
#b1hover, #b1hover:hover {width:109px; background:url(main%2Dover.png) no-repeat; display: block; float: left; height:32px; position:relative; z-index: 200; top: -32px; left: 0px;opacity:0;}
#b2hover, #b2hover:hover {width:126px; background:url(products%2Dover.png) no-repeat; display:block; float:left; height:32px;position:relative; z-index: 200; top: -32px; left: 0px;opacity:0;}
#b3hover, #b3hover:hover {width:115px; background:url(partners%2Dover.png) no-repeat; display:block; float:left; height:32px;position:relative; z-index: 200; top: -32px; left: 0px;opacity:0;}
#b4hover, #b4hover:hover {width:111px; background:url(contacts%2Dover.png) no-repeat; display:block; float:left; height:32px;position:relative; z-index: 200; top: -32px; left: 0px;opacity:0;}
#b5hover, #b5hover:hover {width:90px; background:url(prices%2Dover.png) no-repeat; display:block; float:left; height:32px;position:relative; z-index: 200; top: -32px; left: 0px;opacity:0;}

/* pre-load the mouse down images into the lists */
#b1:active {width:109px; background:url(main.png) no-repeat; display:block; float:left; height:32px;}
#b2:active {width:126px; background:url(products.png) no-repeat; display:block; float:left; height:32px;}
#b3:active {width:115px; background:url(partners.png) no-repeat; display:block; float:left; height:32px;}
#b4:active {width:111px; background:url(contacts.png) no-repeat; display:block; float:left; height:32px;}
#b5:active {width:90px; background:url(prices.png) no-repeat; display:block; float:left; height:32px;}

/* 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: normal; font-style: normal; text-decoration: none; left:0px; top:19px; background: #ddeefe; padding: 2px; border:1px solid #ffffff; white-space:nowrap; width:auto; height:auto;}
#menu :hover ul.sub li {display:block; position:relative; float:left; padding: 2px;}
#menu :hover ul.sub li a {font-weight: normal; font-style: normal; text-decoration: none; font-family:Tahoma, arial, sans-serif; font-size:14px; display:block; background:#ddeefe; text-indent:0px; color:#000000; border:1px solid #ddeefe; padding: 2px;}
#menu :hover ul.sub li a.fly {font-weight: normal; font-style: normal; text-decoration: none; font-family:Tahoma, arial, sans-serif; font-size:14px;  border:1px solid #ddeefe; padding: 2px;}
#menu :hover ul.sub li a:hover {font-weight: normal; font-style: normal; text-decoration: none; font-family:Tahoma, arial, sans-serif; font-size:14px; background:#87c1e7; border:1px solid #87c1e7; color:#000000; padding: 2px;}
#menu :hover ul.sub li a.fly:hover {font-weight: normal; font-style: normal; text-decoration: none; font-family:Tahoma, arial, sans-serif; font-size:14px;  border:1px solid #87c1e7; color:#000000; padding: 2px;}
#menu :hover ul li:hover > a.fly {font-weight: normal; font-style: normal; text-decoration: none; font-family:Tahoma, arial, sans-serif; font-size:14px;  border:1px solid #87c1e7; color:#000000; padding: 2px;} 

#subproducts li {width: 400px;}
#subprices li {width: 200px;}#submain li {width: 100px;}

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