/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */


/* The wrapper clears the floating elements of the menu */

#menuwrapper {
        overflow: hidden;
        background-color: #ffffff;
        border-bottom: 1px solid #C0C0C0;
		background-position:top;
        width: 100%;

        }

/* Set the width of the menu elements at second level. Leaving first level flexible. */

#nav li li {
width:160px;
       }


/* Unless you know what you do, do not touch this */

#nav, #nav ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
#nav ul {
	position: absolute;
	top: auto;
	display: none;
	}
#nav ul ul {
	margin-top: 1px;
 	margin-left: -1px;
	left: 100%;
	top: 0px;
	}

#nav li {
	/*margin-left: -1px;*/
	float: left;
	padding:0;
	}
#nav li li {
	margin-left: 0px;
	margin-top: -1px;
	float: none;
	position: relative;
	}

/* Styling the basic apperance of the menu elements */

#nav a {
	display: block;
	margin: 0px;
	text-decoration: none;
	color:#333;
	}
#nav li a {
	border-right: 0px solid #ccc;
	border-left:0px solid #ccc;
	padding: 0px;
	}
#nav #first a{
	border-left-style:none;
}
#nav #last a{
	border-right-style:none;
}
#nav li li a {
	border: 1px solid #fff;
	padding: 2px 5px;

	}
#nav .nolink,#nav .nolinkh,#nav .nolink:hover{
	background-color:#FFF;
	padding:2px 0px 3px 0px;
	text-align:center;
	border-top:1px solid #fff;
}
 #nav li.menuparent {
	}

#nav li ul li{
	background-color:#bcbc9c;
	}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#nav li.menuactive {
		

	}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */

#nav ul li.menuparent, #nav ul li.menuparent:hover, #nav ul li.menuparenth {
	background-image: url(/images/nav/arrow.gif);
	background-position: center right;
	background-repeat: no-repeat;

	}


/* Styling the apperance of menu items on hover */

#nav li:hover, #nav li.menuh a, #nav li.menuparenth, #nav li.menuactiveh {
		background-color: #d8d8b6;
	}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

#nav ul, #nav li:hover ul, #nav li:hover ul ul,#nav li:hover ul ul ul,
#nav li.menuparenth ul, #nav li.menuparenth ul ul, #nav li.menuparenth ul ul ul{
	display: none;
	}
#nav li:hover ul,  
#nav li.menuparenth ul {
	display: block;
	}


/* IE Hacks */

#nav li li {
	float: left;
	clear: both;
	}
#nav li li a {
	height: 1%;
	}