/* Start of CMSMS style sheet 'Felles' */
* {
margin:0;
padding:0;
}
body {
   text-align: left;
   font-family: Helvetica, Verdana, Arial, Geneva, sans-serif;
   font-size: 80%;
   line-height: 1em;
}
img {
   border: 0;
}
a,
a:link 
a:active { text-decoration: none;
/* 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 */
   color: #a50022; font-weight: bold; }
a:visited { text-decoration: none; color: #a50022; font-weight: bold;                /* a different color can be used for visited links */
}
a:hover { text-decoration: underline; color: #001119; font-weight: bold; }
/*****************
basic layout 
*****************/
body { color: #4d4d4d; /* gives some air for the pagewrapper */
}
/* center wrapper, min max width */
div#mainwrapper { background-image: url(uploads/images/sitePics/spisBedre.gif); background-repeat: no-repeat; background-position: right 0; width: 860px; height: auto; margin: 0 auto; padding-top: 32px; }
div#pagewrapper { width: 850px; margin: 0; padding: 4px; border: solid 1px #666; }
div#topwrapper { position: relative; width: 850px; height: 350px; }
div#topwrapper_front { position: relative; width: 850px; height: 119px; }
div#topimage { position: absolute; top: 0; left: 0; width: 850px; height: 350px; }
div#menuwrapper { position: absolute; top: 118px; left: 0; width: 850px; height: 114px; z-index: 10; }
div#menuwrapper_front { background-color: #ab0c21; background-image: url(uploads/images/sitePics/menufrontbg.gif); background-repeat: no-repeat; position: absolute; z-index: 1; top: 0; left: 0; width: 850px; height: 114px; overflow: hidden; }
div#submenuwrapper { width: 850px; height: auto; }
div#bottomwrapper { width: 850px; height: 300px; overflow: auto; }
div#bottomwrapper_front { width: 850px; height: 430px; }
div#bottomleftwrapper { width: 550px; height: auto; float: left; }
div#bottomrightwrapper { width: 280px; height: auto; float: right; }
div#bottomright { padding: 20px; }
div#content { color: #595959; font-size: 13px; line-height: 16px; padding: 20px; width: auto; height: auto; }
div#footerwrapper { width: 850px; height: auto; clear: both; }
div#footer { color: #9c9c9c; font-size: 95%; text-align: right; padding-top: 10px; padding-right: 5px; }
#footer a:link { color: #9d9d9d ; font-weight: normal; text-decoration: none; }
#footer a:visited { color: #9d9d9d ; font-weight: normal; text-decoration: none; }
#footer a:hover { color: #c40000 ; font-weight: normal; text-decoration: none; }
/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 { color: #c40000; font-size: 1.8em; font-family: Arial, Verdana, Helvetica, sans-serif; font-weight: normal; text-align: left; word-spacing: 2px; margin-bottom: 22px; }
div#content h3 {
   color: #4d4d4d; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.5em;
}
div#content h4 { color: #ab0c21; font-weight: bold; margin-bottom: 2px; }
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   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;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
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%;   /* smaller font size, as these are usually not so important data */
}
/* END TEXT */
/* LISTS */
div#content ul, div#main ol, div#main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#content ul li, div#main ol li { margin: 0 0 0.25em 3em; }
/* END LISTS */

/* End of 'Felles' */

