/*  ---------------------------------      LAYOUT      ---------------------------------  */

* {
	margin: 0; padding: 0;
	font-family: verdana, "Bitstream Vera Sans", geneva, arial, helvetica, helve, sans-serif }

body {
	/*background: #3C0EEA;*/
	background: #999;
	text-align: center; padding: 40px 0 0 0;
	font-size: 71%; color: #333 }

#ramme, #kreditt {
	position: relative;
	width: 796px;
	padding: 0 17px;
	margin: 0 auto;
	text-align: left }

#ramme { background: #fff url(gfx/bg_ramme.gif) repeat-y }

#header {
	height: 62px;
	background: #f4a636 url(gfx/logo.gif) no-repeat;
	border-top: 5px solid #fff;
	border-bottom: 7px solid #fff }

#kol1, #kol2 { overflow: hidden }
#kol1 { float: left; width: 135px; padding: 0 0 100px 0 }
#kol2 { float: right; width: 111px; padding: 48px 0 1em 0 }
#innhold { width: 507px; margin: 0 0 0 150px; padding: 24px 0 1em 0 }
html>body #innhold { width: auto; margin: 0 142px 0 153px }

#smuler { color: #666; height: 24px; line-height: 24px }
#smuler strong { font-weight: normal }

body#front #smuler { display: none }
body#front  #innhold { padding: 48px 0 0 0 }

/*  ------------------------------------   KREDITT   --------------------------------  */

#end { clear: both; height: 0; overflow: hidden }
#kreditt { background: url(gfx/bg_kred.gif) no-repeat }
#kreditt address { padding: 20px 0 30px 153px }
#kreditt p { text-align: right }
#kreditt a, #kreditt, #kreditt p a:hover { color: #000 }
#kreditt a:hover, #kreditt p a, #kreditt p { color: #1ebcce }

/*  ----------------------------------   ALT. DESIGN   ------------------------------ */

body.tokol #ramme, body#index #ramme {
	background: #fff url(gfx/bg_ramme-2kol.gif) repeat-y }
body.tokol #innhold, body#index #innhold { margin: 0 10px 0 152px }
body.tokol #kol2, body#index #kol2 { display: none }

/*  ------------------------------       TYPOGRAFI     -------------------------------  */

input, textarea { font-size: 1em }
#kol1, #kol2, #handlekurv, #kreditt, #smuler, p.dato { font-size: 0.9em }

/* Overskrifter */
#innhold h1 { font-family: "trebuchet ms", "times new roman", serif; font-size: 1.7em; font-weight: normal; color: #00a2b4 }
#kol1 h1, #kol2 h1, h2, h3, h4, h5, h6 { font-size: 1em }

/* Marger og padding */
h1,h2,h3,h4,h5,h6,blockquote,p, hr { margin: 0 0 1em 0 }
#innhold ul, #innhold ol { margin: 0 0 1em 30px }
#innhold ol li { margin: 0 0 1em 0 } 

#nyhetsbrev	h1 span { font-weight: normal; padding: 0 0 0 3px }

/* Lenker, akronymer og forkortelser */

a { color: #00a2b4; text-decoration: none }
a:hover { color: #333 }
acronym, abbr, dfn { border-bottom: 1px dotted #808080; font-style: normal; cursor: help }

blockquote {
	margin: 0 1em 1em 1em;
	padding: 10px;
	border: 1px solid #d4ffb2;
	background: #eeffe0;
	color: #690 }

blockquote strong { display: block; text-align: center }
p.skip, a.anker, #kol1 .artinfo, #kol2 .artinfo, #header h1, #header p { position: absolute; visibility: hidden }

/*  -----------------------     DIVERSE FORMATERING      ----------------------  */

img, table { border: 0 }
caption { display: none }
address { font-style: normal }
input, textarea, select, option {
	margin-bottom: 2px;
	border: 1px solid #d4e7ed;
	background: #f5f5f5 }

input:hover, input:active, input:focus,
textarea:hover, textarea:active, textarea:focus, #sok input:hover, #sok input:focus, #sok input:active { background: #fff }
input.checkbox { border: 0; background: transparent; margin: 0 }

#innhold .artikkel table { border-left: 1px solid #d4e7ed; border-top: 1px solid #d4e7ed; border-collapse: collapse }
#innhold .artikkel td, #innhold .artikkel th { border-right: 1px solid #d4e7ed; border-bottom: 1px solid #d4e7ed; padding: 5px; vertical-align: top }
#innhold .artikkel th { text-align: left; background: #d4e7ed }

#innhold table.akt { border: 0; border-top: 2px solid #999; border-bottom: 2px solid #999 }
#innhold table.akt td { border: 0; padding: 10px }
#innhold table.akt td.left { border-right: 2px solid #999; width: 50% }
table.akt h2, table.akt h3, table.akt p { margin: 0 }
#innhold table.akt a { font-style: italic; display: block }
hr { border: 0; background: #fff; border-top: 2px solid #d4e7ed }

/*  ---------------------------------- NAVIGASJON ---------------------------------  */

#nav { margin: 0 0 15px 0 }
ul#menu, ul#menu ul, ul#menu li {
	width: 135px; list-style-type: none; line-height: 0.8em; overflow: hidden }
ul#menu li { float: left }
ul#menu, ul#menu li#mriser { border-bottom: solid 24px #0095b6 }
#nav .x1 { border-bottom: 1px solid #fff }
ul#menu li#meferanser { border-top: 1px solid #fff }

ul#menu ul, ul#menu li.aktiv ul ul { display: none }
ul#menu li.aktiv ul, ul#menu li.aktiv ul li.aktiv ul { display: block }

ul#menu a {
	display: block;
	border-bottom: 1px solid #fff;
	text-decoration: none;
	color: #d4e7ed;
	padding: 8px 0 8px 8px }

ul#menu a:hover, ul#menu li.aktiv a {
	background: #0095b6;
	color: #fff }

ul#menu strong, ul#menu em { font-weight: normal; font-style: normal; display: block }

/* 2.nivå */
ul#menu ul li a, ul#menu li.aktiv ul li a, ul#menu li.aktiv ul li.aktiv a  { padding: 6px 0 6px 25px; background: #3bcada }

ul#menu li.aktiv ul li.aktiv a, ul#menu li.aktiv ul li a:hover, ul#menu li.aktiv ul li.aktiv ul li a:hover  { background: #50daea }

ul#menu li.aktiv ul li a, ul#menu li.aktiv ul li.aktiv ul li a { font-weight: normal }

/*  ------------------------------------ NETTSTEDKART ----------------------------  */

#sitemap ul li { list-style-image: url(gfx/sitemap_folder.gif) }
#sitemap ul li ul li { list-style-image: url(gfx/sitemap_page.gif) }
#sitemap li { margin: 5px 15px }
#sitemap ul em { font-style: normal }
#sitemap ul strong { font-weight: normal }
#sitemap ul span { font-weight: bold }

/*  --------------------------------- KOMPONENTER --------------------------------  */

/*  Nyheter  */
#nyheter { margin: 0; padding: 0 0 10px 0 }
#nyheter h1.tittel { font-size: 1.1em }
#nyheter h1.tittel a { padding: 5px 0 }
#nyheter h1, #nyheter h3 { margin: 0 0 5px 0 }
#nyheter strong { font-weight: normal }
#nyheter p { margin: 0 0 5px 0; padding: 0 0 0 15px }
#nyheter a { display: block; width: 111px; color: #399 }
#nyheter a:hover { color: #333 }
#nyheter ul { margin: 0 }
#nyheter li { margin: 0 0 1em 0 }

p.dato { margin: 20px 0 0 0 }
p.lesmer { margin-top: -7px }

p.news_arkiv { margin: 0 0 10px 0 }
p.news_arkiv a.aktiv { font-weight: bold; text-decoration: none; color: #669 }
p.news_arkiv a.aktiv:hover { color: #000 }

/*  BOKS  */

#kol1 .komp, #kol2 .komp { padding: 0 0 5px 0; text-align: center }
#innhold .komp, #innhold .komp input { width: 175px }
.komp fieldset, .komp fieldset legend { border: 0 }
#kol1 .komp h1, #kol2 .komp h1 { padding: 5px; margin: 0 0 5px 0; text-align: left }
#kol1 #login h1, #kol2 #login h1 { background: #bbdfed url(gfx/login.gif) 3px 7px no-repeat; padding: 5px 0 5px 25px }
#kol1 .komp label, #kol2 .komp label { display: none }
#innhold .komp label { display: block }
#kol1 .komp p, #kol2 .komp p { margin: 0; padding: 0 }
#login p { text-align: center }
#login p span { padding-top: 5px; display: block }

/*  TABELLER  */
.komp table { margin: 0 }
.komp table tr td { padding-left: 5px }

/*  INPUTFELTER  */
#firmainfo input, #kontortid input, #tips input, #nyhetsbrev input, #login input { text-align: left; width: 140px; padding-left: 7px }
#poll fieldset input { border: 0 }

/*  KNAPPER  */

p.knapp {
	position: relative; height: 20px }

p.knapp a, p.send a {
	color: black;
	font-weight: bold;
	text-align: center;
	padding: 3px 0 0 4px;
	height: 15px;
	border: 1px solid;
	border-color: #fff #98c5da #98c5da #fff;
	background: #b5d7e6;
	display: block;
	color: #369 }

p.knapp a:hover, p.send a:hover  {
	border-color: #d1e4ec;
	background: #d1e4ec;
	color: #333 }

#nyhetsbrev	{ background: #00a3b6; border-bottom: solid 1px #fff; color: #fff; margin-top: -15px }
#nyhetsbrev p.knapp a { color: #fff; background: none; border: none; width: 60px; font-weight: normal }
#nyhetsbrev p.knapp a.ut { position: absolute; top: 0; left: 0px;  text-align: left;  }
#nyhetsbrev p.knapp a.inn { position: absolute; top: 0; right: 2px;  text-align: right; }

/*  -------------------------------- RESPONSSKJEMA -------------------------------  */

#respons table { width: auto }
#respons table td { vertical-align: middle }
#respons table tr.textarea td { vertical-align: top }
#respons fieldset { border: 0 }
#respons fieldset legend { color: #333; font-weight: bold; padding: 0 0 10px 0 }
#respons fieldset label { display: block }
#respons fieldset label.inline { display: inline }
#respons fieldset label span { }
#respons input, #respons textarea { width: 250px }
#respons input.check { border: 0; width: auto; background: transparent }
#respons p.melding, #respons textarea { height: 70px }
#respons p.knapp { width: 250px; margin: 0  }
#respons hr { margin: 2px 0 }

/*  --------------------------------    VERKTØY    ---------------------------------  */

#sok, #sok a, #sok input { position: absolute }

#sok {
	top: 30px; right: 30px;
	background: url(gfx/bg_sok.gif) no-repeat;
	width: 111px; height: 17px }
#sok input, #sok input:hover, #sok input:active, #sok input:focus {
	top: 1px; left: 4px;
	margin: none; border: none;
	background: #fff;
	height: 15px; line-height: 15px; padding: 0;
	width: 72px; padding: 0 }

#sok a {
	left: 86px; top: 0px;
	width: 25px; height: 17px;
	display: block; background-image: url(gfx/sokeknapp.gif);
	font-weight: bold;
	color: #333;
	display: block; }
#sok a:hover {
	left: 86px; top: 0px;
	width: 25px; height: 17px;
	color: #666;
	background-position: 0 -17px; color: #000;
	display: block }
#sok label { display: none }

/*  ------------------------------------- DESIGN ------------------------------------  */

#logo a, #toppen, #dgang, #tl { position: absolute }

#logo a {
	display: block;
	left: 17px; top: 5px;
	width: 135px; height: 62px }

#logo a span { display: none }
#toppen { top: -12px; left: 0 }
#dgang { top: -62px; left: -30px  }
#tl { top: 5px; left: 152px; width: 660px; height: 62px; overflow: hidden }
#tl a {
	display: block; float: left; width: 120px; height: 19px;
	padding-top: 43px; text-align: center; color: #fdedd7;
	background-position: 50% 12px;
	background-repeat: no-repeat }

#tl a:hover { background-color: #f5af4a; color: #fff }
#tl a.intro, #tl a.hovedside, #tl a.oppgaver { width: 93px }
#tl a.intro { background-image: url(gfx/tl_intro.gif) }
#tl a.hovedside { background-image: url(gfx/tl_hovedside.gif) }
#tl a.oppgaver { background-image: url(gfx/tl_oppgaver.gif) }
#tl a.tools { background-image: url(gfx/tl_tools.gif) }
#tl a.info { background-image: url(gfx/tl_info.gif) }
#tl a.kurv { background-image: url(gfx/shp/handlekurv.gif) }

