/* Start of CMSMS style sheet 'Mestermureren_css' */
/*****************
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;
}

body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

div {
   font-size: 1em;
}

img {
   border: 0;
}
.billedtekst {
   font-size: 0.85em;
   line-height: 0.85em;
   font-style: italic;
   margin-top: 2px;
}
#content img {
   padding: 2px;
   border: 2px solid #848484;
}
/*********************
******************/
a,
a:link a:visited 
a:active {
   color: #1e5283; 
   text-decoration: underline;
   background-color: inherit; 
}

a:hover {
   text-decoration: none;
   background-color: inherit;
   color: #cc4433;
}


/*****************
basic layout 
*****************/
body {
   color: #000;
   background:#eee url(images/cms/bgmain.gif) repeat 0 0; 
   margin:1em;
}

div#pagewrapper {
   width: 774px;
   margin: 0 auto;     /* this centers wrapper */
   background-color: inherit;
   color: black;

}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 157px; 
}

div#header h1 a {
/* you can set your own image here */
   background: url(images/cms/MesterMureren.gif) no-repeat 0 0; 
   display: block; 
   height: 157px;             /* 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#backgroundwrap {
   background: #fff url(images/cms/bg_slice_10.gif) repeat-y 0 0 ;
   color: #000;
}

div.breadcrumbs {
   color: #676767;
   background-color: inherit;
   padding: 8px 0 16px 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 0 0 16px; 
   width: 718px;
   float: left;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
   width: 20px;
 }

div#print {
   float: left;
   text-align: right;
   margin-top: 12px;
width: auto;
}

div#content {
   margin: 0 0 0 30px; /* some air above and under menu and content */
   width: 714px;
}
div#byggaranti {width: 150px; height: 35px; background:#fff url(uploads/images/byggaranti.gif) repeat 0 0; float: right;}

div#main {
   margin-right: 280px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
}
.overskriftekstra {padding-top: 44px}
div#main hr, div#sidebar hr {
   color: #cc4433;
   background-color: #cc4433;
   height: 1px;
   position: relative;
   top: 0;
   left: 0;
margin: 0px 0px 10px 0px; 
border: none;
}
div#sidebar {
   float: right;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 250px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 10px;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   width: 250px;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#footer {
   background: url(images/cms/foot_12.gif) no-repeat 0 0 ; 
   height: 26px;
   width: 100%;
}

div#footer p {
   color: #4d4d4d;
   background-color: inherit;
   font-size: 0.8em;
   padding: 4px 0 0 16px;      /* some air for footer */
   margin:0;
}

div#footer a:link, div#footer a:active, div#footer a:visited{
   color: #4d4d4d; /* needed becouse footer link would be same color as background otherwise */
   text-decoration: underline;
   background-color: inherit; 
}

div#footer a:hover {
   text-decoration: none;
   background-color: inherit; 
   color: #cc4433;
}


/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}

/* relational links under content */
div.right49 {
  text-align: right;
  margin-right: 12px
}

/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #505050; 
   font-size: 1.6em; 
   padding-bottom: 1px;
   border-bottom: 1px solid #cc4433;
   line-height: 1.6em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #cc3433; 
   background-color: inherit;
   font-size: 1.1em;
   line-height: 1.45em;
   margin: 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
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#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;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */
/* End of 'Mestermureren_css' */

