/* Start of CMSMS style sheet 'sisustakotia' */
/*****************
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: Georgia, Times, serif;
}

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

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #144012;                
}

/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #378602;
}

/**************************************************
Basic styling
**************************************************/

body {
  background: #f4fde7 url(uploads/images/siteimages/bodybg.jpg) repeat-x;
}

div#pagewrapper {
   width: 1000px;
   margin: 0 auto;
   padding: 0;
}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   width: 1000px;
   height: 240px;
   margin: 0;
   padding: 0;
}

div#header h1 a{
/* you can set your own image here */
   width: 500px;
   height: 140px;
   padding: 0;
   margin: 0;
   background: url(uploads/images/siteimages/headerarea/headerbg.jpg);
   display: block;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   float: left;
}

div#ads {
   width: 120px;
   float: right;
}

#banneri {
   background-image: url("uploads/images/siteimages/rekbanneri/kuva2.png"); 
   height: 400px; width: 120px;
}

#banneri a {
  border: none;
}

div#footer {
   height: 100px;
   text-align: center;
   background: transparent url(uploads/images/siteimages/footerbg.jpg) no-repeat;
   clear: both;
   font-size: 12px;
   margin-top: 30px;
}

div#footer p {
   padding-top: 40px;
}

/*****************************
             SEARCH STYLING
******************************/

div#searchwrapper {
    width: 500px;
    height: 140px;
    float: right;
   background: transparent url(uploads/images/siteimages/headerarea/searchbg.jpg) no-repeat;
}
div#search { 
   float: right;
   height: 60px;
   width: 150px;
   margin: 20px 0 0 0;
   padding: 0 0 0 10px;
   overflow: hidden;
   position: relative;
   bottom: 3px;
}
div#search .text {
   width: 120px;
   margin: 0 2px 0 0;
}
div#search .hakunappi {
   margin: 2px 0 0 87px;
}
/* End of 'sisustakotia' */

