/* SWIM2.0 :: Simple website menu
****************************************************************
* DOM scripting by brothercake -- http://www.brothercake.com/
* Licensed under GPL -- http://www.gnu.org/copyleft/gpl.html
****************************************************************
* For professional menu solutions visit -- http://www.udm4.com/ 
****************************************************************
*/
/* tame the lists */
ul.vertical, ul.vertical li , ul.vertical li2 {
	margin:0;
	padding:0;
	list-style-type:none;
	font-size:11px;
	}

/* navbar list */
ul.vertical {
	position:relative;
	z-index:1004;
	cursor:default;
	width:145px;
	left:2px;
	top:5px;
	height: 387px;
	padding-left: 4px;
	padding-top: 60px;
	color: #000000;
	background-image:url(../images/menu_back.gif);
	background-repeat: no-repeat;
	}
	
	
/* navbar list-items */
ul.vertical li {
	position:relative;
	text-align:left;
	cursor:pointer;
	cursor:hand;
	
	/* duplicate navbar width */
	width:147px;
	
	
	/* shift list-items to collapse borders vertically */
	margin:0px 0 0 0;
	
	}


	

/********************************************************/	


/* menu lists (expanded levels)*/
ul.vertical ul {
	z-index:1020;
	cursor:default;
	position:absolute;
	border-width:10;
	border-color:#555555;
	/* menu width */
	width:220px;
	
	/* menu offset, which already includes 1px compensation 
	   on TOP, for list-item border collapse */
	margin:0px 0px 0 146px;
	/* overlapping the menus improves usability */
	
	/* 
	position menus off the screen to hide 
	because using display, visibility, overflow or clip,  
	would hide them from browser-based screenreaders as well 
	*/
	top:-500px;
	
	/* shift menus to collapse navbar->menu borders */
	left:-1px;
	
	/* compensate for list-item border collapse */
	padding:1px 0px 0 0;
	background-color:#000000;
	
	
	}
	
/* menu list-items */
ul.vertical ul li {
	/* duplicate menu width */
	width:220px;
	
	}

/********************************************************/	

/* further child-menu offset */
ul.vertical ul ul {
	/* this already includes 1px compensation 
	   for list-item border collapse */
	/*margin:0 0 0 150px;*/
	margin:0px 0px 0 221px;
	/* overlapping the menus improves usability */
	
	}


/* menu triggers -- position menus back on the screen to show 
   hide these from safari < 1.2 because of it's "sticky hover" bug 
   that would make it difficult or impossible to close the menus 
   we're hiding it using the "@media with Media Type in Mixed Case" hack
   http://www.dithered.com/css_filters/css_only/media_mixed_case.html */
@media Screen, Projection { 
	ul.vertical li:hover > ul { top:0; }
	}


/* links */
ul.vertical a, ul.vertical a:visited {
	display:block;
	cursor:hand;
	cursor:hand;
	/*background:#1A313F;*/
	border:0px solid #FFFFFF;
	padding:2px 4px;
	font:normal normal normal 11px, verdana, sans-serif;
	color:#ffffff;
	text-decoration:none;
	letter-spacing:1px;
	background-color: transparent;
	border-top-color: #FFFFFF;
	font-weight:normal;
	}	

	
/* First level rollover pseudo-classes, and scriptable persistence class */
ul.vertical a:hover, ul.vertical a:focus, ul.vertical a.rollover, ul.vertical a.rollover:visited {
	background:#fff;
	color:#FFFFFF;
	
	background-color: #555555;
	font-weight:normal;
	text-decoration:none;
	
/*	border-bottom-width:2px;
	border-bottom-color: #4c7a9c;
	border-top-width:2px;
	border-top-color: #4c7a9c;*/
	}
	/* expanded level rollover pseudo-classes, and scriptable persistence class */
	ul.vertical ul a:hover, ul.vertical ul a:focus, ul.vertical ul a.rollover, ul.vertical ul a.rollover:visited {
	
	/*background:#fff;*/
	color:#FFFFFF;
	background-color: #555555;
	font-weight:normal;
	
	}

/* 
ul.vertical a
{
	
	background-repeat:no-repeat;
	background-image:url(../images/menu_arrow.gif);
	background-position:right;
}
*/


/* hacks for win/ie to cure 'excess hidden margins' bug */
@media screen, projection {
	* html ul.vertical li {
		/* for ie5.0 */
		display:inline; 
		/* for ie5.5+ */
		float:left; 
		/* this cures 'events fall through the menu' bug in ie6 */
		background:#ffffff; 
		}
		
	}
	/* use different comparative positioning for ie, 
   to avoid problems with virtual z-ordering */
* html ul.vertical li {
	position:static;
	background-color: transparent;
	border-bottom-color: #FFFFFF;
	border-color: #FFFFFF;
	border-left-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-top-color: #FFFFFF;
	color: #FFFFFF;
}
* html ul.vertical a { position:relative; }

/* hide menus from konqueror < 3.2 */
ul[class^="vertical"] ul { display:none; }
ul[class^="vertical"] ul { displa\y:block; }

