/*
Theme Name: KLVL teema
Theme URI: http://wordpress.org/
Description: KLVL:n www-sivuja varten tehty teema
Version: 0.1
Author: Mikko Palo
Author URI: http://www.drysoft.org/
Tags: KLVL

*/

body {
/*	background-color: #f7f6fe; */
	background: #f7f7ff url('images/tausta/tausta_alaosa2.jpg'); 

/*	background: url('images/tausta/tausta.png'); */
	
	margin: 0;
	text-align: center;
	font-size: 80%;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

#tausta {
	background: url('images/tausta/tausta.png');
}

h2 {
	color: #5e5e5e;
	margin-bottom: 0;
} 

a {
	color: darkblue;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */

a img {
	border: 0;
}

.viiva {
	width: 100%;
//	border-top: solid 1px #5e5e5e;
	border-top: solid 1px #b1b1b1;
	margin: 0;
}

#ylareuna {
	margin: 0;
	background: url('images/tausta/tausta_ylaosa.jpg') repeat-x;
}

#alareuna {
	margin: 0;
	padding: 0px 0px 10px 0px;
	background: url('images/tausta/tausta_alaosa.jpg') repeat-x;
/*	background-attachment: fixed; */
	background-position: 0 100%;
}

#page_kehys {
	margin: 0 auto;
	width: 942px;
	background: #fff url('images/tausta/sivun_tausta.png');
	text-align: left;
}

#page {
	margin: 0 auto;
	width: 940px;
	background: #fff url('images/tausta/sivun_alareunan_tausta.png') repeat-x bottom;
}

#page hr {
	width: 100%;
	margin: 10px 0;
	clear: both;
}

#header {
	margin: 0;
	margin-left: -1px;
	background: url('images/klvl_ylapalkki.jpg') no-repeat bottom center;
	cursor: pointer;
	height: 180px;
	width: 942px;
}

#header h1 {
	margin: 0;
	padding: 0;
	visibility: hidden;
}

#header .description {
	visibility: hidden;
}

#navigaatio {
	background: #081127 url('images/menupalkki_tausta.png') repeat-x;
	width: 910px;
	margin-left: 10px;
	color: #fff;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 10px;
	text-align: left;
}

#navigaatio a {
	color: #fff;
	padding: 0.3em;
}

#navigaatio ul {
	margin: 0; 
	padding: 0; 
	list-style-type: none;
	list-style-image: none;
	display: inline;
}

#navigaatio li {
	display: inline;
}

#navigaatio li.current_page_item {
	background: #31343e url('images/menupalkki_tausta_highlight.png') repeat-x;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

#navigaatio li.current_page_parent {
	background: #31343e url('images/menupalkki_tausta_highlight.png') repeat-x;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

#alanavigaatio_tausta {
	background: url('images/ala_menu_1px.png') repeat-y;
	margin: 0;
	margin-left: 10px;
	width: 910px;
}

#alanavigaatio {
	background: url('images/ala_menu.jpg') no-repeat bottom;
	width: 910px;
	color: #000;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 10px;
	text-align: left;
}

#alanavigaatio a {
	color: #2b2b2b;
	padding: 0.3em;
}

#alanavigaatio ul {
	margin: 0; 
	padding: 0; 
	list-style-type: none;
	list-style-image: none;
	display: inline;
}

#alanavigaatio li {
	display: inline;
}

#alanavigaatio li.current_page_item {
	background: #fff url('images/ala_menu_highlight.png') repeat-x bottom;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

#content.narrowcolumn {
	margin: 0px;
	margin-top: 10px;
	padding: 10px;
	padding-top: 0px;
	float: left;
	width: 659px;
	border-right: solid 1px #b1b1b1;
}

#content.narrowcolumn .viisi_uutista {
	width: 319px;
	float: left;
	border-right: 1px solid #b1b1b1;
	padding-right: 10px;
}

#content.narrowcolumn .viisi_uutista h2 {
}

#content.narrowcolumn .viisi_tapahtumaa {
	width: 319px;
	float: right;
	padding-left: 10px;
}

#content.narrowcolumn .viisi_tapahtumaa h2 {
}

#content.narrowcolumn .sivun_muokkaus {
	clear: both;
}

#content.narrowcolumn .post .entry {
	margin-left: 2em;
	margin-right: 2em;
}

#content.narrowcolumn .post.hentry.category-uutiset {
	margin-left: 2em;
	margin-right: 2em;
}

#content.narrowcolumn .post h3 {
	margin-bottom: 0;
}

#content.widecolumn {
	margin: 0px;
	margin-top: 10px;
	padding: 10px;
	padding-top: 0px;
	float: left;
	width: 659px;
	border-right: solid 1px #b1b1b1;
}

#content.widecolumn .category-uutiset h2 {
	margin-bottom: 0;
}

#content.widecolumn .category-uutiset small {
	font-size: 90%;
}

.tapahtuma {
	margin-bottom: 1em;
}

.tapahtuman_aika {
	font-size: 80%;
}

.tapahtuman_otsikko {
	font-weight: bold;
	font-size: 115%;
}

.tapahtuman_kuvaus {
	margin-left: 2em;
}

.tapahtuman_paikka {
	margin-left: 2em;
}

.tapahtuman_lisatietoja {
	margin-left: 2em;
}

.navigation {
	margin-bottom: 2em;
}

.navigation .alignleft {
	text-align: left;
	float: left;
}

.navigation .alignright {
	text-align: right;
	float: right;
}

#sidebar {
	padding: 0;
	float: right;
	width: 240px;
	margin-top: 10px;
	margin-right: 10px;
	margin-left: 10px;
	text-align: center;
}

#sidebar .widgettitle {
	border-bottom: solid 1px #b1b1b1;
	text-align: left;
	margin-bottom: 5px;
}

#sidebar ul {
	margin: 0; 
	padding: 0; 
	list-style-type: none;
	list-style-image: none;
}

#sidebar .hidden {
	visibility: hidden; 
}

#sidebar .vasen {
	text-align: left;
}

#sidebar .oikea {
	text-align: right;
}

#sidebar .keski {
	text-align: center;
}

#sidebar .navi ul {
	margin-left: 10px;
}

#sidebar .navi li {
	list-style-type: none;
	list-style-image: url('images/bullet.png');
}

#footer {
	clear: both;
	text-align: center;
}

#footer p {
	background: url('images/tausta/footer_tausta.png') no-repeat bottom;
	width: 942px;
	height: 37px;
	margin-top: -10px;
	margin-left: -1px;
}
