/* 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.horizontal, ul.horizontal 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.horizontal {
	position:relative;
	width:100%;
	cursor:default;
	z-index:2000;
	top:0px; /*main menu top location*/
	left:0px; /*moves all browsers but NOT THE SAME */
	}

/* navbar list-items */
ul.horizontal li {
	width:auto;
	float:left;
	position:relative;
	cursor:default;
	text-align:left;
	margin:0 0 0 0;
	}
	
* html ul.horizontal li {
	margin:0 -1.55em 0 1.5em;
	}

ul[class^="horizontal"] li {
	left:0px; /*set Safari - moves Mozilla also */
	margin:0 -1.55em 0 1.5em;
	}

/* menu lists */
ul.horizontal ul {
	z-index:2020;
	padding:0;
	cursor:default;
	position:absolute;
	background:#354E6E;
	top:auto;
	width:12.2em;
	margin:0 0 0 0;
	left:-10000px;
	}
	
	
/* menu list-items: issues, about, programs, people*/
ul.horizontal ul li {
	width:11.2em;
	left:auto;
	margin:-1px 0 0 0;
	}

ul.horizontal ul.horizontal, ul.horizontal ul.horizontal li {
width:11.5em; /* cell width */
	}
/* you can use <ul> classes to specify different menu widths */
ul.horizontal ul.wider, ul.horizontal ul.wider li {
	width:15.5em; /* cell width */
	padding:0 0 0 10; /*sub-menu items */
	}
	ul.horizontal ul.issues, ul.horizontal ul.issues li {
	width:15.5em; /* cell width */
	padding:0 0 0 0; /*sub-menu items */
	}
	ul.horizontal ul.about, ul.horizontal ul.about li {
	width:15.5em; /* cell width */
	padding:0 0 0 8; /*sub-menu items */
	}
	ul.horizontal ul.programs, ul.horizontal ul.programs li {
	width:15.5em; /* cell width */
	padding:0 0 0 0; /*sub-menu items */
	}
	ul.horizontal ul.people, ul.horizontal ul.people li {
	width:15.5em; /* cell width */
	padding:0 0 0 12; /*sub-menu items */
	}
	
	
/* further child-menu offset */
ul.horizontal ul ul {
	margin:-0.45em 0 0 7.65em;
	/* overlapping the menus improves usability */
	}

@media Screen, Projection { 
	ul.horizontal li:hover > ul { left:auto; }
	ul.horizontal ul li:hover > ul { top:0; }
	}

/* links */
ul.horizontal a, ul.horizontal a:visited {
	display:block;
	cursor:hand;
	/* background:#ffc; cell rollover*/
	/* border:1px solid #edbb85; cell border*/
	padding: .12em 28px; /*top row spacing*/
	font-family: arial, helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	color:#FFFFFF;
	text-decoration:none;
	letter-spacing:1px;
	}
	
/* rollover pseudo-classes, and scriptable persistence class */
ul.horizontal a:hover, ul.horizontal a:focus, ul.horizontal a.rollover, ul.horizontal a.rollover:visited {
	/*background:#cccccc;*/
	color:#AAAAFF;
	}

/* opera 5 and 6, and mac/ie5, need float on the links */
ul.horizontal a { float:left; }
@media Screen, Projection { ul.horizontal a { float:none; } }
ul.horizontal a:not(:nth-child(n)) { float:left; }

/* compensate submenus, using !important to increase specificity for osx/msn */
ul.horizontal ul a { float:none !important; }

/* hacks for win/ie to cure 'excess hidden margins' and 'double margin float' bugs */
@media screen, projection {
	* html ul.horizontal li {
		display:inline; 
		f\loat:left; 
		/* background:#ffffff; */
		}
	}

/* use different comparative positioning for ie, 
   to avoid problems with virtual z-ordering */
* html ul.horizontal li { position:static; }
* html ul.horizontal a { position:relative; }

/* hide menus from konqueror < 3.2 */
ul[class^="horizontal"] ul { display:none; }
ul[class^="horizontal"] ul { displa\y:block; }
