/*
Theme Name: EKF 2012
Theme URI: http://ekf.fi/
Description: EKF 2012 -teema
Version: 1.0
Author: Janne Räikkönen
Author URI: http://www.lightmovement.net

*/

html {
	margin-top:0px !important;
}

* {
	margin-top: 0;
}

a {

}

a img {
	border: 0;
}

body {
	background: #fff;
	color: #000;
	font: 14px/19px Times, 'Times New Roman', serif;
	text-align: center;

	margin: 0;
}

h1 {
	font-size: 20px;
	font-weight: normal;
}

h2, h3, h4, h5, h6 {
	font-size: 17px;
	font-weight: normal;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: inherit;
	color: inherit;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
	text-decoration: underline;
}

p {
	text-align: justify;
}

#page {
	text-align: left;

	margin: 0 auto;
	width: 1127px;
}

#header {
	background: url('img/header_bg.') no-repeat top right;
	height: 238px;
	position: relative;
}

#main {
	background: url('img/content_bg.png') repeat-y;
	margin-top: 1px;
}

#navigation {
	font: 11px/19px Verdana, Arial, sans-serif;

	float: left;
	padding-top: 24px;
	width: 216px;
}

#navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#navigation ul li {
	display: inline;
}

#navigation a {
	color: #797979;
	display: block;
	text-align: right;
	text-decoration: none;

	padding-right: 32px;
}

#navigation a:hover, #navigation a:active, #navigation a.active {
	color: #000;
}

#aside {
	float: right;
	width: 360px;
	padding-right: 23px;
	font-size: 12px;
}

#aside h1, #aside p, #aside form {
	margin-left: 31px;
}

#aside form {
	margin-bottom: 1em;
}

#aside form > div {
	margin: .2em .5em;
}

#aside form p {
	margin-left: 0;
}

#aside h1 {
	font-size: 15px;
}

#twitter {
	background: url('img/wedge.png') no-repeat 49px 0;
	color: #313131;
	font: italic 33px/31px Times, 'Times New Roman', serif;

	margin: -43px 15px 20px 9px;
	position: relative;
	padding-top: 31px;
}

ul.twitter {
	list-style: none;
	margin-left: 31px;
	margin-bottom: 1.5em;
	padding: 0;
}

ul.twitter li {
	margin: 0 0 1em 0;
	padding: 0;
}

#twitter p {
	margin: 0;
	background: #9eec3c;
	text-align: left;
	padding: 20px;
}

#content {
	margin: 0 383px 0 216px;
	padding: 48px 24px;
}

#content h1, #content p {
	margin-bottom: 1.25em;
}

.footer, #footer {
	clear: both;
	float: none !important;
}

#footer {
	border-top: 1px dotted #797979;
	font-size: 11px;
	text-align: center;

	margin-top: 4px;
}


