/************* Global *************/
html,body {height:100%}

* {
margin: 0;
padding: 0;
}

body, input{
font-family: "Trebuchet MS", Verdana, sans-serif;
text-align: left;
}

a {
text-decoration: none;
color: #f97cbd;
}

blockquote {
background: #f7f7f7;
padding: 15px;
margin: 5px 0;
}

/************* Container *************/
#container {
height: auto !important;
min-height: 100%;
width:100%;
padding-bottom: 15px;
position: absolute;
left:0px;
top:0px;
background: #f4bad8 url(./images/containerbg.gif) bottom left repeat-x fixed;
}

* html #container {
	height: 100%;
}

/************* Header *************/
#headerWrap {
height: 89px;
background: url(./images/headerbg.gif);
}

#header {
width: 740px;
margin: 0 auto;
}

#header h1 a {
font-size: 30px;
letter-spacing: -1px;
padding-top: 5px;
float: left;
color: #f4bad8;
}

ul#navigation li {
list-style-type: none;
float: right;
}

ul#navigation li a {
padding: 1px 1px 1px;
display: block;
font-size: 15px;
color: #f4bad8;
}

ul#navigation li a:hover, #footer a:hover {
background: #9b6e89;
}

/************* Content *************/
#content {
width: 740px;
margin: 7px auto 0;
background: #fff;
border: 1px solid #fff;
position: relative;
}

#content:after {
content: "."; 
display: block; 
clear: both; 
height: 0;
visibility: hidden
}	

#content a:hover {
background: #f4bad8;
color: #fff;
}

/* 
Header with picture and site description.
It uses a hack for vertical-align because IE doesn't work properly with tables
*/
#contentHeader {
margin: 15px auto;
width: 710px;
height: 182px;
background: url(./images/ylapalkki.gif) no-repeat;
border: 1px solid #44434c;
position: relative;
}

#contentHeader[id] {
display: table;
position: static;
}

#siteDescription {
position: absolute;
top: 50%;
padding-left: 250px;
color: #44434c;
}

#siteDescription[id] {
display: table-cell;
vertical-align: middle;
position: static;
}

#siteDescription p {
position: relative;
top: -50%;
}

#content h2 {
margin: 5px 0;
border-bottom: 1px solid #9b6e89;
font-size: 16px;
}

#content hr {
border-bottom: 1px solid #9b6e89;
}

#content ul {
padding: 2px 15px 1px 20px;
list-style-image: url(./images/arrow.gif);
}
.musta {
color:#000;
}

.pieniviiva {
font-size: 10px;
border-bottom: 1px solid #9b6e89;
}

.pienifont {
font-size: 9px;
color:#000;
}

.viiva {
border-bottom: 1px solid #9b6e89;
}

.raita {
border-top: 1px solid #9b6e89;
}

.uutispaiva {
font-size: 10px;
border-bottom: 1px solid #9b6e89;
}

.vieraskirja {
font-size: 10px;
border-bottom: 1px solid #9b6e89;
}

.vastaus {
font-size: 11px;
color: #f97cbd;
}

.uutinen {
background: url(./images/palkki.gif) top left;
}

.pieniharmaa {
font-size: 9px;
color: #666666;
}


/************* Main *************/

#main {
margin: 0 20px;
width: 440px;
float: right;
}

.font14 {
font-size: 14px;
}

.post {
text-align: justify;
font-size: 14px;
}

/************* Secondary *************/

#secondary {
width: 190px;
margin-left: 10px;
float: left;
}

/************* Search *************/
#searchform input {
background: #f7f7f7;
font-size: 0.9em;
}

#searchsubmit {
margin-top: 5px;
padding: 0 10px;
text-align: center;
}

#searchform fieldset {
border: 0;
}

/************* Footer *************/
#footer {
position: relative;	
clear: both;
margin: 0 auto;
background: #45444d;
width: 740px;
color: #fff;
border: 1px solid #fff;
clear: both;
text-align: center;
}

#footer a {
color: #fff;
font-weight: bold;
}