/* version 2 (MRB 18May10) ul#sidemenu inserted */

body {
		behavior:url("/stylesheets/csshover.htc"); /* this fixes menu problems in early versions of IE - MB */
		*position: relative; /* relative shouldn't be necessary but stops IE6&7 failing to move the menu folders when the user resizes the window - MB */
		/* the "*" targets IE7 and earlier (otherwise weird things happen in other browsers when rearranging columns in fdbquery.php) - MB */
	}
	
	/* the side menu */

	ul#sidemenu, ul#sidemenu ul, ul#sidemenu li, ul#sidemenu a {
		display:block;
		margin:0;
		padding:0;
		border:0;
	}

  ul#sidemenu         {margin-top: 20px}

	ul#sidemenu, ul#sidemenu ul {
		width:150px;
		border:1px solid #003300;
		background:white;
		list-style:none;
	}

	ul#sidemenu li {
		position:relative;
		padding:1px;
		padding-left:26px;
		background:url("/images/item_moz.gif") no-repeat;
		z-index:9;
	}
	
	ul#sidemenu li.folder	{ background:url("/images/item_folder.gif") no-repeat; }		
	ul#sidemenu li.folder ul {
			position:absolute;
			left:120px; /* IE */
			top:5px;
		}		
	ul#sidemenu li.folder>ul { left:140px; } /* others */

	ul#sidemenu a {
		padding:2px;
		border:1px solid white;
		text-decoration:none;
		color:#006600;
		font-weight:bold;
		width:100%; /* IE */
	}
	ul#sidemenu li>a { width:auto; } /* others */

	ul#sidemenu li a.submenu {
		background:url("/images/sub.gif") right no-repeat;
	}

	/* regular hovers */

	
	ul#sidemenu li.folder a:hover {
			background-color:#FFFAF4;
			text-decoration: underline;
		}
	
	/* hovers with specificity */
	
	ul#sidemenu li.folder:hover { z-index:10; }		
		
	ul#sidemenu ul, ul#sidemenu li:hover ul ul {
		display:none;
	}

	ul#sidemenu li:hover ul, ul#sidemenu li:hover ul#sidemenu li:hover ul {
		display:block;
	}		

/* site search */

div#sitesearch        {width: 123px; border: 1px solid; border-color: gray black black; background: white url("/images/item_moz.gif") repeat-y; padding: 1px 1px 1px 26px; margin-top: -1px; color:#006600; font-weight:bold}
div#sitesearch        {_width: 129px} /* IE6 */
div#sitesearch form   {margin: 2px}
input#searchtext      {width: 117px; margin: 4px 0; background: #FFFAF4 no-repeat; border: 1px solid #006600}
input#searchtext.hint {background-image: url('/images/type.gif')}
input#searchbutton    {color: #006600; font-size: 11px; font-weight: bold}

/* walks for all */

ul#sidemenu li#wfa     {background-image: url('/images/wfaicon.gif')}

