/* ----- MAIN ELEMENTS ----- */
body 
{
  margin: 0px;
  padding: 0px;
  background-image: url("bakgrunn.gif");
  background-repeat: no-repeat;
  background-position: 480px 0px;
  background-color: #f3f4ed;
  font-size: 0.7em;
  font-family: verdana, arial, sans-serif;
  color: #37424a;  
}

#page
{
  margin: 0px;
  padding: 0px;
}

#main
{
  margin-top: 116px;
  margin-left: 50px;
  width: 924px;
  padding-bottom: 10px;
}

html>body #maincontent_full,
html>body #maincontent_related,
html>body #maincontent_portlet,
html>body #maincontent_smallportlet
{
  height: auto;
  min-height: 450px;
}

#maincontent_full,
#maincontent_related,
#maincontent_portlet,
#maincontent_smallportlet
{
  height: 450px;
  background-color: white;
  background-image: url("maincontent.gif");
  background-repeat: repeat-y;
  padding-bottom: 35px;
}

#maincontent_portlet
{
  margin-right: 299px; /* width of portlet */
}

#maincontent_smallportlet
{
  margin-right: 185px; /* width of smallportlet */
}

#content
{
  margin-left: 165px;
}

#maincontent_related #content
{
  margin-right: 276px; /* width of related */
}

#contentwrapper
{
  margin-left: 20px;
  margin-right: 20px;
}

#content #contentwrapper font
{
  font-size: 1.0em;
  font-family: verdana, arial, sans-serif;
}

/* ----- COMMON ELEMENTS ----- */
h1
{
  font-size: 1.4em;
  margin-top: 0px;
  margin-bottom: 6px;
  padding: 0px;
}

h2
{
  font-size: 1.2em;
  text-transform: uppercase;
  margin-bottom: 1px;
}

h3
{
  font-size: 1.0em;
  font-weight: bolder; 
  margin-top: 0px;
  margin-bottom: 1px;
  color: #878e92;
}

div.updateddate
{
  margin-top: 30px;
}

iframe
{
  margin: 0px;
  padding: 0px;
}

input, select, textarea
{
  font-size: 0.8em;
  font-family: verdana, arial, sans-serif;
}

a
{
  text-decoration: none;
  color: #0b87ce;
}

a:visited
{
  color: #61b4e5;
}

a img, img
{
  border-style: none;
}


table, tr, td, th 
{
  border-collapse: collapse;
  border: none;
  margin: 0px;
  padding: 0px;
  font-size: 1.0em;
}

#contentwrapper table 
{ 
  border-collapse: collapse; 
  margin-bottom: 1em;
}


#contentwrapper tr
{
}

#contentwrapper th,
#contentwrapper td 
{
  padding: 4px 4px 5px 4px;
  vertical-align: top;
  border-left: solid 1px white;
  border-right: solid 1px white;
}

#contentwrapper th,
#contentwrapper td.overskrift
{
  background-color: #bec4c8;
  text-align: left;
  font-weight: normal;
}

#contentwrapper td 
{ 
  border-top: none;
  border-bottom: solid 1px #bec4c8;
} 


#contentwrapper ul
{
}

#contentwrapper li
{
  padding-bottom: 10px;
}

div, span, p
{
  margin: 0px;
  padding: 0px;
}

#contentwrapper p
{
  margin-bottom: 1em; /* adding margin-bottom for p */
}

#contentwrapper #related p
{
  padding-top: 12px;
  margin-bottom: 0px; /* removing margin for p elements within related */
}

.nyhet
{
  border-bottom: solid #afb3b7 1px;
  padding-bottom: 28px; /* the space between the text of the nyhet and the bottom border */
  margin-bottom: 18px; /* the space below the bottom border (and therefore above the next nyhet) */
  float: left; /* added to make the nyhet-div grow as the ingress image floating right is higher than content */
  width: 439px; /* in combination with above mentioned float */
}

#flerenyheter
{
  display: block;
  clear: left;
  border-bottom: solid #afb3b7 1px;
  list-style: none;
  padding: 0px;
  margin: 0px;
  margin-bottom: 18px;
  padding-bottom: 28px;
}

#flerenyheter li
{
  padding-bottom: 0px;
}

#maincontent_portlet .nyhet
{
  width: 416px;
}

.nyhet h1 a 
{
  color: #37424a;
}

.nyhet h1 a:visited 
{
  color: #37424a;
}

.nyhet .nyhetlink
{
  float: right;
}

.nyhet .ingress
{
  float: none; /* turns off floating from img.ingress which is used in single article pages */
}

.nyhet .lesmer
{
  display: inline;
  white-space: nowrap;
  padding-left: 4px;
}

.nyhetclear
{
  clear: both;
  padding-bottom: 10px;
}

#contentwrapper #searchform div
{
  clear: left;
  /* margin-bottom: 30px; */ /*for new search*/
}


#contentwrapper #searchform label
{
  display: block;
  float: left; 
  width: 8em; /* remove for new search*/
  /* width: 78px; */    /*for new search*/
  /* padding-top: 5px; */    /*for new search*/
}

#contentwrapper #searchform select
{
  width: 20em;
}


#contentwrapper #searchform input.submitsok
{
  background-color: #e2e4e5;
  font-size: 0.9em;
  color: #37424a;  
  font-weight: plain;
  border: 2px solid #bec4c8;
  padding: 0px;
  margin-top: 3px;
}

#contentwrapper div.searchresult
{
  /*padding-top: 5px;*/ /*for new search*/
  padding-top: 10px;
  /*padding-bottom: 15px;*/ /*for new search*/
  border-bottom: solid #e7e9db 1px;
}

/*remove for new search*/
#contentwrapper span.searchhit
{
  background-color: #e7e9db;
}

#contentwrapper div.searchresult span.searchkey
{
  background-color: #e7e9db;
}

#contentwrapper div.searchresult a:hover
{
  text-decoration: underline;
}


#contentwrapper div.bilde
{
  float: right;
}

#contentwrapper span.enlarge
{
 clear: both;
 float: right;
 margin-top: -8px;
}

div.bildetekst
{
  padding-left: 20px;
  padding-right: 20px; 
}

#contentwrapper div.bildetekst
{
  margin-top: 0px;
  border-bottom: solid #afb3b7 1px;
  padding-bottom: 17px;
  /* margin-bottom: -10px; */
  margin-bottom: 5px;
}


#contentwrapper #film
{
  width: 100%;
  margin-bottom: 10px;
}

#contentwrapper #bildegalleri_js,
#contentwrapper #bildegalleri_nojs
{
  padding-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

#contentwrapper #bildegalleri_js div.hovedbilde
{
  width: 440px;
  height: 294px;
  padding: 0px;
  margin: 0px auto;
  position: relative;
  text-align: center;
  vertical-align: bottom;
  overflow: hidden;
}

#contentwrapper #bildegalleri_js #mainpicture
{
  width: 440px;
  padding: 0px;
  margin: 0px;
  position: absolute;
  bottom: 5px; 
  left: 0px;
  cursor: pointer;
}

#contentwrapper #bildegalleri_js div.hovedcaption
{
  width: 440px;
  height: 40px;
  padding: 0px;
  margin: 0px auto;
  position: relative;
  text-align: center;
  vertical-align: bottom; 
  overflow: hidden;
}


#contentwrapper #bildegalleri_js div.thumbs,
#contentwrapper #bildegalleri_nojs div.thumbs
{
  width: 440px;
  padding: 5px 0px 5px 0px;
  margin: 0px auto;
  margin-bottom: 15px;
  background-color: #f3f4ed;
  text-align: center;
  display: none;
  overflow: hidden;
}

#contentwrapper #bildegalleri_nojs div.thumbs
{
  width: 435px;
  padding-left: 10px;
  display: block;
}


#contentwrapper #bildegalleri_js div.thumbs div.thumb,
#contentwrapper #bildegalleri_nojs div.thumbs div.thumb
{
  width: 75px;
  height: 50px;
  margin: 5px;
  position: relative;
  float: left;
  vertical-align: bottom; 
  text-align: center;
  display: block; 
  overflow: hidden;
} 

#contentwrapper #bildegalleri_js div.thumbs div.thumb img,
#contentwrapper #bildegalleri_nojs div.thumbs div.thumb img
{
  max-width: 75px;
  max-height: 50px;
  vertical-align: bottom; 
  overflow: hidden;
}

#contentwrapper #bildegalleri_js div.thumbs div.nav,
#contentwrapper #bildegalleri_js div.thumbs div.nav
{  
  width: 50px;
  height: 35px;
  padding: 0px;
  margin: 0px;
  margin-top: 10px;
  float: left; 
  font-size: 18px;
  font-weight: bold;
  display: block; 
} 

#contentwrapper span.vedleggoverskrift,
#contentwrapper span.eksternelenkeroverskrift,
#contentwrapper span.artikkelbarnoverskrift
{
  font-weight: bolder;
  color: #878e92;
}

#contentwrapper span.vedleggoverskrift
{
  background-image: url("vedlegg-ikon.gif");
  background-position: center right;
  background-repeat: no-repeat;
  padding-right: 12px;
}

div.vedlegg ul, 
div.eksternelenker ul, 
div.artikkelbarn ul
{
  list-style: none;
  padding: 0px;
  margin: 5px 0px 10px 5px;
}

div.vedlegg li, 
div.eksternelenker li, 
div.artikkelbarn li
{
  background-image: url("listdashgreen.gif");
  background-repeat: no-repeat;
  background-position: 0px 0.6em;
  padding-left: 10px;
  padding-bottom: 0px !important;
  margin-bottom: 5px !important;
}

div.vedlegg li a, 
div.vedlegg li a:visited, 
div.eksternelenker li a,
div.eksternelenker li a:visited,
div.artikkelbarn li a,
div.artikkelbarn li a:visited
{
  color: #898f4b;
}


#contentwrapper table.vldetail
{
  width: 100%;
}

#contentwrapper table.vldetail th.vldetail,
#contentwrapper table.vldetail a
{
  font-weight: bold; 
}




/* needs to be qualified to override default style for #contentwrapper p elements */
#contentwrapper p.stikktittel
{
  font-weight: bolder;
  margin-bottom: 6px;
}

.ingress
{
  font-weight: bolder;
  margin-bottom: 10px;
}

img.ingress
{
  float: right;
  margin-left: 5px;
  margin-bottom: 10px;
}

img.hovedbilde
{
  margin-bottom: 10px;
}

.nyhetsarkiv
{
  list-style: none;
  margin: 0px;
  padding: 0px;
}

#maincontent_full .sidenavigasjon,
#maincontent_related .sidenavigasjon
{
  background-color: #F6F7F7;
  font-weight: bold;
  color: #bec4c8;
  margin-top: 20px;
  margin-bottom: 15px;
  padding: 5px 10px 5px 10px;
  text-align: center;
  height: 15px;
}


.sidenavigasjon .forste,
.sidenavigasjon .siste
{
  width: 55px;
  height: 15px;
  display: block;
}

.sidenavigasjon .forste
{
  float: left;
  text-align: left;
}

.sidenavigasjon .siste
{
  float: right;
  text-align: right;
}

#maincontent_full .sidenavigasjon .midten
{
  float: left;
  width: 586px;
  display: block;
}

#maincontent_related .sidenavigasjon .midten
{
  float: left;
  width: 313px;
  display: block;
}

.sidenavigasjon .otherpage,
.sidenavigasjon .thispage
{
  
}


.sidenavigasjon .thispage
{
  color: #df7a00;
}



#trace
{
  height: 37px; /* total height should be 45 px */
  padding-top: 8px; /* should be adjusted according to top part of left menu */
  color: #df7a00;
}

#trace a
{
  color: #df7a00;
}

#utskrift
{
  text-align: right;
  padding-bottom: 5px;
}

#utskrift a:visited
{
  color: #0b87ce;
}

.utskriftsikon
{
  float: right;
  margin-left: 7px;
}

/* ----- ADJUSTMENTS FOR VEGMELDINGER ----- */
h1.vmtittel
{
  color: white;
  background-color: #a1a670;
  display: block;
  text-transform: uppercase;
  padding: 14px 0px 14px 15px;
  margin-top: -15px;
  margin-bottom: 1px;
}

#vmdiv
{
  margin-top: -15px;
  width: 719px;
  color: white;
  background-color: #a1a670;
}

#vmdiv form
{
  font-size: 11px;
  float: right;
  margin: 0px;
  padding: 13px 15px 0px 0px;
}

#vmdiv form #vmsok
{
  margin-bottom: -3px;
}

#vmtitteldiv h1 
{
  text-transform: uppercase;
  margin: 0px;
  padding: 14px 0px 14px 15px;
}




/* ----- ADJUSTMENTS FOR VEGPROSJEKTER ----- */
h2.vp
{
  background-color: #e7e9db;
  padding: 4px 0px 4px 5px;
  margin-bottom: 3px;
}

h3.vp
{
  color: #37424a;
  padding-left: 5px;
  margin-top: 7px;
}

#contentwrapper table.vp
{
  width: 100%;
  border-top: solid 1px #bec4c8;
}

#contentwrapper table.vp th,
#contentwrapper table.vp td
{
  border-left-style: none;
  border-right-style: none;
  background-color: transparent;
  border-bottom: solid 1px #bec4c8;
  padding-top: 10px;
  padding-bottom: 10px;
}

#contentwrapper table.vp th
{
  width: 160px;
  padding-left: 17px;
}

#contentwrapper table.vp td
{
  font-weight: bolder;
}

#contentwrapper table.vpb
{
  border: none;
  margin-left: 5px;
}

#contentwrapper table.vpb th,
#contentwrapper table.vpb td
{
  background-color: transparent;
  border: none;
  padding: 2px 0px;
}

#contentwrapper table.vpb th
{
  width: 140px;
}

#contentwrapper table.vpb td
{
  font-weight: bolder;
}

div.rolle
{
  color: #878e92;
  font-weight: bolder; 
  padding-left: 5px;
}

div.beskrivelse
{
  padding-left: 5px;
}

img.vpsokekart
{
  float: left;
  border: solid #e7e9db 1px;
}

div.vpsokeresultat
{
  margin-left: 272px;
}

div.vpsokeresultatnomap
{
  margin-left: 0px;
  width: 350px;
}

ul.vpsokeresultat
{
  list-style: none;
  margin: 0px;
  padding: 0px;
}

#contentwrapper ul.vpsokeresultat li,
p.vpresultparagraph
{
  margin: 0px;
  padding: 15px 0px 20px 15px;
  border-bottom: solid #e7e9db 1px;
}

div.vpsoketittel,
div.vpsoketittelnomap
{
  margin: 0px;
  padding: 15px 20px;
  background-color: #e7e9db;
}

div.vpsoketittel
{
  margin-left: 272px;
}

div.vpsoketittelnomap
{
  margin-left: 0px;
  width: 310px;
}

div.vpsoketittel h2,
div.vpsoketittelnomap h2
{
  margin: 0px;
  padding: 0px;
  text-transform: none;
}

ul.vpsokeliste
{
  list-style: none;
  padding: 0px;
  margin-left: 292px;
}

div.vpsep
{
  height: 5px;
  background-color: #e7e9db;
  margin-bottom: 3px;
}

/* ----- ADJUSTMENTS FOR DELPORTALER ----- */

/* Forside type A */
#dpa
{
  position: absolute;
  top: 200px;
  left: 223px;
  width: 721px;
  height: 251px;
}

#dpa #hovedfelt
{
  position: absolute;
  top: 0px;
  left: 10px;
  width: 721px;
  height: 251px;
  border-top: solid #afb3b7 1px;
  border-bottom: solid #afb3b7 1px;
  background-color: transparent;
}

/* Forside type B */
#dpb
{
  background-color: transparent;
  padding: 0px;
}

#dpb div.hovedfelt
{
  position: float;
  width: 420px;
  display: block;
  overflow: hidden;
  /* height: 251px; */
  background-color: transparent;
}

#dpb div.hovedfelt .artikkel
{
  padding: 0px;
  margin: 0px;
  margin-bottom: 20px;
}

#dpb div.hovedfelt .nyhet
{
  width: 420px; /* override default width for .nyhet */
}

#dpb div.hovedfelt .nyhet .ingresswrapper
{
  margin-left: 101px;
  display: block;
}

#dpb div.hovedfelt .nyhet .ingress
{
  float: none; /* turns off floating from img.ingress which is used in single article pages */
}


#dpb div.hovedfelt .nyhet .nyhetlink
{
  float: left;
  margin-right: 15px;
  /* background-color: green; */
}

#dpb div.hovedfelt .nyhettitle
{
  float: left;
  margin-right: 15px;
  border-bottom: solid #bec4c8 0px;
  border-top: solid #bec4c8 0px; 
  width: 420px; /*same as .nyhet */
  margin-top: 10px;
  margin-bottom: 30px;
  padding-top:5px;
  padding-bottom:5px;
  padding-left: 5px;
  font-weight: bold;
  background-color: #f3f4ed;
}



#dpb div.hovedfelt .thickseparator
{
  clear: both;
  border-bottom: solid #bec4c8 2px;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 420px; /*same as .nyhet */
}


#dpb #hoyre
{
  position: absolute;
  left: 679px;
  top: 161px; /* */
  width: 275px;
  background-color: transparent;
}



/* Snarveier */
#dpa #hovedfelt #snarveier
{
  position: absolute; 
  top: 50px;
  left: 0px;
  width: 277px;
  height: 150px;
  overflow: visible;
}

#dpa #hovedfelt #snarveier a
{
  width: 267px; /* width snarveier minus left-padding */
  height: 22px;
  display: block;
  font-size: 15px;
  font-weight: normal;  
  color: #37424a;
  vertical-align: baseline;
  background-color: white; 
  padding: 4px 0px 0px 10px;
  margin-bottom: 4px;
  margin-top: 4px;
}

#dpa #hovedfelt #snarveier a:hover
{
  background-color: #d7d9db;
}


#dpa #hovedfelt #snarveier div.separator
{
  width: 277px; /* equal to #snarveier */
  height: 1px;
  border: none;
  overflow: hidden;
  color: #afb3b7;
  background-color: #afb3b7;
}

#dpb #hoyre #snarveier
{
   float: left;
}

#dpb #hoyre #snarveier .title
{
  color: white;
  background-color: #898f4b;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 20px;
  text-transform: uppercase;
  float: left;
  width: 255px; /* width 275 minus padding 20 */
  margin-top: 7px;
  margin-bottom: 0px;
  display: block;
  font-size: 1.0em;
  font-weight: normal;
}

#dpb #hoyre #snarveier a
{
  display: inline;
  float: left;
  width: 255px; /* width 275 minus padding 20*/
  background-color: #a1a56f;
  color: white;
  padding-left: 20px;
  padding-top: 5px; /* should be equal to kampanjetekst padding-top */
  padding-bottom: 5px;
  margin-right: 1px;
  margin-top: 1px;
}

#dpb #hoyre #snarveier a:hover
{
  color: #898f4b;
  background-color: white;
  background-image: url("corner4.gif");
  background-position: bottom left;
  background-repeat: no-repeat;
}

#dpa #hovedfelt #bilde
{
  position: absolute;
  top: 10px;
  left: 290px; /* width snarvei + 13px */
  width: 431px;
  height: 231px; /* height snarveierogbilde minus 2*10px */
  overflow: hidden;
  background-color: transparent;
}

#dpa #hovedfelt #bilde div.mouseover
{
  position: absolute;
  top: 10px; /*10px*/
  left: 10px; 
  width: 240px;
  height: 200px; /* height forsidebilde minus 10px + padding top/bottom*/
  padding-bottom: 11px;
  background-image: url("FKmouseoverBackground1.gif");
  background-repeat: no-repeat;
  background-position: -1px 0px;
  filter:alpha(opacity=95); /* opacity IE */
  -moz-opacity:.95; /* opacity mozilla */
  opacity:.95; /* opacity css3 */
  overflow: hidden;
}

#dpa #hovedfelt #bilde p.tittel,
#dpa #hovedfelt #bilde p.forklaring
{
  margin-left: 22px; /* margin from edge of picture to div.mouseover + 10px*/
  margin-right: 12px;
  color: #37424a;
}

#dpa #hovedfelt #bilde p.tittel
{
  font-size: 14px;
  font-weight: bold;
  margin-top: 33px; /* distance from top of mouseover-div to the title */
  padding-bottom: 5px;
  display: block;
  border-bottom: solid #AFB3B7 1px;
  background-color: transparent;
}

#dpa #hovedfelt #bilde p.forklaring
{
  font-size: 12px;
  font-weight: normal;
}

/* Kampanjelinker til delportalforside (dpa og dpb) */
#dpa #kampanjer
{
  position: absolute;
  top: 261px; /* height snarveierogbilde + 10px  */
  left: 10px; /* equal to snarveier left */
  width: 733px; /* width snarveier + 25px + width forsidebilde */
  height: 110px;
  overflow: hidden;
}

#dpb #hoyre #kampanjer
{
  width: 275px; /* equal to width #dpb hoyre */
  overflow: hidden;
  display: block;
  float: left;
}


#kampanjer ul{
  list-style: none;
  margin: 0px; /* removes any default value */
  padding: 0px; /* removes any default value */
}


#kampanjer li{
  float: left;
  background-color: #f3f4ed;
  margin: 0px;
  padding: 0px;
}

#dpa #kampanjer li{
  width: 233px;
  height: 110px;
  margin-right: 11px;
}

#dpb #hoyre #kampanjer li{
  width: 275px;
  height: 110px;
  margin-top: 8px;
}

#kampanjer div.utenbilde p.tittel,
#kampanjer div.utenbilde p.forklaring,
#kampanjer div.medbilde p.tittel,
#kampanjer div.medbilde p.forklaring
{
  margin-left: 12px;
  margin-right: 12px;
}

#kampanjer div.utenbilde p.tittel,
#kampanjer div.medbilde p.tittel
{
  font-size: 14px;
  font-weight: normal;
  color: #37424a;
  margin-top: 12px;
  padding-bottom: 5px;
  background-color: transparent;
  display: block;
  border-bottom: solid white 2px;
}

#kampanjer div.utenbilde p.forklaring,
#kampanjer div.medbilde p.forklaring
{
  font-size: 11px;
  font-weight: normal;
  color: #37424a;
  margin-top: -10px;
}

#dpa #kampanjer div.medbilde p.tittel,
#dpa #kampanjer div.medbilde p.forklaring
{
  margin-left: 82px;
}

#dpb #hoyre #kampanjer div.medbilde p.tittel,
#dpb #hoyre #kampanjer div.medbilde p.forklaring
{
  margin-left: 102px;
}

#kampanjer div.utenbilde a,
#kampanjer div.medbilde a
{
  font-weight: normal;   
  color: #61b4e5;
}

#kampanjer div.utenbilde p.tittel a,
#kampanjer div.medbilde p.tittel a
{
  font-weight: normal; 
  color: #37424a;
}

#kampanjer div.utenbilde p.tittel a:hover,
#kampanjer div.medbilde p.tittel a:hover
{
  text-decoration: underline;
}

#kampanjer div.medbilde img.kampanjebilde
{
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  float: left; 
}

#dpa #kampanjer div.medbilde img.kampanjebilde
{
  top: 20px; 
  left: 10px; 
  width: 60px; 
  height: 60px;
}

#dpb #hoyre #kampanjer div.medbilde img.kampanjebilde
{
  top: 3px; 
  left: 10px; 
  width: 80px; 
  height: 80px;
}


/* Spørsmål og svar */
#faq
{
  margin-top: 30px;
}

#faq div.faq
{
  margin-top: 20px;
  margin-bottom: 15px;
}

#faq div.faq div.spm,
#faq div.faq div.svar
{
  text-align: justify;
  padding: 10px;
}

#faq div.faq div.spm
{
  background-color: #f3f4ed;
}


/* ----- ADJUSTMENTS FOR MAIL (SOA) ---- */
body.epost
{
  padding-left: 10px;
}

#epost
{
  float: left;
  width: 600px;
  margin-top: 8px;
  padding-top: 25px; 
}

#epost .nyhet
{
  width: 100%; 
  margin-left: 0px;
  margin-bottom: 10px;
}

#epost .separator
{
  width: 100%; 
  border-bottom: solid #afb3b7 1px;
  margin-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

#epost .disclaimer
{
  font-size: 9px;
  color: #5f686e;
  margin-bottom: 10px;
}

/* ----- ADJUSTMENTS FOR FØRERKORT ----- */


/** Navigator ***/
#related #fknavigator
{
  width: 254px;
  padding: 0px;
  margin: 0px;
  overflow: hidden;
  background-color: white;
}

#related #fknavigator .duharvalgt
{
  width: 214px;
  display: block; 
  float: none;
  padding: 6px 20px 6px 20px;
  margin: 0px;
  font-size: 1.0em;
  font-weight: normal;
  text-transform: uppercase;
  color: white;
  background-color: #898f4b;
}

#related #fknavigator #klasser
{
  width: 246px; /* total width = width + padding right/left + some extra for IE6*/
  padding: 15px 0px 5px 15px;
  margin: 5px 10px 20px 0px;
  overflow: hidden;
  background-image: url("kryss.gif");
  background-repeat: no-repeat;
  background-position: 8px 50px;
}

#related #fknavigator #klasser div.ikon
{
  width: 73px;
  height: 42px;
  padding: 0px;
  margin: 0px 6px 11px 0px;
  overflow: hidden;
  float: left;
  background-color: transparent;
}

#fknavigator #trinn
{
  width: 264px; 
  overflow: hidden;
  margin: 0px 0px 10px 0px;
  padding: 5px 0px 10px 0px;
  background-color: white;
}

#fknavigator #trinn a.active,
#fknavigator #trinn div.selected,
#fknavigator #trinn div.inactive
{
  height: 70px;
  width: 115px; /* total width= width + padding left/right */
  display: block;
  float: left;
  font-size: 12px;
  padding: 10px 3px 0px 5px;
  margin: 0px 8px 8px 0px;
  overflow: hidden;
}

#fknavigator #trinn div.selected
{
  color: white;
  background-color: #898f4b;
  background-image: url("corner8.gif"); 
  background-position: bottom left;
  background-repeat: no-repeat;
}


#fknavigator #trinn a.active
{ 
  color: white;
  background-color: #b8bc93;
  background-image: url("corner8.gif");
  background-position: bottom left;
  background-repeat: no-repeat;
}

#fknavigator #trinn a.active:hover
{
  color: white;
  background-color: #d0d2b7;
  background-image: url("corner8.gif");
  background-position: bottom left;
  background-repeat: no-repeat;
}

#fknavigator #trinn div.inactive
{
  color: white;
  background-color: #f3f4ed;
  background-image: url("corner8.gif");
  background-position: bottom left;
  background-repeat: no-repeat;
}

#fknavigator #trinn .tall 
{
  position: relative;
  top: 0px;
  left: 0px;
  width: 20px;
  height: 55px;
  display: block;
  font-size: 28px;
  font-weight: bold;
  font-family: arial, helvetica, sans-serif;
  float: left;
}

#fknavigator #trinn div.selected .tall
{
  /*color: #df7a00; */
}

#fknavigator #trinn .forklaring
{
  position: relative;
  top: 1px;
  left: 2px;
  width: 83px;
  display: block;
  font-size: 9px;
  font-weight: normal;
  padding: 5px 3px 0px 0px;
  margin: 5px 5px 0px 0px;
  border-top: solid white 1px;
  float: left;
}

#fknavigator #trinn .bareforklaring
{
  position: relative;
  top: 1px;
  left: 4px;
  width: 84px;
  display: block;
  float: left;
  font-size: 13px; 
  font-weight: normal;
  text-transform: uppercase;
  padding: 5px 10px 0px 10px;
  margin: 5px 5px 0px 0px;
  border-top: solid white 1px;
  overflow: hidden;
}

#fknavigator #trinn div.selected .forklaring,
#fknavigator #trinn div.selected .bareforklaring
{
  
  /*border-top: solid #df7a00 1px; 
  color: #df7a00;
  font-weight: bold;*/
  
}

#fknavigator #trinn a.active .bareforklaring,
#fknavigator #trinn a.active .forklaring,
#fknavigator #trinn a.active .tall
{
  cursor: pointer;
}

#fknavigator #trinn div.inactive .bareforklaring,
#fknavigator #trinn div.inactive .forklaring,
#fknavigator #trinn div.inactive .tall,
#fknavigator #trinn div.selected .bareforklaring,
#fknavigator #trinn div.selected .forklaring,
#fknavigator #trinn div.selected .tall
{
  cursor: default;
}


/* ----- ADJUSTMENTS FOR REKRUTTERING ----- */

#ledigestillinger table.stillinger{
  border-collapse: collapse;
}

#ledigestillinger table.stillinger th{
  background-color: white;
}

#ledigestillinger table.stillinger td.overskrift{
  font-weight: bold;
}

#ledigestillinger table.stillinger td.spacing{
  background-color: yellow;
  padding-bottom: 10px;
  margin-top: 20px;
}


#ledigestillinger table.stillinger td.col1{
  width: 430px;
}

#ledigestillinger table.stillinger td.col2{
  width: 100px;
}

#ledigestillinger table.stillinger td.col3{
  width: 100px;
  font-weight: bold;
}

#ledigestillinger table.stillinger td.col4{
  width: 50px;
  text-align: right;
  /*font-weight: bold;*/
}

#ledigestillinger table.annonse
{
  width: 100%;
  border-top: solid 1px #bec4c8;
}

#ledigestillinger table.annonse th,
#ledigestillinger table.annonse td
{
  border-left-style: none;
  border-right-style: none;
  background-color: transparent;
  border-bottom: solid 1px #bec4c8;
  padding-top: 10px;
  padding-bottom: 10px;
}

#ledigestillinger table.annonse th
{
  width: 160px;
  padding-left: 17px;
}

#ledigestillinger table.annonse td
{
  font-weight: bolder;
}

#ledigestillinger a.tilbake
{
  float: right;
  font-weight: bold;
}






/* ----- HEADER ----- */
#header
{
  font-size: 11px; /* sets absolute font size for whole header */
  position: absolute;
  top: 0px;
  left: 50px;
  width: 924px;
  height: 116px;
}

#header #logo
{
  float: left;
}

#header #language
{
  float: right;
  margin-top: 12px;
  width: 50px;
}

#header #language div
{
  width: 50px; 
}

#header #language #engflagg
{
  margin-left: 6px;
}

#header #search
{
  text-align: right;
  float: right;
  margin-top: 9px;
  margin-right: 20px;
}

#header #search form
{
  padding: 0px;
  margin: 0px;
}

#header #search input
{
  position: absolute;
  top: 9px;
  left: 822px;
}

#header #search input.submitsok,
#header #search input.submitsok_en
{ 
  /* should be equal to #contentwrapper #searchform input.submitsok*/
  background-color: #e2e4e5;
  font-size: 0.9em;
  color: #5f686e; /* diff. from searchform: bec4c8*/  
  font-weight: plain;
  border: 1px solid #bec4c8;
  padding: 0px;
  margin-top: 0px; /*diff. from searchform*/
  width: 29px; /* does not exist in searchform - adjusted to fit the text "søk"*/
}

#header #search input.submitsok_en
{ 
  width: 45px; /* adjusted to fit the text "search" */
}

#header #search input.textfield
{
  position: absolute;
  top: 9px;
  left: 704px;
  padding: 0px;
  margin: 0px;
  background-color: #ffffff;
  border: solid #37424a 1px;
  margin-bottom: 6px;
  margin-top: 1px;
  padding-top: 0px;
  padding-bottom: 1px;
  width: 114px;
}

#header #search #hurtigmeny
{
  /*padding-right: 32px;*/
  position: absolute;
  top: 32px;
  left: 570px;
  width: 250px;
}

#header #search #hurtigmeny select.english
{
  margin-right: 0px;
}

#header #search #hurtigmeny select
{
  border: solid #37424a 1px;
  width: 116px; /*120*/
}

html>body #header #search #hurtigmeny select
{
  border: solid #37424a 1px;
  width: 116px; /*116*/
}

#header #mainmenu
{
  position: absolute;
  top: 66px;
  left: 170px;
}

#header #mainmenu ul
{
  list-style: none;
  margin: 0px; /* removes any default value */
  padding: 0px; /* removes any default value */
}

#header #mainmenu li
{
  float: left;
  padding-top: 2px; /* equal to padding on a-elements inside */
  padding-bottom: 2px; /* equal to padding on a-elements inside */
  background-image: url("menubar.gif");
  background-position: center left;
  background-repeat: no-repeat;
  padding-left: 1px; /* equal to width of background-image */
}

#header #mainmenu #mainmenufirst
{
  background-image: none; /* no background-image on the first element of the menu */
}

#header #mainmenu a
{
  color: #37424a;
  font-size: 10px;
  text-transform: uppercase;
  padding: 2px 9px 2px 9px;
}

#header #mainmenu a:hover
{
  background-color: white;
}

#header #mainmenu a.selected
{
  color: #df7a00;
  font-weight: bold;
}

#header #mainmenu a.selected:hover
{
  background-color: transparent;
}

#header #banner
{
  position: absolute;
  top: 100px;
  left: 0px;
}

/* ----- SUBMENU ----- */
#submenu
{
  position: absolute;
  top: 116px;
  left: 50px;
  width: 164px;
  margin-top: 27px;
  border-top: solid #f3f4ed 1px;
  font-size: 11px;
  overflow: hidden;
  background-color: #bec4c8;
}

#submenu ul
{
  list-style: none;
  padding: 0px;
  margin: 0px;
}

#submenu li
{
  border-bottom: solid #f3f4ed 1px;
}

#submenu li a
{
  display: block;
  padding: 4px 10px 4px 20px;
  width: 134px; /* width of row minus padding */
  color: #37424a;
}

#submenu li a:hover
{
  background-color: white;
  background-image: url("corner1.gif");
  background-repeat: no-repeat;
  background-position: bottom left;
}

#submenu li a.selected,
#submenu li a.selected:hover
{
  background-color: white;
  background-image: url("corner2.gif");
  background-repeat: no-repeat;
  background-position: bottom left;
}

#submenu li li
{
  border-top: solid #f3f4ed 1px;
  border-bottom: none;
}

#submenu li li a
{
  border-top: none; /* remove border from li a */
  width: 124px;
  background-color: white;
  padding-left: 30px;
}

#submenu li li a:hover
{
  background-color: #d7d9db;
  background-image: url("submenu-selected.gif");
  background-repeat: repeat-y;
}

#submenu li.up a
{
  color: #df7a00;
  background-color: white;
  background-image: url("corner2.gif");
  background-repeat: no-repeat;
  background-position: bottom left;
}

#submenu li.up a:hover
{
  color: #df7a00;
  background-color: white;
  background-image: url("corner2.gif");
  background-repeat: no-repeat;
  background-position: bottom left;
}

#submenu li.chosen a
{
  color: white;
  background-color: #df7a00;
  background-image: url("corner6.gif");
  background-repeat: no-repeat;
  background-position: bottom left;
}

/* hover for valgt hovedside i fish-eye modus */
#submenu li.chosen a:hover
{
  color: #37424a;
  background-color: #df7a00;
  background-image: url("corner6.gif");
  background-repeat: no-repeat;
  background-position: bottom left;
}

#submenu li.chosen li
{
  background-color: #f3f4ed;
  padding-left: 14px;
}

#submenu li.chosen li a
{
  color: #37424a;
  background-color: #bec4c8;
  background-image: none;
  padding-left: 20px;
}

#submenu li.chosen li a:hover
{
  color: #37424a;
  background-color: white;
  background-image: url("corner1.gif");
  background-repeat: no-repeat;
  background-position: bottom left;
}

#submenu li.chosen li a.selected,
#submenu li.chosen li a.selected:hover
{
  background-color: white;
  background-image: url("corner2.gif");
  background-repeat: no-repeat;
  background-position: bottom left;
}

#submenu li.chosen li li
{
  padding-left: 0px;
}

#submenu li.chosen li li a
{
  background-color: white;
  padding-left: 30px;
}

#submenu li.chosen li li a:hover
{
  background-color: #d7d9db;
  background-image: url("submenu-selected.gif");
  background-repeat: repeat-y;
}

#submenu li.chosen li li a.selected
{
  color: #df7a00;
  background-color: white;
  background-image: url("submenu-selected.gif");
  background-repeat: repeat-y;
  border-bottom: none;
  font-weight: bold;
}

#submenu li.chosen li li a.selected:hover
{
  color: #df7a00;
  background-image: url("submenu-selected.gif");
  background-repeat: repeat-y;
  border-bottom: none;
}

/* ----- PANEL ----- */
#panel, #engelskpanel
{
  position: absolute;
  top: 116px;
  width: 164px;
  left: 50px;
  font-size: 11px;
  background-color: #bec4c8;
}

#panel #toplink
{
  margin-bottom: 7px;
}

#panel #toplink a, 
#engelskpanel #toplink a
{
  padding-top: 15px;
  padding-left: 20px;
  padding-bottom: 5px;
  font-weight: bolder;
  color: #37424a;
  display: block;
}

#panel #vegmeldinger
{
  height: 210px;
}

#panel #vegmeldingslink
{
  font-size: 10px;
  margin-left: auto;
  margin-right: auto;\
  overflow: hidden;
  width: 124px;
  display: block;
  height: 100%;
  text-align: left;
}

#panel #vegmeldinger2
{
  height: 202px;
  color: #37424a;
  z-index: 2; 
  width: 162px; 
  position: absolute; 
  left: 1px; 
  top: 1px;
}

#panel #vegmeldinger2 a,
#panel #vegmeldinger2 a:visited
{
  color: #37424a;
  padding-left: 20px;
  display: block;
}

#panel #vegmeldinger2 .top,
#panel #vegmeldinger2 .vm,
#panel #vegmeldinger2 .info
{
  border-bottom: solid 1px #f3f4ed;
}

#panel #vegmeldinger2 .top
{
  height: 28px;
  padding-top: 20px;
  text-transform: uppercase;
}

#panel #vegmeldinger2 .top span
{
  background-image: url("vmikon.gif");
  background-position: center left;
  background-repeat: no-repeat;
  padding-left: 23px;
}

#panel #vegmeldinger2 .vm,
#panel #vegmeldinger2 .bottom
{
  height: 32px;
  padding-top: 6px;
  overflow: hidden;
}

#panel #vegmeldinger2 .bottom
{
  padding-right: 20px;
  position: absolute;
  width: 122px;
  left: 0px;
  bottom: -2px;
}

#panel #vegmeldinger2 .vm:hover,
#panel #vegmeldinger2 .bottom:hover
{
  background-color: white;
  background-image: url("corner5.gif");
  background-position: bottom left;
  background-repeat: no-repeat;
}

#panel #vegmeldinger2 .info
{
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 20px;
}

#panel #vegmeldinger2border
{
  width: 162px; 
  height: 204px; 
}

#panel #karttekst,
#engelskpanel div.tekst{
  color: #37424a;
  padding-top: 15px;
  padding-left: 20px;
  font-weight: bolder;
  border-top: solid #f3f4ed 1px;
}

#panel #kart
{
  height: 174px;
}

#panel #kart #kartbilde
{
  border-style: none;
}

#panel #panelmenu ul,
#engelskpanel #panelmenu ul
{
  list-style: none;
  padding: 0px;
  margin: 0px;
  border-top: solid #f3f4ed 1px;
}

#panel #panelmenu li,
#engelskpanel #panelmenu li
{
  display: block;
  /* margin-bottom: 1px; */ /* needed to stop jump-effect in IE -- equal to a margin-bottom */
  border-bottom: solid #f3f4ed 1px;
}

#panel #panelmenu li a,
#engelskpanel #panelmenu li a
{
  color: #37424a;
  display: block;
  padding-left: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  width: 144px; /* subtracted padding */
  /* margin-bottom: 1px; */
}

#panel #panelmenu li a:hover,
#engelskpanel #panelmenu li a:hover
{
  background-color: #5f686e;
  color: white;
  background-image: url("corner3.gif");
  background-position: bottom left;
  background-repeat: no-repeat;
}

#engelskpanel div.padding
{
  height: 27px;
display: block;
}

/* ----- SMALLPORTLET ----- */
#smallportlet
{
  position: absolute;
  top: 116px;
  left: 791px;
  width: 185px;
  font-size: 11px;
  background-color: #a1a56f;
}

#smallportlet form
{
  margin: 0px;
  padding: 0px;
}

#smallportlet h2
{
  display: block;
  color: white;
  background-color: #898f4b;
  text-transform: uppercase;
  margin: 0px;
  padding: 5px 20px 5px 20px;
  border-bottom: solid #eaeddc 1px;
}

#smallportlet h3
{
  display: block;
  color: white;
  padding-bottom: 4px;
}

#smallportlet div
{
  background-color: #a1a56f;
  margin: 0px;
  padding: 0px 20px 0px 20px;
}

#smallportlet form div
{
  padding: 10px 0px 5px 0px;
}

#smallportlet select
{
  width: 145px;
}

#smallportlet form div.buttons input
{
  width: 55px;
}

#smallportlet form div.fl
{
  padding: 0px 5px 0px 0px;
  float: left;
}

#smallportlet form div.fl input
{
  margin: 0px;
  padding: 0px;
}

/* ----- PORTLET ----- */
#portlet
{
  position: absolute;
  top: 109px; /* top minus margin-top of elements */
  left: 677px;
  width: 301px; /* some extra pixels here, really 297px */
  font-size: 11px;
}

#portlet a
{
  color: white;
}

#portlet .portlettitle
{
  color: white;
  background-color: #898f4b;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 20px;
  text-transform: uppercase;
  float: left;
  width: 277px; /* width minus padding */
  margin-top: 7px;
  margin-bottom: 0px;
  display: block;
  font-size: 1.0em;
  font-weight: normal;
}

#portlet #etjenester
{
  float: left;
}

#portlet #etjenester a, 
#portlet #etjenester div.empty
{
  display: inline;
  float: left;
  width: 128px;
  background-color: #a1a56f;
  padding-left: 20px;
  padding-top: 5px; /* should be equal to kampanjetekst padding-top */
  padding-bottom: 5px;
  margin-right: 1px;
  margin-top: 1px;
}

#portlet #etjenester a:hover
{
  color: #898f4b;
  background-color: white;
  background-image: url("corner4.gif");
  background-position: bottom left;
  background-repeat: no-repeat;
}

#portlet #kampanjer
{
  float: left;
}

#portlet #kampanjer a.kampanje
{
  float: left;
  display: block;
  width: 277px; /* width minus left-padding */
  margin-top: 1px;
  padding-left: 20px;
  background-color: #a1a56f;
}

#portlet #kampanjer a.kampanje:hover
{
  color: #898f4b;
  background-color: white;
  background-image: url("corner1.gif");
  background-position: bottom left;
  background-repeat: no-repeat;
}

#portlet #kampanjer .kampanje .kampanjebilde
{
  float: right;
}

#portlet #kampanjer a.kampanje span
{
  margin-top: 5px; /* should be equal to e-tjenester a padding-top? */
  display: block;
}

#portlet #rightfiller
{
  background-color: #b8bc93;
  width: 297px;
  float: left;
  margin-top: 7px;
}

/* ----- RELATED ----- */
#related
{
  position: absolute;
  left: 700px;
  top: 161px; /* top of 117 plus 45 margin */
  width: 254px;
}

#related img
{
 margin-bottom: 20px;
}

#related div
{
  background-color: #e7e9db;
  margin-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 8px; /* real padding is this plus the header-padding-top */
  padding-bottom: 25px;
}

#related div.oppslag
{
  color: white;
  background-color: #a1a56f;
  padding-bottom: 20px;
  font-weight: bolder;
}


#related div .header
{
  margin: 0px;
  border-bottom: solid white 1px;
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #e7e9db; /* added to avoid IE from not showing the content of this div */
  text-transform: uppercase;
  font-size: 1.0em;
  font-weight: normal;
}

#related div .subheader
{
  margin: 0px;
  border-bottom: solid white 1px;
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #e7e9db; /* added to avoid IE from not showing the content of this div */
  font-size: 1.0em;
  font-weight: normal;
}

#related div.bilde img {
 float: right;
 margin-bottom: 5px;
}

#related div.bilde
{
 margin: 0px;
 padding: 0px;
 background-color; transparent;
}

#related span.enlarge
{
 float: right;
 margin-top: -18px;
}


#related div.bildetekst
{
  margin-top: -20px;
  background-color: transparent;
  padding-bottom: 17px;
  border-bottom: solid #afb3b7 1px;
  margin-bottom: 20px;
}

#related div .subheader strong
{
  color: #878e92;
}

#related ul
{
  list-style: none;
  padding: 0px;
  padding-top: 12px;
  margin: 0px;
}

#related li
{
  background-image: url("listdashgrey.gif");
  background-repeat: no-repeat;
  background-position: 0px 0.6em;
  padding-bottom: 0px;
  padding-left: 10px;
  margin-bottom: 5px;
}

#related li a
{
  color: #37424a;
}

#related li a:visited
{
  color: #878e92;
}

#related li a:hover
{
  color: #00a1ff;
}

/* ----- PRINTER FRIENDLY FORMAT ----- */
@media print
{
  #header #language, #header #search, #header #mainmenu, #header #banner
  {
    display: none;
  }

  #header
  {
    position: absolute;
    top: 0px;
    left: 0px;
    display: none;
  }

  #submenu
  {
    display: none;
  }

  #panel
  {
    display: none;
  }
    
  #portlet
  {
    display: none;
  }

  #utskrift
  { 
    display: none; 
  }

  #main
  {
    margin: 0px;
    padding: 0px;
    width: 16cm;
  }

  #maincontent_related
  {
    margin: 0px;
    padding: 0px;
    width: 16cm;
  }

  #maincontent_portlet
  {
    margin: 0px;
    padding: 0px;

  }

  #content
  {
    margin: 0px;
    padding: 0px;
  }

  #maincontent_related #contentwrapper
  {
    width: 9.5cm;
  }

  #contentwrapper img.hovedbilde
  {
    max-width: 9.5cm;
    zoom: 78%;
  }  

  #contentwrapper #related img.hovedbilde
  {
    max-width: 6cm;
    zoom:100%;
  }

  #contentwrapper
  {
    margin: 0px;
    padding: 0px;
  }

  #related
  {
    position: absolute;
    top: 45px; /* equal to height of trace */
    left: 10cm;
    width: 6cm;
  }

  .nyhet
  {
    float: none;
    width: 16cm;
  }

  div.vedlegg ul,
  div.eksternelenker ul
  {
    list-style: disc;
    padding-left: 10%;
  }

  #related ul
  {
    list-style: disc;
    padding-left: 5%;
  }

  div.vedlegg ul li,
  div.eksternelenker ul li,
  #related ul li
  {
    padding-left: 0px;
  }

  body,
  #maincontent_full,
  #maincontent_related,
  #maincontent_portlet,
  #maincontent_smallportlet
  {
    background-color: white;
    background-image: none;
  }
}
