/* Start of CMSMS style sheet 'Layout: Left sidebar + 2 column' */
/*****************
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: Palatino Linotype, Palatino, serif;
   font-size: 15px;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/

a,
a:link, 
a:active {
   text-decoration: underline;
   background-color: inherit; 
   color: #444;
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #444;               
}


a:hover {
   color: #555;
}

/*****************
basic layout 
*****************/
body {
   margin:0; 
}

div#pagewrapper {
   border: 0px solid black;
   margin: 0 auto;      
   width: 1210px; 
   height:671px; 
   color: #444;
   background-image:url(uploads/images/wrapper_bg.gif);
   padding:20px 0 0 56px;
}


/*** header ***/

div#header {
   height:146px;
  }


/* position for the search box */
div#search {
   width: 204px;    
   margin: 0;
   background-color:#ABABAB;
   height:44px;
}

#cntnt01moduleform_1 {
   padding:10px 10px 0px 12px;
}

div#content {
   margin-left: 46px;
   height:470px;
   width:992px;
}


div#main {
   float:left;
   width:544px;
}

div#main-top {
   background-color: #F9ABB0;
   height:426px;
  overflow:hidden;
}

div#main-toptekst {
   padding:40px 16px 10px 30px;
   height:376px;
   overflow:auto;
}

div#main-bottom {
   background-color: #CC0000;
   height:44px;
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 204px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin: 34px 0 0 0;
   overflow:hidden;
 }

div#banner {
    float:left;    
    width:200px;
    margin:90px 0 0 -12px;
    padding:0;
}

div#right {
   float: right;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 244px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin:0;
}


div#footer {
   margin :0px 170px 0 0 ;
   clear: both;       
   color: #595959;
}

div#footer p {
   font-size: 11px;
   font-weight:bold;
   font-family:Verdana,Arial, Arial, Helvetica, sans-serif;
   text-align: right;   
   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#header h1  {
   display: block;
   height: 0px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
 
}


div#main h1 {
   color: #595959;    
   font-size: 1.7em; 
   margin-left: -3000px;
   
}
div#main h2 {
	color: #595959; 
	font-size: 18px; text-spacing:1px;
	padding-bottom: 1px;
        line-height: normal;
        margin: 0 0 0.7em 0;
        font-family:Arial Black, Arial, Helvetica, sans-serif;
text-transform:uppercase;
}

div#main h3 {
   color: #595959; 
   font-size: 1.3em;
   line-height: normal;
   margin: 0 0 0.5em 0;
        font-family:Arial, Helvetica, sans-serif;
 
}
div#main h4 {
   color: #595959; 
   font-size: 1.2em;
   line-height: normal;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #FFF; 
   font-size: 1.1em;
   line-height: normal;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #FFF; 
   font-size: 1em;
   line-height: normal;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
#main  {
         font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.5em;
   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;
}


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 */
/* End of 'Layout: Left sidebar + 2 column' */

