/* Start of CMSMS style sheet 'Metric avdCSS' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 10px;
   line-height: 1.2em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 10px;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #18507C; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #18507C;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #C3D4DF;
   color: #385C72;
}

/*****************
basic layout 
*****************/
body {
   background-color: #FFFFFF;
   color: #333;
   margin: 0;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 0px solid black;
   margin: -18px auto;       /* this centers wrapper */
   background-color: #fff;;
   color: black;
   width: 964px;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 56px;    /* adjust according your image size */
   background: transparent;       
}

div#header h1 a {
/* you can set your own image here */
   background: transparent url(uploads/images/design/topp.jpg) no-repeat 0 0; 
   display: block;
   height: 56px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
div#flagg {
   width: 30px;
   height: 18px;
   position:relative;
   top: 18px;
   left: 900px;
}
div#flagg h1 a {
   background: transparent url('uploads/images/design/english.jpg') 0 0 no-repeat;
   display: block;
   height: 18px;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
div#headertekst {
   font-size: 24px;
   color: #075c93;
   margin-top: -30px;
   margin-left: 20px;
   font-weight: bold;
}
div#headertekst_coro {
   height: 45px;
   font-size: 28px;
   font-weight: bold;
   color: #ffffff;
   margin-top: -40px;
   margin-left: 15px;
}
div#kortmeny {
   font-size: 11px;
   float: right;
   background-color: transparent;
   position: relative;
   top: -22px;
   margin-right: 9px;
   z-index: 1000;
   color: #ffffff;
   font-size: 11px;
   font-weight: bold;
}
div#kortmeny a {
   color: #ffffff;
   font-size: 11px;
   font-weight: bold;
   padding-right: 38px;
   text-decoration: none;
}
div#kortmeny a:hover {
   background: transparent;
   text-decoration: underline;
}
/* position for the search box */
div#search {
   background: transparent url('uploads/images/design/sokeboks.gif') 0 0 no-repeat;
   float: right;
   width: 198px;    /* enough width for the search input box */
   height: 43px;
   text-align: right;
   padding: 0 0 0 0;
   margin: 20px 20px;
}
div#hoyremeny {
   float: right;
   width: 183px;
   padding: 0 0 0 10px;
   margin: 0px 20px;
   border-left: 2px solid #7faccd;
   border-right: 2px solid #7faccd;
   border-bottom: 2px solid #7faccd;
   clear: right;
   height: 265px;
}
div#hoyremeny a {
   text-decoration: none;
}
div#hoyremeny a:hover {
   text-decoration: underline;
   background-color: #ffffff;
}
div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

 div#content {
   background: transparent url('uploads/images/design/bg_bar.jpg') 0 0 repeat-y;
   margin: 0;   /* some air above and under menu and content */
}
div#innhold {
  font-size: 11px;
}
div#frontill {
   width: 950px;
   height: 109px;
   padding-left: 7px;
   *height: 94px;
}
div#frontill_coro {
   width: 950px;
   height: 109px;
   padding-left: 7px;
   *height: 99px;
}
div#main {
   margin-top: 20px;
   margin-left: 200px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 2%; /* and some air on the right */
}
div#main_top {
   background: transparent url('uploads/images/design/top_bracket.jpg') 0 0 no-repeat;
   width: 527px;
   height: 17px;
   *float: left;
}
div#main_bottom {
   background: transparent url('uploads/images/design/bottom_bracket.jpg') 0 0 no-repeat;
   width: 527px;
   height: 17px;
}
div#main_content {
   width: 487px;
   padding-left: 20px;
   padding-right: 20px;
   /* min-height: 100px; */
   *float: left;
   min-height: 140px;
}
div#bokser {
   float: left;
   width: 700px;
   heigth: 150px;
   margin-left: 7px;
   clear: left;
}
div#front_boks_1 {
   background: transparent url('uploads/images/design/boks_1.gif') 0 0 no-repeat;
   width: 231px;
   height: 148px;
   padding: 2px 3px 2px 2px;
   text-align: center;
}
div#front_boks_1 h1 a {
   display: block;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   height: 148px;
   margin-bottom: -148px;
   z-index: 1000;
   background: transparent;
}
div#front_boks_1 h1 a:hover {
   background: transparent;
}
div#front_boks_2 {
   background: transparent url('uploads/images/design/boks_1.gif') 0 0 no-repeat;
   width: 231px;
   height: 148px;
   padding: 2px 17px 2px 2px;
   text-align: center;
}
div#front_boks_2 h1 a {
   display: block;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   height: 148px;
   margin-bottom: -148px;
   z-index: 1000;
   background: transparent;
}
div#front_boks_2 h1 a:hover {
   background: transparent;
}
div#front_boks_3 {
   background: transparent url('uploads/images/design/boks_1.gif') 0 0 no-repeat;
   width: 231px;
   height: 148px;
   padding: 2px 17px 2px 2px;
   text-align: center;
}
div#front_boks_3 h1 a {
   display: block;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   height: 148px;
   margin-bottom: -148px;
   z-index: 1000;
   background: transparent;
}
div#front_boks_3 h1 a:hover {
   background: transparent;
}
div#front_boks_4 {
   background: transparent url('uploads/images/design/boks_1.gif') 0 0 no-repeat;
   width: 231px;
   height: 148px;
   padding: 2px 17px 2px 2px;
   text-align: center;
}
div#front_boks_4 h1 a {
   display: block;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   height: 148px;
   margin-bottom: -148px;
   z-index: 1000;
   background: transparent;
}
div#front_boks_4 h1 a:hover {
   background: transparent;
}
div#boks_1 {
   width: 200px;
   height: 95px;
   border: 1px solid #000000;
   margin-left: 13px;
   *margin-left: -2px;
}
div#boks_1 h1 a {
   display: block;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   height: 85px;
   margin-bottom: -85px;
   z-index: 1000;
   background: transparent;
}
div#boks_1 h1 a:hover {
   background: transparent;
}
div#boks_2 {
   width: 195px;
   height: 85px;
   margin-left: 18px;
   margin-top: 10px;
   text-align: left;
   *margin-left: -2px;
}
div#boks_2 h1 a {
   display: block;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   height: 85px;
   margin-bottom: -85px;
   z-index: 1000;
   background: transparent;
}
div#boks_2 h1 a:hover {
   background: transparent;
}
div#boks_3 {
   width: 195px;
   height: 85px;
   margin-top: 10px;
   text-align: left;
   margin-left: 18px;
   *margin-left: -2px;
}
div#boks_3 h1 a {
   display: block;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   height: 85px;
   margin-bottom: -85px;
   z-index: 1000;
   background: transparent;
}
div#boks_3 h1 a:hover {
   background: transparent;
}
div#boks_4 {
   width: 195px;
   height: 85px;
   margin-top: 10px;
   text-align: left;
   margin-left: 18px;
   *margin-left: -2px;
}
div#boks_4 h1 a {
   display: block;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   height: 85px;
   margin-bottom: -85px;
   z-index: 1000;
   background: transparent;
}
div#boks_4 h1 a:hover {
   background: transparent;
}
div#bokslink {
   float: right;
   position: relative;
   top: -20px;
   left: -20px;
}
/* div#bokslink a {
   color: #FF9900;
   text-decoration: underline;
} */
div#bunnboks {
   clear: both;
   width: 910px;
   margin-left: 7px;
   padding-bottom: 10px;
}
div#katalog {
   padding-left: 15px;
}
img.katalog {
   border: 2px solid #7faccd;
}
div#hovednyhet {
   background: transparent url('uploads/images/design/hovednyhet_bottom.gif') 0 100% no-repeat;
   border-top: 2px solid #7faccd;
   width: 570px;
   margin-left: 15px;
}
div#nyhetsboks {
   border-top: 2px solid #7faccd;
   background: transparent url('uploads/images/design/nyhetsboks_bottom.gif') 0 100% no-repeat;
   width: 198px;
   margin-left: 15px;
}
div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 180px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-top: 10px;
   margin-left: 8px;
}
div#kontaktbar {
   margin-top: 10px;
   margin-left: 10px;
}
div#hovedkontor {
   float: right;
   clear: right;
   margin-right: 24px;
}
div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   background: transparent url('uploads/images/design/bg_footer.jpg') 0 0 no-repeat;
   height: 31px;
}

div#footer p {
   font-size: 10px;
   padding: 5px;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}

div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;


   padding: 1em;



   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */

div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}




/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #000000;
   font-size; 15px;
   font-weight: bold;
   text-align: center;
   padding: 7px 0 0 0;

}
font.bokser {
   color: #000000;
   font-size: 15px;
   font-weight: bold;
   text-align: center;
   padding: 7px 0 0 0;
   line-height: 2.5em;
}
font.bokser_data {
   color: #000000;
   font-size: 13px;
   font-weight: bold;
   text-align: center;
   padding: 11px 0 0 0;
   line-height: 2.8em;
}

font.bokser_tekn {
   color: #000000;
   font-size: 13px;
   font-weight: bold;
   text-align: center;
   padding: 11px 0 0 0;
   margin-top: 10px;
}
div#bokser h2 {
   color: #000000;
   font-size; 15px;
   font-weight: bold;
   text-align: center;
   padding: 7px 0 0 0;
   line-height: 1.5em;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
   border-bottom: 2px solid #7faccd;
}
div#content h4 {
   color: #7faccd; 
   font-size: 10px;
   line-height: 1.3em;
   margin: 5px 0 10px 10px;
   font-weight: normal;
}
div#content h5 {
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */
/* Egne defs */
input.search {
   float: left;
   border: 1px solid #71adda;
   background-color: #71adda;
   line-height: 2em;
   color: #ffffff;
   font-size: 10px;
   width: 95px;
   height: 18px;
   padding: 0 0 0 10px;
   margin: 5px 0 0 30px;
}
input.searchbut {
   float: left;
   background: transparent url('uploads/images/design/sokeknapp.gif') 0 0 no-repeat;
   border: 1px solid #5393c7;
   margin: 5px 0 0 0;
   width: 23px;
   height: 20px;
}
.liste-header {
   background-color: #71adda;
   padding: 2px 0 2px 4px;
   margin-bottom: 1em;
}
div#bokstekst a {
   text-decoration: none;
   color: #000;
   background: transparent;
}
font.bokser a {
   text-decoration: none;
   color: #000;
   background: transparent;
}
font.bokser_data a {
   text-decoration: none;
   color: #000;
   background: transparent;
}
/* End of 'Metric avdCSS' */

