/* Start of CMSMS style sheet 'main' */
/*****************
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;
}

/*
Various classes:
- the first classes set the background images for the header
- mailto sets style for email in footer
- intro sets style for intro text on homepage
- smallLogo sets margin on small logo on homepage (right column)
- platetext sets "p" style in faded area in left column on homepage
*/

.hdr_left {width:385px; height:145px; background: transparent url(images/cms/hdr_left_bg.jpg) no-repeat bottom left; }
.hdr_right{width:381px; height:112px; background: transparent url(images/cms/hdr_right_bg.jpg) no-repeat bottom left; }
.mailto {color: #99cc66; font-size: 9px; text-align: center; padding: 3px 0px 0px 3px;}
.intro {color:#336600;font-weight:bold;line-height:18px;}
.smallLogo {margin:10px 7px 0 0;}

/*
Set initial font styles
*/

body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   background: transparent  url(images/cms/body_bg.png) repeat-x 0 3px;
}

/*
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;
}

/*
Set tabledata styles
*/

td {
   vertical-align:top;
   text-align:left
}


a {
   color: #164717;
   font-weight: bold;
   text-decoration: underline;
}

a:hover {
   color: #28802B;
   text-decoration: none;
}

.tipslink{
   margin:0 0 0 187px;
   background:white;
}


#pagewrapper {
   width:765px;
   margin:12px auto;
   background:white;
}

/*
header
*/

div#header {
   height: 145px; 
   background: #fff; 
   width:765px;
}

div#main {
   margin:0; 
}

div#footer {
   clear:both;       
   color: #fff;
   background: transparent  url(images/cms/footer_bg.jpg) no-repeat bottom left;
   border-top:1px solid #ddd;
   height:100px;
}

div#footer p {
   color: #99cc66;	
   font-size: 9px;	
   text-align: center; 
   padding: 3px 0px 0px 3px;}
}

div#footer a {
   color: #99cc66;	
   font-size: 9px;	
   font-weight:bold;
   text-align: center; 
   padding: 3px 0px 0px 3px;}
}

/* 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;
}

/*
CONTENT STYLING
*/

#overskrift_forside  {
       font-size: 11px;
       margin:0 0 0 15px;
}

 div#content {
   margin: 0 auto 2em 0; /* some air above and under menu and content */
   border-top:1px solid #fff;
   padding:0 0 0 15px;
   background: transparent  url(images/cms/main_bg.gif) repeat-x top left;
   clear:both;
}

#leftColumn{
   width:350px;
   float:left;
   padding-top:13px
}

#topLeft {
   width:352px;
   height:16px;
   background: transparent  url(images/cms/subPic.gif) no-repeat top left;
}

#contentLeft {
   width:349px;
   font-size:12px;
   color: #669933; 
   line-height:20px; 
   text-transform:uppercase;
   margin:0 0 0 10px;
   padding:0 0 0 1px;
   background: transparent  url(images/cms/contentLeft_bg.gif) repeat-x top left;
}

#bottomLeft {
   width:369px;
   height:20px;
   margin:0 0 0 0;
   background: transparent  url(images/cms/bottomLeft.gif) no-repeat top left;
}

#rightColumn{
         
   width:385px;
   float:right;
   padding: 0px 10px 0px 0px
}

#padding_flash_frontpage {
   padding-left:25px;
}

#flash_frontpage {
   background-image: url(http://organdonasjon.no/images/banners/organdonasjon_245x350_3.gif); 
   background-repeat: no-repeat; 
}



#padding_flash_donorkortside {
   padding-left:140px;
   height: 100;
   width;  468;
}

#flash_donorkortside {
   background-image: url(http://organdonasjon.no/images/banners/organdonasjon_468x100_3.gif); 
   background-repeat: no-repeat;
   height: 100;
   width;  468;
}




div#content p {
   color:#336600;
   padding: 9px 15px 10px 15px;
}

/* style for buttons */
.buttons {
   float: right;
   padding: 20px 15px 0px 0px;
}

/* style for search */
.search {
   float: left;
   padding: 15px 0px 0px 0px;
   display: inline;
}




/*.knapp_sok {/*
/*   width:49px;/*
/*   height:23px;/*
 /*  background: url(http://organdonasjon.no/images/knapp_sok.gif);/*
 /*  padding: 0px 0px 0px 0px;/*
/*}/*


/* set millions of background images */
.rbroundbox { background: url(http://organdonasjon.no/uploads/images/roundcornerimages/nt.gif) repeat; }
.rbtop div { background: url(http://organdonasjon.no/uploads/images/roundcornerimages/tl.gif) no-repeat top left; }
.rbtop { background: url(http://organdonasjon.no/uploads/images/roundcornerimages/tr.gif) no-repeat top right; }
.rbbot div { background: url(http://organdonasjon.no/uploads/images/roundcornerimages/bl.gif) no-repeat bottom left; }
.rbbot { background: url(http://organdonasjon.no/uploads/images/roundcornerimages/br.gif) no-repeat bottom right; }

/* height and width stuff, width not really nessisary. */
.rbtop div, .rbtop, .rbbot div, .rbbot {
width: 100%;
height: 7px;
font-size: 1px;
}
.rbcontent { margin: 0 7px; }
.rbroundbox { width: 100%; margin: 1em auto; margin:15px 0 15px 13px;}




.spiffy{display:block}
.spiffy *{
  display:block;
  height:1px;
  overflow:hidden;
  font-size:.01em;
  background:#E6F5C2}
.spiffy1{
  margin-left:3px;
  margin-right:3px;
  padding-left:1px;
  padding-right:1px;
  border-left:1px solid #f4fae4;
  border-right:1px solid #f4fae4;
  background:#ecf7d1}
.spiffy2{
  margin-left:1px;
  margin-right:1px;
  padding-right:1px;
  padding-left:1px;
  border-left:1px solid #fcfef8;
  border-right:1px solid #fcfef8;
  background:#eaf6cd}
.spiffy3{
  margin-left:1px;
  margin-right:1px;
  border-left:1px solid #eaf6cd;
  border-right:1px solid #eaf6cd;}
.spiffy4{
  border-left:1px solid #f4fae4;
  border-right:1px solid #f4fae4}
.spiffy5{
  border-left:1px solid #ecf7d1;
  border-right:1px solid #ecf7d1}
.spiffyfg{
  background:#E6F5C2}




/*
HEADINGS 
*/

div#content h1 {
   font-size: 14px;  /* font size for h1 */
   line-height: 1em;
   margin: ;
   padding: 0px 0px 0px 15px
}

/* 
TEXT 
*/


strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* 
LISTS 
*/

div#content LI {
    margin: 0px 0px 0px 40px;
}



/* End of 'main' */

/* Start of CMSMS style sheet 'navigation' */
h1.title
{
font-size:1.7em;
margin:20px 0 28px 5px;
color:#ffff00;
width:400px;
line-height:1.5em;
}

#menu_vert {
   margin-top:0px;
   margin-left:150px;
   font-weight:bold;
   width:auto;
   float:left;
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper { 
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */ 
   width: 100%;
   background: transparent url(images/cms/nav1_bg.png) repeat-x top left;
   
}


/* Set the width of the menu elements at second level. Leaving first level flexible. */

#primary-nav li li { 
   width: 200px; 
}


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin:0px; 
   padding: 0px; 
}
#primary-nav ul { 
   position: absolute; 
   top: auto; 
   display: none; 
   border-left: 1px solid #C0C0C0;
   border-right: 1px solid #C0C0C0;
   border-bottom: 1px solid #C0C0C0;
}
#primary-nav ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%; 
   top: 0px; 
}
	
#primary-nav li { 
  /* margin-left: -1px; */ 
   float: left; 
   display:inline;
   margin: 0 0 0 22px;
}
#primary-nav li li { 
   margin-left: 0px;
   margin-top: 0px;
   float: none; 
   position: relative; 
   background: transparent url(images/cms/nav_ul_bg.png);
   width:162px;

}

/* Styling the basic apperance of the menu elements */
#primary-nav a { 
   display: block; 
   margin: 0px; 
   padding:8px 0 7px 0;  
   text-decoration: none; 
   color: #006699;
}
#primary-nav li a { 
   color:#EEF8ED;
   font-size:1.1em;
   background:transparent;
}
#primary-nav li a:hover { 
   color:#006600;
   font-size:1.1em;
   background:transparent;
}
#primary-nav li li a { 
   padding:10px 0px 5px 10px; 
   color:#333;
   font-size:10px;
}	

#primary-nav li li a:hover { 
   padding:10px 0px 5px 10px; 
   color:#777;
   font-size:10px;
}	

#primary-nav li, #primary-nav li.menuparent { 

}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
   background-color: transparent; 
}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth { 
/* arrow for menuparents */
   background-image: url(images/cms/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat; 
}


/* Styling the apperance of menu items on hover */

#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
   display: none; 
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
   display: block; 
}


/* IE Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}

/************** Listomatic ***************/

#navlist
{
padding-left: 0;
margin-left: 0;
border-bottom: 1px solid #ccc;
width: 200px;
}

#navlist li
{
list-style: none;
margin: 0;
padding: 5px 0.25em 5px 0.25em;
border-top: 1px solid #ccc;
}

#navlist a
{
letter-spacing:.2em;
}

#navlist li a { text-decoration: none; }


/* End of 'navigation' */

