* { margin: 0; padding: 0; font-family: "trebuchet ms", georgia, "times new roman", serif }
body {
	background: #fff url(gfx/bg_body.gif) repeat-x fixed; text-align: center;
	font-size: 78%; color: #39536a;
	padding: 97px 0 0 0 }
#ramme {
	position: relative;
	width: 969px;
	margin: 0 auto;
	background-color: #fff;
	background-repeat: no-repeat;
	text-align: left }
#innholdsramme { padding: 0 14px }
#kol1, #kol2 { overflow: hidden }
#kol1 { float: left; width: 265px; padding: 39px 0 23px 0;
	background: url(gfx/bg_kol1.gif) no-repeat }
#kol2 { float: right; width: 165px }
#innhold { width: 480px; margin: 0 0 0 272px; padding: 5px 0 10px 0 }
html>body #innhold { width: auto; margin: 0 186px 0 275px }

#innhold .artikkel { width: 480px }
body.tokol #innhold .artikkel { width: 666px }

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

#end { clear: both }
#kreditt {
	text-align: center;
	padding: 15px 0;
	line-height: 1.4em }
#kreditt, #kreditt a { color: #aaa }
#kreditt address, #kreditt address a { color: #666 }
#kreditt a:hover, #kreditt address a:hover, #kreditt strong { color: #333; font-weight: normal }
#kreditt p.disclaimer { color: #c00 } 

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

body.tokol #innhold, body#index #innhold { width: 666px; margin: 0; float: right; overflow: hidden }
html>body.tokol #innhold { width: 666px; margin: 0; float: right; overflow: hidden }
body.tokol #kol2, body#index #kol2 { display: none }

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

input, textarea { font-size: 1em }
p.knapp, p.news_arkiv, #kreditt, #smuler { font-size: 0.9em }

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

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

/* Lenker, akronymer og forkortelser */

a { color: #369 }
a:hover { color: #333; text-decoration: none }
#kol1 a, #kol2 a, #kreditt a, #sitemap a, #xtranav a, h1 a { text-decoration: none }
p.lesmer a {  }
acronym, abbr, dfn { border-bottom: 1px dotted #808080; font-style: normal; cursor: help }
#kalender abbr {border: 0 }

p.skip, a.anker, #header { visibility: hidden; position: absolute }

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

img, table { border: 0 }
caption { display: none }
address { font-style: normal; margin: 5px 0 }
input, textarea, select, option {
	margin-bottom: 2px;
	border: 1px solid #ddd;
	background: #fff }
input.checkbox { border: 0; background: transparent; margin: 0 }

#innhold .qa ul {
	width: 480px; float: left; margin: 0 0 1em 0; list-style-type: none }
.qa ul li { background: #fafafa; padding: 5px 0 0 0; font-weight: bold; position: relative }
#innhold .qa ul li ul { float: none; background: #fff; border-top: 2px solid #ccc }
.qa ul li li { background: #fff; font-weight: normal; padding: 5px 0  }
.qa table { clear: left }

table { border-top: 1px solid #ccc; border-left: 1px solid #ccc; border-collapse: collapse }
table td, table th { border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; padding: 2px 5px }
table th { background: #f5f5f5; text-align: left }

table.ps, table.ps td, table.lo, table.lo td { border: 0 }
table.ps td { padding: 0 1px 3px 0; text-align: center; line-height: 1.1em }
table.ps td a { display: block; padding: 0 0 4px 0; height: 100%; 
	text-decoration: none; color: #666; border: 2px solid #fff; background: #ecf0f4 }
table.ps td a strong { color: #000 }
table.ps td a:hover { color: #fff; background: #39536a; border: 2px solid #39536a }
table.ps td a:hover strong { color: #f90 }
table.ps td img { border: solid #fff; border-width: 6px 2px; margin: 0 0 4px 0; width: 110px }

table.lo td { padding: 0 10px 0 0 }

table.bildetabell, table.bildetabell td { border: 0 }
table.bildetabell { float: right; margin: -20px 0 0 15px }
table.bildetabell td strong { display: block; text-align: center; padding: 3px 0; background: #ecf0f4; border-top: 1px solid #39536a; border-bottom: 1px solid #39536a }
table.bildetabell td a.dl { display: block; text-align: right; background: url(gfx/kamera.gif) no-repeat top right; height: 32px; line-height: 32px; padding-right: 40px; text-decoration: none; color: #666 }
table.bildetabell td a.dl:hover { color: #000 }
table.bildetabell td p { margin: 0 }

table.forhliste { width: 664px }
table.forhliste th, table.forhliste td { line-height: 1.2em; padding: 3px }
table.forhliste a.web, table.forhliste a.epost {
	display: block;
	background-repeat: no-repeat;
	height: 11px; width: 13px; background-position: 50% 0 }
table.forhliste a.web:hover, table.forhliste a.epost:hover {
	background-position: 50% -29px }
table.forhliste a.web { background-image: url(gfx/ext.gif) }
table.forhliste a.epost { background-image: url(gfx/amail.gif); background.color }
table.forhliste a.web strong, table.forhliste a.epost strong,
table.forhliste a.web b, table.forhliste a.epost b { display: none }

a.pdf, ul.pdf a, a.ext, ul.ext a { display: block; background: url(gfx/pdf.gif) no-repeat; padding: 1px 0 1px 25px; width: 90% }
a.ext, ul.ext a { background: url(gfx/ext.gif) no-repeat 2px 2px }
ul.pdf li, ul.ext li { margin: 0; list-style-type: none; color: #666 }

hr { border: 0; color: #fff; background-color: #fff; border-top: 1px solid #99adcb }

#innhold ul.merker, #innhold ul.merker li { margin: 0; list-style-type: none; line-height: 0.9em }
#innhold ul.merker li { width: 100%; float: left }
ul.merker a {
	display: block; background-repeat: no-repeat;
	background-position: 50% 0 }
ul.merker a:hover { background-position: 50% 2px }
ul.merker a strong { display: none }
ul.merker a.keeway { height: 48px; background-image: url(gfx/merker/keeway.gif) }
ul.merker a.motorhispania { height: 41px; background-image: url(gfx/merker/motorhispania.gif) }
ul.merker a.linhai { height: 20px; background-image: url(gfx/merker/linhai.gif) }
ul.merker a.smc { height: 35px; background-image: url(gfx/merker/smc.gif) }
ul.merker a.benelli { height: 55px; background-image: url(gfx/merker/benelli.gif) }
ul.merker a.tgb { height: 35px; background-image: url(gfx/merker/tgb.gif) }
ul.merker a.bertoni { height: 53px; background-image: url(gfx/merker/bertoni.gif) }
ul.merker a.hyosung { height: 26px; background-image: url(gfx/merker/hyosung.gif) }

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

#smuler { color: #369; height: 1.2em; margin: 0 0 20px 0 }
#smuler a { text-decoration: none; color: #6895ba }
#smuler a:hover { color: #333 }

#nav { padding: 9px 0 0 0; background: url(gfx/bg_bnav.gif) 24px 0 no-repeat }
ul#menu, ul#menu ul, ul#menu li {
	width: 218px; list-style-type: none; line-height: 0.8em; overflow: hidden }
ul#menu li { float: left }

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;
	background-image: url(gfx/a.gif);
	background-repeat: no-repeat;
	background-color: #213254;
	text-decoration: none;
	color: #bbceea;
	border-top: 1px solid #314a6f;
	border-bottom: 1px solid #18253e;
	padding: 8px 0 8px 10px;
	font-weight: normal;
	font-size: 1.1em }

ul#menu a:hover, ul#menu li.aktiv a {
	background-color: #325281;
	background-position: 0 -31px;
	border-top: 1px solid #556b9a;
	border-bottom: 1px solid #213c64;
	color: #fff }
ul#menu li.aktiv a { font-weight: bold }

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

/* 2.nivå */
ul#menu li.aktiv ul li a, ul#menu li.aktiv ul li.aktiv a  {
	padding: 5px 0 5px 28px;
	background-color: #325281;
	background-position: 0 -63px;
	color: #bbceea;
	font-weight: normal;
	font-size: 1em }
ul#menu li.aktiv ul li.aktiv a, ul#menu li.aktiv ul li a:hover  {
	color: #fff;
	background-color: #486092;
	background-position: 0 -86px }
ul#menu li.aktiv ul li.aktiv a  { font-weight: bold }

/* 3. nivå */

ul#menu li.aktiv ul li.aktiv ul li a  {
	padding: 5px 0 5px 40px;
	background-color: #6479a4;
	background-position: 12px -63px;
	color: #bbceea;
	font-weight: normal }
ul#menu li.aktiv ul li.aktiv ul li a:hover, ul#menu li.aktiv ul li.aktiv ul li.aktiv a  {
	background-color: #7e92ba;
	background-position: 12px -86px;
	color: #fff }
ul#menu li.aktiv ul li.aktiv ul li.aktiv a { font-weight: bold }

#nav .x1 { background: url(gfx/bg_bnav-bunn.gif) 12px 0 no-repeat; height: 34px }

/*  ------------------------------------ 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 { line-height: 1.2em }
#nyheter h1, #nyheter h3 { margin: 0; font-size: 1em }
#nyheter a { display: block; padding: 2px 0 }
#nyheter h1.tittel a { font-size: 1.3em; background: url(gfx/news_h1.gif) 0 2px no-repeat; padding: 0 0 5px 15px; margin: 0 0 5px 0 }
#nyheter strong { font-weight: normal }
#nyheter p { margin: 0 0 5px 0 }
#nyheter ul { margin: 0; list-style-type: none; width: 100% }
#nyheter li { width: 100%; line-height: 1em; float: left }
html>body #nyheter li { float: none }
#nyheter li a { background: #f4f6f9 }
#nyheter li a:hover { background: #fff }
#nyheter p.lesmer a { display: none }
#nyheter h3 a { background: #fff; text-align: right; padding: 5px 0 0 0; border-top: 1px solid #ecf0f4 }
#nyheter .art, #nyheter h1.tittel { border-bottom: 1px solid #ecf0f4 }
p.dato { margin: 0 }

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  */

.komp {
	background: url(gfx/bg_komp.gif) no-repeat 0 1px;
	padding: 24px; height: 116px }
html>body .komp { height: auto: min-height: 116px }

.komp fieldset, .komp fieldset legend { border: 0 }
.komp h1 { padding: 0 0 0 5px; margin: 0 0 5px 0; height: 29px; line-height: 29px;
	font-weight: normal; color: #333 }
#login h1 { background: url(gfx/login.gif) 3px 0 no-repeat; padding: 0 0 0 35px }
.komp label { display: none }
.komp input {
	border: 0; width: 163px; padding: 0 0 0 14px; margin: 0 0 4px 6px;
	height: 24px; line-height: 24px;
	background: url(gfx/bg_input.gif) 0 0 no-repeat }
.komp p { margin: 0; padding: 0 }
#login p { text-align: center }
#login p span { padding-top: 5px; display: block }

#login { position: relative }

/*  KNAPPER  */

p.knapp {
	border: 1px solid #98c5da;
	height: 27px }
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 }

#login p.knapp, #login p.knapp a { border: 0 }

#login p.knapp {
	position: absolute; top: 75px; left: 203px; overflow: hidden;
	width: 29px; height: 29px;
	background: url(gfx/loginknapp.gif) no-repeat }
#login p.knapp a {
	display: block; padding: 29px 0 0 0;
	background: transparent }


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

fieldset { padding: 20px; margin: 0 0 1em 0; border: 1px solid #ddd; background: #fafafa }
fieldset legend { color: #333; font-weight: bold; padding: 0 10px; background: #fff }
legend em { font-style: normal; font-weight: normal }
fieldset label { display: block; padding: 2px 5px }

#innhold fieldset ol { margin: 0; list-style: none }
fieldset input, fieldset textarea { width: 400px; padding: 5px }
fieldset input.check { border: 0; width: auto; background: transparent }
fieldset textarea { height: 4.5em }

#respons p.knapp { margin: 0; width: 412px; border: 0 }
#respons p.knapp a {
	color: #333;
	font-weight: bold;
	text-align: center;
	height: 25px; line-height: 25px;
	border: 1px solid #ccc;
	background: #eee;
	display: block;
	text-decoration: none }

#respons p.knapp a:hover  { border-color: #eee }

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

#sok, ul#menu { padding: 0 23px 0 24px }
#sok { height: 49px }
#sok input, #sok a { height: 24px; line-height: 24px }
#sok input {
	float: left; width: 155px;
	padding: 0 0 0 5px; color: #666;
	background: transparent; border: 0 }

#sok a {
	display: block; float: right; width: 51px;
	background-image: url(gfx/sok.gif);
	color: #666 }
#sok a:hover { background-position: 0 -24px; color: #fff }
#sok span { display: block; padding: 0 0 0 5px }
#sok label, #toolbox a span { display: none }

#toolbox { top: -97px; left: 857px; width: 110px }
#toolbox a {
	width: 31px; height: 29px; margin: 0 4px 0 0;
	display: block; float: left;
	background-repeat: no-repeat;
	background-position: 50% 11px }
#toolbox a:hover {
	background-position: 50% -18px; 
	background-color: #99bbd6 }

#toolbox a.hjem { background-image: url(gfx/t-hjem.gif) }
#toolbox a.map { background-image: url(gfx/t-map.gif) }
#toolbox a.epost { background-image: url(gfx/t-e-post.gif) }

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

#logo a, .skg, #toolbox { position: absolute; top: -97px }
#logo a {
	display: block;
	left: 42px;
	width: 207px; height: 118px;
	border-top: 4px solid #fff;
	background: url(gfx/logo.gif) no-repeat 0 36px }
#logo a:hover { border-top: 4px solid #c90119 }
#logo a span { display: none }
.top { left: -26px }
.left, .right { top: 0 }
.left { left: -26px }
.right { left: 969px }

/* ----------------------------------- POPUP ------------------------------------------ */

.popup {

		/* overlay is hidden before loading */
		display:none;

		/* standard decorations */
		padding: 10px;
		border: 4px solid #666;
		background: #fff;
		/* for modern browsers use semi-transparent color on the border. nice! */
		border:4px solid rgba(82, 82, 82, 0.698);

		/* hot CSS3 features for mozilla and webkit-based browsers (rounded borders) */
		-moz-border-radius:10px;
		-webkit-border-radius:10px;
	}
	
.w-300 {width: 300px}
.w-600 {width: 600px}
.w-750 {width: 750px}
	
a.close  {
	color:#FFFFFF;
	cursor:pointer;
	font-size:1em;
	line-height:1;
	text-shadow:0 0 0.1em #222222;
	display: block;
	width: 24px;
	height: 24px;
	text-align: center;
	text-decoration: none;
	background: url(gfx/close.png) no-repeat;
	position: absolute;
	top: -13px;
	right: -13px;
}
a.close span {display: none;}
