
div.multi_drop_menus * {
  margin:0;
  padding:0;     /* removes margin and padding off all list elements */
}



/**
 * PREFERENCES
 */

/* set your menu's font and colors here - the MENU MECHANICS  follow below */

div.multi_drop_menus {
  /*behavior:url(csshover.htc);
  /* THIS IS LOOKING FOR A LOCAL FILE -- behavior:url(file:///C|/Documents%20and%20Settings/Nate/Local%20Settings/Temporary%20Internet%20Files/Content.IE5/YYK7ROKL/csshover.htc);*/
	background-color:transparent;
	margin-top: 20px;
	text-transform: uppercase;
 }

div.multi_drop_menus ul {
	display:inline;
}

div.multi_drop_menus li {
	padding-top: 2px;
	padding-bottom: 2px;
}

/* border-right is automatically removed from vert menu below  */

div.multi_drop_menus li:hover {
	background: #FFE9BD;
}

div.multi_drop_menus a {
	color:#29495E;          /* sets the color of all menu type */
	padding:0.2em 16px;     /*creates space top/bottom and left/right respectively around each menu item's text - set vert height in ems   */
	font-weight: bold;
}

div.multi_drop_menus a:hover {
	color:#9b520e;          /* type color of a hovered menu choice */
}

div.multi_drop_menus ul li ul {
 width:250px;               /* sets the width of menu levels 2 - 4 */
}

div.multi_drop_menus li li {
	background-color:#E0E7C9; /* lines between menu choices - set to 0px if not wanted */
}

div.multi_drop_menus ul li ul li ul  {
	top:0 px; /* set to negative value of border-top for perfect pop-out alignment -set to 0 if border is 0 - don't remove! */
} 

div.multi_drop_menus li li li { 
 background-color:#EEB;          /* background color of the level 3 menu */
}

div.multi_drop_menus li li li li { 
 background-color:#DDA;         /* background color of the level 4 menu */
}



/* Want transparency on your menus? add the class 'transparent' to the multi_drop_menus div */

div.multi_drop_menus.transparent ul ul li {

/* note: the lower the value, the greater the transparency */
  opacity:0.9; /* CSS3 - range 0 to 1 */     
  -moz-opacity:0.9; /* Firefox- range 0 to 1  */
  filter:alpha(opacity=90);  /* IE- range 0 to 100  */
}



/* ADDITIONAL PREFS FOR VERTICAL MENU - NO NEED TO TOUCH THESE IF LEVEL 1 IS HORIZONTAL */

div.multi_drop_menus.vertical ul ul  {
	/* set the border-top of levels 2 - 4 of a vertical menu - set to 0 to remove */
	top:0 px;     /* set to negative value of border-top for perfect pop-out alignment - set to 0 if border is 0 - don't remove!*/
}
 
/* end vertical menu preferences */

/* END MENU PREFERENCES */
 
/* YOU ARE STONGLY ADVISED NOT TO MODIFY THE CODE THAT FOLLOWS : ) */



/* the menu mechanics start here */

div.multi_drop_menus {
	float:left;
 	width:100%;
}

div.multi_drop_menus ul {
 float:left; /* makes ul wrap li */
 font-size:1em; /* prevents inheritence from main text style sheet */
}

div.multi_drop_menus li {
 float:left;  /*causes the list to align horizontally instead of stack */
 list-style-type:none; /* removes the bullet off each list item */
 position:relative; /* positioning context for the absolutely positioned drop-down */
}

div.multi_drop_menus a {
 display:block; /* makes link fill li so entire area is "hot" */
 text-decoration:none;  /* removes the underlining from the links */
}



/* the horizontal menu ends here */
/* the drop-downs starts here */



div.multi_drop_menus ul li ul { 
 position:absolute;     /* positions the drop-down ul in relation to its relatively positioned li parent */
 border:0;         			/* stops inheritance from level 1 ul */
 margin-left:0px;        /* stops inheritance from level 1 ul */
}

div.multi_drop_menus ul li ul li {
 width:100%;
 /* padding:0; stops inheritance */
 /* border-left:0; stops inheritance */
 /* border-right:0; stops inheritance */
}

div.multi_drop_menus ul li ul {
  display:none; /* conceals the drop-down when menu not hovered */
}

div.multi_drop_menus ul li:hover ul {
	display:block; /* shows the drop-down when the menu is hovered */
	z-index:1000; /* Safari needs this to display menu on top of other page elements */
} 



/* pop-outs starts here */

body div.multi_drop_menus ul li ul li ul  {
  position:absolute; /* associated menu with parent li positioning context */
  visibility:hidden; /* ensures that level 3 menu is not reveal when level 2 is reveled */
  left:100%;
  top:-1px; /* aligns level 3 and 4 pop-out with previous level */
}

div.multi_drop_menus ul li ul li:hover ul {
  visibility:visible; /* shows level 3 menu when associated level 2 li is hovered */
}



/* second and third level popouts here*/
div.multi_drop_menus ul li ul li:hover ul li ul {
  visibility:hidden; /* ensures that level 4 is not reveal when level 3 is reveled */
}

div.multi_drop_menus ul li ul li ul li:hover ul {
  visibility:visible;  /* shows level 4 menu when associated level 3 li is hovered */
}



/* the drop-downs end here */
 


/* extra styles for the vertical menu */

div.multi_drop_menus.vertical ul {
  border-left:0px; /* removes the border of the level 1 ul that can be used in the horizontal menu */
  margin-left:0px;         /* removes left margin that is available on horizontal menu */
}

.vertical ul { /* took off the id so the ul ul width setting in prefs was more specific */
  width:100%; 
}

div.multi_drop_menus.vertical li {
  position:relative; /* positioning context for the level 2 menu */
  width:100%;         /* set width of level 1 menu - MUST match left value in ul ul selector below */
  clear:left; /* makes the main menu stack - note: turning off floating (alternative way to create stacking) causes spacing problems in IE */
  border-right:0; /* removes right borders used by horiz level 1 */
}

div.multi_drop_menus.vertical ul ul  {
  position:absolute; /* make ul position relative to parent li for all menu levels */
  left:100%;         /* align level 2 with level 1 - MUST match li width in selector above */
  top:0px; /* aligns the level 2 pop-out */
}



/* levels 2 -4 width */
div.multi_drop_menus.vertical li li {
}

div.multi_drop_menus.vertical ul ul ul {
  left:100%;          /* align level 2 with level 3 and 3 with 4 - MUST match li width in selector above */
}



/* END MENU MECHANICS */
 

/* inevitable hacks for IE6  and < */

* html div.multi_drop_menus {
 z-index:1; /* IE6 won't respect high z-index on abs-pos'd child (ul li ul) without this on its parent rel-pos'd element */
}				/* see http://www.last-child.com/conflicting-z-index-in-ie6/ */

* html div.multi_drop_menus ul li ul {
  z-index:400; /*ensures menu is on top of other page elements */
}

* html div.multi_drop_menus a {
/* cannot find a way to get the top level 'a' to fill the unwidthed menu choices without drop-down in IE : ( */
} 

* html div.multi_drop_menus.vertical a {
/* now hasLayout in IE - works on the vert menu as container has width */
  zoom:100%;
} 

* html div.multi_drop_menus ul ul a { /* second level of horiz menu */
  zoom:100%;  /* now IE 'haslayout" - IE now makes background hot in horizontal menus */
} 

/* info on haslayout: 

  http://www.sitepoint.com/forums/showpost.php?p=2041209&postcount=24
  http://onhavinglayout.fwpf-webdesign.de/hack_management/

   */

 /* END OF LIST-BASED MENU */

