/* for Modx.org DropDown/ WFS menu snippet */


#wfsmenu{
	position: absolute;
	top: 65px;
	left: 320px;
}
 
#wfsmenu ul {
	padding: 0px;
	margin: 0px;
	list-style: none;
	width: 100%;
	font-size: 90%;
	font-weight: bold;
	text-decoration:none;
	height:25px;
	z-index: 10;
}


#wfsmenu a{
		color: #fff; /* Set color on top level first; IE (bug) can not reset color in subelements for active field */
}

#wfsmenu ul li{
	float: left; /* horizontal menu */
	width: 7.7em;  /* required to fix IE bug */
	padding: 0;
	text-align: center;
	margin-left: 0;
	margin-right: 2px;
	background-color: #861717;	/* Keep background color in li and not in a, bug in IE */

}


/* Fix IE. Hide from IE Mac \*/
* html #wfsmenu li { float: left; height: 1%; }
* html #wfsmenu li a { height: 1%; }
/* End */

#wfsmenu ul li a, 
#wfsmenu ul li a:link, 
#wfsmenu ul li a:visited, 
#wfsmenu ul li a:hover {  /* do not set color here, inhibits li.active color */
	padding-top:3px;
	padding-bottom: 2px;
	height: 1.3em;
	display: block;
	text-decoration: none;
	cursor:pointer;	
	border-left: 1px solid #a66;
	border-top: 1px solid #a66;
	border-right: 1px solid #500;
	border-bottom: 1px solid #500;
}
#wfsmenu ul li a:hover {
	background-color: #c88;
	color: #000;
}

#wfsmenu ul li.active  a {
	color: #333;
	background-color: #fff;
	border-left: 1px solid #555;
	border-top: 1px solid #555;
	border-right: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	cursor:default;	
}


/* sub-menu */

#wfsmenu ul li ul {
	width: auto;  /* width of submenu */
	height: auto;
	left: 0;
	margin-top:0px;
	padding: 0px;
	position: relative;
	top: 0px;
	z-index: 99990;
}
	
#wfsmenu ul li ul li {
	width: 98%;
	padding: 0px;
	margin: 0px;
	text-align: left;
	font-size: 100%;
font-weight: normal;
	border-left: 1px solid #a55;
	border-top: 0;
	border-right: 1px solid #500;
	border-bottom: 1px solid #500;
	z-index: 99990;
	background-color: #fff;	/* Keep background color in li and not in a, bug in IE */
}


#wfsmenu ul li ul li a, 
#wfsmenu ul li ul li a:link, 
#wfsmenu ul li ul li a:visited, 
#wfsmenu ul li ul li a:hover, 
#wfsmenu ul li ul li a:active { /* second, IE does not update but FF does*/
	height: auto;
	cursor: pointer;	
	padding-left: 2px;
	border: 0px;
	color: #444;
	background-color: #fff;
}

#wfsmenu ul li ul li a:hover { 
	background-color: #c88;
	color:#fff;
	cursor: pointer;
}

#wfsmenu ul li ul li.active,
#wfsmenu ul li ul li.active a {  /* first to set IE, keeps it fixed */
	background-color: #861717;
	color:#fff;
	cursor: default;
}


/*sub-sub menu  */

#wfsmenu li li ul{
	position: absolute;
	margin-top: 0px;
	top: -2px;
	left: 10em; 
	z-index: 999999;
	}

#wfsmenu li li li a, 
#wfsmenu li li li a:link, 
#wfsmenu li li li a:visited, 
#wfsmenu li li li a:hover, 
#wfsmenu li li li a:active {
	font-weight: normal;
	background: transparent;
	}

#wfsmenu li li li.here,
#wfsmenu li li li.here a {
	font-weight: bold;
	background: transparent;
	}

#wfsmenu li li li a:hover {
	background-color:#005;
	color: #fff;
	}
/* hide / display sub menus */

#wfsmenu li ul,
#wfsmenu li:hover ul ul,
#wfsmenu li:hover ul ul ul,
#wfsmenu li.over ul ul,
#wfsmenu li.over ul ul ul { display: none; } /* Hide sub-menus initially */

#wfsmenu li:hover ul,
#wfsmenu li li:hover ul,
#wfsmenu li li li:hover ul,
#wfsmenu li.over ul,
#wfsmenu li li.over ul,
#wfsmenu li li li.over ul { display: block; } /* The magic */

/* End */