/* Start of CMSMS style sheet 'Magic menyCSS' */
/* by Alexander Endresen and mark and Nuno */
#menu_vert {
/* no margin/padding so it fills the whole div */
	margin-top: -25px;
	padding: 0;

}
.clearb {
/* needed for some browsers */
	clear: both;
}
#menuwrapper {
/* set the background color for the menu here */
	background: transparent;
        width: 540px;
/* IE6 Hack */
	height: 1%;
	margin: 0 auto;
        font-family: Arial;
        font-size: 10px;
}
ul#primary-nav, ul#primary-nav ul {
/* remove any default bullets */
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul#primary-nav {
/* pushes the menu div up to give room above for background color to show */
	padding-top: 0px;
/* 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;
/* same size but different color for each border */
}
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: 0px;
        background: transparent url() 100% 7px no-repeat;
}
#primary-nav li li {
/* Set the width of the menu elements at second level. Leaving first level flexible. */
	width: 96px;
/* 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 {
/* specific font size, this could be larger or smaller than default font size */
	font-size: 10px;
/* make sure we keep the font normal */
	font-weight: normal;
/* set default link colors */
	color: #aaa;
/* pushes 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 */
	padding: 5px 15px 9px;
	display: block;
/* sets no underline on links */
	text-decoration: none;
        text-transform: uppercase;
}
ul#primary-nav li a:hover {
/* kind of obvious */
	background: transparent;
        color: #FFF;
}
ul#primary-nav li li a:hover {
/* this is set to #000, black, below so hover will be white text */
	color: #000;
}
ul#primary-nav li a.menuactive {
	color: #FFF;
/* bold to set it off from non active */
	font-weight: normal;
/* set your image here */
	background: transparent;
}
ul#primary-nav li li a.menuactive {
	color: #000;
/* bold to set it off from non active */
	font-weight: normal;
/* set your image here */
	background: transparent;
        font-weight: bold;
        text-decoration: underline;
}
ul#primary-nav li a.menuactive:hover {
	color: #FFF;
/* keep it the same */
	font-weight: normal;
}
#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() no-repeat 98% 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() 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: 6px 3px 6px 15px;
/* 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: 1px;
	padding: 0px;
	position: absolute;
	width: auto;
	height: auto;
	display: none;
	position: absolute;
	z-index: 999;
	border-top: 0px solid #FFFFFF;
	border-bottom: 0px solid #374B51;
/*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: #393939;
        /* background:  url(uploads/ngrey/darknav.png) repeat-x left center; */
	color: #FFF;
}
/* 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%;
}
/* Her kommer venstremenyen */
/* Vertical menu for the CMS CSS Menu Module */
/* by Alexander Endresen and mark and Nuno */
/* The wrapper determines the width of the menu elements */
#menuwrapper_sub {
/* just smaller than it's containing div */
	width: 95%;
	margin-left: 0px;
/* room at bottom */
	margin-bottom: 10px;
}
/* Unless you know what you do, do not touch this */
#primary-nav_sub, #primary-nav_sub ul {
/* remove any default bullets */
	list-style: none;
	margin: 0px;
	padding: 0px;
/* make sure it fills out */
	width: 100%;
/* just a little bump */
	margin-left: 1px;
}
#primary-nav_sub 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;
/* just a little bump down for second level ul */
	top: 5px;
/* keeps the left side of this ul on the right side of the one it came out of */
	left: 100%;
/* keeps it hidden till hover event */
	display: none;
}
#primary-nav_sub ul ul {
/* no bump down for third level ul */
	top: 0px;
}
#primary-nav_sub li {
/* negative bottom margin pulls them together, images look like one border between */
	margin-bottom: -1px;
/* keeps within it's container */
	position: relative;
/* bottom padding pushes "a" up enough to show our image */
	padding: 0px 0px 0px 0px;
/* you can set your own image here */
	background: url() no-repeat right bottom;
}
#primary-nav_sub li li {
/* you can set your width here, if no width or set auto it will only be as wide as the text in it  */
	width: 220px;
	padding: 0px;
/* removes first level li image */
	background-image: none;
}
/* Styling the basic apperance of the menu "a" elements */
ul#primary-nav_sub 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: normal;
/* set default link colors */
	color: #000;
/* 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 */
	padding: 0.8em 0.5em 0em 0.5em;
/* makes it hold a shape */
	display: block;
/* removes underline from default link setting */
	text-decoration: none;
/* you can set your own image here this is tall enough to cover text heavy links */
	background: url() no-repeat right top;
}
ul#primary-nav_sub a span {
/* makes it hold a shape */
	display: block;
/* pushes text to right */
	padding-left: 1.5em;
}
ul#primary-nav_sub li a:hover {
/* stops image flicker in some browsers */
	background: url() no-repeat right top;
/* changes text color on hover */
	color: #FFF
}
ul#primary-nav_sub li li a:hover {
/* you can set your own image here, second level "a" */
	background:  url(uploads/ngrey/darknav.png) repeat-x left center;
/* contrast color to image behind it */
	color: #FFF
}
ul#primary-nav_sub li a.menuactive_sub {
/* black and bold to set it off from non active */
	color: #000;
	font-weight: bold;
}
ul#primary-nav_sub li li a.menuactive_sub {
/* contrast color to image behind it, set below */
	color: #FFF;
/* not bold as text color and image behind it set it off from non active */
	font-weight: normal;
}
ul#primary-nav_sub li ul a {
/* insures alignment */
	text-align: left;
	margin: 0px;
/* relative to it's container */
	position: relative;
/* more padding to left than default */
	padding: 6px 3px 6px 15px;
	font-weight: normal;
/* darker than first level "a" */
	color: #000;
/* removes any borders that may have been set in first level */
	border-top: 0 none;
	border-right: 0 none;
	border-left: 0 none;
/* removes image set in first level "a" */
	background: none;
}
ul#primary-nav_sub 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 #374B51;
	/*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 */
}
/* Fixes IE7 bug */
#primary-nav_sub li, #primary-nav_sub li.menuparent_sub {
	min-height: 1em;
}
/* Styling the basic apperance of the second level active page elements (shows what page in the menu is being displayed) */
#primary-nav_sub li li.menuactive_sub, #primary-nav_sub li.menuactive_sub.menuparenth_sub li.menuactive_sub {
/* set your image here, dark grey image with white text set above*/
	background:  url(uploads/ngrey/darknav.png) repeat-x left center;
}
#primary-nav_sub li.menuparent_sub span {
/* padding on left for image */
	padding-left: 1.5em;
/* down arrow to note it has children, left side of text */
	background: url(uploads/ngrey/active.png) no-repeat left center;
}
#primary-nav_sub li.menuparent_sub:hover li.menuparent_sub span {
/* remove left padding as image is on right side of text */
	padding-left: 0;
/* right arrow to note it has children, right side of text */
	background: url(uploads/ngrey/parent.png) no-repeat right center;
}
#primary-nav_sub li.menuparenth_sub li.menuparent_sub span,
#primary-nav_sub li.menuparenth_sub li.menuparenth_sub span {
/* same as above but this is for IE6, gif image as it can't handle transparent png */
	padding-left: 0;
	background: url(uploads/ngrey/parent.gif) no-repeat right center;
}
#primary-nav_sub li.menuparenth_sub span,
#primary-nav_sub li.menuparent_sub:hover span,
#primary-nav_sub li.menuparent_sub.menuactive_sub span,
#primary-nav_sub li.menuparent_sub.menuactiveh_sub span, {
/* right arrow to note hover */
	background: url(uploads/ngrey/parent.png) no-repeat left center;
}
#primary-nav_sub li li span,
#primary-nav_sub li.menuparent_sub li span,
#primary-nav_sub li.menuparent_sub:hover li span,
#primary-nav_sub li.menuparenth_sub li span,
#primary-nav_sub li.menuparenth_sub li.menuparenth_sub li span,
#primary-nav_sub li.menuparent_sub li.menuparent_sub li span,
#primary-nav_sub li.menuparent_sub li.menuparent_sub:hover li span  {
/* removes any images set above unless it's a parent or active parent */
	background:  none;
/* removes padding that is used for arrows */
	padding-left: 0px;
}
/* IE6 flicker fix */
#primary-nav_sub li.menuh_sub,
#primary-nav_sub li.mnuparenth_sub,
#primary-nav_sub li.mnuactiveh_sub {
	background: url(uploads/ngrey/libk.gif) no-repeat right top;
	color: #899092
}
#primary-nav_sub li:hover li a {
/* removes any images set above unless it's a parent or active parent */
	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_sub li:hover ul ul ul,
#primary-nav_sub li.menuparenth_sub ul ul ul,
*/
#primary-nav_sub ul,
#primary-nav_sub li:hover ul,
#primary-nav_sub li:hover ul ul,
#primary-nav_sub li.menuparenth_sub ul,
#primary-nav_sub li.menuparenth_sub ul ul {
	display: none;
}
/* for fourth level add
#primary-nav_sub ul ul ul li:hover ul,
#primary-nav_sub ul ul ul li.menuparenth_sub ul,
*/
#primary-nav_sub li:hover ul,
#primary-nav_sub ul li:hover ul,
#primary-nav_sub ul ul li:hover ul,
#primary-nav_sub li.menuparenth_sub ul,
#primary-nav_sub ul li.menuparenth_sub ul,
#primary-nav_sub ul ul li.menuparenth_sub ul {
	display: block;
}
/* IE Hack, will cause the css to not validate */
#primary-nav_sub li,
#primary-nav_sub li.menuparenth_sub {
	_float: left;
	_height: 1%;
}
#primary-nav_sub li a {
	_height: 1%;
}
/* BIG NOTE: I didn't do anything to these 2, never tested */
#primary-nav_sub li.sectionheader_sub {
	border-left: 1px solid #006699;
	border-top: 1px solid #006699;
	font-size: 130%;
	font-weight: bold;
	padding: 1.5em 0 0.8em 0.5em;
	background-color: #fff;
	margin: 0;
	width: 100%;
}
/* separator */
#primary-nav_sub li hr.separator_sub {
	display: block;
	height: 0.5em;
	color: #abb0b6;
	background-color: #abb0b6;
	width: 100%;
	border: 0;
	margin: 0;
	padding: 0;
	border-top: 1px solid #006699;
	border-right: 1px solid #006699;
}
/* End of 'Magic menyCSS' */

