/* Start of CMSMS style sheet 'mairie_menu' */
.clearb {
/* needed for some browsers */
	clear: both;
}
#menuwrapper {
/* set the background color for the menu here */
	background-color: transparent;
/* IE6 Hack */
	height: 1%;
	position:relative;
        left:-20px;
        top:7px;
        width: auto;
	padding-top: 130px;
}
ul#primary-nav, ul#primary-nav ul {
/* remove any default bullets */
        list-style:none;
	margin:0px;
	padding: 20px;
}
ul#primary-nav {
/* pushes the menu div up to give room above for background color to show */
	padding-top: 10px;
/* keeps the first menu item off the left side */
	padding-left: 0px;
}
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;

}
ul#primary-nav ul ul {
/* now we move the next level ul down from the top a little for distinction */
	margin-top: 1px;
/* 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;
}
ul#primary-nav li {
/* floating left will set menu items to line up left to right else they will stack top to bottom */
	float: left;
/* no margin/padding keeps them next to each other, the padding will be in the "a" */
	margin: 0px;
	padding-right: 3px;
}
#primary-nav li li {
/* Set the width of the menu elements at second level. Leaving first level flexible. */
	width: 220px;
/* 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;
}

/* set the "a" link look here */
ul#primary-nav li a {

	display:block;
        text-decoration: none;
        background:url(uploads/images/menu_unselected.jpg) no-repeat;
        text-decoration:none;
	color:#fff;
	font-size:14px;

	font-weight:bold;
	width:220px;
	height:29px;
	padding-top:7px;
	text-align:center;
	cursor:pointer;
}

ul#primary-nav li a:hover {
/* kind of obvious */
	display:block;
        text-decoration: none;
        background:url(uploads/images/menu_selected.jpg) no-repeat;
        text-decoration:none;
	color:#fff;
	font-size:14px;
	font-weight:bold;
	width:220px;
	height:29px;
	padding-top:7px;
	text-align:center;
	cursor:pointer;
}
ul#primary-nav li li a:hover {
/* this is set to #fff, black, below so hover will be white text */
background : #fccc7e;	
color: #ffa40e;
text-align:left;


}

ul#primary-nav li li a{
/* this is set to #fff, black, below so hover will be white text */
background : none;	
color: #FFF;
}

ul#primary-nav li li a.menuactive{
/* this is set to #fff, black, below so hover will be white text */
background : none;
color: #000;
}

ul#primary-nav li a.menuactive {
	color: #fff;
/* bold to set it off from non active */
	font-weight: bold;
/* set your image here */
        background: url(uploads/images/menu_selected.jpg) no-repeat;
}
ul#primary-nav li a.menuactive:hover {
	color: #000;
/* keep it the same */
	font-weight: bold;
       background-color: none
}
#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 */

}
/* 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/ngrey/parent.gif) no-repeat 98% center;
}
ul#primary-nav li ul a {
/* insures alignment */
	text-align: left;
	margin: 0px;
/* keeps it relative to it's container */
	position: relative;
/* less padding than first level no need for large links here */
	padding: 8px 3px 6px 3px
/* if first level is set to bold this will reset this level */
	font-weight: normal;
/* first level is #FFF/white, we need black to contrast with light background */
	color: #000;
	border-top: 0 none;
	border-right: 0 none;
	border-left: 0 none;
}
ul#primary-nav li ul {
/* very lite grey color, by now you should know what the rest mean */
 	background: #F3F5F5;
	margin: 0px;
	padding: 0px;
	position: absolute;
	width: auto;
	height: auto;
	display: none;
	position: absolute;
	z-index: 999;
	border-top: 1px solid #FFFFFF;
	border-bottom: 1px solid #e7e7e7;
	border-left: 1px solid #e7e7e7;
	border-right: 1px solid #e7e7e7;
/*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: 0.95;
/* CSS 3 */
}
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 {
/* set your image here, dark grey image */
	background:none;
	color: #000
}
/* 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%;
}











/********************
MENU
*********************/
#menu_vert {
   margin-left: 10px;
   margin-top:0px;
   width: 280px;
   background: url(uploads/images/corner.gif) no-repeat;
   border-bottom: none;
   text-align: left;
}



/* third level has some padding to have it stand out */
div#menu_vert ul {
   padding-bottom: 0.5em;
   margin-left: 0px;
   padding-left: 10px;
   margin-top: 0px;
   padding-top: 10px;
   text-align: left;

}

/* menu li block */
#menu_vert li {
   list-style: none;
   margin: 0;



}

#menu_vert ul ul li {
   border: none;

}

/** fix stupid ie bug with display:block; **/
* html #menu_vert li a { height: 1%; } 
* html #menu_vert li hr { height: 1%; }
/** end fix **/

/* first level links */
div#menu_vert a {
	text-decoration: none; /* no underline for links */
	display: block; /* IE has problems with this, fixed above */
	padding: 0.1em 0.5em 0.1em 0.5em; /* some air for it */
	color: #303030; /* this will be link color for all levels */
	min-height: 1em; /* Fixes IE7 whitespace bug */
	font-weight: 140%;
text-align:left;
        
}

/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
   font-size: 120%;
   padding: 0.5em 0.5em 0.5em 0.5em;
   background-position: 0.1em left;
}

/* third level links, more padding */
div#menu_vert ul ul ul a {
   padding: 0.3em 0.5em 0.3em 1.3em;
}

/* hover state for all links */
div#menu_vert a:hover {
   background-color: transparent;
	color: #0568d3;
	font-weight: bold;
}
div#menu_vert a.activeparent:hover {
   background-color: transparent;
   color: #0568d3;
	font-weight: bold;
}

/* 
active parent, that is the first-level parent 
of a child page that is the current page 
*/
div#menu_vert li a.activeparent {
	background: url(images/cms/arrow-down.gif) no-repeat 0.4em center;
	background-color: transparent;
        font-size: 120%;
	color: #0568d3;
	font-weight: bold;
	font: larger;
}

div#menu_vert ul ul li a.activeparent {
   background-position: 0.5em left; 
   background-color: transparent;
   color: #0568d3;
font-size: 120%;
	font-weight: bold;
}


/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#menu_vert ul h3 {
   background: url(images/cms/arrow-right-active.gif) no-repeat 0.4em center;
   font-size: 120%;
   font-weight: bold;
   display: block; 
   padding: 0.8em 0.5em 0.8em 1.5em;  /* some air for it */
   color: #fff;                                 /* this will be link color for all levels */
   margin: 0;                                  /* as <h3> normally has some margin by default */
}

/* 
next level current pages, more padding, 
smaller font and no background color or bottom border 
*/
div#menu_vert ul ul h3 {
   font-size: 120%;
   padding: 0.3em 0.5em 0.3em 2.8em;
   background-position: 1.4em center;
   background-color: transparent;
   border-bottom: none;
   color: #0568d3;     
}

/* current page on third level, more padding */
div#menu_vert ul ul ul h3 {
   padding: 0.3em 0.5em 0.3em 4em;
}

/* section header */
div#menu_vert li.sectionheader {
   border-right: none;
   font-size: 100%;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0;
   background-color: #fff;
   line-height: 1em;
   margin: 0;
   text-align:center;
}



/* separator */
div#menu_vert li.separator {
   height: 1px !important;
   margin-top: 10px;
   margin-bottom: 0;
   padding:2px 0 2px 0;
   background-color: #000;
   overflow:hidden !important;
   line-height:1px !important;
   font-size:1px; /* for ie */
}

div#menu_vert li.separator hr {
   display: none; /* this is for accessibility */
}
/* End of 'mairie_menu' */

