/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2008 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

#topnav {width:950px; height:24px; position:relative; z-index:100; font-family:arial, sans-serif; background-color:#ca2023; padding-left: 5px;}
/* hack to correct IE5.5 faulty box model */
* html #topnav {width:955px; w\idth:955px;}

/* remove all the bullets, borders and padding from the default list styling */
#topnav ul {padding:0;margin:0;list-style-type:none;}
#topnav ul ul {width:149px;}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#topnav li {float:left;position:relative;}

/* style the links for the top level */
#topnav a, #topnav a:visited {
	display:block;
	font-size:10px;
	text-decoration:none; 
	color:#ffffff; 
	height:24px; 
	background:#ca2023; 
}
/* a hack so that IE5.5 faulty box model is corrected */
* html #topnav a, * html #topnav a:visited {width:149px; w\idth:138px;}

* html #topnav a#nav-incubation, * html #topnav a#nav-incubation:visited {width: 153px; w\idth: 153px;}
* html #topnav a#nav-businessgrowth, * html #topnav a#nav-businessgrowth:visited {width: 140px; w\idth: 140px;}
* html #topnav a#nav-funding, * html #topnav a#nav-funding:visited {width: 92px; w\idth: 92px;}
* html #topnav a#nav-economy, * html #topnav a#nav-economy:visited {width: 179px; w\idth: 179px;}
* html #topnav a#nav-lifeincny, * html #topnav a#nav-lifeincny:visited {width: 108px; w\idth: 108px;}
* html #topnav a#nav-calendar, * html #topnav a#nav-calendar:visited {width: 96px; w\idth: 96px;}
* html #topnav a#nav-news, * html #topnav a#nav-news:visited {width: 77px; w\idth: 77px;}
* html #topnav a#nav-contact, * html #topnav a#nav-contact:visited {width: 105px; w\idth: 105px;}

/* style the second level background */
#topnav ul ul a.drop, #topnav ul ul a.drop:visited {background:#ca2023 url(http://www.thetechgarden.com/assets/images/nav-arrow-off.gif) no-repeat 130px center;}

/* style the second level hover */
#topnav ul ul a.drop:hover{background:#ad0e12 url(http://www.thetechgarden.com/assets/images/nav-arrow-on.gif) no-repeat 130px center;}
#topnav ul ul :hover > a.drop {background:#ad0e12 url(http://www.thetechgarden.com/assets/images/nav-arrow-on.gif) no-repeat 130px center;}

/* style the third level background */
#topnav ul ul ul a, #topnav ul ul ul a:visited {background:#ca2023;}

/* style the third level hover */
#topnav ul ul ul a:hover {background:#ad0e12;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#topnav ul ul {visibility:hidden;position:absolute;height:0;top:24px;left:0; width:149px;}
/* another hack for IE5.5 */
* html #topnav ul ul {top:24px;t\op:24px;}

/* position the third level flyout menu */
#topnav ul ul ul{left:148px; top:0px; width:148px;}

/* position the third level flyout menu for a left flyout */
#topnav ul ul ul.left {left:-149px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#topnav table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
#topnav ul ul a, #topnav ul ul a:visited {background:#ca2023; color:#FFFFFF; height:auto; line-height:1em; padding:5px 10px; width:128px;border-width:0 1px 1px 1px;}
/* yet another hack for IE5.5 */
* html #topnav ul ul a, * html #topnav ul ul a:visited {width:150px;w\idth:128px;}

/* style the top level hover */
#topnav a:hover, #topnav ul ul a:hover{color:#FFFFFF; background:#ad0e12;}
#topnav :hover > a, #topnav ul ul :hover > a {color:#FFFFFF; background:#ad0e12;}

/* make the second level visible when hover on first level list OR link */
#topnav ul li:hover ul,
#topnav ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
#topnav ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
#topnav ul :hover ul :hover ul{ visibility:visible;}
