/* 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 {
	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:relative;
	z-index:1000;
	cursor:default;
	
	/* navbar width */
	width:197px;


	}

/* navbar list-items */
ul.vertical li {
	position:relative;
	text-align:left;
	cursor:pointer;
	cursor:hand;
	
	/* duplicate navbar width */
	width:197px;

	}





ul.vertical li a.mm {
	display: block;
	width: 197px;
	height: 45px;
	text-indent: -9999px;
}
ul.vertical li#menu01 a.mm {
	background: url(../img/button_01.png) 0 0 no-repeat;
}
ul.vertical li#menu01 a:hover.mm {
	background-position: 0 -45px;
}
ul.vertical li#menu02 a.mm {
	background: url(../img/button_02.png) 0 0 no-repeat;
}
ul.vertical li#menu02 a:hover.mm {
	background-position: 0 -45px;
}
ul.vertical li#menu03 a.mm {
	background: url(../img/button_03.png) 0 0 no-repeat;
}
ul.vertical li#menu03 a:hover.mm {
	background-position: 0 -45px;
}
ul.vertical li#menu04 a.mm {
	background: url(../img/button_04.png) 0 0 no-repeat;
}
ul.vertical li#menu04 a:hover.mm {
	background-position: 0 -45px;
}
ul.vertical li#menu05 a.mm {
	background: url(../img/button_05.png) 0 0 no-repeat;
}
ul.vertical li#menu05 a:hover.mm {
	background-position: 0 -45px;
}
ul.vertical li#menu06 a.mm {
	background: url(../img/button_06.png) 0 0 no-repeat;
}
ul.vertical li#menu06 a:hover.mm {
	background-position: 0 -45px;
}
ul.vertical li#menu07 a.mm {
	background: url(../img/button_07.png) 0 0 no-repeat;
}
ul.vertical li#menu07 a:hover.mm {
	background-position: 0 -45px;
}
ul.vertical li#menu08 a.mm {
	background: url(../img/button_08.png) 0 0 no-repeat;
}
ul.vertical li#menu08 a:hover.mm {
	background-position: 0 -45px;
}




/* menu lists */
ul.vertical ul {
	z-index:1020;
	cursor:default;
	position:absolute;
	
	/* menu width */
	width:10em;
	
	/* menu offset, which already includes 1px compensation 
	   on TOP, for list-item border collapse */
	margin: 0.7em 0 0 170px;
	/* 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;
	}
	
/* menu list-items */
ul.vertical ul li {
	/* duplicate menu width */
	width:10em;
	margin:-1px 0 0 0;
	}


/* further child-menu offset */
ul.vertical ul ul {
	/* this already includes 1px compensation 
	   for list-item border collapse */
	margin:-0.5em 0 0 7.7em;
	/* 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 ul li a, ul.vertical ul li a:visited {
	display:block;
	cursor:pointer;
	cursor:hand;
	background:#ffc;
	border:1px solid #069;
	padding:5px 7px;
	font:normal normal normal 0.9em sans-serif;
	color:#039;
	text-decoration:none;
	}
	
/* rollover pseudo-classes, and scriptable persistence class */
ul.vertical ul li a:hover, ul.vertical ul li a:focus, ul.vertical ul li a.rollover, ul.vertical ul li a.rollover:visited {
	background:#ff9;
	color:#006;
	}



/* 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; }
