﻿/* ================================================================ 
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.
=================================================================== */
#top_navigation {height:35px; position:relative; z-index:100;}
#top_navigation .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:35px;}
.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:64px; background:url(images/home_btn.jpg) no-repeat;}
.menu li.p2 {width:90px; background:url(images/about_cbao_btn.jpg) no-repeat;}
.menu li.p3 {width:92px; background:url(images/membership_btn.jpg) no-repeat;}
.menu li.p4 {width:110px; background:url(images/cbao_university_btn.jpg) no-repeat;}
.menu li.p5 {width:62px; background:url(images/events_btn.jpg) no-repeat;}
.menu li.p6 {width:91px; background:url(images/publications_btn.jpg) no-repeat;}
.menu li.p7 {width:153px; background:url(images/industry_representation_btn.jpg) no-repeat;}
.menu li.p8 {width:127px; background:url(images/products_services_btn.jpg) no-repeat;}
.menu li.p9 {width:77px; background:url(images/resources_btn.jpg) no-repeat;}
.menu li.p10 {width:87px; background:url(images/contact_us_btn.jpg) no-repeat;}

/* set up the normal unhovered images in the links */
.menu li a#home {width:64px; background:url(images/home_btn.jpg) no-repeat;}
.menu li a#about_us {width:90px; background:url(images/about_cbao_btn.jpg) no-repeat;}
.menu li a#membership {width:92px; background:url(images/membership_btn.jpg) no-repeat;}
.menu li a#university {width:110px; background:url(images/cbao_university_btn.jpg) no-repeat;}
.menu li a#events {width:62px; background:url(images/events_btn.jpg) no-repeat;}
.menu li a#publications {width:91px; background:url(images/publications_btn.jpg) no-repeat;}
.menu li a#industry {width:153px; background:url(images/industry_representation_btn.jpg) no-repeat;}
.menu li a#products {width:127px; background:url(images/products_services_btn.jpg) no-repeat;}
.menu li a#resources {width:77px; background:url(images/resources_btn.jpg) no-repeat;}
.menu li a#contact {width:87px; background:url(images/contact_us_btn.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,
.menu li a#about_us:hover, .menu li:hover a#about_us,
.menu li a#membership:hover, .menu li:hover a#membership,
.menu li a#university:hover, .menu li:hover a#university,
.menu li a#events:hover, .menu li:hover a#events,
.menu li a#publications:hover, .menu li:hover a#publications,
.menu li a#industry:hover, .menu li:hover a#industry,
.menu li a#products:hover, .menu li:hover a#products,
.menu li a#resources:hover, .menu li:hover a#resources,
.menu li a#contact:hover, .menu li:hover a#contact {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:34px; background: #fff; padding:3px 0; border:1px solid #888; white-space:nowrap; width:163px; height:auto;}
.menu :hover ul.sub li {display:block; height:20px; position:relative; float:left; width:160px;}
.menu :hover ul.sub li a {display:block; font-size:11px; height:20px; width:157px; line-height:20px; text-indent:5px; color:#000; text-decoration:none; border:3px solid #fff; border-width:0 0 0 3px;}
.menu :hover ul.sub li a.fly {background:#fff url(images/arrow.gif) 150px 7px no-repeat;}
.menu :hover ul.sub li a:hover {background:#c02928; color:#fff;}
.menu :hover ul.sub li a.fly:hover {background:#c02928 url(images/arrow_over.gif) 150px 7px no-repeat; color:#fff;}
.menu :hover ul li:hover > a.fly {background:#c02928 url(images/arrow_over.gif) 150px 7px no-repeat; color:#fff;} 

.menu :hover ul.sub li a.fly_directory {background:#fff url(images/arrow.gif) 65px 7px no-repeat;}
.menu :hover ul.sub li a.fly_directory:hover {background:#c02928 url(images/arrow_over.gif) 65px 7px no-repeat; color:#fff;}
.menu :hover ul li:hover > a.fly_directory {background:#c02928 url(images/arrow_over.gif) 65px 7px no-repeat; color:#fff;} 

/* 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:160px; top:-4px; background: #fff; padding:3px 0; border:1px solid #888; white-space:nowrap; width:163px; z-index:200; height:auto; z-index:300;}