﻿/* the horizontal menu starts here */
div#menu 		{ width:100%; float:none; padding:0; border-top:0px solid #345; border-bottom:2px solid #345; margin-top:0; margin-left:auto; margin-right:auto; margin-bottom:0;
	background-color:#345; font:bold .8em/100% Tahoma,Verdana,Arial,Helvetica,sans-serif; color:#ddd; text-align:center; }
div#menu ul	{ margin:0; }
div#menu li	{ float:left; position:relative; width:157.5px; border-right:2px solid #345; list-style:none; background:#678 url("bkgd-menu.gif"); }
div#menu li:first-child { border-left:2px solid #345; }
div#menu li:hover { background:#345; }
div#menu a { display:block; padding:6px; text-decoration:none; color:#fff; font-weight:bold; }
div#menu a:hover { color:#ff3; }
/* the menu ends here */
/* the drop-down starts here */
div#menu ul li ul		{ position:absolute; left:-2px; z-index:10; width:150px; padding:0; border-right:0; margin:0; }
div#menu ul li ul li	{ width:100%; padding:4px; border-left:2px solid #345; border-bottom:2px solid #345; border-right:2px solid #345; background:#678;text-align:left; }
div#menu ul li ul li a { padding:4px .5em; }
div#menu ul li ul li:first-child 	{ border-top:2px solid #345; }

/* make the drop-down display as the menu is rolled over */
div#menu ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
div#menu ul li:hover ul {display:block; } /* shows the drop-down when the menu is hovered */

/* pop-out starts here */
body div#menu ul li ul li ul  { position:absolute; visibility:hidden; top:-1px; left:10em; }
div#menu ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */

/* second level popouts start here*/
div#menu ul li ul li:hover ul li ul {visibility:hidden;}
div#menu ul li ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */

.clearfix	{ clear:both; }

/* THE HACK ZONE - */
/* hack for IE (all flavors) so the menu has a vertical line on the left */
* html div#menu ul {
	float:left; /* makes the ul wrap the li's */
	border-left:2px solid #345; /* adds the rightmost menu vertical line to the ul */
	}

/* add a top line to drops and pops in IE browsers - can't read :first-child */
* html  div#menu ul li ul {
	border-top:2px solid #345;
	border-left:0px; /* stops the drop inheriting the ul border */
	}
/* the Tantek hack to feed IE Win 5.5-5.0 a lower value to get the pop-out to touch the drop-down */
* html  div#menu ul li ul li ul { 
  left:9.85em; 
  voice-family: "\"}\""; 
  voice-family:inherit;
  left:10em;
  } 
/* and the "be nice to Opera" rule */
html>body div#menu ul li ul li ul {
  left:10em;
} 

/* an Opera-only hack to fix a redraw problem by invisibly extending the ul */
/* the first-level drop stays open for 100px below the bottom but at least it works */
/* this can be reduced to as little as 22px if you don't have pop-outs */
/* the pop-out menu stays open for 22px below the bottom but at least it works */
	@media all and (min-width: 0px){
   body div#menu ul li ul {padding-bottom:100px;}
   body div#menu ul li ul li ul {padding-bottom:22px;}
   ul li ul li ul li ul li:hover {visibility:visible;} /* same effect as display:block in this situation */

   }
/*end Opera hack */
/* END OF HACK ZONE */
/* the drop-down ends here */
/* END OF LIST-BASED MENU */
 </style>
<style type="text/css">
/* finally after feeding values to all others, we deal with MAc5 IE */
/* IE5 Mac can't do drop-downs so we need to present the info in a different way*/
/* we present the drop down choices in a row and never show any second-level drops */
 /* this stylesheet is read by IE5 Mac only - hack omits 'url' and leave no space between @import and ("   */
@import("css/ie51_menu_hack.css");