* {
	margin: 0px;
	padding: 0px;
}

body {
	font-family: "Lucida Grande", "Lucida Sans Unicode", geneva, "Trebuchet MS", helvetica, sans-serif;
	text-align: center;
	background-image: url('images/background.jpg');
	background-repeat: repeat-x;
	background-color: #e24445;
}

h1 {
	font-size: 1.1em;
	margin-top: 0px;
	padding-top: 10px;
	color: #e24445;
	margin-bottom: 7px;
	border-bottom: 2px solid #e24445;
}

h2 {
  font-size: 1.0 em;
  margin-top: 0px;
	padding-top: 10px;
  color: #e24445;
  margin-bottom: 7px;
}

h3 {
  font-size: 0.9 em;
  margin-top: 0px;
	padding-top: 10px;
	color: #e24445;
	margin-bottom: 7px;
}

p {
	font-size: 0.7em;
	margin-top: 4px;
	margin-bottom: 7px;
	margin-left: 5px;
	width: 450px;
}

#container {
	text-align: left;
	margin: 0 auto;
	margin-top: 10px;
	width: 756px;
	background-color: #FFFFFF;
	padding:10px;
}

#top {
	width: 756px;
	height: 131px;
	background-image: url('images/ylaosanew.jpg');
}

#topmenu {
	position: absolute;
	top: 126px;
	margin-left: 280px;
}

.topmenuitem a {
	color: #fff;
	font-size: 0.8em;
	text-decoration: none;
}

.activeitem a {
	color: #000000;
	font-weight:bold;
	font-size: 0.8em;
	text-decoration: none;
}

/*#topmenu a:hover {
  font-weight:bold;
	}
*/
.topmenuitem {
	display: block;
	float: left;
	height: 25px;
	margin: 0px 10px;
	padding-top: 2px;
}

.active_left {
	display: block;
	float: left;
	height: 25px;
	background-image: url('images/leftedge.jpg');
	background-repeat: no-repeat;
}

.activeitem {
	display: block;
	float: left;
	height: 25px;
	padding-top: 2px;
	background-color: #ffffff;
}

.active_right {
	display: block;
	float: left;
	height: 25px;
	background-image: url('images/rightedge.jpg');
	background-repeat: no-repeat;
}

#middle {
	width: 755px;
	min-height: 628px;
	background-image: url('images/keskiosa.jpg');
	background-repeat: repeat-y;
}

#middleleft {
	width: 220px;
	margin-left: 28px;
	padding-left: 10px;
	float:left;
}

#middleleft td {
	padding-right: 8px;
	padding-bottom: 8px;
}

#middleright {
	width: 466px;
	min-height: 600px;
	margin-left: 262px;
}

#middleright a {
color:#e24445;
text-decoration:none;
}

#middleright h2 {
  font-size: 0.9em;
  margin-top: 0px;
	padding-top: 10px;
  color: #333333;
  margin-bottom: 7px;
}

#bottom {
	width: 756px;
	height: 57px;
	background-image: url('images/alaosa.jpg');
	padding-bottom:8px;
}

#bottom p#left {
	font-size: 0.8em;
	color: #FFF;
	margin-left: 20px;
	margin-top: 8px;
	float:left;
}

#bottom p#right {
	width: 180px;
	font-size: 0.8em;
	color: #fff;
	margin-right: 20px;
	margin-top: 8px;
	float:right;
	text-align: right;
}

#bottom p#right a {
	color: #ffffff;
	text-decoration: none;
}

img.nuoli {	
	margin: 0px 7px 2px 0px;
}

.pvm {
	font-weight: bold;
	color: #aa0000;
}

span.gallery_image {
	display: block;
	float: left;
	padding: 5px 5px 15px 5px;
	margin-right: 15px;
	margin-bottom: 60px;
	text-align: center;
	background: #FFFFFFF;
}

span.gallery_image a {
	display: block;
	clear: both;
	padding: 3px;
	background: #FFFFFF;
}

span.gallery_image a:hover {
	background: #fdedd3;
	border: 0;
}

div.gallery_page_navigation {
	text-align: center;
	height: 30px;
	line-height: 50px;
	clear: both;
}