body {
	background-color: black;
	text-align: center;
	margin: 0;
	color: #271e16;
	background-repeat : no-repeat;
	background-attachment : fixed;
	
	font-family: "Segoe UI", Bell Gothic Std, Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 13px;
}  

.pohja {

	width:800px;
	height: 600px;
	border: 1px solid white;
	margin: auto;
	margin-top: 20px;
	background-image: url(pics/tausta.jpg);
	background-repeat: repeat-y;
	text-align: left;
	
	
	
}


.sivupohja {
float: left;
	position: relative;
	left: 185px;
	top: 160px;
	text-align: left;
	width:480px;
	color: white;
	
	background-image: url(pics/pohja.gif);
}
    .align-right { float:right; margin: 0 0 15px 15px; }
    .align-left { float:left; margin: 0 15px 15px 0; }


p {
	line-height: 20px;
	margin-top: 10px;
	
}

img.pieni {
	margin: 5px 5px 5px 5px;
	border: 1px solid white;
}

.rivi {
	display: block;
	/*height: 110px;*/
	vertical-align: middle;
}
.clear{
	clear: both;
}

h1 {
	margin-top: 0px;
	margin-bottom: 25px;
	font-size:20px;
}

h2{
	margin-top: 25px;
	margin-bottom: 15px;
	font-size: 16px;
}

h3{
	margin-top: 25px;
	margin-bottom: 15px;
	font-size: 12px;
}


li {
	margin: 15px 5px 15px 5px;
	list-style: square;
}


a, a:active, a:focus, a:link, a:visited {
	color:white;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
	color:#d4d4d4;
}


.valikko {
	float:left;
	position: relative;
	left: 70px;
	top:160px;
	width: 100px;
	height: 300px;
	text-align: center;
}
.otsikko {
	position: relative;
	top:283px;
	left: 240px;
	width: 1000px;
	height: 30px;
}
.otsikko h1{
	color:white;
}

a.valikko1, a:active.valikko1, a:focus.valikko1, a:link.valikko1, a:visited.valikko1 {
	text-decoration: none;
	color: white;
	font-family: "Segoe UI";
	font-weight: normal;
	font-size: 16px;
	display: block;
	width: 100px;
	height:35px;
	line-height: 35px;
}

a:hover.valikko1 {
	text-decoration: underline;
}


a.valikko2, a:active.valikko2, a:focus.valikko2, a:link.valikko2, a:visited.valikko2 {
	text-decoration: underline;
	color: white;
	font-family: "Segoe UI";
	font-weight: bold;
	font-size: 17px;
	display: block;
	width: 100px;
	height:35px;
	line-height: 35px;
}



div.kategoria {
	margin-bottom: 10px;
	width: 450px;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	
}

a.galleria, a:active.galleria, a:focus.galleria, a:link.galleria, a:visited.galleria {
	color:white;
	
	
	text-decoration: none;
	font-size: 16px;
}

a:hover.galleria {
	color:white;
	text-decoration: underline;
}

div.kuvalista_kategoria {
	width: 450px;
	
	margin-bottom: 5px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	font-size: 18px;
}

table.kuvalista {
	margin-bottom: 10px;
	width: 450px;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	
	
}

table.kuvalista > td {
	margin: auto;
	text-align: center;
	
}


div.kuva {
	width: 700px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	background-color: #f8f5f0;
	padding: 10px 5px 5px 5px;
	border: 1px solid white;
}

img.thumb {
	margin: auto;
	border: 1px solid white;
}

a:hover > img.thumb {
	border: 1px solid yellow;
	
	
}

/* AJANKOHTAISTA */

table.ilmoitus{
	width: 400px;
}

td.ilmoitus_otsikko {
	font-weight: bold;
	font-size: 18px;
	height: 30px;
	line-height: 30px;
}

td.ilmoitus_kirjoittaja {
	text-align: right;
	font-style: italic;
	height:30px;
	line-height: 30px;
}

td.ilmoitus_paivays{
	
	width: 100px;
}
