
/* ================================================================
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/simple_vertical.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any
way to fit your requirements.
=================================================================== */


/* Add a margin - for this demo only - and a relative position with a high z-index to make it appear over any element below */
#navigation {

	margin-top: 1px;
	margin-left: auto;
	margin-right: auto;
	width: 870px;
	background-image: url(/resurser/images/meny/nav_background.png);
}
#menu_container {position:relative; text-align:left; width:870px; height:22px; z-index:5000;}

/* Get rid of the margin, padding and bullets in the unordered lists */
#pmenu, #pmenu ul {padding:0; margin:0; list-style-type: none;}

/* Set up the link size, color and borders */
#pmenu a, #pmenu a:visited {
	display:block;
	padding-top: 4px;
	padding-bottom: 6px;
	margin: 0px;
	color:#fff;
	text-decoration:none;
	border: 0;
	line-height: 12px;
	padding-left: 10px;
	padding-right: 10px;

	}

/* Set up the link size, color and borders of drop down*/
#pmenu a.dd, #pmenu a.dd:visited {
	display:block;
	color:#fff;
	text-decoration:none;
	border-bottom: 1px solid white;
	}

#pmenu li ul {
	margin-top: 0px;
}

/* Set up the sub level borders */
#pmenu li ul li a, #pmenu li ul li a:visited {border-width:0px;}

/* Set up the list items */
#pmenu li {float:left; border-right: 1px solid white; width: 95px;}

#pmenu li ul li {margin: 0; background-color: #5c98be; background-image: none; width: 160px; }

#last_top {
	border-right: 0 !important;
	width: 125px !important;
}

#pmenu li > a {border: 0;}

/* For Non-IE browsers and IE7 */
#pmenu li:hover {position:relative;}
/* Make the hovered list color persist */
#pmenu li:hover > a {background: #3b7ea8 url(/resurser/images/meny/nav_selected_background.png); color: white;}
#pmenu li:hover > a.dd {background: #3b7ea8;}

/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
#pmenu li ul {display:none;}
/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
#pmenu li:hover > ul {display:block; position:absolute; top:-10px; left:100px; padding:10px 30px 30px 30px; background:transparent url(/resurser/images/meny/transparent.gif); width:160px;}

#pmenu li:hover > ul#last_item {
	left: -64px;
}
/* Position the first sub level beneath the top level links */
#pmenu > li:hover > ul {left:-30px; top:13px;}

#pmenu li:hover > ul li ul li {
	border-left: 1px solid white;
}

/* get rid of the table */
#pmenu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:5000;}

/* For IE5.5 and IE6 give the hovered links a position relative and a change of background and foreground color. This is needed to trigger IE to show the sub levels */
* html #pmenu li a:hover {position:relative; background-color: #3b7ea8;; color:#fff;}

/* For accessibility of the top level menu when tabbing */
#pmenu li a:active, #pmenu li a:focus {color:#fff; }

/* Set up the pointers for the sub level indication */
#pmenu li.fly {background: #5c98be url(/resurser/images/meny/arrow.gif) no-repeat right; }
#pmenu li.drop {background: #5c98be url(/resurser/images/meny/arrow.gif) no-repeat right; }


/* This lot is for IE5.5 and IE6 ONLY and is necessary to make the sublevels appear */

/* change the drop down levels from display:none; to visibility:hidden; */
* html #pmenu li ul {visibility:hidden; display:block; position:absolute; top:-11px; left:120px; padding:10px 30px 30px 30px; background:transparent url(transparent.gif);}

/* keep the third level+ hidden when you hover on first level link */
#pmenu li a:hover ul ul{
visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
#pmenu li a:hover ul a:hover ul ul{
visibility:hidden;
}

/* make the second level visible when hover on first level link and position it */
#pmenu li a:hover ul {
visibility:visible; left:-40px; top:15px; lef\t:-41px; to\p:16px;
}

/* make the third level visible when you hover over second level link and position it and all further levels */
#pmenu li a:hover ul a:hover ul{
visibility:visible; top:-8px; left:100px;
}
/* make the fourth level visible when you hover over third level link */
#pmenu li a:hover ul a:hover ul a:hover ul {
visibility:visible;
}





