/* SWIM2.0 :: Simple website menu */

ul.vertical, ul.vertical li {
	margin:0;
	padding:0;
	list-style-type:none;
	font-size:100%; /* fix for win/ie's "non-linear text scaling" bug */
	}
ul.vertical2, ul.vertical2 li {
	margin:0;
	padding:0;
	list-style-type:none;
	font-size:100%; /* fix for win/ie's "non-linear text scaling" bug */
	}
	
/* navbar list */
ul.vertical {
	position:absolute;
	z-index:1000;
	cursor:default;
	/* navbar width */
	width:150px;
	/* navbar left and top position 
	   this DOES NOT already include 1px compensation 
	   on TOP, for list-item border collapse 
	   (1px defaults to around 0.05em) */
	left:6px;
	top:260px;
	}
	
ul.vertical2 {
	position:absolute;
	z-index:1000;
	cursor:default;
	
	/* navbar width */
	width:10em;

	/* navbar left and top position 
	   this DOES NOT already include 1px compensation 
	   on TOP, for list-item border collapse 
	   (1px defaults to around 0.05em) */
	left:.4em;
	top:12em;
	}
	
/* navbar list-items */
ul.vertical li {
	position:relative;
	text-align:right; /* main alignment */
	/* duplicate navbar width */
	width:150px; /* width of main menu*/
	/* shift list-items to collapse borders vertically */
	margin:-1px 0 0 0;
	}
ul.vertical2 li {
	position:relative;
	text-align:left;
	/* duplicate navbar width */
	width:10em;
	
	/* shift list-items to collapse borders vertically */
	margin:-1px 0 0 0;
	}

/* menu lists */
ul.vertical ul {
	z-index:1020;
	position:absolute;
	
	/* menu width */
	width:10.2em;
	
	/* menu offset, which already includes 1px compensation 
	   on TOP, for list-item border collapse */
	margin:0em 0 0 9em;  /* first number is vert - last hor */
	/* don't know positions 2 and 3 - 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:-100em;
	
	/* shift menus to collapse navbar->menu borders */
	left:-1px;
	
	/* compensate for list-item border collapse */
	padding:1px 0 0 0;
	}
	
ul.vertical2 ul {
	z-index:1020;
	position:absolute;
	
	/* menu width */
	width:10.2em;
	
	/* menu offset, which already includes 1px compensation 
	   on TOP, for list-item border collapse */
	margin:-0.5em 0 0 9em;
	/* 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:-100em;
	
	/* shift menus to collapse navbar->menu borders */
	left:-1px;
	
	/* compensate for list-item border collapse */
	padding:1px 0 0 0;
	}
	
/* CHILD-menu list-items */
ul.vertical ul li {
	/* duplicate menu width */
	width:10.2em;
	}
ul.vertical2 ul li {
	/* duplicate menu width */
	width:10.2em;
	}

/* further child-menu offset */
ul.vertical ul ul {
	/* this already includes 1px compensation 
	   for list-item border collapse */
	margin:-0.5em 0 0 9em;
	/* overlapping the menus improves usability */
	}
ul.vertical2 ul ul {
	/* this already includes 1px compensation 
	   for list-item border collapse */
	margin:-0.5em 0 0 9em;
	/* 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;
	background:#E9E0C4; /* main menu background normal */
	/* border:1px solid #00224B; */  /* border for main and flyout */
	padding:5px 7px;
	//font:normal normal bold 0.7em verdana, geneva, arial, helvetica, sans-serif;
	font:normal normal bold 11px verdana, geneva, arial, helvetica, sans-serif;
	color:#2B476F; /* main menu font color normal */
	text-decoration:none;
	letter-spacing:0px;
	}
	
/* flyout links */
ul.vertical2 a, ul.vertical2 a:visited {
	display:block;
	background:#E9E0C4; /* flyout bg normal */
	/* border:1px solid #00224B; */
	padding:5px 7px;
	font:normal normal bold 11px verdana, geneva, arial, helvetica, sans-serif;
	color:#2B476F; /* flyout font color normal */
	text-decoration:none;
	letter-spacing:-1px;
	}
	
	
/* 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:#E9E0C4; /* bg for rollover */
	color:#FFFFFF;  /* main-menu roll-over font color */
	}

/* rollover pseudo-classes, and scriptable persistence class */
ul.vertical2 a:hover, ul.vertical2 a:focus, ul.vertical2 a.rollover, ul.vertical2 a.rollover:visited {
	background:#E9E0C4; /* flyout bg rollover */
	color:#FFFFFF;   /* flyout roll-over font color */
	}

/* 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+ */
		f\loat: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; }
* 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; }
