* {
    margin: 0;
    padding: 0;
}
body { 
    /*font-family: Verdana, sans-serif;*/
	font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: small;
    text-align: center;
	background: #c6d8ec url('images/bg.jpg') repeat-x top left;
	color: #000;
}
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.07em;
	color: black;*/
	/*font-family: Georgia,Tahoma,Verdana,Arial,Serif;*/
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-weight: normal;
	font-size: 1.7em;
	padding: 4px;
	line-height: 1.2em;
	border-bottom: 1px solid #ddd;
	letter-spacing: 0.07em;
	/*color: #557799;*/
	color: #333;
	text-decoration: none;
}
h1 { font-size: 218% }
h2 { font-size: 164%; margin: 10px 0; }
h3 { font-size: 135%; margin: 0; }
h4 { font-size: 118%; letter-spacing: .15em }

p { padding: 0 0 1em 0; }

a:link, a:visited {
	color: #579;
	text-decoration:none;
	/*border-bottom:#c96 1px dotted;*/
}
a:hover, a:active {
	color:#960;
	text-decoration:none;
	border-bottom:#699 1px solid;
}

a img, img {
    border: none;
}

ul {
    margin: 0 0 20px 1.3em;
	list-style-type: disc;
}
ul ul {
	margin-bottom: 0;
}
li {
    margin-bottom: 3px;
}

div.shadow {
	margin: 0px auto 0px auto;
	width: 925px;
	background: url('images/page_shadow.png') repeat-y;
}
div#header {
	margin: 0px auto 0px auto;
	width: 900px;
	height: 143px;
	background: #fff url('images/header.jpg') no-repeat;
	position: relative;
}

div#header .top_pic {
	/*position: relative;
	right: 423px;*/
	position: absolute;
	left: -42px;
}

div#menu {
	margin: 0px auto 0px auto;
	padding-top: 3px;
	width: 900px;
	height: 26px;
	background: #fff;
	overflow: hidden;
}

div#menu ul {
	padding-left: 100px;
	margin: 0;
	list-style: none;
}
div#menu ul li {
	float: left;
	padding-right: 10px;
	margin: 0;
}

div#menu ul li a {
	display: block;
	color: #000;
	font-weight: bold;
	padding: 4px 10px;
}

* html #topmenu ul li {
	width: 1px;
}

div#menu ul li a:hover {
	background: url('images/menu_active_bg.jpg') repeat-x top left;
	background-color: #fff;
	text-decoration: none;
	color: #fff;
}

div#content {
	text-align: left;
	width: 790px;
	padding: 0px 30px 0px 80px;
	margin: 0px auto 0px auto;
	background: #f0f5f9 url('images/content_bg.jpg') repeat-x top left;
	min-height: 400px;
	border-bottom: 3px solid #c9daec;
}
* html #content {
	height: 400px;
}

div#content p .side_pic {
	margin: 30px;
	float: right;
	border: 7px solid white;
}

div#footer {
	background: #c6d8ec url('images/footer_bg.jpg') repeat-x top left;
	position: relative;
}

div#footer_content {
	position: relative;
	color: #fff;
	margin: 0px auto 0px auto;
	width: 900px;
	height: 185px;
	background: #f0f5f9 url('images/footer_content_bg.jpg') repeat-x top left;
}

#ornamentti {
	z-index: -1;
	position: absolute;
	right: -123px;
	top: -456px;
}

div#footer_content p {
	padding: 0px;
	margin-left: 30px;
	margin-bottom: 0px;
	margin-top: 30px;
	float: left;
	width: 260px;
}

div#footer_content a:hover, a:active {
	color: #0066b0;
	text-decoration: none;
	border: none;
}

div#footer_content .bold {
	font-size: 130%;
	font-weight: bold;
}

div#footer_content p.right_link {
	height: 120px;
	background: url('images/blogi_link.png') no-repeat top left;
}

div#footer_content p.right_link:hover {
	height: 120px;
	background: url('images/blogi_link_hover.png') no-repeat top left;
}

.clear, .gapfix {
	height: 0;
}
* html .clear, * html .gapfix {
	overflow: hidden;
}
.clear {
	clear: both;
}

a.QE_Link {
	margin-top: -17px;
}

.my_thumbscontainer table {
	width: 790px;
}
.my_thumbscontainer table td {
	width: 158px;
	text-align: center;
	vertical-align: middle;
}
