* {
	margin: 0;
	padding: 0;
}
body {
	font-family: Verdana, sans-serif;
	font-size: small;
	text-align: center;
	background-color: #b8d8f7;
	color: #777;
}
#bg2 {
	background: url('images/bgline.jpg') repeat-y top center;
}
#bg3 {
	background: url('images/ruoho.jpg') repeat-x bottom center;
}
#bg4 {
	background: url('images/bg.jpg') repeat-x top left;
}

/*#bg2 { background-attachment: fixed; }*/

div, p, img, a, td, ul, ol {
	font-size: 1em; 
}
h1, h2, h3, h4 {
	font-family: Verdana, sans-serif;
	font-weight: bold;
	margin: 0.2em 0 0.5em 0;
	letter-spacing: 0.03em;
	color: #b4c135;
}
h1 { font-size: 218% }
h2 { font-size: 140%; }
h3 { font-size: 105%; }
h4 { font-size: 100%; letter-spacing: .15em }

p { padding: 0 0 1em 0; }

a, a:link { 
	text-decoration: none;
	color: #b4c135;
}
a:visited { color: #b4c135; }
a:hover {   color: #64aac4; text-decoration: underline; }
a:active {  color: #64aac4; }


a img, img {
	border: none;
}

ul {
	margin: 10px 0 10px 1.5em;
}

#wrap {
	padding-left: 32px;
}
#page {
	position: relative;
	width: 900px;
	margin: 0 auto;
	text-align: left;
}

/*#middle {
	background: url('images/faux.jpg') repeat-y 211px 0;
}*/

#header h1 a {
	display: block;
	background: #b4c135 url('images/header.jpg') no-repeat top left;
	height: 143px;
	color: white;
	overflow: hidden;
	text-indent: -9000px;
}
#hshadow1 { position: absolute; left: -7px; top: 0; }
#hshadow2 { position: absolute; right: -7px; top: 0; }
#hdecor { position: absolute; top: 143px; left: 0; }
h1 {
	margin: 0;
}
h1 a, h1 a:link, h1 a:visited, h1 a:hover, h1 a:active {
	color: white;
	text-decoration: none;
}

#topmenu {
	height: 33px;
	margin: 6px 9px 24px 0;
}

#pathway {
	position: absolute;
	left: 222px;
	top: 186px;
	font-size: 80%;
}
.B_currentCrumb {
	color: #65abc4;
}

#sidebar {
	float: left;
	width: 211px;
}
* html #sidebar {
	width: 208px;
}

#content {
	text-align: left;
	width: 669px;
	line-height: 1.5em;
	margin-left: 211px;
	padding: 0 10px 10px 10px;
}
* html #content {
	padding-right: 7px;
}
#content a.QE_Link {
	margin-top: -17px;
}

table.thumbs { width: 666px; }

table.thumbs td.tpl1 { text-align: center; padding: 0 0.5em; width: 222px; }

table.thumbs td.tpl2 { text-align: left; padding: 0.5em 0; width: 333px; }
table.thumbs td.tpl2 img { float: left; margin-right: 0.5em; }

.clear, .gapfix {
	height: 0;
}
* html .clear, * html .gapfix {
	overflow: hidden;
}
.clear {
	clear: both;
}

#footer {
	clear: both;
	height: 20px;
}
#footer p {
	color: #a3a3a3;
	font-size: 80%;
	padding: 4px 0 0 14px;
}
#a1logo {
	position: absolute;
	left: -25px;
	bottom: 10px;
}

hr { display: none; }


.error, .errors, .message {
	padding: 12px;
	background-color: red;
	color: #fff;
}
.message {
	background-color: green;
}

p img {
	padding: 0;
	max-width: 100%;
}

img.centered {
	text-align: center;
	display: block;
	margin: 0 auto;
}
img.alignright {
	float: right;
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}
img.alignleft {
	float: left;
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

#search form {
	width: 202px;
	height: 34px;
	position: relative;
	margin-left: 9px;
	background: url('images/searchbg.jpg') no-repeat top left;
}
#search #ajaxSearch_input {
	height: 21px;
	width: 149px;
	position: absolute;
	left: 11px;
	top: 4px;
	border-width: 0;
	background: transparent url('images/searchinput.jpg') no-repeat top left;
	color: white;
	font-size: 11px;
	padding: 4px 4px 0 4px;
}
#search #ajaxSearch_submit {
	width: 33px;
	height: 21px;
	position: absolute;
	left: 164px;
	top: 4px;
	border-width: 0;
	text-indent: -9000px;
	background: transparent url('images/searchbtn.jpg') no-repeat top left;
	overflow: hidden;
	cursor: pointer;
	font-size: 0;
	color: #eee;
}