/* base
----------------------------------------------- */

body {
margin: 0;
padding: 0;
font-family: Arial, "Lucida Grande", Tahoma, Helvetica, sans-serif;
color: #000;
  background-color: #f5f5f5;
  background-image:url(bg.gif);
  background-repeat: repeat-x;
}

blockquote, p, li {
padding-right: 10px;
padding-left: 10px;
font-size: 0.9em;
line-height: 1.6em;

}

blockquote {
margin-right: 0;
margin-left: 20px;
}


h1, h2, h3 {
padding-right: 10px;
padding-left: 10px;
font-size: 0.9em;
line-height: 1.6em;
font-weight: normal;
background-color: #cfcfcf;
margin-top:  0px;
padding-top: 0px;
color: #000000;
}


p  {margin:  0  0  1em;}

#vas_artikkelit a:hover {
color: #000000;
background-color: #00b1fa;
background-color: #fae554;
}

h4 {
background-color: #fae554;
font-family: Geneva, Arial, Helvetica, sans-serif;
text-align: center;
color: #000000;
Font-size: 17px;
margin:  0px;
padding: 0px;
margin:  0  0  1em;
}

h1, h2 {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-weight: bold;
margin:  0px;
padding: 0px;
}

h1 {
font-size: 3em;
}

h2 {
font-size: 1em;
font-style: italic;
}

hr {
margin: 2em auto;
width: 370px;
height: 1px;
color: #7a7e7d;
background-color: #7a7e7d;
border: none;
}

small, .small {
font-size: 0.9em;
}




/* links
----------------------------------------------- */

a {
text-decoration: none;
color: #000;
border-bottom: 1px #000 solid;
}

h1 a, h2 a, h3 a, h4 a {
border: none;
}

h3 a {

background-color: #00a1fe;
background-color: #cfcfcf;;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
color: #000000;
}


ul li { 
font-family : Geneva, Arial, Helvetica, sans-serif;
color : #000000;
font-size : 11px;
list-style-type : circle;
list-style-position : outside;
margin: 0px;
margin-left: 0px;
}


/* overrides
----------------------------------------------- */

#sidebar-2 p, #sidebar-1 p {
font-size: 0.8em;
line-height: 1.5em;
}

.caps {
font-size: 0.9em;
letter-spacing: 0.1em;
}

div.divider {
margin: 2em 0;
text-align: center;
padding: 0px;
}

/* layout
----------------------------------------------- */

#accessibility {
position: absolute;
top: -10000px;
}

#container {
z-index: 4;
width: 681px; 
min-height: 450px; 
top: 209px; 
left: 68px;
position:absolute;
height:expression(this.scrollHeight < 450? "450px" : "auto" );
background-color: #ffffff;
border:1px solid #000;
border-top:0px solid #000;
border-bottom:1px solid #000;
margin:0px;
padding-bottom:0px;
}

#keskelle_yla {
z-index: 4;
text-align:left; 
width: 800px; 
top: 40px; 
margin:0 auto;
position:relative;
padding:0px;
margin-bottom:0px;

}
  

#etsi {
text-align:center; 
font-family : Geneva, Arial, Helvetica, sans-serif;
font-size : 12px;
}

#etsi a {
    color:#000000;
    background-color:#fae554;
    
}

.menu a {margin:0x; padding: 0px; border: 0px; border: none;}
.menu img {margin:0x; padding: 0px; border: 0px; border: none;}

#vas_artikkelit{
top: 22px;
left: 8px;
position: absolute;
z-index: 6;
padding-top:0px;
width: 190px;
float: left;
text-align: left;
background-color:#ffffff;
background-image:url(bg2.gif);
background-repeat: repeat-x;
}




#oikea {
padding-top: 100px;
width: 120px;
margin-left: 5px;
float: right;
}

#teksti {
z-index: 10;
width: 470px;
left: 204px;
top: 20px;
position: relative;
min-height: 450px;
height:expression(this.scrollHeight < 450? "450px" : "auto" );
background-color: #f5f5f5;
padding:0px;
margin-bottom:20px;
}

#teksti img {
border:2px solid #000000;;
margin:0px;
padding:0px;
}

#osoite {
margin: 0px;
padding: 0px;
top:0px;
left:0px;
clear: all;
text-align: right;
height: 20px;
background-color: #fae554;
border-top:1px solid #000;
border-bottom:0px solid #000;

}


/* box model hacks
http://archivist.incutio.com/viewlist/css-discuss/48386
----------------------------------------------- */

/* comments
----------------------------------------------- */

.comments_error {
color: #000;
background-color: #fff4f4 
}

ul.comments_error {
padding : 0.3em;
list-style-type: circle;
list-style-position: inside;
border: 2px solid #fdd;
}

div#cpreview {
color: #000;
background-color: #f1f1f1;
border: 2px solid #ddd;
}

form#txpCommentInputForm td {
vertical-align: top;
}