/*
One good resource for UL/LI formatting: http://www.alistapart.com/articles/taminglists/
*/

/* 
Ensete måten å få toppnemyen til å flyte over venstremenyen i IE 
se: http://www.twinhelix.com/cgi-bin/forum.pl/fsmenu/248
*/

#H_MenuContainer {
 position: relative;
 z-index: 100;
}

#V_MenuContainer {
 position: relative;
 z-index: 1;
}

.no_link {
 cursor: default; 
}

/* HORIZONTAL FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
.menu_topp, .menu_topp  ul {
	 margin: 0px;
	 padding: 0;
	 list-style: none;
	 width: 100%;
	 /*height: 100%;*/

}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menu_topp ul {
	 visibility: hidden;
	 position: absolute;
	 /*top: 0px;*/ 		/*level 1 moves down (sublevel level 0 is top)*/
	 left: 0px;
	 background-color: none;

}

/* Second and third etc. level submenus - position across from parent instead */
.menu_topp ul ul {
	 top: 0px;
	 left: 157px; /* position-space between sub menus */

}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.menu_topp li {
	margin: 0px;
	 /*border: 1px solid #060;*/
	 float: left;
	 position: relative;
	 /*background-color: #daf0a3;*/
	 background-color: #a5be00;
	 margin-right: -1px;
	 /*width: 33%;*/
	 /*width: 157px;*/
	 width:230px;
	 /*height: 100%;*/

}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menu_topp ul li {
	 /*border: 1px solid #060;*/
	 float: none;
	 margin-right: 0;
	 margin-bottom: 0px; /* space between li's */
	 text-align: left;
	 /*width: 140px;*/
	 /*text-indent: 10px;*/

}

.menu_topp ul>li:first-child {
 	/*margin-bottom: 1px;*/
 	/*border-top: 1px solid #060;*/
}

.menu_topp ul>li:last-child {
 	/*margin-bottom: 1px;*/
 	/*border-bottom: 1px solid #060;*/
}


/* Links inside the menu */
.menu_topp a {
		color: #000;
		display: block;
		/* MAGISK */
		/*line-height: 100%;*/
		text-decoration:  none;
		text-align: left;
		padding: 3px 0px 3px 6px;


}

/* Links inside the menu - under føste nivå */
.menu_topp ul a {
		/*padding-left: 3px;*/
		/*padding-right: 3px;*/
		/* MAGISK */
		/*line-height: 1.8em;*/
		border: none;				/* Border for level 1.. sublevels */
		/*border-left: 1px solid #060;*/
		/*border-right: 1px solid #060;*/
		background-color: #E0E0E0;		/* color level 1..sublevels */

}



/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menu_topp a:hover, .menu_topp a.highlighted:hover, .menu_topp a:focus {
	   color: #000;
	   background-color: #F0F0F0;

}

.menu_topp a.highlighted {
	   color: #000;
	   background-color: #F0F0F0;
	   border-bottom: none;

}

.menu_topp a.active {
	/*background-color: #F0F0F0;*/

}


/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menu_topp a#xyz {
      background-image: url(out.gif);
    }
    .menu_topp a#xyz:hover, .menu_topp a.highlighted#xyz, .menu_topp a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menu_topp a .subind {
 	display:  none;
}
.menu_topp ul a .subind {
	 display:  block;
	 position: absolute; 
	 right: 10px;
}

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menu_topp a {
 	float: left;
}
.menu_topp ul a {
 	float: none;
}
/* \*/
.menu_topp a {
 	float: none;
 	border: 1px solid #060; 	/* Border for level 0 (toplevel) */
}
/* */


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menu_topp  ul li {
	 float: left;
	 height: 1%;
}
* html .menu_topp  ul a {
 	height: 1%;
}
/* End Hack */
