/* Start of CMSMS style sheet 'v21avr : ShadowMenu - Horizontal' */
/* by Alexander Endresen and mark */
#menu_shadow{
/* no margin/padding so it fills the whole div */
	margin: 0;
	padding:0;
width:850px;
height:47px;
margin-left:174px;
margin-top:-100px;
background:url(uploads/v21avr/bg-menuTop.png) repeat-x;
}
.clearb {
/* needed for some browsers */
	clear: both;
z-index:100;
}
#menuwrapper {
/* set the background color for the menu here */
/* IE6 Hack */
	height: 1%;
	width: 850px;
margin-top:-110px;
/* one border at the top */
	margin: 0;
}
ul#primary-nav {
	list-style-type: none;
	margin: 0px;
	padding-top: 5px;
	padding-left: 25px;
}
#primary-nav ul {
/* remove any default bullets */
	list-style-type: none;
/* sets width of second level ul to background image */
display:block;
	width: 210px;
	margin: 0px;
	padding: 0px;
/* make the ul stay in place so when we hover it lets the drops go over the content instead of displacing it */
	position: absolute;
/* top being the bottom of the li it comes out of */
	top: auto;
/* keeps it hidden till hover event */
	display: none;
/* room at top for li so image top shows correct */
	padding-top: 40px;
/* set your image here, tall enough for the ul */
background:url(uploads/v21avr/ultopup.png) no-repeat;
z-index:1000;
}

#primary-nav ul.unli{
z-index:10000;
}


/* IE6 hacks on the above code */
* html #primary-nav ul {
	padding-top: 13px;
background:url(uploads/v21avr/ultopup.png) no-repeat;
z-index:1000;
}

/* the links, that is each list item */
div#primary-nav a {
/* pushes li out from the text, sort of like making links a certain size, if you give them a set width and/or height you may limit you ability to have as much text as you need */
	
/* still no margin */
	margin: 0;
/* removes default underline */
	text-decoration: none;
/* default link color */
	color: #FFF;
        font-weight:bold;
/* makes it hold a shape, IE has problems with this, fixed above */
	display: block;
}

#primary-nav li {
/* makes the list horizontal */
	float: left;
/* remove any default bullets */
	list-style: none;
/* still no margin */
	margin: 0;
}

#primary-nav li li {
/* a little more space to the left of each menu item */
	margin-left: 8px;
/* 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;
}
/* IE6 hacks on the above code */
* html #primary-nav li li {
	margin-left: 6px;
/* helps hold it inside the ul */
	width: 171px;
}
ul#primary-nav li a {
/* specific font size, this could be larger or smaller than default font size */
	font-size: 1em;
/* make sure we keep the font normal */
	font-weight: bold;
/* set default link colors */
	color: #fff;
/* doing tab menus require a bit different padding, this will give room on right for image to show, adjust to width of your image */
	padding: 12px 8px 15px 15px;
/* makes it hold a shape */
	display: block;
/* remove default "a" underline */
	text-decoration: none;
}


ul#primary-nav li a:hover {
/* kind of obvious */
	
}


ul#primary-nav li li {
/* remove any image set in first level li */
	background:  none;
}
ul#primary-nav li li span {
/* remove any image set in first level li span */
	background:  none;
/* set text color here also to insure color */
	color: #fff;
/* just to be sure */
	font-weight: normal;
}
ul#primary-nav li:hover,
ul#primary-nav li.menuh,
ul#primary-nav li.menuparenth {
/* set hover image, right side */
background:  url(uploads/v21avr/nav.png) repeat-x left -50px;

}

ul#primary-nav li:hover span,
ul#primary-nav li.menuh span,
ul#primary-nav li.menuparenth span {
/* set hover image, left side */
	background:  url(uploads/v21avr/nav.png) repeat-x left -50px;
/* change text color on hover */
	color: #3d3b35;
	font-weight: bold;

}

/* IE6 hacks, the JS used for hover effect in IE6 puts class menuh on li, unless they have a class then just an "h" as seen above and below */
ul#primary-nav li li.menuh {
	background:  none;
	font-weight: bold;
}
/* IE6 hacks */
ul#primary-nav li.menuparenth li span {
	background:  none;
	color: #FFF;
	font-weight: bold;
}
/* IE6 hacks */
ul#primary-nav li.menuparenth li.menuparent span {
/* gif for IE6, as it can't handle transparent png */
	color: #FFF;
}
/* IE6 hacks */
ul#primary-nav li.menuparenth li.menuh span {
	background:  none;
	color: #FFF;
	font-weight: bold;
}
/* IE6 hacks */
ul#primary-nav li.menuparenth li.menuparenth {
	background:  none;
	color: #FFF;
	font-weight: bold;
}
ul#primary-nav li.menuactive a {
/* set your image here for active tab right */
	background:  url(uploads/v21avr/nav.png) repeat-x left 0px;
color:#3d3b35;
font-weight:bold;
}

#primary-nav li li a {
/* second level padding, no image and not as big */
	padding: 1px 10px;
/* to keep it within li */
	width: 165px;
/* space between them */
	margin: 5px;
	background: none;
color:#FFF;
}
/* IE6 hacks to above code */
* html #primary-nav li li a {
	padding: 5px 10px;
	width: 165px;
	margin: 0px;
	color: #FFF;
}
#primary-nav li li:hover {
/* remove image set in first level */
	background: none;
}
#primary-nav li li a:hover {
/* set different image than first level */
	
/* we need #FFF/white to contrast with dark background */
	color: #f39400;
}
#primary-nav li.menuparent li a:hover span {
/* insures text color */
	border-bottom:dotted 1px #f39400;
	color: #f39400;
}
ul#primary-nav li:hover li a span {
/* first level is #FFF/white, we need #000/black to contrast with light background */
	color: #FFF;
/* just to insure normal */
	font-weight: normal;
}
#primary-nav li li.menuactive a.menuactive, #primary-nav li li.menuactive a.menuactive:hover {
/* set your image here, lighter than hover */
	border:dotted 1px #f39400;
/* non active is #FFF/white, we need #000/black to contrast with light background */
	color: #000;
}
#primary-nav li li.menuactive a.menuactive span {
/* insures text color */
	color: #f39400;
}
#primary-nav li li.menuactive a.menuactive:hover span {
/* insures text color */
	color: #f39400;
}
/* IE6 hacks to above code */
#primary-nav li li.menuparenth a.menuparent span {
/* right arrow for menu parent, IE6 gif */

	color: #f39400;
}
/* IE6 hacks to above code */
#primary-nav li li.menuparenth a.menuparent:hover span {
	color: #FFF
}
#primary-nav li li.menuparent a.menuparent span {
/* right arrow for parent item */

}
#primary-nav li.menuactive li a:hover span {
/* black text */
	color: #f39400;
}
ul#primary-nav li li a.menuactive  span {
/* remove image set in first level */
	background:  none;
	font-weight: normal;
}
#primary-nav li.menuactive li a {
/* second level active link color */
	color: #f39400;
	text-decoration: none;
	background: none;
}
#primary-nav li.menuactive li a:hover {
/* dark image for hover */
color:#000;
}
#primary-nav li.menuactive li a:hover span {
/* white text to contrast with dark background image on hover */
border-bottom:dotted 1px #f39400;
	color: #f39400;
}
ul#primary-nav li:hover li a span, ul#primary-nav li.menuparenth li a span {
	padding: 0px;
	background:  none;
}
/* this is a special li type from the menu template, used to hold the bottom image for ul set above */
#primary-nav ul li.separator, #primary-nav .separator:hover {
/* set same as ul */
	width: 210px;
/* height of image */
	height: 9px;
/* negative margin pulls it down to cover ul image */
	margin: 0px 0px -8px;
/* set your image here */
background:url(uploads/v21avr/ulbtmrt.png) no-repeat;
}
/* same as above for next level to insure it shows correct */
#primary-nav ul ul li.separator, #primary-nav ul ul li.separator:hover {
	height: 9px;
	margin: 0px 0px -8px;

}
/* IE6 hacks */
* html #primary-nav ul li.separator {
	height: 2px;
background:url(uploads/v21avr/ulbtmrt.png) no-repeat;


}
/* IE6 hacks */
* html #primary-nav ul li.separatorh {
	margin: 0px 0px -8px;
	height: 2px;
	background: url(uploads/charte/ultop.gif) no-repeat left top;
}
/* 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;
z-index:1000;
}
/* 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;
}
/* IE Hacks */
#primary-nav li li {
	float: left;
	clear: both;
}
#primary-nav li li a {
	height: 1%;
}
/* End of 'v21avr : ShadowMenu - Horizontal' */

