/* Start of CMSMS style sheet 'menues' */
/* Hauptnavigation oben */

ul#primary-nav {
 height: 1%;
 float: right;
 list-style: none;
 padding: 0;
 margin: 0;
 font-size: 17px;
 font-weight: normal;
}
ul#primary-nav li {
 float: left;
}

ul#primary-nav li hr.menu_separator {
 position: relative;
 visibility: hidden;
 display:block;
 width:5px;
 height: 32px;
 margin: 0px 5px 0px;
}

ul#primary-nav li a,
ul#primary-nav li a spaXn {
 display: block;
 padding: 6px 0.8em;
/* height: 30px; */
 border-style: none;
 border-left: solid 1px #003E2A;
 background: transparent;
 margin: 0;
}

ul#primary-nav li a {
/* padding-left: 0;*/
 color: #003E2A;
 text-decoration: none;
  line-height: 1.3em;
 /* margin-left: 1px; */
 font-size: 0.85em;
}

ul#primary-nav li a:hover,
 ul#primary-nav li a:active {
 background: #003E2A;
	color: white;
}
 ul#primary-nav li a.menuactive,
 ul#primary-nav li a:hover  {
 background: #003E2A; 
	color: white;
}
ul#primary-nav li a span {
	padding-top: 6px;
	padding-right: 0px;
	padding-bottom: 5px;

}
 ul#primary-nav li a.menuparenth,
 ul#primary-nav li a.menuactive,
ul#primary-nav li a:hover,
 ul#primary-nav li a:focus,
 ul#primary-nav li a:active {
	background-position: 100% -120px;
}
 ul#primary-nav li a {
	background-position: 100% -80px;
}
 ul#primary-nav li a.menuactive span,
ul#primary-nav li a:hover span,
 ul#primary-nav li a:focus span,
 ul#primary-nav li a:active span {
	background-position: 0 -40px;
}
 ul#primary-nav li a span {
	background-position: 0 0;
}
 ul#primary-nav .sectionheader,
 ul#primary-nav li a:link.menuactive,
 ul#primary-nav li a:visited.menuactive {
/* @ Opera, use pseudo classes otherwise it confuses cursor... */
	cursor: text;
}
 ul#primary-nav li span,
 ul#primary-nav li a,
 ul#primary-nav li a:hover,
 ul#primary-nav li a:focus,
 ul#primary-nav li a:active {
/* @ Opera, we need to be explicit again here now... */
	cursor: pointer;
}
/* Additional IE specific bug fixes... */
* html .page-menu ul#primary-nav {
	display: inline-block;
}
*:first-child+html .page-menu ul#primary-nav {
	display: inline-block;
}
/* --------------------  menu dropdow  -------------------------
/* Unless you know what you do, do not touch this */
/* Reset all ROOT menu styles. */
ul#primary-nav ul.unli li li a Xspan,
ul#primary-nav ul.unli li a Xspan,
ul#primary-nav .menuparent .unli .menuparent .unli li a Xspan {
	font-weight: normal;
	background-image: none;
	display: block;
	padding-top: 0px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}
#primary-nav {
	margin: 0px;
	padding: 0px;
}
#primary-nav ul {
	list-style: none;
	margin: -6px 0px 0px;
	padding: 0px;
/* Set the width of the menu elements at second level. Leaving first level flexible. */
	width: 209px;
}
#primary-nav ul {
	position: absolute;
	z-index: 1001;
	top: auto;
	display: none;
	padding-top: 9px;


}
* html #primary-nav ul.unli {
	padding-top: 12px;
/*	background: url(uploads/NCleanBlue/ultop.gif) no-repeat left top;*/
}
#primary-nav ul.unli ul {
	margin-left: -7px;
	left: 100%;
	top: 3px;
}
* html #primary-nav ul.unli ul {
	margin-left: -0px;
}
#primary-nav li {
	margin: 0px;
	float: left;
}
#primary-nav li li {
	margin-left: 7px;
	margin-top: -1px;
	float: none;
	position: relative;
}
/* Styling the basic appearance of the menu elements */
ul#primary-nav ul hr.menu_separator{
        position: relative;
        visibility: visible;
        display:block;
        width:130px;
       	height: 1px;
       	margin: 2px 2px 2px;
	padding: 0em;
	border-bottom: 1px solid #ccc;
	border-top-width: 0px;
	border-right-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-left-style: none;
}
#primary-nav .separator,
#primary-nav .separatorh {
	height: 9px;
	width: 209px;
	margin: 0px 0px -8px;
	background: url(uploads/NCleanBlue/ulbtm.png) no-repeat left bottom;
}
* html #primary-nav .separator {
       z-index:-1;
	background: url(uploads/NCleanBlue/ulbtm.gif) no-repeat left bottom;
}
*:first-child+html #primary-nav .separator {
       z-index:-1;
}
#primary-nav ul.unli li a {
 background-color: #BDD0B0;
 height: 1.5em;
}
#primary-nav ul.unli li a {
	padding: 3px 6px;
	width: 165px;
	margin: 0px;
	background-image: none;
/* background-color: #003E2A; */

 color: #003E2A;
}
* html #primary-nav ul.unli li a {
	padding: 0px 10px 0px 5px;
	width: 165px;
	margin: 5px 0px;
 background-color: #003E2A;
 color: white;
}
#primary-nav li li a:hover {
	background-color: #DBE7F2;
}
/* Styling the basic appearance of the active page elements (shows what page in the menu is being displayed) */
#primary-nav li.menuactive li a {
 background-color: #003E2A;
 color: white;
}
#primary-nav ul.unli li.menuparenth,
#primary-nav ul.unli a:hover,
#primary-nav ul.unli a.menuactive {
 background-color: #003E2A;
 color: white;
}
/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul.unli li .menuparent,
#primary-nav ul.unli li .menuparent:hover,
#primary-nav ul.unli li .menuparent,
#primary-nav .menuactive.menuparent .unli .menuactive.menuparent .menuactive.menuparent {
 background-image: url(uploads/NCleanBlue/arrow.gif);
 background-position: center right;
 background-repeat: no-repeat;
}
/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */
#primary-nav ul,
#primary-nav li:hover ul,
#primary-nav li:hover ul ul,
#primary-nav li:hover ul ul ul,
#primary-nav li.menuparenth ul,
#primary-nav li.menuparenth ul ul,
#primary-nav li.menuparenth ul ul ul {
 display: none;
}
#primary-nav li:hover ul,
#primary-nav ul li:hover ul,
#primary-nav ul ul li:hover ul,
#primary-nav ul ul ul li:hover ul,
#primary-nav li.menuparenth ul,
#primary-nav ul li.menuparenth ul,
#primary-nav ul ul li.menuparenth ul,
#primary-nav ul 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 Menu *****************/
/* End of 'menues' */

