@import "layout.css";

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

blockquote { font-size: 1.2em }
blockquote p { margin: 0 }
input { font-size: 1em }
#nav { font-size: 1.2em }
#innholdsramme, #smuler { font-size: 1.1em }
#innhold { font-size: 1.1em }

/* Overskrifter */
#innhold h1 { color: #000; font-size: 1.5em; margin: 0 0 .9em 0 }
#innhold h2 { color: #666; font-size: 1.3em; margin: 0 0 1em 0 }
body#nyheter_cms #innhold h1 { font-size: 2em }
#innhold h1 a { color: #c00 }
h3, h4, h5, h6 { font-size: 1em }
h2 a { color: #000 }
#kol1 h1, #kol2 h1, #kol2 h2, #kol1 h2 { font-size: 1em }

/* Marger */
h1,h2,h3,h4,h5,h6,blockquote,p { margin: 0 0 1.5em 0 }
#innhold ul, #innhold ol { margin: 0 0 15px 30px }
#kol2 ul, #kol2 ol { margin: 0 0 15px 15px }

/* Lenker, akronymer og forkortelser */

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

blockquote {
	padding: 1em;
	border: 2px dotted #ddd;
	color: #666;
	font-weight: bold;
	text-align: center }

/*  -------------------------     SKJULTE ELEMENTER      ------------------------  */

p.skip, a.anker, #kol1 .artinfo, #kol2 .artinfo {
	visibility: hidden; position: absolute }

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

img, table { border: 0 }
caption { display: none }
address { font-style: normal }
input, textarea, select, option {
	margin: 0 0 2px 0;
	border: 1px solid #bbb;
	padding: 3px }
input.check { border: 0; background: transparent; margin: 0 }
hr { border: 0; background: #fff; border-top: 1px solid #ccc; margin: 0 0 5px 0 }

a.pdf,
a.wmv {
	display: block; padding: 15px 0 15px 30px;
	background: #fafafa no-repeat 5px 50%; text-decoration: none;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	margin: 0 0 1.5em 0 }
a.pdf { background-image: url(gfx/pdf.gif) }
a.wmv { background-image: url(gfx/media.png) }

a.pdf:hover,
a.wmv:hover {
	color: #fff; background-color: #666;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000 }

#innhold table td { vertical-align: top; padding: 0 10px 10px 0 }
#innhold table td table { width: 100% }
#innhold table td table td, #innhold table td table th { vertical-align: top; padding: 0 5px 0 0; font-size: 0.9em }
#innhold table td table th { text-align: left; border-bottom: 1px solid #ccc }

img.left { float: left; margin: 0 1.5em 1.5em 0 }
img.right { float: right; margin: 0 0 1.5em 1.5em }

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

#smuler { margin: 0 0 1.5em 0; color: #666 }
#smuler a { text-decoration: none }

#nav { position: absolute; top: 172px; left: 180px; width: 575px; z-index: +10000 }

#menu, #menu ul { /* all lists */
	list-style: none;
	line-height: 1 }

#menu a {
	display: block;
	width: 105px; height: 23px; line-height: 23px;
	color: #fcc;
	background: #c00;
	border: 1px solid;
	border-color: #c66 #600 #600 #c66;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	overflow: hidden }
#menu #mrannservice_hjem a { width: 25px; background-image: url(gfx/hjem.gif) }
#menu #mrannservice_hjem a span { display: none }
#menu #mrannservice_hjem a:hover, #menu li.aktiv#mrannservice_hjem a { background-position: 0 -25px }

#menu a:hover { background: #333; border: 1px solid #333; color: #fff }
ul#menu em, ul#sub em { font-style: normal }
#menu li { float: left; width: 107px }
#menu li.aktiv a { background: #eee; border: 1px solid #fff; border-bottom-color: #eee; height: 24px; color: #333; margin: -5px 0 0 0; padding-top: 5px }

#menu #mrannservice_hjem { width: 27px }
#menu li#matablad_bruksanvisning { width: 120px }
#menu li#matablad_bruksanvisning a { width: 118px }
#menu li#mm_oss { width: 93px }
#menu li#mm_oss a { width: 91px }

#submeny { background: #f2f2ed url(gfx/bg_sub.gif) left bottom no-repeat; padding: 0 0 10px 0; margin: 0 0 1.5em 0 }
#submeny h1 { margin: 0; text-transform: uppercase; background: #fff url(gfx/bg_sub-h1.gif) no-repeat }
#submeny h1 a { display: block; padding: 18px 0 0 15px; height: 21px; color: #333; background: url(gfx/a.gif) 2px -14px no-repeat }
#submeny h1 a:hover { color: #333 }

ul#sub li { width: 175px; list-style-type: none; line-height: 1em; overflow: hidden }
ul#sub li ul, ul#sub li.aktiv ul li ul { display: none }
ul#sub li.aktiv ul, ul#sub li.aktiv ul li.aktiv ul { display: block }
ul#sub li.aktiv { border-top: 1px solid #fff; border-bottom: 1px solid #fff; background: #fff }
ul#sub li.aktiv ul li.aktiv { border: 0 }

/* 1. nivå */
ul#sub a {
	display: block;
	padding: 5px 0 5px 15px; line-height: 1.3em;
	color: #666;
	background-image: url(gfx/a.gif);
	background-position: 2px 9px;
	background-repeat: no-repeat }
ul#sub a:first-letter { text-transform: uppercase }
ul#sub a:hover, ul#sub li.aktiv a  { background-position: 2px -27px }
ul#sub li.aktiv { border-left: 2px solid #666 }
ul#sub li.aktiv li { border: none }

/* 2. nivå */
ul#sub ul li a, ul#sub li.aktiv ul li a  { color: #666; padding: 3px 0 3px 28px; background-position: 16px 6px }
ul#sub li.aktiv ul li a:hover, ul#sub li.aktiv ul li.aktiv ul li a:hover, ul#sub li.aktiv ul li.aktiv a  {
	color: #333; background-position: 16px -30px; background-color: #fff }
ul#sub li.aktiv ul li a, ul#sub li.aktiv ul li.aktiv ul li a { font-weight: normal; color: #666 }
ul#sub li.aktiv a, ul#sub li.aktiv ul li.aktiv a, ul#sub li.aktiv ul li.aktiv ul li.aktiv a { color: #333; font-weight: bold }

/* 3. nivå */

ul#sub li.aktiv ul li.aktiv ul li a  { color: #666; padding: 3px 0 3px 37px; background-position: 25px 6px }
ul#sub li.aktiv ul li.aktiv ul li a:hover, ul#sub li.aktiv ul li.aktiv ul li.aktiv a  {
	background-position: 25px -30px }
	
ul#sub strong { font-weight: normal }

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

/*  Nyheter  */

#nyheter { margin: 0 0 15px 0 }
#nyheter h1.tittel { margin: 0 0 10px 0; font-size: 1.1em }
#nyheter h1.tittel a { display: block; color #333 }
#nyheter h1.tittel a:hover { color: #000 }
#nyheter h1, #nyheter h3 {
	margin: 0 0 5px 0; padding: 0 0 0 15px;
	background: url(gfx/news_h1.gif) no-repeat }
#nyheter strong { font-weight: normal }
#nyheter p { margin: 0 0 5px 0; padding: 0 0 0 15px }
#nyheter p.lesmer { margin: 0 0 10px 0 }
#nyheter a { display: block }
#nyheter p.lesmer a {
	display: block; padding: 0 0 5px 0 }
#nyheter ul, #nyheter ul li { margin: 0; list-style-type: none }

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

body#nyheter_cms #innhold h1 { margin: 0  }

/*  BOKS  */

#tips .komp, #nyhetsbrev .komp, #sok .komp {
	padding: 0 5px 5px 5px;
	border: 1px solid #fff;
	background: #f5f3f1 }
#tips, #nyhetsbrev, #sok {
	border: 1px solid #ddd }

#sok, #tips, #nyhetsbrev, #stats, #poll, #login, .top5 {
	margin: 0 0 1.5em 0 }

.komp fieldset, .komp fieldset legend { border: 0 }
.komp h2 { margin: 0 }
#kol1 .komp h1, #kol2 .komp h1 { padding: 5px 0 5px 15px; margin: 0; background: url(gfx/news_h1.gif) 0 6px no-repeat; color: #c00; font-size: 1.1em }
.komp label { display: none }
.komp p { margin: 0; padding: 0 }
#login p { text-align: center; width: 200px; margin: 0 0 5px 0 }
#login p span { margin-top: 5px; display: block }
#login label { display: block; padding: 5px 0 }

/*  INPUTFELTER  */
.komp input { text-align: center; width: 130px }

/*  KNAPPER  */

p.knapp {
	border: 1px solid;
	border-color: #ddd #fff #fff #ddd;
	position: relative; height: 26px }
p.knapp a, p.send a {
	color: black;
	font-weight: bold;
	text-align: center;
	height: 24px; line-height: 24px;
	border: 1px solid;
	border-color: #fff #ddd #ddd #fff;
	background: #e5e5e5;
	display: block }
p.knapp a:hover, p.send a:hover  { border-color: #fff; background: #8dc54c; color: #fff }

#nyhetsbrev p.knapp { }
#nyhetsbrev a.ut { width: 60px; color: #666; font-weight: normal }
#nyhetsbrev a.ut:hover { background: #c00; color: #fff }
#nyhetsbrev a.inn { position: absolute; top: 0; right: 0; width: 80px }

#kol1 #nyhetsbrev a.inn { width: 70px }

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

#respons {  }
#respons fieldset { border: 0 }
#respons fieldset legend { display: none }
#respons fieldset label { }
#respons fieldset label span {  }
#respons input, #respons textarea, #respons select { width: 250px }
#respons input.check { width: auto; border: 0 }
#respons p.melding, #respons textarea { height: 80px }
#respons p.knapp { width: 180px; margin: 10px 0 0 0 }

#respons td { padding: 0 10px 0 0 }

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

#sok form { position: relative; padding: 5px 0 0 0 }
#sok input {
	width: 120px; text-align: left;
	color: #666 }
#sok a {
	position: absolute; top: 7px; right: 2px;
	width: 16px; height: 16px;
	display: block; background: url(gfx/sokeknapp.gif) }
#sok .komp label, #sok span { display: none }
#sok p { margin: 0 }


#toolbox, #toolbox a { position: absolute }
#toolbox {
	top: 181px; left: 826px;
	width: 64px; height: 11px }
#toolbox a span { display: none }
#toolbox a {
	top: 0;
	width: 16px; height: 11px;
	display: block;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: 0 -16px }
#toolbox a:hover { background-position: 0 0 }

#toolbox a.map { left: 0; background-image: url(gfx/t-map.gif) }
#toolbox a.info { left: 16px; background-image: url(gfx/t-info.gif) }
#toolbox a.faq { left: 33px; background-image: url(gfx/t-faq.gif) }
#toolbox a.mail { left: 50px; background-image: url(gfx/t-mail.gif) }

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

#xtranav {
	clear: both;
	padding: 5px;
	text-align: center;
	background: #d4d4d4;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff }

#kreditt {
	padding: 5px; width: 890px; margin: 0 auto;
	clear: both;
	color: #ccc }
#kreditt address, #kreditt .tlf, #kreditt .tlf a { color: #666; line-height: 1.5; margin: 0 }
#kreditt .tlf a:hover { color: #333 }
#kreditt a { color: #ccc }
#kreditt a:hover { color: #666 }

#logo a { position: absolute; display: block }
#logo a { left: 22px; top: 24px; width: 204px; height: 44px }
#logo span { display: none }

.pg ul, .pg ul li { list-style-type: none; line-height: 1em }
.pg span { display: none }
.pg a { display: block; width: 150px; height: 63px; margin: 0 0 5px 0 }
.pg a.aid { background: url(gfx/varegrupper/foerstehjelp.jpg) }
.pg a.skilt { background: url(gfx/varegrupper/skilt.jpg) }
.pg a.slukker { background: url(gfx/varegrupper/brannslukker.jpg) }
.pg a.firepro { background: url(gfx/varegrupper/firepro.jpg) }
.pg a.roeykvarsler { background: url(gfx/varegrupper/roeykvarsler.jpg) }
.pg a.safe { background: url(gfx/varegrupper/safe.jpg) }
.pg a.avfallsbeholdere { background: url(gfx/varegrupper/avfallsbeholdere.jpg) }
.pg a.noedlys { background: url(gfx/varegrupper/noedlys.jpg) }
