/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/

* {
	margin: 0;
	padding: 0;
}

body {
	background: #E0E0E0 url(img01.gif) repeat-x;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #333333;
}

form {
}

input, textarea {
	padding: 2px 5px;
	font: normal 1em "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #333333;
}

div.lomake{        
  margin: 10px 0;              
}

div.lomake label{
  display: block;
}

.huom{             
  color: red;
  font-weight: bold;
}

h1, h2, h3 {
	margin-top: 1.5em;
	font-weight: normal;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.4em;
}

h3 {
	font-size: 1em;
}


p.topic {
/*  border : solid 5px #cccccc;*/
/*  border-bottom : solid 4px #cccccc;*/
  color: #000000;
  padding: 2px 8px 2px 8px;
  margin: 0;
  margin: 0 22px 0 22px;
  
}

p.short, pre.short {
  /*border : solid 6px #cccccc;*/
/*  border-top : solid 1px #cccccc;*/
  padding: 2px 8px 2px 8px;
  margin: 0 22px 0 22px;
}

p.article, pre.article {
/*  border : solid 6px #cccccc;*/
/*  border-top : solid 1px #cccccc;*/
  padding: 2px 8px 2px 8px;
  margin-top: 10px 6px 2px 6px;
}

p, ul, ol {
	margin-top: 1.5em;
	line-height: 160%;
}

li {
	margin-left: 2em;
}

blockquote {
	margin-left: 3em;
	margin-right: 3em;
}

a {
	color: #CC6B47;
}

a:hover {
	text-decoration: none;
	color: #3760BF;
}

a img {
	border: none;
}

img.left {
	float: left;
        display: inline;
	margin: 0 20px 0 0;
}

img.right {
	float: right;
        display: inline;
	margin: 0 0 0 20px;
}

p.clear-both {
  clear: both;
}


hr {
	display: none;
}

td,th {
  text-align: left; 
}


#topbar {
	width: 778px;
	height: 20px;
	margin: 0 auto;
}



/* Header */

#header {
	width: 778px;
	height: 90px;
	margin: 0 auto;
}

#header h1, #header h2 {
	margin: 0;
	letter-spacing: -0.05em;
/*	text-transform: lowercase;*/
	font-weight: normal;
}

#header h1 {
	float: left;
	padding-top: 20px;
	font-size: 4em;
}

#header h1 a {
	text-decoration: none;
        color: #333333;
}

#header h2 {
	float: left;
	padding: 47px 0 0 8px;
	font-size: 2em;
	font-style: italic;
	color: #858585;
}

/* Menu */

#menu {
	width: 778px;
	height: 40px;
	margin: 0 auto;
	background: #4471CA url(img02.gif) no-repeat;
}

#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}

#menu li {
	display: inline;
}

#menu a {
	float: left;
	height: 28px;
	padding: 12px 20px 0 20px;
	background: url(img03.gif) no-repeat;
	text-decoration: none;
	font-weight: bold;
	color: #FFFFFF;
}

#menu a:hover {
	text-decoration: underline;
}

#menu .first a {
	background: none;
}

/* Page */

#page {
	width: 778px;
	margin: 0 auto;
}

/* Post */

.post {
        background: #FFFFFF;
}

.post .title {
	margin: 0;
}

.post .title a {
	text-decoration: none;
}

.post .byline {
	margin: 0 0 30px 0;
	line-height: normal;
}

.post .entry {
        background: #FFFFFF;
}

.post .entryNarrow {
        width: 389px;
        float: left;
        background: #FFFFFF;
}

.post .entryNarrowRight {
        width: 389px;
        background: #FFFFFF;
}

.post .meta {
	clear: both;
}

.post .meta a {
	text-decoration: none;
	font-weight: bold;
}

.post .meta a:hover {
	text-decoration: underline;
}

.post .meta .comments {
	padding-left: 20px;
	background: url(img07.gif) no-repeat left center;
}

.post .meta .permalink {
	padding-left: 20px;
	background: url(img08.gif) no-repeat left center;
}

.normi {
  width: 389px;
  clear: left;
  margin: 5px 10px 5px 5px;
}

.keski {
  float: middle;
  width: 600px;
  margin: 5px 30px 5px 30px;
  clear: both;
  display: inline;
}

.wide {
  float: middle;
  width: 778px;
  margin: auto;
  clear: both;
  background: #FFFFFF;
}

.oikea {
  float: right;
  width: 389px;
  clear: both;
  margin: 10px 5px 5px 5px;
}

/* Main news list */

#latest-post {
	width: 770px;
	margin: 0 auto;
	padding: 0 4px 20px 4px;
        clear: none;
}

#latest-post .byline {
	margin: 0 0 20px 0;
	padding: 0;
	text-align: center;
	font-size: .9em;
	font-weight: bold;
	color: #3760BF;
        float: middle;
}

#latest-post .byline span {
	padding: 0 0 0 30px;
	background: url(img04.gif) no-repeat;
}

#latest-post .byline a {
	padding: 0 30px 0 0;
	background: url(img05.gif) no-repeat right top;
	text-decoration: none;
}

#latest-post .byline a:hover {
	text-decoration: underline;
}

#latest-post .h1 {
        padding: 0 15px 0 0;
}

/* Main article */

#recent-posts {
	width: 385px;
	margin: 0 auto;
//	background: url(img09.gif) no-repeat;
        float: left;
        margin: 0 auto;
        padding: 0;
}

#recent-posts h2 {
	height: 18px;
	margin: 0;
	padding-top: 2px;
	background: url(img10.gif) no-repeat right top;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .5em;
	font-size: .9em;
	font-weight: bold;
	color: #FFFFFF;
}

#recent-posts h3 {
	font-size: 1.4em;
}

#recent-posts ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#recent-posts li {
	float: left;
	width: 246px;
	padding-left: 20px;
}

#recent-posts li.first {
	padding: 0;
}

/* Sidebar */

#sidebar {
	width: 778px;
	margin: 0 auto;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar li {
	float: left;
	width: 255px;
	background: url(img09.gif) no-repeat;
}

#sidebar li ul {
	padding-left: 20px;
}

#sidebar li li {
	float: none;
	width: auto;
	padding: 0;
	background: none;
}

#sidebar h2 {
	height: 19px;
	margin: 0 0 20px 0;
	padding-top: 1px;
	background: url(img10.gif) no-repeat right top;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .5em;
	font-size: .9em;
	font-weight: bold;
	color: #FFFFFF;
}

.ad {
        float: left;
        clear: left;
}

/* Search */

#search {
	text-align: center;
}

#search #s {
	width: 70%;
	margin-bottom: 10px;
}

/* Calendar */

#calendar {
}

#calendar table, #calendar caption {
	width: 70%;
	margin: 0 auto;
	text-align: center;
}

#calendar caption {
	font-weight: bold;
}

#calendar a {
	font-weight: bold;
}

/* Footer */

#footer {
	clear: both;
	margin: 0 auto;
	padding: 20px 0;
	background: url(img11.gif) repeat-x;
	text-align: center;
}

#footer p {
	margin: 0;
	font-size: .8em;
	color: #666666;
}


div.figure {
  float: right;
/*  width: 25%;*/
  border: thin silver solid;
  margin: 0.5em;
  padding: 0.5em;
}
div.figure p {
  text-align: center;
  font-style: italic;
  font-size: smaller;
  text-indent: 0;
}



@import "s.css";


