body {behavior:url(http://www.alta-lingua.com/common/css/csshover.htc);}
* {margin:0; padding:0;} 

/* the horizontal menu starts here */
div#main_menu {
	float:right; /*makes the div enclose the list */
	font-size:11px;	/* SET FONT-SIZE HERE */
	z-index: 1;
	height: 38px;
	width: 100%;
	/*margin-top:21px;*/
}
* html div#main_menu {
	height: 37px;
}
div#main_menu menu {
	margin: -16px 0 0 0; 
}
div#main_menu li {
	float:right;	/* causes the list to align horizontally instead of stack */
	position:relative; /* positioning context for the absolutely positioned drop-down ////position:fixed;*/
	list-style-type:none;	/* removes the bullet off each list item */
	background-color:#fff; /*sets the background of the menu items */
}
div#main_menu li.first, div#main_menu li.first_active {
	padding-right: 0; 
}
div#main_menu li.last, div#main_menu li.last_active {
	padding-left: 0;
}
div#main_menu li.spacer{
	margin-top: -1px;
	padding: 0;
}
div#main_menu li:hover { 
	background-color:#fff; /*sets the background of the menu items */
}
div#main_menu li menu li:hover {
	/*border-left: 3px solid #d3dbdf;*/
}
div#main_menu a {
	display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */
	padding:0; /*creates space each side of menu item's text */
	text-decoration:none;	 /* removes the underlining of the link */
	color:#000;	/* sets the type color */
	font: 11px Verdana, Arial, helvetica, sans-serif;
	border: none;
}
div#main_menu a:hover, div#main_menu menu li.active menu li a:hover, div#main_menu menu li.first_active menu li a:hover, div#main_menu menu li.last_active menu li a:hover, div#main_menu menu li.active a, div#main_menu li.first_active a, div#main_menu li.last_active a {
	color:#228399;
}
div#main_menu menu li.active menu li a, div#main_menu li.first_active menu li a, div#main_menu li.last_active menu li a {
	color:#000;
}

/* the horizontal menu ends here */

/* the drop-down starts here */
div#main_menu menu li menu {
	margin:0; /* prevents the TEMP value inheriting from the horiz menu - OK to remove if you remove TEMP above */
	position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */
	padding-top: 6px; 
	width:130px; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
	left:40px; /*aligns the drop exactly under the menu */
}
div#main_menu menu li menu li {
	width:100%; /* makes the list items fill the list container (menu) */
	text-align:left;
	height: 16px;
	padding: 3px 5px 0px 5px;
	border-top: 1px solid #d3dbdf;
}

/* make the drop-down display as the menu is rolled over */
div#main_menu menu li menu {display:none;} /* conceals the drop-down when menu not hovered */
div#main_menu menu li:hover menu {display:block; } /* shows the drop-down when the menu is hovered */

/* pop-out starts here */
body div#listmenu menu li menu li menu  {
	visibility:hidden; /* same effect as display:none in this situation */
	top:-1px;
	left:10em;
}
div#listmenu menu li menu li:hover menu {visibility:visible;} /* same effect as display:block in this situation */

/* THE HACK ZONE - */

/* hack for IE (all flavors) so the menu has a vertical line on the left */
* html div#main_menu menu {
	/*margin: 16px 0 0 52px; */
	float:left; /* makes the menu wrap the li's */
	}
/* add a top line to drops and pops in IE browsers - can't read :first-child */
* html  div#main_menu menu li menu {
	border-left:0px; /* stops the drop inheriting the menu border */
	padding-top: 6px;
}
* html  div#main_menu menu li menu {
	left:30px; /*aligns the drop exactly under the menu */
}
* html  div#main_menu menu li menu li {
	height: 20px;
}

/* 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#listmenu menu li menu li menu { 
  left:9.85em; 
  voice-family: "\"}\""; 
  voice-family:inherit;
  left:10em;
  }
/* and the "be nice to Opera" rule */
html>body div#listmenu menu li menu li menu {
  top:-1px;
  left:10em;
  }

/* an Opera-only hack to fix a redraw problem by invisibly extending the menu */
/* 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#listmenu menu li menu {padding-bottom:70px;}
   body div#listmenu menu li menu li menu {padding-bottom:22px;}
   body div#listmenu menu li menu li menu li menu li:hover {visibility:visible;} /* same effect as display:block in this situation */

   }
/*end Opera hack */
/* end of hack zone */
/* END OF LIST-BASED MENU */