/*
	Copyright (c) 2004 Ned Martin
	http://nedmartin.org/

	Menu styling items for jianshe.com.au

	09-DEC-2004

	div.menu p : menu header
	div.menu ul li a : first level menu item
	div.menu ul li ul li a : second level menu item
*/

div.menu { /* Position and format the menu */
	font : 14px Verdana, Arial, Helvetica, sans-serif;
	position : absolute;
	left : 10px;
	top : 251px;
	margin : 0;
	padding : 0;
	width : 190px;
}
div.menu ul { /* Format menu ul */
	list-style : none;
	margin : 0;
	padding : 0;
}


/*
	Search
*/
div.menu form { /* Position search form directly above ul */
	margin : 0 0 0 1px;
	padding: 0;
}
div.menu form { /* Format menu search */
	/* Align with right side of ul */
	margin : 0 -2px 0 0;
	padding : 0;
	height: 28px;
	background-image: url('_img/_search.png');

	margin: 0;
	width: 100%;
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
}
* html div.menu form { /* search background image for IE */
	background-image: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='_img/_search.png',sizingMethod='crop');
}
div.menu form input { /* menu search input */
	position: relative;
	color: #FFFFFF;
	height: 24px;
	display: inline;
	font: 14px Verdana, Arial, Helvetica, sans-serif;
	border: none;
	background-color: transparent;
}
div.menu form input.search
{
	width: 90px;
	padding-left: 21px;
}

/* top level menus */
div.menu li { /* menu list item */
	margin : 0;
	padding: 0;
	/* height is set in _menu-js.css */
	vertical-align: bottom;
	background-image: url('_img/_menu.png');
}
* html div.menu li { /* IE only transparent PNG hack for menus */
	background-image: none;
	overflow: hidden;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='_img/_menu.png',sizingMethod='crop');
}
div.menu li:hover {
/*	background-image: url('_img/_menu-hover.png');*/
}
* html div.menu li.show { /* IE only transparent PNG hack for menus */
/*	background-image: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='_img/_menu-hover.png',sizingMethod='image');*/
}
/* sub menus */
div.menu li li { /* sub menu image */
	background-image: url('_img/_menu-sub.png');
}
* html div.menu li li { /* IE only transparent PNG hack for sub menus */
	background-image: none;
	overflow: hidden;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='_img/_menu-sub.png',sizingMethod='crop');
}
div.menu li.last { /* make the last menu higher so it shows the bottom shadow */
	height: 35px;
}
div.menu li li:hover { /* sub menu hover image */
/*	background-image: url('_img/_menu-no-arrow-hover.png');*/
}
* html div.menu li ul li.show-sub { /* IE only transparent PNG hack for sub menus */
/*	background-image: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='_img/_menu-no-arrow-hover.png',sizingMethod='crop');*/
}

div.menu li a { /* Style the menu a tags */
	position: relative;
	margin: 0px;
	padding: 0px;
	color: #FFFFFF;
	display: block;

	padding-top: 3px;
	text-indent: 1em;
	text-decoration : none;
	width : 100%;
	height: 22px; /* height of menu minus its shadow and dark borders */

	overflow: hidden;
	white-space: nowrap; 
}
div.menu p { /* p 'headers' in menu */
	margin : 0;
	color : #003333;
}
div.menu li.show, div.menu li:hover { /* hi-light currently selected menu */
	font-weight: bold;
}
div.menu li.show li, div.menu li:hover li { /* prevent all sub-menus of currently selected menu from hi-lighting */
	font-weight: normal;
}
div.menu a:hover, div.menu li:hover ul a:hover { /* Highlight menu items on hover */
/*	background-color : #CC3300;*/
	font-weight: bold;
}
div.menu a:active, div.menu li:hover ul a:active { /* Highlight when active */
	background-color : #FF9900;
}

div.menu li:hover a, div.menu li.show a { /* Highlight top level menu in expanded menu */
/*	background-color : #CC3300;*/
}

div.menu li a:hover { /* Change colour on hover */
/*	background-color : #CC3300;*/
}

div.menu li:hover ul a, div.menu li.show ul a { /* Colour expanded menus */
/*	background-color : #003333;*/
}

div.menu li:hover ul, div.menu li.show ul { /* Show hidden nested lists */
	visibility : visible;
}



