/* Start of CMSMS style sheet 'Menu' */

/* by Alexander Endresen and mark and Nuno */
#menu_vert {
	/* no margin/padding so it fills the whole div */
	margin: 0;
	padding: 0;
}

.clearb { /* needed for some browsers */
	clear: both; }

#menuwrapper {
	/* IE6 Hack */
	height: 1%;
	width: auto;
	margin: 0;
	padding: 0;
}

ul#primary-nav, ul#primary-nav ul {
	/* remove any default bullets */
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul#primary-nav { }

ul#primary-nav ul {
	/* make the ul stay in place so when we hover it lets the drops go over the content below else it will push everything below out of the way */
	position: absolute;
	/* top being the bottom of the li it comes out of */
	top: auto;
	/* keeps it hidden till hover event */
	display: none;
	/* border */
	border: 1px solid #996633;
}

/*********** PARENT MENU ***********/

/* Parent Link LIs */
ul#primary-nav li {
	float: left;
}

/* Parent Link Styles */
ul#primary-nav li a {
	color: #cccccc;
	display: block;
	font-size: 17px;
	font-weight: normal;
	padding: 5px 18px 0px;
	text-decoration: none;
}

/* Parent Link Hover */
ul#primary-nav li a:hover {
color: #996633;
 }

/* Parent Link Active */
ul#primary-nav li a.menuactive { color: #ffffff; }

/* Parent Link Active Hover */
ul#primary-nav li a.menuactive:hover { color: #996633; }


/*********** CHILD MENU ***********/
ul#primary-nav li ul {
	background-color: #dddddd;
	position: absolute;
	display: none;
	z-index: 999;
	border: 1px solid #996633;
	padding: 0px 10px;
}



/* Sub Link LIs */
#primary-nav li li {
	/* Set the width of the menu elements at second level. Leaving first level flexible. */
	width: 150px;
	/* removes any left margin it may have picked up from the first li */
	margin-left: 0px;
	/* keeps them tight to the one above, no missed hovers */
	margin-top: -1px;
	/* removes the left float set in first li so these will stack from top down */
	float: none;
	/* relative to the ul they are in */
	position: relative;
}

/* Sub Links */
ul#primary-nav li ul a {
	border-bottom: 1px dotted #cccccc;
	color: #000000;
	font-size: 13px;
	position: relative;
	padding: 6px 3px 6px 10px;
}

ul#primary-nav li ul a:first-child {
	border-bottom: 1px dotted #cccccc;
	color: #000000;
	font-size: 13px;
	position: relative;
	padding: 6px 3px 6px 10px;
}

/* Sub Link Hover */
ul#primary-nav li ul a:hover { color: #996633; 	text-decoration: underline; }


/*********** GRANDCHILD MENU ***********/
ul#primary-nav ul ul {
	/* now we move the next level ul down from the top a little for distinction */
	margin-top: 3px;
	/* pull it in on the left, helps us not lose the hover effect when going to next level */
	margin-left: -1px;
	/* keeps the left side of this ul on the right side of the one it came out of */
	left: 100%;
	/* sets the top of it inline with the li it came out of */
	top: 0px;
}


#primary-nav li li a.menuparent span {
	/* makes it hold a shape */
	display: block;
	/* set your image here, right arrow, 98% over from the left, 100% or 'right' puts it to far */
	background:  url(uploads/images/parent.png) no-repeat 95% center;
}

/* gif for IE6, as it can't handle transparent png */
* html #primary-nav li li a.menuparent span { /* set your image here, right arrow, 98% over from the left, 100% or 'right' puts it to far */
	background:  url(uploads/images/parent.gif) no-repeat 95% center; }
	
	#primary-nav li li a.menuparent span:hover {
	/* makes it hold a shape */
	display: block;
	/* set your image here, right arrow, 98% over from the left, 100% or 'right' puts it to far */
	background:  url(uploads/images/parent.png) no-repeat 98% center;
}

/* gif for IE6, as it can't handle transparent png */
* html #primary-nav li li a.menuparent span:hover { /* set your image here, right arrow, 98% over from the left, 100% or 'right' puts it to far */
	background:  url(uploads/images/parent.gif) no-repeat 98% center; }




ul#primary-nav li ul ul { /*Info: The opacity property is  CSS3, however, will be valid just in CSS 3.1) http://jigsaw.w3.org/css-validator2) More Options chose CSS3 3) is full validate;)*/
	opacity: 95;/* CSS 3 */
}

/* Styling the appearance of menu items on hover */
#primary-nav li:hover, #primary-nav li.menuh, #primary-nav li.menuparenth, #primary-nav li.menuactiveh {
}

/* The magic - set to work for up to a 3 level menu, but can be increased unlimited, for fourth level add
#primary-nav li:hover ul ul ul,
#primary-nav li.menuparenth ul ul ul,
*/
#primary-nav ul, #primary-nav li:hover ul, #primary-nav li:hover ul ul, #primary-nav li.menuparenth ul, #primary-nav li.menuparenth ul ul { display: none; }

/* for fourth level add
#primary-nav ul ul ul li:hover ul,
#primary-nav ul ul ul li.menuparenth ul,
*/
#primary-nav li:hover ul, #primary-nav ul li:hover ul, #primary-nav ul ul li:hover ul, #primary-nav li.menuparenth ul, #primary-nav ul li.menuparenth ul, #primary-nav ul ul li.menuparenth ul { display: block; }

/* IE6 Hacks */
#primary-nav li li {
	float: left;
	clear: both;
}

#primary-nav li li a { height: 1%; }

/* End of 'Menu' */

