/* CSS Menus - Horizontal CSS Menu with Dropdown and Popout Menus  */

/* Begin CSS Popout Menu */
body { 
	behavior:url("csshover.htc");	
} 

#menu{

	float:left;
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 100%;
	cursor: default;
	width: auto;
}

#menu a, #menu a:visited{
	color:#fff;
	text-decoration:none;
	cursor:pointer;
	display:block;
	padding:3px 6px;
}

#menu a:active{
	color: #da9048;
}

#menu ul{
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 100%;
	cursor: default;
	width: auto;
}

#menu li{
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 12px;
	position: relative;
	text-align: left;
	cursor: pointer;
	width: auto;
	float: right;
}

#menu ul li ul{
	position:absolute;
	z-index:500;
	top:auto;
	display:none;
	width:200px;
	font-size: 12px;
	float:left;
}

#menu ul li a:hover {

	color: #da9048;
	background-color: #8d6c4a;	
}

#menu ul ul a.right { /*gives the right arrow on the first level sub menu */
	background-image: url(SpryAssets/SpryMenuBarRight.gif);
	background-repeat: no-repeat;
	background-position: 95% 50%;
}

#menu ul ul a.right:hover { /*gives the right arrow on the first level sub menu */
	background-image: url(SpryAssets/SpryMenuBarRightHover.gif);
	background-repeat: no-repeat;
	background-position: 95% 50%;
}

#menu ul ul li:hover:focus {
	background-color: #785837;
	color: #da9048;
}

#menu ul ul li{
	background-color: #785837;
	top:auto;
	border-top: 1px #da9048 solid;
	width:200px;
}

#menu ul ul ul{
	top:-1px;
	left:100%;
	position:absolute;
	z-index:500;
	display:none; 
	background-image: url(SpryAssets/SpryMenuBarRight.gif);
	background-repeat: no-repeat;
	background-position: 95% 50%;
	width:200px;
	font-size: 12px;
}

#menu ul ul ul li{
	top:0;
	bottom:0;
	background-color: #785837;
	border-top: 1px #da9048 solid;
	width:200px;
}

/* Begin non-anchor hover selectors */

/* Enter the more specific element (div) selector
on non-anchor hovers for IE5.x to comply with the
older version of csshover.htc - V1.21.041022. It
improves IE's performance speed to use the older
file and this method */


div#menu li:hover{
	cursor:pointer;
	z-index:100;
}

div#menu li:hover ul ul,
div#menu li li:hover ul ul,
div#menu li li li:hover ul ul,
div#menu li li li li:hover ul ul
	{
		display:none;
		behavior:url("csshover.htc");
	}

div#menu li:hover ul,
div#menu li li:hover ul,
div#menu li li li:hover ul,
div#menu li li li li:hover ul
	{
		display:block;
		behavior:url("csshover.htc");
	}




/* End of non-anchor hover selectors */

/* End CSS Popout Menu */

/* starts other menu css*/


ul.navtext, ul.navtext ul {
  width: 80px;                 /* sets the size of the menu blocks */
  border: 1px solid #000;      /* puts a black border around the menu blocks */
  background-color: #8aa;      /* makes the menu blocks mint green - a bg-color MUST be included for IE to work properly! */
  padding-left: 0px;           /* stops the usual indent from ul */
  cursor: default;             /* gives an arrow cursor */
  margin-left: 0px;            /* Opera 7 final's margin and margin-box model cause problems */
}
ul.navtext li {
  list-style-type: none;       /* removes the bullet points */
  margin: 0px;                 /* Opera 7 puts large spacings between li elements */
  position: relative;          /* makes the menu blocks be positioned relative to their parent menu item
                                  the lack of offset makes these appear normal, but it will make a difference
                                  to the absolutely positioned child blocks */
  color: #fff;                 /* sets the default font colour to white */
}
ul.navtext li > ul {          /* using the > selector prevents many lesser browsers (and IE - see below) hiding child ULs */
  display: none;               /* hides child menu blocks - one of the most important declarations */
  position: absolute;          /* make child blocks hover without leaving space for them */
  top: 2px;                    /* position slightly lower than the parent menu item */
  left: 80px;                  /* this must not be more than the width of the parent block, or the mouse will
                                  have to move off the element to move between blocks, and the menu will close */
}
ul.navtext li:hover, ul.navtext li.CSStoHighlight {
  background-color: #ffa;      /* gives the active menu items a yellow background */
  color: #000;                 /* makes the active menu item text black */ 
}
ul.navtext ul.CSStoShow {     /* must not be combined with the next rule or IE gets confused */
  display: block;              /* specially to go with the className changes in the behaviour file */
}
ul.navtext li:hover > ul {    /* one of the most important declarations - the browser must detect hovering over arbitrary elements
                                  the > targets only the child ul, not any child uls of that child ul */
  display: block;              /* makes the child block visible - one of the most important declarations */
}
/* and some link styles */
ul.navtext li a { color: #fff; display: block; width: 100%; text-decoration: underline; }
ul.navtext li a:hover, ul.navtext li a.CSStoHighLink { color: #000; }
ul.navtext li:hover > a { color: #000; } /* supports links in branch headings - should not be display: block; */
</style>
<!--[if gt IE 5.0]><![if lt IE 7]>
<style type="text/css">
/* that IE 5+ conditional comment makes this only visible in IE 5+ */
ul.navtext li {  /* the behaviour to mimic the li:hover rules in IE 5+ */
  behavior: url( IEmen.htc );
}
ul.navtext ul {  /* copy of above declaration without the > selector, except left position is wrong */
  display: none; position: absolute; top: 2px; left: 78px;
}
</style>
<![endif]><![endif]-->
