.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

form {
margin: 0px; 
padding: 0px;
}

html {height: 110%;}

body, html {
min-height: 100%;
margin: 0px; 
padding: 0px;
font-size: 12px;
font-family: Arial, helvetica;
background-color: #EFEFEF;
}

div#etusivuninfo {
width: 100%;
min-height: 250px;
}

div#haku {
float: right;
}

div#sitecontainer {
background-image: url(../lujakoti_images/taivas.jpg);
background-position: top center;
background-repeat: no-repeat;
margin: 0 auto;
width: 990px; 
border: 5px solid white;
border-top: 0px;
position: relative; 
text-align: center;
background-color: white;
}

div#huoneistot_ja_kartta {
width: 316px;
float: left;
}

div#huoneistot {
width: 316px;
background-color: #CCCCCC;
padding-bottom: 10px;
min-height: 200px;
margin-bottom: 8px;
}

table#huoneistot_table {

}

table#huoneistot_table tr#header_row td {
vertical-align: bottom; 
}
table#huoneistot_table td {padding: 1px;}


div#huoneistot h2 {
padding: 0px;
margin: 0px;
padding-top: 20px;
}

div {}

div#left_bg {
position: absolute;
left: 0px;
top: 367px;
}

div#right_bg {
position: absolute;
right: 0px;
top: 202px;
}

/* Sivuston fontit keskikoko */

p, span,td,div {
font-size: 11px;
}

h1, .isootsikko {
margin-top: 10px;
font-size: 25px;
font-weight: normal;
letter-spacing: -1px;
}

h2 {
font-size: 17px;
font-weight: normal;
}

h3  {
font-size: 15px;
font-weight: normal;
}

h4, .pieniotsikko {
font-size: 12px;
font-weight: bold;
color:#42b3c3;
}

h5 {
font-size: 12px;
font-weight: bold;
}

h6 {
font-size: 10px;
font-weight: bold;
}


a {
color: #c00100;
text-decoration: none;
}

div#menu {position: absolute;
text-align: left;
z-index: 100;
}

div#etusivunteksti {
height: 230px;
}
div#haku table td{
padding: 0px;
margin: 0px;
padding-top: 4px;
padding-right: 10px;
}

div#haku select {
border: 1px solid gray;
height: 20px;
width: 160px !important;
}
div#haku input {
border: 1px solid gray;
height: 20px;
}

div.ajankohtaista {
margin-top: 5px;
display: block;
background-color: #cccccc;
height: 26px;
padding-top: 4px;
padding-bottom: 4px;
}
div.ajankohtaista h2 {
line-height: 26px;
}

div.myytavat {
margin-top: 5px;
display: block;
background-color: #cccccc;

padding-top: 3px;
padding-bottom: 3px;
}

div.myytavat p {
padding: 0px;
margin: 0px;
margin-left: 5px;
}

div.myytavat p.kartat {
display: block;
width: 112px;
float: right;
}

div.ajankohtaista h2 {
padding: 0px;
margin: 0px;
padding-left: 5px;
}

div.asuntonosto {
margin: 3px;
border: 1px solid #999999;
width: 329px;
height: 125px;
float: left;
}

div.kohde {

border-bottom: 1px solid #999999;
width: 100%;
height: 105px;
}


div.asuntonosto div.margin{
margin: 13px;
}

div.kohde div.margin{
margin: 13px;
}

div.asuntonosto table, div.kohde table{
padding: 0px; margin: 0px;
border-spacing: 0px;
}

div.asuntonosto td.teksti a, div.kohde td.teksti a {
white-space: nowrap;
}

div.asuntonosto table td,div.kohde table td {
padding: 0px; margin: 0px;
vertical-align: top;
}

div.asuntonosto h2, div.kohde h2 {
font-size: 14px;
margin: 0px;
padding: 0px;
}

div.asuntonosto img, div.kohde img {
margin: 0px;
padding: 0px;
border: 0px;
margin-right: 10px;
}


div.kohde td.kartta img{
float: right;
margin-right: 0px;
}

div.kohde td.teksti {
width: 250px;
}

div.kohde td.details {
width: 240px;
}

td.details table {
margin-top: 18px;
margin-left: 12px;
}

td.details table td{
padding-left: 2px;
}
div#menu h2 {
color: #c60000;
font-weight: bold;
font-size: 12px;
padding: 0px;
margin: 0px;
}

div#menu ul {
display: block;
padding: 0px;
margin: 0px;
padding-top: 3px;
}

div#menu ul li {
display: block;
padding: 0px;
margin: 0px;
list-style-type: none;
}

div#menu ul li a {
font-size: 11px;
display: block;
padding: 0px;
margin: 0px;
color: black;
}

div#menu ul li a:hover {
color: #C60000;
font-weight: normal;
}

div#site {
width: 682px;
padding-left: 156px;
padding-right: 156px;
padding-bottom: 10px;
margin: 0 auto;
text-align: left;
position: relative;
background-image: url(../lujakoti_images/footer_image.gif);
background-repeat: no-repeat;
background-position: bottom right;
min-height: 650px;
}

div#imagearea img {
margin: 0px;
padding: 0px;
border: 0px;
}

div#mainimagearea {
width: 470px;
height: 250px;
float: left;
}

img#mainimage {
width: 470px;
height: 250px;
}

div#image-icons {
width: 207px;
height: 250px;
float: right;
}


div#image-icons  h2 {
margin: 0px;
padding:  0px;
font-size: 20px;
line-height: 65px;
margin-left: 3px;
}

div#image-icons div {
float: left;
margin-left: 3px;
margin-bottom: 3px;
padding: 0px;
width: 99px;
height: 91px;
overflow: hidden;
}

div#image-icons div.box5  {
width: 60px;
height: 60px;
}
div#image-icons div.box6  {
width: 60px;
height: 60px;
}

div#image-icons div.box7  {
width: 60px;
height: 60px;
}

div#image-icons div.box8  {
width: 60px;
height: 60px;
}




tr.varattu td, tr.varattu td a {color: gray !important;}
tr.myyty td, tr.myyty td a {color: gray !important; text-decoration: line-through;}

div#image-footer {
background-color: #CCCCCC;
height: 20px;
}

div#image-footer a{
color: white;
line-height: 20px;
float: right;
display:block;
text-decoration: none;
}


div#content {
width: 682px;
float: left;
}

div#menu {
width: 156px;
height: 600px;
position: absolute;
left: 0px;
}

div#menumargin {
margin-left: 17px;
margin-top: 82px;
float: left;
}

div#header {
position: relative;
width: 682px;
margin-top: 36px;
height: 109px;
}


div#header img#ylapalkki{
position: absolute;
left: 0px;
top: 0px;
width: 682px;
height: 109px;
}


div#imagearea{
width: 682px;
}

div#kuvaus {
width: 365px;
float: left;
}


div#kuvaus div.margin{
margin-right: 40px;
}

div.yhthlo {
clear: both;
height: 75px;
}

div.yhthlo img {
display: block;
width: 50px;
height: 75px;
float: left;
margin-bottom: 5px;
}

div.yhthlo p {
margin-left: 15px;
display: block;
float:left;
widht: 150px;
}

div#huoneistot {
background-image: url(../lujakoti_images/huoneistodropshadow.png);
background-position: top;
background-repeat: repeat-x;
background-color: #e2e4e5
}

div#huoneistot div.margin{
margin-left: 10px;
margin-bottom: 10px;
}


td#esiteikoni img {
margin-left: -8px;
}

div#linkit_liitteet {
clear: both;
width: 300x;
}


div#linkit_liitteet a {
color: #c00100;
text-decoration: none;
}



address {font-style: normal; font-weight: bold;}

div#footeri {

}

div#footeri div.inner {
padding-top: 28px;
}

div#footeri p {
width: 250px;
}



a#etusivulle {
display: block;
position: absolute;
left: 90px;
top: 20px;
font-size: 18px;
color: black;
}
