/*  
Theme Name: YKHS Theme
Theme URI: http://www.ykhs.fi/
Description: YKHS-theme
Version: 1.1
Author: Markus Haataja
Author URI: http://www.oikosulku.net/

Modifications by Antti Palosaari
  Version 1.1
  - cleaned up unused files
  - CSS fix for image style definitions
*/


body
{
	font-family: tahoma, verdana, arial, sans-serif;
	font-size: 0.8em;
	background: #F9F9F9 url('./images/bg.jpg') top left repeat-x;
}

#wrapper {
	margin: 0 auto 0 auto;
	padding-top: 4px;
	width: 90%;
}

#logo
{
	margin: -60px 0 0 26px;
}

#logo span
{
	display: block;
	width: 250px;
	height: 100px;	
	background: url('./images/ykhs.png') top left no-repeat;
}

#site
{
	margin: 55px 2em 0px 25px;
	border: 2px solid #E9E9E9;
	background: #fff url('./images/content_bg.jpg') top left repeat-x;
}

#toplinks
{
	position: absolute;
	top: 5px;
	left: 285px;
}

#toplinks li
{
	display: inline;
	list-style-type: none;
	padding-right: 20px;
}

#toplinks a
{
	padding: 4px;
	font-size: 14px;
	font-weight: bold;
	color: #000;
	background: #FFCC81;
}

#menuleft
{
	width: 250px;
	margin-top: 40px;
	padding: 10px;
	float: left;
}

#menuleft ul
{
	list-style: none;
}

#menuleft li
{
	padding: 4px;
	border-top: 1px solid #ccc;
}

#menuleft li.chosen
{
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: #eee;
}

#menuleft ul.submenu
{
	background: #fff;;
}

#menuleft ul.submenu li.first
{
	margin: 0; padding: 0;
	margin-left: -15px;
	padding: 4px 4px 4px 20px;
	border: none;
	background: #fff url('./images/double_arrow.gif') top left no-repeat;
}

#menuleft ul.submenu li
{
	margin: 0; padding: 0;
	margin-left: -15px;
	padding: 4px 4px 4px 20px;
	background: #fff url('./images/double_arrow.gif') top left no-repeat;
}

#menuleft a
{
	display: block;
	color: #000;
	text-decoration: none;
}

#menuleft a:hover
{
	color: #000;
	text-decoration: underline;
}

#menuright
{
	position: relative;
	float: right;
	width: 200px;
	padding: 4px;
	margin-right: 8px;
}

.box
{
	position: relative;
	width: 200px;
	padding: 4px;
	margin: 15px 4px;
	border: 1px solid #eee;
	background-color: #fff;
}

.box p
{
	margin: 0;
	padding: 4px;
	background: #eee;
}

.box ul
{
	margin: 0; padding: 0;
	list-style: none;
	background: #eee;
}

.box li
{
	margin: 0; padding: 0;
	margin-left: 0;
	padding-left: 20px;
	//background: #eee url('./images/double_arrow.gif') top left no-repeat;
}

.box .newstime
{
	font-size: 10px;
	color: #aaa;
}

#content
{
	margin-top: 0px;
	margin-left: 270px;
	margin-right: 0px;
	padding: 20px;
	line-height: 1.5em;
	background-color: #fff;
}

#copy
{
	width: 100%;
	font-size: 11px;
	background: #eee;
}

#content
{
	background-color: transparent;
}

#content h1.top
{
	margin: 0 0 0px 0;
	padding: 5px;
	color: #fff;
	font-size: 1.4em;
	background: #444;
}

#content h1.top a {
	color: #fff;
	text-decoration: none;
}

#content h1.top a:hover {
	text-decoration: underline;
}

#content h1
{
	font-size: 1.3em;
}

#content h2
{
	font-size: 1.2em;
}

#content p.urlpath
{
	margin: 0;
	padding-bottom: 4px;
	font-size: 11px;
}

.entry {
	margin: 10px 0 0 0;
}

#copy p
{
	margin: 0;
	padding: 6px;
}

table
{
	background-color: #fff;
	padding: 0px;
	margin: 0px;
	border-collapse: collapse;
}

th
{
	font-size: 14px;
	border-bottom: 1px dashed #ccc;
	margin: 0; padding: 4px;
	margin-bottom: 1px;
	background-color: #fff;
}

tr
{
	border-bottom: 1px dashed #ccc;
}

td
{
	vertical-align: top;
	font-size: 12px;
	margin: 0; padding: 4px;
}

#content img
{
	padding: 2px;
	border: 1px solid black;
}
/* 2010-04-13 Antti Palosaari
Image style definitions taken from the "WordPress Default" theme. */

/* 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 */

