body {
behavior: url(csshover.htc);
}
* { margin: 0px; padding: 0px; }
img { border: 0px;}

h1 { font-size: 22px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }

h1,h2,h3,h4,h5,h6 {
    font-family: "Trebuchet MS";
    color: #637619;
    margin: 0.5em 0;
    font-weight: normal;
}
.mokit {
    color: #a8370d;
}
p {
	line-height: 150%;
	color: #333;
	padding-top: 1em;
	padding-right: 0;
	padding-bottom: 1em;
	padding-left: 0;
}
a, a:visited {
    color: #265f97;
    
}
#languagebar {
	width: 797px;
    border-bottom: 0px;
	margin: 0px auto;
    margin-top: 5px;
    margin-bottom: 0px;
	text-align: right;
}
#base {
	width: 797px;
	background-color: #fff;
	border: 1px solid #fff;
    border-bottom: 0px;
	margin: 0px auto;
    margin-top: 5px;
    margin-bottom: 20px;
}
#footer {
	width: 797px;
	margin: 0px auto;
    margin-top: 0px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
    font-size: 11px;
}
#footer a {
    color: #fff;
}
#navigation {
    width: 797px;
    height: 36px;
}
#header {
    width: 797px;
    height: 184px;
}
#logo h1 {
    display: none;
}
#logo {
    width: 266px;
    height: 184px;
    background-image: url("../img/logo.jpg");
    float: left;
}
#banner {
    width: 531px;
    height: 184px;
    float: right;
}
#contact {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
    color: #333;
    font-size: 12px;
}
#contact a {
    color: #333;
}
.bar {
    width: 100%;
    height: 13px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    background-image: url("../img/bar_bg.jpg");
    background-repeat: repeat-x;
}
#content {
    width: 717px;
    padding-top: 30px;
    padding-left: 40px;
    padding-bottom: 30px;
    padding-right: 40px;
}
#text_content {
    padding-right: 15px;
}

li#a, li#a li {
    background-image: url("../img/etusivu.jpg");
}
li#b, li#b li  {
    background-image: url("../img/maatilanesittely.jpg");
}
li#c, li#c li  {
    background-image: url("../img/vuokrattavatmokit.jpg");
}

li#a, li#b {
	border-right: 1px solid #fff;
}

.menu ul{
list-style-type:none;
padding:0;
margin:0;
}
/* make the top level links horizontal and position relative so that we can position the sub level */
.menu li{
float:left;
position:relative;
z-index:100;
}

/* use the table to position the dropdown list */
.menu table{
position:absolute;
border-collapse:collapse;
z-index:80;
left:-1px;
top:36px;
}

/* style all the links */
.menu a, .menu :visited {
display:block;
font-size: 12px;
font-weight: bold;
width:265px;
height: 36px;
line-height: 36px;
color: #fff;
text-decoration:none;
text-align:center;
}
/* style the links hover */
.menu :hover{
color: #fff;
background-position: 0 -36px;
}

/* hide the sub level links */
.menu ul ul {
visibility:hidden;
position:absolute;
width:265px;
margin-left: -1px;
border: 1px solid #fff !important;
border-top: 0px !important;
}
.menu ul ul li {
border-top: 1px solid #fff;
}
/* make the sub level visible on hover list or link */
.menu ul li:hover ul,
.menu ul a:hover ul{
visibility:visible;
}









#content ul{
	color: #333;
	list-style-position: inside;
}








.imagebox {
    width: 329px;
    margin-top: 30px;
    background-image: url("../img/box_bg.jpg");
    background-repeat: repeat-y;
}
.imageboxnobox {
    width: 329px;
    margin-top: 30px;
}
.imagebox_text {
    padding: 20px;
    padding-top: 10px;
    padding-right: 30px;
}
.imagebox_bottom {
	background-image: url("../img/box_bottom.jpg");
	background-position: bottom;
	background-repeat: no-repeat;
	padding-bottom: 15px;
	height: 100%;
}
.imagebox_bottomnobox {
	padding-bottom: 15px;
	height: 100%;
}
.imagebox a {
    font-weight: bold;
    color: #265f97;
}
.left {
    float: left;
}
.right {
    float: right;
}
.clear {
    clear: both;
}

