/* njf css 28/3 20006
 * copyright: Edito/Knut Andersen knuterik@edito.no
 * you may not use this file or parts there of without the written consent of the author.
*/

html {
    height:100%;
}
body {
    height:100%;
    background:#ffffff url(images/siteimg/bg1.gif) 0 0 repeat-x;
    margin:0;
    padding:0;
    font-size:62.5%;
    font-family:Arial, Helvetica, sans-serif;
    color:#000000;
}
#wrapper {
    display:inline;
    float:left;
    min-height:100%;
    margin:0;
    text-align:left;
    width:1024px;
    font-size:1.2em;
    background:transparent url(images/siteimg/wrapbg.gif) 144px 0 repeat-y;
}
/* Begin Mac IE5 filter \*/
* html #wrapper {
    height: 100%;
}
/* End Mac IE5 filter */
div#maincontent {
    float:left;
    width:601px;
    background-color:transparent;
    padding-bottom:30px;
}
#header {
    width:599px;
    height:83px;
    float:left;
}
#footer {
    position:relative;
    bottom:0;
}
a {
    text-decoration: underline;
    color:#235fa9;
}
a:visited {
    color:#808285;
}
a:hover {
    text-decoration:underline;
}
h3 a, h3 a:visited {
    color:#000000;
}
/* HOVEDNAVIGASJON */
#menu {
    margin:132px 0 0 124px;
    padding:0;
}
div#mainnav {
    margin:0;
    padding:0;
    float:left;
    background-image:url(images/siteimg/bg.gif);
    background-repeat:repeat-x;
    background-color:transparent;
    width:144px;
}
#mainnav li {
    list-style:none;
}
li#hjem span,li#medlem span,li#lover span,li#organisasjon span {
    display:none;
}
#hjem, #hjem a,#medlem, #medlem a,#lover, #lover a,#organisasjon, #organisasjon a {
    background-repeat:no-repeat;
    background-position:-20px 0;
    display:block;
    text-decoration:none;
    margin:0;
    padding:0;
    width: 20px;
}
#hjem,#hjem a {
    background-image:url(images/siteimg/hjem.gif);
    height: 80px;
}
#medlem {
    margin-top:158px;
}
#medlem, #medlem a {
    background-image:url(images/siteimg/medlem.gif);
    height: 103px;
}
#lover {
    margin-top:8px;
}
#lover, #lover a {
    background-image:url(images/siteimg/lover.gif);
    height:90px;
}
#organisasjon {
    margin-top:8px;
}
#organisasjon, #organisasjon a {
    background-image:url(images/siteimg/organisasjon.gif);
    height: 143px;
}
body#b_default #hjem a, #hjem a:hover {
    background-position: 0 0;
}
body#b_lover #lover a, #lover a:hover {
    background-position: 0 0;
}
body#b_medlem #medlem a, #medlem a:hover {
    background-position: 0 0;
}
body#b_organisasjon #organisasjon a,#organisasjon a:hover {
    background-position: 0 0;
}
/*************************************************/
div#njf {
    cursor:pointer !important;
    cursor:hand;
    float:left;
    width:300px;
    height:70px;
    background:transparent url(images/siteimg/logo.gif) 28px 47px no-repeat;
}
div#njf h1 {
    text-indent:-9999px;
    position:relative;
    top:25px;
}
div#sitesearch {
    margin: 0 0;
    float:right;
    font-size:0.95em;
    color:#8a8b8c;
}
div#sitesearch a {
    margin:33px 15px 0 0;
    display:block;
    text-align:right;
    text-decoration:none;
    color:#8a8b8c;
}
/* -- search form -- */
#searchBox {
    position: absolute;
    margin:0;
    top: 11px;
    left: 630px;
}
#searchBox label {
    display: none;
    }
#searchBox #search {
    width:100px;
    height: 18px;
    border: none;
    border-top: 1px solid;
    border-left: 1px solid;
    border-color: #8a8b8c;
    background-color:#e8f4b4;
    color:#8a8b8c;
}
div#nav2 {
    float:left;
    width:601px;
    height:187px;
    background:#000000 url(images/siteimg/tog.gif) 2px 0 no-repeat;
    font-size:0.95em;
    font-weight:bold;
}
#nav2 ul, li {
    margin:0;
    padding:0;
}
#nav2 li {
    list-style:none;
}
body#b_medlem div#nav2 {
    background-image:url(images/siteimg/buss.gif);
}
body#b_organisasjon div#nav2 {
    background-image:url(images/siteimg/godstog.gif);
}
#nav2 ul {
    position:relative;
    margin:172px 0 0 28px;
}
#nav2 li {
    display:block;
    float:left;
    margin:0 10px 0 0;
}
#nav2 li a {
    text-decoration:none;
    color:#ffffff;
    background-color:#000000;
}
#nav2 li a:hover, body#b_arkiv #nav2 li#n_nyheter a,body#b_lenker #nav2 li#n_lenker a,body#b_organisasjon li#n_kontakt.current a {
    color:#e55825;
}
div#right {
    font-size:0.95em;
    padding:0;
    text-align:left;
    color:#ffffff;
    background-color:transparent;
}
#njflogo {
    position:absolute;
    top:0;
    left:0;
    height:79px;
    width:143px;
    background-image:url(images/siteimg/logo2.gif);
}
#kurs {
    position:absolute;
    top:38px;
    left: 475px;
    height:61px;
    width:61px;
    background-image:url(images/siteimg/stjerne.gif);
}
#kurs a {
    display:block;
    height:61px;
    width:61px;
    text-indent:-9999px;
}
div#kontakt {
    float:left;
    margin-top:32px;
    margin-left:15px;
    width:200px;
}
div#banner {
    float:left;
    margin-top:200px;
    margin-left:15px;
    width:200px;
}
#banner img {padding-bottom:5px;}
#banner a img {border:none;}
dl {
    margin:0;
}
dt {
    clear:both;
}
#kontakt dl {
    margin-top:0;
    padding-top:0;
    font-weight:bold;
}
#kontakt dt {
    float:left;
    margin:0;
    padding:0 0.2em 0 0;
}
#kontakt dd {
    margin:0;
}
.clearer {
    clear:both;
}
#nyheter {
    float:left;
    display:inline;
    width: 528px !important;
    margin:53px 0 0 28px;
    /* ie/mac filter \*/
    padding-top:10px;
    /* */
    background: transparent url(images/siteimg/nyheter.gif) no-repeat 0 0;
}
* > #nyheter {
    position: relative;
    z-index: 1000;
}
.newsitem, .newsitem_odd, .newsitem_even {
    width:522px;
    margin-left:2px;
    float:left;
    padding-bottom:10px;
    display:inline;
    padding-top:10px;
}
body#b_arkiv .newsitem_odd, body#b_arkiv .newsitem_even {
    width:338px;
    padding-right:5px;
    padding-left:5px;
    padding-bottom:0;
}
body#b_sok .newsitem_odd, body#b_sok .newsitem_even {
    padding:5px;
}
.newsitem_odd {
    background-color:#ffffff;
}
.newsitem_even {
    background-color:#f0f0f1;
}
div#topstory.newsitem {
    background-color:transparent;
}
.artikkel {
     width:340px;
     float:left;
     padding-left:10px;
     display:inline;    
}
.artikkelbilde {
    width:150px;
    float:right;
    display:inline;
    padding-right:8px;
}
.artikkelbilde img {
    width:145px;
}
#nyheter_foot {
    background: #ffffff url(images/siteimg/nyheter.gif) no-repeat left bottom;
}
#rsslink {
    padding-bottom:10px;
    margin-right:20px;
    text-align:right;
    font-size:0.9em;
}
#rsslink a {
    color:#000000;
    text-decoration:none;
}
#rsslink a#feed img {
    margin:0 5px  -2px 2px ;
    height:12px;
    width:12px;
    text-decoration:
    none;
    border:0;
}
#nyheter h2 {
    line-height:0px;
    padding:18px 0 10px 0;
    margin:0px 0px 0px 12px;
    font-size:1em;
    font-weight:normal;
}
#nyheter h3, #left h3 {
    font-size:1.5em;
    margin:0;
    padding:0;
    font-weight:normal;
}

#nyheter h3.border, #left h3.border {
    padding-top:20px;
    border:1px solid #000000;
    border-left:0;
    border-right:0;
    border-bottom:0;
}
#topstory h3 {
    font-size:2em;
    font-weight:bold;
}
#topstory p {
    font-size:1.2em;
}
#nyheter p {
    margin:5px 0 0 0;
}
#left h2 {
    margin:0;
    font-size:2em;
}
#left p {
    margin-top:6px;
}
p.byline, p.permlink {
    font-size:0.9em;
    color:#8a8b8c;
    text-transform:uppercase;
}
body#b_sok p.byline {
    width:100%;
}
.permlink a {
    color:#8a8b8c;
}
p.byline {
    width:50%;
    float:left;
}
body#b_sok p.byline {
    width:100%;
}
p.permlink {
    float:right;
    margin-right:5px;
}
#topstory p.byline, #topstory p.permlink {
    font-size:0.9em;
}
#left, #sidebar, .box {
    margin-top:53px;
}
#left {
    display:inline;
    width:338px;
    float:left;
    margin-left:30px;
    margin-right:26px;
}
#left h4 {
    clear:both;
}
body#b_arkiv #left {
    width:340px;
}
body#b_organisasjon #left ul.repliste,body#b_organisasjon #left li.repliste {
    margin:0;
    padding:0;
    list-style:none;
}
div#left ul.repliste dl {
    margin-bottom:20px;
}
div#left ul.repliste li {
    clear:both;
    width:338px;
}
#left li {list-style:none;}
#left li.repliste img {
    display:block;
    float:right;
    margin-top:10px;
    width:66px;
}
#left li dl {
    display:block;
    margin-top:10px;
    float:left;
    width:260px;
}
#left li dt, #left li dd {
    margin:0;
    padding:0;
}
#left li dt {
    margin-right:3px;
}
#left li dd {
    margin-right:5px;
}
dt.tel,dd.tel,dt.mob,dd.mob {
    float:left;
}
dt.mob {
    clear:none;
}
dl#historikk {
    margin-top:30px;
}
#historikk dt {
    float:left;
}
#historikk dd {
    margin-bottom:15px;
}
#sidebar {
    font-size:0.95em;
    width:156px;
    float:left;
}
#sidebar ul, sidebar li {
    margin:0;
    padding:0;
}
#sidebar li {
    list-style:none;
}
#subnav_wrap_organisasjon {
    background:transparent url(images/siteimg/boks_3.gif) 0 0 no-repeat;
}
#subnav_foot_organsisasjon {
    background:transparent url(images/siteimg/boks_3.gif) 0 100% no-repeat;
    height:20px;
}
div#subnav_wrap_arkiv {
    background:transparent url(images/siteimg/arkiv.gif) 0 0 no-repeat;
}
#subnav_foot_arkiv {
    background:transparent url(images/siteimg/arkiv.gif) 0 100% no-repeat;
    height:20px;
}
div#subnav_wrap_siste10 {
    background:transparent url(images/siteimg/siste10.gif) 0 0 no-repeat;
}
div#subnav_wrap_medlem {
    background:transparent url(images/siteimg/boks_1.gif) 0 0 no-repeat;
}
#subnav_foot_medlem {
    background:transparent url(images/siteimg/boks_1.gif) 0 100% no-repeat;
    height:20px;
}
div#subnav_wrap_lover {
    background:transparent url(images/siteimg/boks_2.gif) 0 0 no-repeat;
}
#subnav_foot_lover {
    background:transparent url(images/siteimg/boks_2.gif) 0 100% no-repeat;
    height:20px;
}
#subnav {
    padding-left:12px;
    padding-right:3px;
}
/* Begin Mac IE5 filter \*/
#subnav {
    display:table-cell;
    height:200px;
}
/* End Mac IE5 filter */
#subnav ul {
    margin-top:15px;
}
#subnav li {
    padding-left: 13px;
    margin-top:8px;
    background-image: url(images/siteimg/arrow.gif);
    background-repeat: no-repeat;
}
#subnav ul li a {
    color:#000000;
    font-weight:bold;
}
#subnav ul li a:hover,#subnav ul li a.current {
    color:#e55825;
}
#subnav li.o_jbp {
    padding-left:0;
}
#subnav li.o_jbp a {
    background:#ffffff;
}
#subnav h3 {
    font-size:0.9em;
    font-weight:normal;
    margin:0;
    padding-top:40px;
}
#subnav p {
    padding-top:40px;
    font-weight:bold;
    color:#484848;
}
#adressbar {
    width:156px;
    padding:15px 3px 0 12px;
    margin-top:20px;
}
/* Begin Mac IE5 filter \*/
#adressbar {
    display:table-cell;
    height:180px;
}
/* End Mac IE5 filter */
#adressbar_wrap {
    background:transparent url(images/siteimg/box_grey.gif) 0 0 no-repeat;
    margin-top:20px;
}
#adressbar_foot {
    background:transparent url(images/siteimg/box_grey.gif) bottom no-repeat;
    height:20px;
}
#adressbar p {
    margin-top:20px;
    font-weight:bold;
    color:#484848;
}
ul.linklist {
    margin-top:5px;
    padding-top:0px;
    padding-left:10px;
}
.linklist li {
    list-style:none;
    background-image: url(images/siteimg/arrow.gif);
    background-repeat: no-repeat;
    padding-left:13px;
}
.linklist a {
    font-weight:bold;
}
.linklist em {
    color:#484848;
}
.bold {
    font-weight:bold;
}
#boxwrap {
    position:relative;
    display:inline;
    float:left;
    width:569px;
    margin-top:53px;
    margin-left:28px;
    overflow:hidden;
}
#bokswrap a {
    color:#000000;
    text-decoration:none;
}
#boks_1 p a,#boks_2 p a,#boks_3 p a{color:#000000; text-decoration:none;}

.boks {
    width:155px;
    float:left;
    background-repeat:no-repeat;
}
/* Begin Mac IE5 filter \*/
.boks {
    padding-bottom: 300px;
    margin-bottom: -300px;
}
@media all and (min-width: 0px) {
    #boks_1, #boks_2, #boks_3 {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    #boks_1:before, #boks_2:before, #boks_3:before {
        content: '[I HATE TO HAVE TO DO THIS]';
        display: block;
        background: inherit;
        padding-top: 300px !important;
        margin-bottom: -300px !important;
        height: 0;
    }
}
/* End Mac IE5 filter */
#boks_1 {
    margin-right:30px;
}
#boks_2 {
    margin-right:28px;
}
#boks_1, #boks_1 div.boksfot {
    background-image:url(images/siteimg/boks_1.gif);
}
#boks_2,#boks_2 div.boksfot {
    background-image:url(images/siteimg/boks_2.gif);
}
#boks_3,#boks_3 div.boksfot {
    background-image:url(images/siteimg/boks_3.gif);
}
.boks p {
    margin:10px 10px 0 12px;
    padding-bottom:20px;
    font-size:0.95em;
    line-height:1.5em;
}
.boks p.sub {
    font-size:0.9em;
    margin-right:0;
    padding:0;
    margin-top:40px;
}

.boksfot {
    height:10px;
    width:155px;
    position: absolute;
    bottom: 0;
    background-position:bottom;
    background-repeat:no-repeat;
}
p.commentbyline {
    font-size:0.9em;
    color:#8a8b8c;
}
	/* kommentarskjema */
fieldset {
  font:80%/1 sans-serif;
	border:1px solid #8a8b8c;
	padding:30px;
}
legend {
  padding: 0.2em 0.5em;
  text-align:right;
	font-size:1.4em;
}
label {
  float:left;
  width:35%;
  margin-right:0.5em;
  padding-top:1.2em;
  text-align:right;
  font-weight:bold;
}
input[type="submit"] {
	float:right;
	margin-top:10px;
}
#kontakt label{
	width:15%;
}
#name, #email, #web {
    font-size: 1em;
    width: 100px;
    padding: 2px;
    margin:3px 0 5px 0;
}
#message {
    width: 340px;
}
#txpCommentInputForm h3 {
    line-height:3em;
}
#txpCommentInputForm {
    margin: 2em 0 0 0;
}
#txpCommentInputForm input[type="text"] {
    width:200px;
}
table  {font-size:100%;}
table{margin:0;padding:0;width:100%;}
td,th {padding-top:0;padding-right:0px;padding-bottom:0;padding-left:5px;font-size:1em;}
th {text-align:left;padding-right:5px;padding-left:5px;font-weight:bold;background-color:#ddd;}