/* Start of CMSMS style sheet 'web: layout intro' */
/*****************
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: Arial, Helvetica, Verdana, Geneva, sans-serif;
   font-size: 14px;
   line-height: 22px;
}

/*
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
*/
/* 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: #a1addb;
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #a1addb;              /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #a1addb;
}

/*****************
basic layout 
*****************/
body {
   background-color: #2e095a;
   color: #cfcfcf;
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 0px solid red;
   margin: 10px auto;       /* this centers wrapper */
   background: #111a3d url(uploads/layout/bg_totaal_intro.jpg) no-repeat; 
   width: 997px;
   height: 614px;
   color: #cfcfcf;
}


/*** 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: 89px;    /* adjust according your image size */          
}

div#header h1 a {
/* you can set your own image here */
/*   background: #385C72 url(uploads/layout/header.png) no-repeat; zit al in bg_totaal */
   display: block;
   height: 89px;             /* 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#content {
   margin: 5px auto 2em 0;   /* some air above and under menu and content */
}


div#main {
   margin-left: 20px;
   margin-top:35px;
   width: 977px;
   min-height: 430px;
   height: 430px;
   overflow: none;
 }

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   height: 25px;
   margin-left: 20px;
   padding-top:5px;
}

div#footer p {
   font-size: 0.8em;
   padding: 5px 1.5em;       /* some air for footer */
   text-align: right;  /* centered text */
   margin: 0;
}

div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}



/* End of 'web: layout intro' */

