html, body {
	height: 100%;
}

body {
	background: #fff url(img/ui/bg_body.jpg);
	font: 12px Tahoma, Verdana, Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
}

div#wrap {
	background:  url(img/ui/bg_wrap.jpg) repeat-y;
	margin: 0 auto;
	min-height: 100%;
	position: relative;
	width: 891px;
}

div#header {
	background: url(img/ui/bg_header.jpg) no-repeat;
	height: 139px;
}

div#header h1 {
	height: 75px;
	text-indent: -9999px;
}

div#content {
	min-height: 300px;
	padding: 20px 92px 20px 80px;
}	

/* main menu */

ul#mainmenu {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul#mainmenu li {
	float: left;
	margin: 0;
	padding: 0;
}

ul#mainmenu li a {
	display: block;
	float: left;
	height: 64px;
	overflow: hidden;
	text-indent: -9999px;
}

li#mm-myydaan a { background: url(img/ui/bg_mainmenu.jpg) no-repeat; width: 134px; }
li#mm-ostetaan a { background: url(img/ui/bg_mainmenu.jpg) -134px 0 no-repeat; width: 79px; }
li#mm-lahjoitetaan a { background: url(img/ui/bg_mainmenu.jpg) -213px 0 no-repeat; width: 101px; }
li#mm-kyydit a { background: url(img/ui/bg_mainmenu.jpg) -314px 0 no-repeat; width: 117px; }
li#mm-asunnot a { background: url(img/ui/bg_mainmenu.jpg) -431px 0 no-repeat; width: 73px; }
li#mm-jata a { background: url(img/ui/bg_mainmenu.jpg) -504px 0 no-repeat; width: 115px; }
li#mm-pois a { background: url(img/ui/bg_mainmenu.jpg) -619px 0 no-repeat; width: 127px; }
li#mm-pala a { background: url(img/ui/bg_mainmenu.jpg) -746px 0 no-repeat; width: 145px; }

li#mm-myydaan a:hover { background-position: 0 -64px; }
li#mm-ostetaan a:hover { background-position: -134px -64px; }
li#mm-lahjoitetaan a:hover { background-position: -213px -64px; }
li#mm-kyydit a:hover { background-position: -314px -64px; }
li#mm-asunnot a:hover { background-position: -431px -64px; }
li#mm-jata a:hover { background-position: -504px -64px; }
li#mm-pois a:hover { background-position: -619px -64px; }
li#mm-pala a:hover { background-position: -746px -64px; }

/* post */

div.searchform {
	border-bottom: 1px #1E235E dashed;
}

div.post {
	border-bottom: 1px #1E235E dashed;
	clear: left;
	display: inline;
	float: left;
	font-size: 14px;
	margin: 0 0 10px 0;
	padding: 10px 0 10px 20px;
	width: 699px;
}

div.post-txt {
	float: left;
	width: 479px;
}

div.post-txt-wide {
	float: left;
	width: 699px;
}

div.post-img {
	float: left;
	text-align: right;
	width: 220px;
}

div.post-img img {
	margin-bottom: 3px;
}

div.post-img a.minithumb {
	outline: none;
}

div.post-img a.minithumb img {
	border: 1px #1E235E solid;
	margin-left: 4px;
	padding: 2px;
}

div.thumbholder {
	border: 1px #1E235E solid;
	float: right;
	height: 150px;
	margin-bottom: 3px;
	overflow: hidden;
	padding: 5px;
	position: relative;
	width: 200px;
}

div.thumbbottom {
	background: #EDEDED;
	height: 5px;
	left: 0;
	position: absolute;
	top: 155px;
	width: 210px;
}

p.klikkaakuva {
	font-size: 10px;
	text-align: right;
}

div.post h2 {
	color: #6E7930;
	font-size: 20px;
	font-weight: normal; 
	margin: 0;
	padding: 0;
}

div.post p {
	/*line-height: 20px;*/
	margin: 0 0 20px 0;
	padding: 0;
}

div.post p.date {
	font-size: 10px;
	line-height: normal;
	margin: 0 0 10px 0;
}

div.post p.seller {
	color: #1E235E;
	font-weight: bold;
	margin: 0 0 10px 0;
}

div.post-update {
	border-bottom: 1px #1E235E dashed;
	clear: left;
	display: inline;
	float: left;
	font-size: 14px;
	margin: 0 0 10px 0;
	padding: 10px 0 10px 0;
	width: 719px;
}

/* pagination */

div.pagination {
	text-align: center;
}

div#pagination-links {
	font-size: 14px;
}

div#pagination-links a {
	font-weight: bold;
}

/* headings */

h1 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 30px;
	margin: 0;
	padding: 0;
	text-align: center;
}

h2 {
	color: #1E235E;
	font-size: 20px;
	margin: 0;
	padding: 0;
}

h2.myydaan {
	background: url(img/ui/bg_myydaan.gif) no-repeat;
	height: 30px;
	text-indent: -9999px;
}

h2.ostetaan {
	background: url(img/ui/bg_ostetaan.gif) no-repeat;
	height: 30px;
	text-indent: -9999px;
}

h2.lahjoitetaan {
	background: url(img/ui/bg_lahjoitetaan.gif) no-repeat;
	height: 30px;
	text-indent: -9999px;
}

h2.kyydit {
	background: url(img/ui/bg_kyydit.gif) no-repeat;
	height: 30px;
	text-indent: -9999px;
}

h2.asunnot {
	background: url(img/ui/bg_asunnot.gif) no-repeat;
	height: 30px;
	text-indent: -9999px;
}

h2.jatailmoitus {
	background: url(img/ui/bg_jatailmoitus.gif) no-repeat;
	height: 30px;
	text-indent: -9999px;
}

h2.poistailmoitus {
	background: url(img/ui/bg_poistailmoitus.gif) no-repeat;
	height: 30px;
	text-indent: -9999px;
}

h2.palaute {
	background: url(img/ui/bg_palaute.gif) no-repeat;
	height: 30px;
	text-indent: -9999px;
}

/* links */

a {
	color: #1E235E;
	text-decoration: none;
}

a:hover {
	color: #666666;
}

/* form */

form.searchform {
	margin-bottom: 0;
	text-align: center;
}

label {
	color: #528B1A;
	display: block;
	text-transform: uppercase;
}

label.required {
	font-weight: bold;
}

input, textarea, select {
	border: 1px #528B1A solid;
	font-size: 14px;
	margin-bottom: 15px;
	padding: 2px;
	width: 400px;
}

textarea {
	height: 150px;
	width: 600px;
}

input.inputbtn {
	width: auto;
}

input.search {
	width: 200px;
}

/* footer */

div#footer {
	background: url(img/ui/bg_footer.jpg) 40px 0 no-repeat;
	clear: left;
	color: #fff;
	height: 62px;
	margin-top: 20px;
	padding: 8px 130px 0 250px;
	text-align: center;
}

div#footer a {
	color: #D9FF00;
}

/* messages */

div.error-msg {
	background: #FFFF99;
	border: 2px #FFCC00 solid;
	margin: 20px 0;
	padding: 10px 30px;
}

/* images */

a img {
	border: 0;
}

/* bannerit */

div.banner_120x600 {
	background: #fff;
	height: 600px;
	left: 860px;
	overflow: hidden;
	position: absolute;
	top: 270px;
	width: 120px;
}

div.banner_728x15 {
	border-bottom: 1px #1E235E dashed;
	clear: left;
	margin: 0 0 10px 0;
	padding: 10px 0 10px 20px;
	
}