/* ---------------------------- */
/* STANDARD HTML TAG RESET		*/
/* ---------------------------- */

	body,
	h1, h2, h3,
	p, ul, li,
	form {
		border:0;
		margin:0px;
		padding:0px;
	}

/* ---------------------------- */
/* STANDARD HTML TAG DEFINITION	*/
/* ---------------------------- */

	body{
	 	background-color: #FFF;
		font-size: 1em;
	 	margin: 0;
	 	padding: 0;
	 	font-family: helvetica, verdana, arial;
	}
	
	h1 {
		display: none;
	}
	
	h2 {
		color: #900;
		font-family: helvetica, verdana;
		font-size: 1.4em;
		letter-spacing: 0.1em;
	}
	
	h3 {
		color: #000000;
		font-family: verdana, arial;
		font-size: 1.1em;
		margin-bottom: 0.5em;
	}

	h4 {
		color: #900;
		font-family: verdana, arial;
		font-size: 1.1em;
		margin: 0 0 0 0;
		padding: 0 0 0 0;
	}
	
	h5 {
		font-size: 1em;
		color: #900;
		text-decoration: none;
	}
	
	img {
		border: 0px;
	}

/* ---------------------------- */
/* PAGE ELEMENTS				*/
/* ---------------------------- */

	#page { 
		width: 1000px;
		margin-left: auto;
		margin-right: auto;
		background:url("../images/pagebg.jpg") repeat-y;
		background-color: #FFF;
	}

		/* ---------------------------- */
		/* HEADER						*/

		#header{
			text-align: center;
		}

		/* ---------------------------- */
		/* MENU							*/

		#top{
		 	width: 985px;
		 	height: 35px;
			position: relative;
			left: 8px;
			top: -4px;
			background: url("../images/menu-gradient.png") repeat-x;
		}

			/* ---------------------------- */
			/* WRAPPER-DIV FOR MENUBAREN	*/

			.menu { 	
				position: relative;
				top: 8px;
				z-index: 1000;
				font-size: 0.7em;	
				padding-left: 10px;
				text-align: center;
				color: #FFFFFF;
				height: 27px;
			}

				/* remove any default styles */
				.topnav, .topnav * {
					margin:0;
					padding:0;
					list-style:none;
				}

				/* top ul.topnav element */
				.topnav {
					line-height:1.0;
				}

					/* nested submenu ul elements */
					.topnav ul {
						position:absolute; /* remove from flow and allow positioning */
						top:-999em; /* hide submenu in screen-reader and search-engine friendly way */
						width:12em; /* VARIABLE. Must have a width for menu items to inherit. Use ems so font scaling does not break design*/
					}
						/* submenu items */
						.topnav ul li,
						.topnav a { /* this affects top level anchors too */
							width: 100%;/* stretch submenu items to width of submenu ul width (see .topnav ul rules above). When link text runs over more than one line, use padding and an explicit width for the anchor instead of width:100% and text-indent. Example below in the SKIN section */
						}

					/* all li elements */
					.topnav li {
						float:left; /* must float all li elements. Vertical submenu items are restrained by parent ul width (see .topnav ul rules above) */
						position:relative; /* make child submenu ul position relative to parent li */
						z-index:99; /* ensure submenus appear above other page items. Increase if needed, but do not exceed thickbox overlay z-index! */
					}

					/* all anchor elements */
					.topnav a {
						display:block; /* make IE6 obey width when text-indent is used */
					}

					/**** Position of second tier of nav ****/
					.topnav li:hover ul, /* this pure CSS hover is overridden by the .superfish rules below which are applied only when JavaScript is available. This way, the menu degrades to regular CSS dropdown when JavaScript is unavailable */
					ul.topnav li.sfHover ul /* this is the familiar IE6 hover support. With Superfish, all browsers use this rule when JS is available. This is because the JS needs to be able to control hide and reveal delays and animations without the pure CSS rule intruding. Note the tag selector ul.topnav instead of just .topnav - this gives it the most specificity of all and makes it trump all other positioning rules, including the .superfish overrides below */
					{
						left:0px; /* position first submenu directly under parent li */
						top:35px; /* VARIABLE. This is calculated by adding 1em text height to top and bottom anchor element padding (original skin: .75em top + .75em bottom + 1em text height = 2.5em) */
					}

				/**** Position of third tier of nav ****/
				 /* Note that this rule must appear here in the code order in order for it to override previous positioning rules so that this and subsequent nested submenus still remain hidden when the parent submenu is shown. Do not group these selectors with other top:-999em rules */
				.topnav li:hover li ul,
				.topnav li.sfHover li ul {
					top:-999em; /* hide submenu in screen-reader and search-engine friendly way */
				}
				
				/* DO NOT attempt to group these selectors with similar earlier rules. The code order is important so the rules override previous ones correctly */
				.topnav li li:hover ul, /* this pure CSS hover is overridden by the .superfish rules below which are applied only when JavaScript is available. This way, the menu degrades to regular CSS dropdown when JavaScript is unavailable */
				ul.topnav li li.sfHover ul /* this is the familiar IE6 hover support. With Superfish, all browsers use this rule when JS is available. This is because the JS needs to be able to control hide and reveal delays and animations without the pure CSS rule intruding. Note the tag selector ul.topnav instead of just .topnav - this gives it the most specificity of all and makes it trump all other positioning rules, including the .superfish overrides below */
				 {
					left:9.45em; /* VARIABLE. Offset subsequent submenus to the right by the amount you set for the submenu widths (see .topnav ul rules above) */
					top:-1px; /* position subsequent submenus horizontally aligned to parent li */
				}
				
				/**** Position of fourth tier of nav (not used on main demo page. You could delete this block for a three tiered nav) ****/
				 /* Note that this rule must appear here in the code order in order for it to override previous positioning rules so that this and subsequent nested submenus still remain hidden when the parent submenu is shown. Do not group these selectors with other top:-999em rules */
				.topnav li li:hover li ul,
				.topnav li li.sfHover li ul {
					top:-999em; /* hide submenu in screen-reader and search-engine friendly way */
				}
				/* DO NOT attempt to group these selectors with similar earlier rules. The code order is important so the rules override previous ones correctly */
				.topnav li li li:hover ul, /* this pure CSS hover is overridden by the .superfish rules below which are applied only when JavaScript is available. This way, the menu degrades to regular CSS dropdown when JavaScript is unavailable */
				ul.topnav li li li.sfHover ul /* this is the familiar IE6 hover support. With Superfish, all browsers use this rule when JS is available. This is because the JS needs to be able to control hide and reveal delays and animations without the pure CSS rule intruding. Note the tag selector ul.topnav instead of just .topnav - this gives it the most specificity of all and makes it trump all other positioning rules, including the .superfish overrides below */
				 {
					left:9.45em; /* VARIABLE. Offset subsequent submenus to the right by the amount you set for the submenu widths (see .topnav ul rules above) */
					top:-1px; /* position subsequent submenus horizontally aligned to parent li */
				}
				
				/**** Position of further tiers of nav ****/
				/* To add further tiers, you need copy the previous block of code (everything back until the "Position of fourth tier of nav" comment) and paste it in here. Then add an extra li just after .topnav in each of the pasted selectors. So the new block will differ from the copied block in the same way that the block for the fourth tier differs from the block for the third tier.*/
				
				
				/**** Very important ****/
				/* this negates the pure CSS hovers so submenu remains hidden and JS controls when and how it appears. This is in turn is overridden by the .sfHover rules above as they have greater specificity */
				/* notice there are three selectors here. You need three for a four tier menu system. If you had a five tier system you would copy the last selector of these three and paste it below to create a fourth selector and add another li just after the .superfish part. On the other hand if you only had a three tiered menu you could delete the third line here and save some file size.*/
				.superfish li:hover ul,
				.superfish li li:hover ul,
				.superfish li li li:hover ul {
					top: -999em; /* hide submenu in screen-reader and search-engine friendly way */
				}
				
				/* A quick note about issues with submenus appearing under Flash animations. Some say that setting wmode="opaque" or  wmode="transparent" on the embed or object tag is sufficient. This does fix many issues but I find it sometimes helps to also add this CSS: */
				embed, object {
					position: relative;
					z-index: 0;
					}

				/******************** SKIN ******************/

				.topnav {
					/* if you want to change font-size, do it here as opposed to setting it on deeper nested anchor elements for example,  so that the em unit is the same size for all elements in the menu */
					float:left; /* necessary if you don't want this element to collapse */
					background: url("../images/menu-gradient.png") repeat-x;
					height: 35px;
					font-family: verdana, arial;
					position: relative;
					top: -8px;
					}
					
					.topnav li {
						padding-top: 12px;
						width:7em; /* affects top level menu items only, as nested li elements have width 100% of their ul parent (see .topnav ul rules above)*/
						height: 23px;
						text-align: center;
						display: block;
					}

						.topnav li li {
							text-align: left;
							padding-top: 2px;
						}

					.topnav a {
						color: #fff;
						padding: 0em 0; /* note that the top and bottom padding will affect the 'top' value (marked with the word "VARIABLE") of the second tier of nav (see "essential rules" above and alter accordingly) */
						text-decoration:none;
						text-indent: 0.4em;
						font-size: 1em;
					}
					
					/* if link text runs over two or more lines, you will want padding in the anchor element instead of relying on text-indent to provide space. The following disabled rule shows how to style the submenu links in this case. Note that the width plus left and right padding must equal the width set above for the submenu (.topnav ul) */
					/*
					.topnav ul a {
						width: 7.45em;
						padding: .75em 1em;
						text-indent: 0;
						}
					*/
					
					.topnav li:hover, .topnav li.sfHover,
					.topnav a:focus, .topnav a:hover, .topnav a:active {
						background:#880000; /* hover highlight */
					}
					
						.topnav li li {
							background:#990000; /* slightly darker shade for nested submenus */
						}
						
							.topnav li li li {
								background:#990000; /* slightly darker shade for nested submenus */
							}


				/* ---------------------------- */
				/* SØGEFELT						*/

				#ajaxsearch {
					position: absolute;
					top: -1px;
					left: 790px;
					background: url("../images/search-bg-4.png") no-repeat;
					width: 155px;
					height: 20px;
					z-index: 1000000;
				}

					.AS_ajax_result {
						font-size: 0.8em;
						margin-top: 2px;
					}
					
					.AS_ajax_resultLink  {
						color: #900;
						text-decoration: none;
					}
					
					.AS_ajax_extract {
						padding-top: 2px;
						padding-left: 18px;
					}
					
					.ajaxSearch_highlight {
						background-color: #900;
						color: #FFF;
					}
					
					#ajaxsearch form {
						position: relative;
						left: 0px;
						width: auto;
						margin: 0;
					}
					
						#ajaxsearch form fieldset {
							width: 100px;
							border: none;
						}
					
					#ajaxSearch_input {
						width: 112px;
						background-color: transparent;
						position: absolute;
						top: 2px;
						left: 10px;
						width: 111px; 
						height: 16px; 
						padding: 2px 2px 0px 0px; 
						margin-left: 13px;
						margin-bottom: 10px;
						border: 0; 
						font-size: 1em;
					}
					
					#ajaxSearch_submit {
						width: 16px;
						height: 16px;
						margin: 0;
						padding: 0;
						border: 0;
						background-color: transparent;
						display: none;
					}
					
				
					/* ---------------------------- */
					/* SKJUL						*/
						
					#ajaxSearch_intro {
						display: none;
					}
					
					.ajaxSearch_resultsInfo {
						display: none;
					}
					
					#ajaxsearch #ajaxSearch_resultListContainer {
						display: none;
					}
					
					#ajaxsearch .ajaxSearch_paging {
						display: none;
					}
					
					.ajaxSearch_resultListContainer {
						display: none;
					}


			/* ---------------------------- */
			/* ADGANGFORALLE.DK				*/

			#adgang-for-alle {
				float: right;
				position: absolute;
				left: 960px;
				padding-top: 1px;
				padding-right: 3px;
			}
			
		/* ---------------------------- */
		/* BREADCRUMBS					*/
		
		#top #breadcrumbs {
			position: relative;
			left: 1em;
			margin-top: 10px;
			top: 0px;
			z-index: 10;
		}
		
			#top #breadcrumbs a {
				color: #900;
			}

	/* ---------------------------- */
	/* TEMPLATES FOR CONTENT		*/
	/* ---------------------------- */
	
		/* ---------------------------- */
		/* WRAPPER-DIV FOR TEMPLATES	*/
	
		#center {
		 	min-height: 340px;
			height: auto !important; 
			height: 340px;
			width: 985px;
			margin-top: 2em;
			line-height: 1.8em;
			font-size: 0.9em;
			
			
		}
		
			/* ---------------------------- */
			/* 1 KOLONNE					*/
			/* ---------------------------- */

			#one-col {
				position: relative;
				left: 8px;
			}
			
				#one-col a {
					color: #900;
					text-decoration: underline;
				}

			/* ---------------------------- */
			/* 2 KOLONNER					*/
			/* ---------------------------- */
			
				/* ---------------------------- */
				/* VENSTRE KOLONNE				*/
	
				#left-col {
					margin-left: 43px;
					margin-top: 8px;
					width: 424px;
					float: left;
					padding-right: 35px;
					padding-bottom: 8px;
					min-height: 400px;
				}
					
					#left-col ul {
						margin-left: 30px;
					}
				
					#left-col a {
						color: #900;
						text-decoration: underline;
					}
					
					#left-col p {
						margin-bottom: 2em;
					}
					
				/* ---------------------------- */
				/* HØJRE KOLONNE				*/
	
				#right-col {	
					float: right;
					width: 414px;
					margin-right: 38px;
					position: relative;	
					border-left: 1px dotted #900;
					padding-left: 30px;
					margin-bottom: 6px;
				}
					
					#right-col ul {
						margin-left: 30px;
					}

					#right-col a {
						color: #900;
					}
					
					#right-col p {
						margin-bottom: 2em;
					}
				
					/* ---------------------------- */
					/* TOP-BOX						*/
					
					#top-box {
						margin-left: 30px;
					}
					
						#top-box p {
							margin-bottom: 6px;
						}
				
					/* ---------------------------- */
					/* NYHEDER						*/
					
					#right-col h2 {
						margin-bottom: 12px;
						text-align: center;
						position: relative;
						font-size: 1.3em;
						margin-top: 0px;
					}
					
					#right-col #news {
						list-style-type: none;
						position: relative;
						left: 0px; 
					}
					
					#right-col #news p {
						margin-bottom: 0em;
					}
					
					#right-col ul li {
						margin-bottom: 10px;
					}
					
					#right-col ul li h3 {
						font-size: 1em;
						margin-bottom: 0px;
					}
					
						#right-col ul li h3 a:link, #right-col ul li h3 a:visited, #right-col ul li h3 a:active {
							color: #900;
							text-decoration: none;
						}

					#right-col ul li p {	
						padding-top: 2px;
						padding-left: 0px;
						font-family: helvetica, verdana;
						line-height: 1.2em;
						font-size: 1em;
						text-align: left;
						list-style-type: none;
					}
					
					#right-col ul li p a  {
						color: #900;
						text-decoration: underline;
					}
					
					#right-col ul li p a:hover {
						color: #900;
						text-decoration: underline;
					}
					
					#news-archive {
						text-align: center;
						position: relative;
						top: 4px;
					}
					
					#news-archive a {
						font-size: 1.6em;
						color: #900;
						text-decoration: underline;
					} 
					
					/* ---------------------------- */
					/* BOTTOM-BOX						*/
					
					#bottom-box {
						margin-top: 32px;
						margin-left: 30px;
					}
					
						#bottom-box p {
							margin-bottom: 6px;
						}

	/* ---------------------------- */
	/* FOOTER						*/
	/* ---------------------------- */

		#footer {
		 	width: 985px;
		 	height: 35px;
			position: relative;
			left: 8px;
			background: url("../images/menu-gradient.png") repeat-x;
			font-size: 0.8em;
			color: #FFFFFF;
			clear:both;
			margin-top: 16px;
		}

			#footer p {
				position: relative;
				top: 10px;
				left: 6px;
				line-height: 1.08em;
			}
			
				#footer #lastupdate {
					color: #C8C8C8;
					font-size: 0.8em;
					float: right;
					position: relative;
					top: -7px;
					left: -18px;	
				}
				
					#footer #lastupdate #time {
						text-align: center;
						position: relative;
						top: -3px;
					}
			
			#footer a {
				color: #FFF;
			}
			
			#footer img {
				position: relative;
				top: -6px;
				left: -10px;
				float: right;
			}
			
			/***** TIL PERSONDATABASE ****/
			.tabs {
				position: relative;
				top: -8px;
			}

			.tabNavigation {
				list-style-type: none;
				float: left;
			}

			.tabNavigation li {
				display: inline;
			}

			#alle {
				position: relative;
				top: 0px;
			}

			.person {
				position: relative;
				left: -20px;
				top: 12px;
				height: 20px;
				width: 640px;
				margin-bottom: 2px;
				background-color: #75A3BA;
				color: #000;
				padding-left: 4px;
			}

				.person h4 {
					font-size: 1em;
					display: inline;
					color: #000;
				}

				.person p {
					display: inline;
					color: #000;
				}



			/**** GREYBOX ****/

			#GB_overlay {
			  background-image: url(../images/overlay.png); 
			  position: absolute;
			  margin: auto;
			  top: 0;
			  left: 0;
			  z-index: 100;
			  width:  100%;
			  height: 100%;
			}

			* html #GB_overlay {
			  background-color: #000;
			  background-color: transparent;
			  background-image: url(../images/blank.gif);
			  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../images/overlay.png", sizingMethod="scale");
			}

			#GB_window {
				position: fixed;
				top: 20%;
				left: 50%;
				  background: #fff;
			  border: 5px solid #75A3BA;
			  overflow: auto;
			  width: 300px;
			  height: 300px;
			  z-index: 150;
			}


			#GB_frame {
			  border: none;
			  overflow: auto;
			  width: 100%;
			  height: 278px;
			}

			#GB_caption {
			  font: 0.7em bold helvetica, verdana, sans-serif;
			  color: #fff;
			  background: #75A3BA;
			  padding: 2px 0 2px 5px;
			  margin: 0;
			  text-align: left;
			}

			#GB_window img {
			  position: absolute;
			  top: -1px;
			  right: 1px;
			  cursor: pointer;
			  cursor: hand;
			}