img
{
	border: none;
}

#photo
{
	display: block;
	border: 15px white;
	border-style: solid;
	margin-left:auto;
	margin-right:auto;
}

#thumb
{	
	border: 7px white;
	border-style: solid;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
	display: block;
	background-image: none;
}

#tbg {
	width: 240px;
	height: 240px;
	background-image: none;
	background-color: rgb(50,50,50);
	margin: 5px;
	float: left;
	border: 7px black;
	border-style: solid;
	display:table-cell;
}

a
{
color:rgb(240,240,255);
font-weight: bold;

}

a:hover
{
color:rgb(230,230,255);
font-weight: bold;
background-image: none;
outline: none;
}

h2
{
font-size:16px;
}

h3
{
color: rgb(240,240,255);
margin-top: 0px;
font-size:14px;
background-image: url(images/glow_middle.png);
}

body
{
background-color: #000;
background-image: url(images/tausta.jpg);
}

body, div, table, pre, p
{
font-family: Verdana, Helvetica, Arial, Times;
color: rgb(200,210,220);
font-size:12px;
}

input, file, textarea
{
font-family: Verdana, Helvetica, Arial, Times;
color: rgb(0,0,0);
font-size:12px;
}

table, tr, td {
	margin: 0px;
}

#container
{
	margin: 40px auto;
	border: none;
}

#top
{	
	width: 920px;
	height: 209px;
	background-image: url(images/otsikkopalkki.jpg);
	border: none;
    margin-left: auto;
    margin-right: auto;
	text-align: center;
}

#nav
{
	position: relative; top: 145px
}

#nav a
{
	background-image: none;
}

#nav a:hover
{
	background-image: none;
	color: transparent;
	background-color: transparent;
}


#content
{
	background-image: url(images/row_middle.jpg);
	width: 920px;
	border: none;
    margin-left: auto;
    margin-right: auto;
}

#toprow
{
	height: 40px;
	background-image: url(images/row_top.jpg);
	
}
#bottomrow
{
	height: 40px;
	background-image: url(images/row_bottom.jpg);

}

#tekstiosa
{

    margin: 0px 40px 0px 40px;
	overflow:auto;
}

#footer
{
	width: 920px;
	height: 120px;
	background-image: url(images/alapalkki.jpg);
    margin-left: auto;
    margin-right: auto;
	vertical-align: middle; 
}
#contab {
	width:100%;
}
#left {
	vertical-align:top;
	width:500px;
}

#right {

}
#koriste {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
