/*==============================================================================

	GRC multi-level script-free pure-CSS menuing system stylesheet.
   This code is hereby placed into the public domain by its author
   Steve Gibson. It may be freely used for any purpose whatsoever.

	Computed Geometries:	with a default 12px font, 1.0em == 12px and
	1px == 0.08333em.
	Thus, our 98px wide Freeware & Research buttons are 8.166666em wide.

==============================================================================*/

/*====== GLOBAL OVERRIDES FOR MAJOR ITEMS AND DIFFERING BROWSER DEFAULTS =====*/

/* Begrænsning: ikke dynamisk brede!!!!! */
div.mainmenu  table, div.mainmenu img, div.mainmenu button, div.mainmenu iframe, div.mainmenu ul, div.mainmenu li  { margin:0; padding:0; border:0; white-space: nowrap; }
div.mainmenu table { text-align:left; }


div.mainmenu ul { margin-left:20px; }       /* kill default 50px left padding and set 20px */
div.mainmenu li { margin-bottom:1em; }          /* set default inter-item vertical spacing */





 /*================= STYLES FOR THE GRC MASTHEAD & CONTROLS ==================*/

div.menuminwidth0 {             /* for all browsers (non-IE) that obey min-width */
	z-index: 100;
	position:relative;
	border:0;
	margin:0;
	padding:0;
	width:100%;
	height:18px;/* 36px masthead height + 18px button height + 1px lower border*/
	min-width:560px; /* vigtig i IE */
}

/* suppress our whole menu when not an interactive mode (when printing, etc.) */
@media print, projection { div.menuminwidth0 { d\isplay:none; } }

* html div.menuminwidth1 { /* this allows IE5/6 to simulate min-width capability */
	position:relative;  /* we can simulate a minimum width by creating a large */
	float:left;          /* border in this first div, then placing our content */
	height: 1px;          /* into a second nested div (see 2nd nested div next */
	/*border-left:560px solid #fff;    /* CSS box-model borders are a fixed size */
}

* html div.menuminwidth2 {    /* used to simulate min-width capability for IE5/6 */
	position:relative;
	/*margin-left:-560px;*/
	height: 1px;
}


 /*========================= TOP OF THE MENU CASCADE =========================*/

div div.mainmenu {
	position:relative;        /* establish a menu-relative positioning context */
	float:left;                                     /* play nicely with others */
	margin:0;
	padding:0;
	border:0;
	height:18px;                                  /* the menu's overall height */
	width:100%;         /* we always want our menu to fill the available space */
/*	background:#f3f3f3;*/
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;/*changing causes shaodow to overlap... where is height maybe needs adjusted  - but line height 11*1.5 is no integer */  /* this (and also below) sets the menu's font size */
	/*border-bottom:1px solid black;        /* give us a black border underneath */
	background: rgb(0,0,112);
	text-align: left;
	/*z-index: 100;*/
}

div.mainmenu img {
	vertical-align: top;      /* prevent images from being pushed down by text */
}

div.mainmenu ul {
	padding:0;
	margin:0;
	border:0;
	list-style-type:none;          /* we don't want to view the list as a list */
	line-height:1.5em;           /* globally set the menu's item spacing. note */
}                               /* this must be 1.0 or 1.5 or 2.0 for Mozilla */

div.mainmenu li {
	float:left;    /* this creates the side-by-side array of top-level buttons */
	position:relative;    /* create local positioning contexts for each button */
	margin:0;
}

div.mainmenu ul li table {
	margin:-1px 0;              /* IE5 needs -1px top and bottom table margins */
	m\argin:0;               /* re-zero the table margins for everyone but IE5 */
	border-collapse:collapse;      /* IE5 needs this for the sub-menus to work */
	font-size:12px;        /* this sets the base font size for our entire menu */
}


div.mainmenu .drop {
	display:block;
	/*padding:0px 0.33em;	       /* this sets the l/r margins for our menu item */
	margin:0;
	text-align:right;   /* this right alignment goes with the float:left below */
	cursor:pointer;      /* IE tries to switch back to an I-beam, don't let it */
	cursor:hand;           /* IE5 only knows about "hand", so set it both ways */
}

span.drop span {        /* this simultaneously left and right aligns the text and */
	float:left;       /* the >> in the drop-down menus which link to sub-menus */
}

div.mainmenu .rightmenu {
	visibility: hidden;  /* Remove if used */
	display: none;        /* Remove if used */
	position:relative;  /* establish a local positioning context for YAH label */
	float:right;                  /* and right-align it at the top of our page */
}

/*======================== TOP LEVEL MENU DEFINITIONS ========================*/

div.mainmenu ul li ul {
	display:none;                  /* initially hide the entire list hierarchy */
	/*padding:1px;                               /* this is our box border width */
}

div.mainmenu ul li span.headline /* 2. and 3. menus sub headlines */
{
	font-weight: bold;
}

div.mainmenu ul li a,
div.mainmenu ul li a:visited {                    /* unselected top-level menu items */
	display:block;
	float:left;
	text-decoration:none;
   font-weight: bold;
	height:18px;
	margin-right: 15px;
	color:#F0F0F0;               /* this sets the unselected drop-down text color */
}

div.mainmenu ul li ul a,
div.mainmenu ul li ul a:visited {                    /* unselected top-level menu items */
   font-weight: normal;
}
div.mainmenu ul li:hover a,
div.mainmenu ul li a:hover {                        /* selected top-level menu items */
	/*border-top:1px solid #000;    /* these 2 lines create the push-in illusion */
	/*height:16px;  if no image */
	height:17px; /* must be 17 not 18 as a:normal or opera fuck up */
	color: black;
	background-color: white;
}

/*======================== 2ND LEVEL MENU DEFINITIONS ========================*/

div.mainmenu ul:hover li ul,
div.mainmenu ul li:hover ul,
div.mainmenu ul li a:hover ul {                           /* 2nd level drop-down box */
	display:block;
	position:absolute;
	margin:0px;
	top:17px;              /* place us just up underneath the top-level images */
	left:-1px;       /* left-align our drop-down to the previous button border */
	height:auto;      /* the drop-down height will be determiend by line count */
	width:13.5em;
	color:black;                        /* this sets the unselected-text color */
	background:transparent;         /* this sets our menu's effective "border" color */
	border: 0px solid pink;
	/*z-index: 5; */

}

div.mainmenu ul li:hover ul.leftbutton,
div.mainmenu ul li a:hover ul.leftbutton {/* our first dropdown should not be skewed */
	display:block;
	left:0px;
   padding: 0px 0px 0px 0px; 
}

div.mainmenu ul li:hover ul.skinny,
div.mainmenu ul li a:hover ul.skinny {             /* 2nd level skinny drop-down box */
	/*display:block;*/
	/*width:8.08333em;   /* with a 12px default font, this is 97px width (97/12) */
}

div.mainmenu ul.rightmenu li:hover ul,
div.mainmenu ul.rightmenu li a:hover ul {    /* 2nd level neighborhood drop-down box */
	/*display:block;*/
	left:auto;
	right:0;         /* nudge the right menu right to line up under the border */
}

* html div.mainmenu ul.rightmenu li a:hover ul {         /* IE5/6 needs a tweak here */
	/*display:block;*/
	right:-1px;
}
div.menu span.headline > b, /* hide opacity from IE 6 */
div.menu a > b,
div.menu a span.drop > b
{
   filter:alpha(opacity=50);
   -moz-opacity:.50;
   opacity:.50;
}


div.menu span.headline b,
div.menu a b
{
	position: absolute;
	top: 0px;
	right: -2px;
	
	margin: 0px;
	padding: 0px;
	width: 2px;
	height: 100%;
	border-style: solid;
	border-width: 0px 2px 0px 0px;	
	border-color: rgb(155,155,155); /* pink XXXXX*/
	color: white;

  /* background: rgb(0,0,112) url('corners/nt.shadow.gif') repeat-y scroll top right;*/ 	
}


span.headline,
div.localmenu a,
div.localmenu span.headline,
div.mainmenu ul li:hover ul li span.headline,   /* KNR not needed onE6 but does no harm */
div.mainmenu ul li:hover ul.leftbutton li a,
div.mainmenu ul li:hover ul li a,
div.mainmenu ul li a:hover ul li a {                   /* 2nd level unselected items */
	display:block; /* added by KNR */
	border:0;
	margin:0;
	padding:0;
	height:auto;
	color:#F0F0F0;               /* this sets the unselected drop-down text color */
	/*background:#d8d8d8;       /* this sets the drop-down menu background color */
	background-color: rgb(0,0,112); /*#330099;*/
	border-left-color  : rgb(10,10,122); /* ligter */
	border-right-color : rgb(0,0,92); /* darker*/
   border-style: solid;
   border-width: 0px 2px 0px 2px; /* vvvvv */
   padding: 0px 5px 0px 5px;      /* vvvvv */
	width:13.5em;
}


div.mainmenu ul li:hover ul li:hover a,
div.mainmenu ul li a:hover ul li a:hover {                /* 2nd level selected item */
	color:black;
	background:white;
	 display:block; 
}
/*span.headline,*/
div.mainmenu ul li ul.skinny li span.headline, /* KNR need on IE6 */
div.mainmenu ul li:hover ul.skinny li a,
div.mainmenu ul li a:hover ul.skinny li a,
div.mainmenu ul li:hover ul.skinny li a:hover,
div.mainmenu ul li a:hover ul.skinny li a:hover {     /* 2nd level un+selected items */
	/*display:block;*/
	/*width:8.08333em;*/
}

/*======================== 3RD LEVEL MENU DEFINITIONS ========================*/
div.mainmenu ul li:hover ul li div.dacsubmenu
{
	position: absolute;
	padding: 0px;
	margin: 0px;
	left:13.5em;
	top: 0px;
	width: 0px;
	height: 0px;
}
div.mainmenu ul li:hover ul li ul,
div.mainmenu ul li a:hover ul li a ul {             /* hide inactive 3rd-level menus */
	visibility:hidden;
}
     
div.mainmenu ul li:hover ul li:hover ul,
div.mainmenu ul li a:hover ul li a:hover ul {             /* 3rd level drop-down box */
	visibility:visible;
	position:absolute;
	margin-top:-1px;	      /* bring the top edge of the 3rd level menu up one */
	top:0;	
	/*left:8.08333em;*/
	left: 16px;
	width:13.5em;
}

div.mainmenu ul li:hover ul li:hover ul li a,
div.mainmenu ul li a:hover ul li a:hover ul li a {     /* 3rd level unselected items */
	width:13.5em;
	color:#F0F0F0;               /* this sets the unselected drop-down text color */
	background: rgb(0,0,112);
}

div.mainmenu ul li:hover ul li:hover ul li a:hover,
div.mainmenu ul li a:hover ul li a:hover ul li a:hover {    /* level3 selected items */
	width:13.5em;
	color: black; 
	background:white;
}

#text {           /* the Mac's standard Safari browser will not see this code */
	height:1.215em;#           /* ...  but every other browser will and should */
} /* Safari barfs on the illegal pound sign (#) after the rule's property val */


/*======================== BOTTOM CURVES AND SHADOW MENU DEFINITIONS ========================*/
li > span.dacmtl, /* hide from IE 6 */
li > span.dacmbl  /* Menu Button Line KNR */
 {                   
	display:block;
	border:0;
	margin: 0px 0px 0px 0px;
/*	padding:0;*/
	height:0px;
	color:#F0F0F0;              
	background-color: transparent; 
	border-left-color  : pink;
	border-right-color : pink;
   border-style: solid;
   border-width: 0px 2px 0px 2px;
   padding: 0px 5px 0px 5px;
   position: relative;
	top: 0px;
	left: 0px;
	width:13.5em;
}

li > span.dacmtl /* hide from IE 6 */
{
	top: -10px;
}

span.dacmtl div b,
span.dacmbl div b
{
	width: 10px;
	height: 10px;
	min-width: 10px;
	min-height: 10px;
   line-height: 0px;
   font-size: 0px;
   padding: 0px 0px 0px 0px;
   border: 0px none yellow;
   margin: 0px 0px 0px 0px;
	position: absolute;
   display:block;
/*	z-index: -1;*/
}


span.dacmtl div,
span.dacmbl div
{
	padding: 0px 3px 0px 3px; /* padding here + padding in li - border width should give width of the border */
}

span.dacmbl div.c b.bl
{
   left: -2px; /* -1 * border with on li */
   top:  0px;	
	width: 10px;
	height: 10px;
	z-index: 2;
	background: transparent url(corners/bl.color.gif) no-repeat scroll center center;
}

span.dacmtl div.c b.tl
{
   left: -2px; /* -1 * border with on li */
   top:  0px;	
	width: 10px;
	height: 10px;
	z-index: 2;
	background: transparent url(corners/tl.color.gif) no-repeat scroll center center;
}


span.dacmbl div.c b.br
{
   right: -2px; /* -1 * border with on li */
   top:  0px;	
	width: 10px;
	height: 10px;
	z-index: 2;
	background: transparent url(corners/br.color.gif) no-repeat scroll center center;
}

span.dacmtl div.c b.tr
{
   right: -2px; /* -1 * border with on li */
   top:  0px;	
	width: 10px;
	height: 10px;
	z-index: 2;
	background: transparent url(corners/tr.color.gif) no-repeat scroll center center;
}

/*ul li ul li ul li span.dacmbl div.c b.bc,*/
span.dacmtl div.c b.tc,
span.dacmbl div.c b.bc
{
   left: 0px;
   top:  0px;
	height: 10px;
	z-index: 2;
/*	margin: 0px 10px 0px 10px;*/
	width: 100%;
	position: relative;
	background: transparent url(corners/nt.color.gif) repeat scroll center center;
}


span.dacmtl div.s b,
span.dacmbl div.s b
{
   filter:alpha(opacity=50);
   -moz-opacity:.50;
   opacity:.50;
}

span.dacmbl div.s b.bl
{
   left: 0px; /* 2 - border with on li */
   top:  3px;	
	width: 10px;
	height: 10px;
	background: transparent url(corners/bl.shadow.gif) no-repeat scroll center center;
}


span.dacmbl div.s b.br
{
   right: -4px; /* -2 - border with on li */
   top:  3px;
	width: 10px;
	height: 10px;
	background: transparent url(corners/br.shadow.gif) no-repeat scroll center center;
}

span.dacmtl div.s b.tr
{
   right: -4px; /* -2 - border with on li */
   top:  0px;	
	width: 10px;
	height: 10px;
	background: transparent url(corners/tr.shadow.gif) no-repeat scroll center center;
}

span.dacmbl div.s b.brg
{
   right: -4px; /* -2 - border with on li */
   top:  0px;
   height: 3px;	
	background: transparent url(corners/br.shadow.gif) no-repeat scroll top right;
}

span.dacmbl div.s b.bc
{
	position: absolute;
   left: 2px;
   top:  -7px;
	width: 100%;
	height: 10px;
	position: relative;
	background: transparent url(corners/nt.shadow.gif) repeat scroll center center;
}






















/*======================== LOCALMENU DEFINITIONS ========================*/




div div.localmenu {
   position: relative;
	left: 0px;
	top: 0px;
	margin:0;
	margin-right: 20px;
	padding:0;
	border:0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;         /* this (and also below) sets the menu's font size */
	text-align: left;
}


div.localmenu ul {
   position: relative;
	left: 0px;
	right: 0px;
	padding:0;
	margin:0;
	border:0;
	list-style-type:none;          /* we don't want to view the list as a list */
	line-height:1.5em;           /* globally set the menu's item spacing. note */
}                               /* this must be 1.0 or 1.5 or 2.0 for Mozilla */

div.localmenu li {
  position: relative;
  left: 0px;
  right: 0px;

  height: auto;
  line-height: 1.5em;
 
}

div.localmenu span.headline 
{
   background: rgb(0,0,112); 
	font-weight: bold;
   padding: 0px 5px 0px 5px;      
	margin:0;
}

div.localmenu ul li a {
   padding: 0px 5px 0px 5px;
   background: rgb(0,0,112); 
	display:block;
	height: auto; 
   font-weight: normal;
}

div.localmenu ul li a:link,
div.localmenu ul li a:visited {                    /* unselected top-level menu items */
	text-decoration:none;
	color:#F0F0F0;               /* this sets the unselected drop-down text color */
}

div.localmenu ul li:hover a,
div.localmenu ul li a:hover {                        /* selected top-level menu items */
	text-decoration:none;
	color: black;
	background-color: white;
}

div.localmenu span.headline b,
div.localmenu a b
{
	position: absolute;
	top: 0px;
	right: -4px;
}

div.localmenu li.dacmtl
{
  padding: 0px;
  margin: 0px;
  border: 0px;
  height: 0px;
  line-height: 0px;
  top: 2px;
  left: 0px;
}

div.localmenu li.dacmbl {
  height: 1.5em;
}

div.localmenu ul li.dacmbl span.dacmbl,
div.localmenu ul li span,
div.localmenu ul li span.headline,
div.localmenu ul li a,
div.localmenu ul li a:link
{
   position: relative;
   width: 100%;

}

