/*	FORMAT	*/
body {margin: 0; padding: 0; font-family: Georgia, "Times New Roman", Times, serif; background: url("../bilder/dh_bg.jpg");}

/*	CONTAINER		*/
#bgContainer {background:  url("../bilder/dh_container_bg.jpg") repeat-y; float: left;}  /* Ligg under og nedanfor containerelementet */
#container {width: 1079px; min-height: 810px; background: url("../bilder/dh_hovedside.jpg") no-repeat; position: relative;} 

/*	HEADER	*/
#header {position: relative;}
#header a {position: absolute; width: 180px; height: 80px; top: 70px; left: 100px; text-decoration: none; text-indent: -5000px; background: url("../bilder/home_off.gif") no-repeat 155px 7px;}
#header a:hover {background-image: url("../bilder/home_on.gif");}

/*	SESSION	*/
#session {position: absolute; right: 0; background: #4f515c; font-size: 0.8em;}
#session p, #session a {margin: 0.2em auto; color: #fff;}

/*	MENU	*/
#menu, #menu ul {margin: 0; padding: 0; list-style-type: none;}
#menu {width: 140px; margin: 170px 0 auto 100px; float: left; display: inline;}
#menu a#valg {color: ; background: #e3dbc9;}
#menu li {margin: 0; padding: 0; display: inline; }
#menu ul li a {color: #671905; font-size: 1.0em; font-weight: bold; padding: 0.4em 0; display: block; text-decoration: none; border-top: 1px solid #afada7;}
#menu ul ul li a {padding: 0.1em 0 0.1em 10px; color: #000; font-size: 0.8em; font-weight: normal; border: none;}
#menu ul ul li ul li a {padding-left: 20px;}
#menu ul ul li ul li ul li a {padding-left: 30px;}
#menu h2 {font-size: 1.2em; font-weight: normal; font-style: italic;}

/* Språkvelger */
#langSelector {margin: 3em 0 0 0;}
#langSelector fieldset {border: none; padding: 0; margin: 0;}
#langSelector h2 {font-size: 0.8em; font-style: italic; margin: 0 0 0.4em 0;}
#langSelector p {font-size: 0.8em;margin: 0 0 0.2em 0;}

/*	CONTENT	*/
#content {width: 600px; margin: 140px 160px 20px 40px; font-size: 0.8em; float: left; display: inline; }
#content h1 {font-size: 1.5em;}
#content h2 {font-size: 1.2em; }
#content h3 {font-size: 1.0em; }
#content p {line-height: 1.5em;}
/* Ingress */
#content .ingress {}
/*Lapp */
#content .elementA {width: 304px; margin: 1em auto; padding: 0 0 39px 0; background: url("../bilder/lapp_bunn.gif") no-repeat bottom;}  
#content .elementA p {margin: 0; padding: 50px 30px 10px 10px; background: url("../bilder/lapp_topp.gif") no-repeat top;}
/*Lapp med HMS, Peders tilføyelse */
#content .elementB {width: 304px; margin: 1em 0; padding: 0 0 39px 0; background: url("../bilder/lapp_bunn.gif") no-repeat bottom; position: relative;}
#content .elementB p {margin: 0; padding: 120px 30px 10px 10px; background: url("../bilder/lapp_hms_topp.gif") no-repeat top; font-family: Arial, Helvetica, sans-serif; font-size: 0.9em;}

/*	Lenker	*/ 
#content a {color: #0d508b; text-decoration: none; border-bottom: 1px dashed;}
#content a:visited {color: #0d508b;}
#content a:hover {color: #1280c2; border-bottom-style: solid; }

/* Tabell */
table caption {font-weight: bold;}

/* BILDER */
/*#documents img {padding: 3px; background: #f4f0e7; border: solid 1px #e3dbc9; } Lagar krøll med bilder i tekstdokumenter*/
#content .bilde, #content .bildeVenstre, #content .bildeHogre {padding: 3px; border: 1px solid #d5cfc6; background: #fefaf5;}
#content .bildeVenstre {margin: 0 15px 0.5em 0; float: left;}
#content .bildeHogre {margin: 0 0.5em 0 15px; float: right;}
#content .tekst {padding: 0.3em 5px; }
#content .tekst p.bildetekst {margin: 0; padding: 0; line-height: 1.35em; font-size: 0.9em; color: #2a2a2a;}
#content .tekst p.bildeKilde {margin: 0; padding: 0.3em 0 0; line-height: 1em; font-size: 0.75em; color: gray; text-align: right;}

/* BILDEGALLERI */
#galleries {float: left; background: #e3dbc9;}
#galleries  h2 {margin: 0.2em 5px;}
#galleries .documentListItem {}
#galleries .documentListItem img {border: 0;}
#galleries .documentListItem a {width: 96px; height: 96px; margin: 5px; padding: 3px; float: left; background: #f4f0e7;  border: 1px solid #e3dbc9;}
#galleries .documentListItem a:hover {margin: 4px; border: 2px solid #1a1abb;}
#galleries a#prev {float: left;}
#galleries a#next {float: right;}

/* FLASH */
#flashcontent {background: #f4f0e7; padding: 3px; border: solid 1px #e3dbc9; clear: both; float: left;}

/* VIDEO */
#movies {clear: both;}
#videocontent {background: #f4f0e7; padding: 3px; border: solid 1px #e3dbc9; clear: both; float: left;}

/*	FOOTER	*/
#footer {width: 810px; height: 30px; margin: 0 66px; padding: 20px 0 10px; position: relative; clear: both; float: left;}
#footer a {position: absolute; text-decoration: none; text-indent: -5000em; }
#footer a#hsh {right: 0; width: 40px; height: 30px; background: url("../bilder/logo_hsh.gif");}
#footer a#mf {right: 60px; width: 44px; height: 30px; background: url("../bilder/logo_mf.gif");}
#footer a#gyldendal {right: 129px; width: 37px; height: 30px; background: url("../bilder/logo_gnf.gif");}
