/* Start of CMSMS style sheet 'navi' */
/*
-----------------------------------------------
Top-Navigation
----------------------------------------------- */

/* by Alexander Endresen and mark and Nuno */
#menu_horizontal {
/* no margin/padding so it fills the whole div */
  margin: 0;
  padding: 0;
  float: right; 
  clear: both; 
  margin-top: 71px; 
  padding-right: 10px;
}
.clearb {
/* needed for some browsers */
  clear: both;
}
#menuwrapper {
/* set the background color for the menu here */
  background-color: transparent;
/* IE6 Hack */
  height: 1%;
  width: auto;
  float: right; 
/* one border at the top */
  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 {
/* pushes the menu div up to give room above for background color to show */
  padding-top: 0;
/* keeps the first menu item off the left side */
  padding-left: 0;
}
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: 0px;
  border-left: 2px solid #fbc41a;
  border-right: 2px solid #fbc41a;
  margin-left: -1px;
  margin-right: -1px;
}
#primary-nav li li {
/* Set the width of the menu elements at second level. Leaving first level flexible. */
  width: 300px;
/* removes any left margin it may have picked up from the first li */
  margin-left: -2px !important;
  margin-left: -1px;
  margin-right: -2px !important;
  margin-right: -1px;
/* keeps them tight to the one above, no missed hovers */
  margin-top: 0px;
/* 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;
  border-left: 2px solid #fbc41a;
  border-right: 0 none;
  background: #fff;
  /*padding:3px 0 7px 0;*/
}
/* 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: 1.9em;
  font-weight: bold;
/* make sure we keep the font normal */
/* set default link colors */
  color: #979797;
/* 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: 27px 15px 20px 15px;
  display: block;
/* sets no underline on links */
  text-decoration: none;
}
ul#primary-nav li a:hover {
/* kind of obvious */
  color: #666;
  background: #fff;
}
ul#primary-nav li li a:hover {
/* this is set to #000, black, below so hover will be white text */
  color: #666;
  background: #fee9a9;
}
ul#primary-nav li a.menuactive {
  color: #fff;
/* bold to set it off from non active */
  font-weight: bold;
  background: #f9c318;
}
ul#primary-nav li li a.menuactive {
  color: #fff;
/* bold to set it off from non active */
  font-weight: bold;
/* set your image here */
  background:#fbc41a;
}
ul#primary-nav li a.menuactive:hover {
  color: #fff;
/* keep it the same */
  font-weight: bold;
}
#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: transparent;
  color: #333;
  font-weight: bold;
}
/* 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 */
  color: #666;
  font-weight: bold;
}
ul#primary-nav li ul a {
/* insures alignment */
  text-align: left;
  letter-spacing:0.1ex;
  font-size: 1.6em;
  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: #9d9d9d;
  border-top: 0 none;
  border-right: 0 none;
  border-left: 0 none;
  border-bottom: 1px dotted #fbc41a;
}
ul#primary-nav li ul {
  background: #fff;
  margin: 0px;
  padding: 0px;
  position: absolute;
  width: auto;
  height: auto;
  display: none;
  position: absolute;
  z-index: 1001;
  border-top: 0 none;
  border-bottom: 1px solid #fbc41a;
  border-left: 0 none;
  border-right: 0 none;
}
ul#primary-nav li ul ul {
}
/* 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 */
  color: #9d9d9d;
  background: #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;
  color: #9d9d9d;
}
/* IE6 Hacks */
#primary-nav li li {
  float: left;
  clear: both;
}
#primary-nav li li a {
  height: 1%;
}

/*
-----------------------------------------------
Sub-Navigation
----------------------------------------------- */

/******************** MENU *********************/
#menu_vert {
  margin: 0;
  padding: 0;
  background: transparent;
  border-top:1px solid #fff;
}
#menu_vert ul {
/* remove any bullets */
  list-style: none;
/* margin/padding set in li */
  margin: 0px;
  padding: 0px;
}
#menu_vert ul ul {
  margin: 0;
/* padding right sets second level li in on right from first li */
  padding: 0px 0px 0px 0px;
/* replaces bottom of li.menuactive menuparent, looks like li below it, set in 5px more, is sitting on top of it */
}
#menu_vert li {
/* remove any bullets */
  list-style: none;
/* negative bottom margin pulls them together, images look like one border between */
  margin: 0px 0px -1px;
/* bottom padding pushes "a" up enough to show our image */
  padding: 0px 0px 2px 0px;
}
#menu_vert li.currentpage {
  padding: 0px 0px 2px 0px;
}
#menu_vert li.menuactive {
  margin: 0;
  padding: 0px;
/* replaced by image in ul ul */
  background: none;
}
#menu_vert li.menuactive ul {
  margin: 0;
}
#menu_vert li.activeparent {
  margin: 0;
  padding: 0px;
}
/* fix stupid IE6 bug with display:block; */
* html #menu_vert li {
  height: 1%;
}
* html #menu_vert li a {
  height: 1%;
}
* html #menu_vert li hr {
  height: 1%;
}
/** end fix **/
/* first level links */
div#menu_vert a {
/* IE6 has problems with this, fixed above */
  display: block;
/* some air for it */
  padding: 0.9em 0.3em 0.78em 1.4em;
/* this will be link color for all levels */
  color: #fff;
  font-weight: bold;
/* Fixes IE7 whitespace bug */
  min-height: 1em;
/* no underline for links */
  text-decoration: none;
  background: #BBC3C8;
}
/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
  font-size: 90%;
  /*padding: 0.8em 0.3em 0.5em 2.9em; eingerueckt*/
  padding: 0.8em 0.3em 0.5em 1.3em;
  background: #9ca9b0;
  border-top: 1px dotted #bbc3c8;

}
/* third level links, more padding */
div#menu_vert ul ul ul a {
  padding: 0.5em 0.3em 0.3em 2.9em;
}
/* hover state for all links */
div#menu_vert a:hover {
  background-color: #fff;
  color: #333;
  text-decoration: none;
}
div#menu_vert a.activeparent:hover {
  color: #77ad1a;
}
/* active parent, that is the first level parent of a child page that is the current page */
div#menu_vert li.activeparent {
  background: #9ca9b0;
/* white to contrast with background image */
  color: #fff;
}
div#menu_vert li.activeparent a.activeparent {
  background: #A0ACB3;
/* to contrast with background image */
  color: #fff;
}
div#menu_vert li a.parent {
/* takes left padding out so span image has room on left */
  padding-left: 0em;
}
div#menu_vert ul ul li a.parent {
/* increased padding on left offsets it from one above */
  padding-left: 0.1em;
}
div#menu_vert li a.parent span {
  display: block;
  margin: 0;
/* adds left padding taken out of "a.parent" */
  padding-left: 1.3em;
/* arrow on left for pages with children, points down, you can set your own image here */
  background: transparent /*url(uploads/style/img/parent.png) no-repeat right 7px*/;
}
div#menu_vert li a.parent:hover {
/* removes underline hover effect */
  text-decoration: none;
}
div#menu_vert li a.parent:hover span {
  display: block;
  margin: 0;
  padding-left: 1.3em;
/* arrow on left for pages with children, points right for hover, you can set your own image here */
  background: transparent url(uploads/style/img/parent_hover.png) no-repeat right 7px;
}
div#menu_vert li a.menuactive.menuparent {
/* sets it in a little more than a.parent */
  padding-left: 0;
  background: #A0ACB3;
}
div#menu_vert ul ul li a.menuactive.menuparent {
/* sets it in a little more on next level */
  padding-left: 0.1em;
  background: #333 url(uploads/style/img/active.png) no-repeat left center;
}
div#menu_vert li a.menuactive.menuparent span {
  display: block;
  margin: 0;
/* to contrast with non active pages */
  font-weight: bold;
  padding-left: 1.3em;
/* arrow on left for active pages with children, points right, you can set your own image here */
  background: transparent url(uploads/style/img/parent.png) no-repeat right center;
}
div#menu_vert li a.menuactive.menuparent:hover {
  text-decoration: none;
  color: #EEF6FB;
}
div#menu_vert ul ul li a.activeparent {
  color: #fff;
}
/* current pages in the default Menu Manager template are unclickable. This is for current page on first level */
div#menu_vert ul h3 {
  display: block;
/* some air for it */
  padding: 0.8em 0.3em 0.68em 1.3em;
/* this will be link color for all levels */
  color: #fff;
/* instead of the normal font size for <h3> */
  font-size: 1em;
/* as <h3> normally has some margin by default */
  margin: 0;
/* you can set your own image here, same as "a"
  background: transparent url(uploads/ngrey/libk.gif) no-repeat right top; */
  background: #A0ACB3 url(uploads/style/img/active.png) no-repeat left 13px;
}
/* next level current pages, more padding, smaller font and no background color or bottom border */
div#menu_vert ul ul h3 {
  font-size: 90%;
  padding: 0.6em 0 0.7em 3.1em;
/* you can set your own image here, same as "a" */
  background: #9ca9b0 url(uploads/style/img/active.png) no-repeat 16px center;
  color: #444;
  border-top: 1px dotted #bbc3c8;
}
/* current page on third level, more padding */
div#menu_vert ul ul ul h3 {
  padding: 0.5em 0.3em 0.3em 2.9em;
}
/* BIG NOTE: I didn't do anything to these, never tested */
/* section header */
div#menu_vert li.sectionheader {
  border-right: none;
  padding: 0.8em 0 0.5em 1.5em;
  /*background: transparent url(uploads/ngrey/libk.gif) no-repeat right top;*/
  line-height: 1em;
  margin: 0;
    color: #18507C;
    cursor:text;
}
/* separator */
div#menu_vert .separator {
  height: 1px !important;
  margin-top: -1px;
  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 */
}

/*
-----------------------------------------------
Footer-Navigation
----------------------------------------------- */

div#menu_horiz {
/* background color for the entire menu row */
  margin: 0;
  float:left;
  position:relative;
  height:100%;
  background: transparent; 
}
div#menu_horiz ul {
/* remove any default bullets */
  list-style-type: none;
  margin: 0;
/* pushes the menu div up to give room above for background color to show */
/* keeps the first menu item off the left side */
  padding: 20px 0 5px 0px;
  overflow: hidden;
  margin-left: -15px;
  background: transparent; 
}
/* menu list items */
div#menu_horiz li {
/* makes the list horizontal */
  float: left;
/* remove any default bullets */
  list-style: none;
/* still no margin */
  margin: 0;
  margin-left: -1px;
  border-left: 1px solid #979797;
  padding: 0 20px 0 0;
  background: transparent; 
}
/* the links, that is each list item */
div#menu_horiz 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: #888;
/* makes it hold a shape, IE has problems with this, fixed above */
  display: block;
  font-weight: bold;
  font-size: 1.5em;
}
/* hover state for links */
div#menu_horiz li a:hover {;
/* set your image here, dark grey image with white text set above*/
  color: #333;
}
div#menu_horiz a span {
/* compensates for no left padding on the "a" */
  padding-left: 20px;
}
div#menu_horiz li.parent a span {
/* no left padding on the "a" we can set it here, it lets us use the span for an image */
  padding-left: 20px;
/* set your image here, down arrow to note it has children, left side of text */
  color: #979797;
}
div#menu_horiz li.currentpage a span {
/* no left padding on the "a" we can set it here, it lets us use the span for an image */
  padding-left: 20px;
/* set your image here, down arrow to note it has children, left side of text */
  color: #333;
}
div#menu_horiz li.parent a:hover span {
  padding-left: 20px;
/* hover replaces default with right arrow image */
  color: #111;
}
div#menu_horiz li.menuactive a span {
  padding-left: 20px;
/* menuactive replaces default with right arrow image */
  color: #333;
}
/* active parent, that is the first level parent of a child page that is the current page */
div#menu_horiz li.menuactive, div#menu_horiz li.menuactive a:hover {
/* set your image here, light image with #000/black text set below*/
  color: #111;
}

/* End of 'navi' */

