@CHARSET "UTF-8";

/*  
Theme Name: Finlandiahiihto
Theme URI: http://www.finlandiahiihto.fi/
Description: Finlandiahiihto
Version: 1.0
Author: Toni Laukka
Author URI: http://wwww.laukka.fi/
*/

/* reset.css */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none;}

.container {width:960px; margin:0 auto; position:relative; clear:both;}

body {font-size: 62.5%; font-family:'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif; line-height: 1.5;}

h1, h2, h3, h4, h5 { font-family: 'Trebuchet MS', Tahoma, Arial, Sans-serif; line-height: 1; font-weight: normal;}
h1 {font-size: 3.0em; margin: 15px 0 5px;}
h2 {font-size: 2.2em; margin: 20px 0 5px;}
h3 {font-size: 1.7em; margin: 20px 0 5px;}
h4 {font-size: 1.5em; margin: 20px 0 5px;}

a, a:active, a:link {text-decoration: none; color: #001c7a;}
a:visited {text-decoration: none;}
a:hover {color: #001c7a; text-decoration: underline;}

p {font-size:1.2em; margin: 1em 0;}

em {font-style: italic;}

body { background: #e6e9f2 url(../images/background-body.jpg) top center no-repeat; }

ul, ol { margin: 10px 20px; padding: 0 20px; }

hr { clear:both;float:none;width:100%; height: .1em; margin:0 0 2.5em; border:none;}

#header { height: 170px; }

#logo h1,
#logo h4,
#logo p { margin: 0px; display: block; text-indent: -9999px; }
#logo h1 a,
#logo h4 a { background-image: url(../images/logo.jpg); background-repeat: no-repeat; position: absolute; top: 0; left: 0px; width: 450px; height: 170px;}
#logo h1 a:hover,
#logo h4 a:hover { border: none; }

#header .vcard {
	float: left;
	color: #001c7a;
	margin: 30px 20px;
	margin-left: 450px;
	display: inline; /* IE5/6 double margin fix */
}

#header .vcard .adr {
	margin-bottom: 14px;
}

#lang {
	float: right;
	background: transparent url(../images/background-jarjestajat.gif) no-repeat top right;
	width: 300px;
	height: 170px;
	margin: 0 10px 0 0;
	display: inline; /* IE5/6 double margin fix */
}

#lang ul {
	position: parent;
	float: left;
	margin: 34px 0 0 0;
	padding: 0;
	list-style: none;
	display: inline; /* IE5/6 double margin fix */
}

#lang li {
	float: left;
	margin-right: 4px;
	display: inline; /* IE5/6 double margin fix */
}
#lang li a img {
	border: 4px solid transparent;
	margin: 0;
}
#lang li a.active img {
	border-color: #808ebd;
}
#lang li a:active img,	
#lang li a:hover img {
	border-color: #40559c;
}

#nav {
	width: 942px;
	margin: 0;
	padding: 0 10px 0 8px;
	list-style: none;
	text-align: center;
	font-family: Gill Sans, Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	}

#nav li, #subnav li {
	float:left;
	margin-left: 2px;
	list-style:none;
}

#nav a, #nav a:visited {
	display: block;
	line-height: 30px;
	color: #fff;
	text-decoration: none;
	background: #808ebd;
	width: 155px;
}

#nav a:hover, #nav a:active {
	background: #40559c;
}
#nav li.current_page_parent a,
#nav li.current_page_parent a:visited,
#nav li.current_page_item a,
#nav li.current_page_item a:visited {
	background: #001c7a;
}

#subnav {
	clear: both;
	background:#001c7a;
	margin: 0;
	height:30px;
	font-size: 11px;
	}

#subnav li {
	border-right:1px solid #40559c;
	margin-top: 10px;
	padding: 0 10px;
	}	

#subnav a, #subnav a:visited {
	color:#fff;
	text-decoration:none;
	margin: 10px;
	}

#subnav a:hover, #subnav a:active {
	text-decoration:underline;
}
#subnav li.current_page_item a,
#subnav li.current_page_item a:visited {
	font-weight:bold;
}



#featured {
	color: #fff;
	background: #001c7a;
	height: 305px;
}
#featured h2,
#featured a { color: #fff; }
#featured h2 {
	float: left;
	margin: 40px 20px 0 40px;
	width: 360px;
	display: inline; /* IE5/6 double margin fix */
}
#featured p {
	clear: left;
	float: left;
	margin-left: 40px;
	width: 360px;
	display: inline; /* IE5/6 double margin fix */
}
#featured img {
	position: absolute;
	top: 5px;
	right: 10px;
	padding: 0;
	border: 8px solid #e6e9f2;
}

#content {
	float: left;
	margin: 0 0 20px 0;
	background: #fff;
	border-top: 10px solid #40559c;
	background: #fff url(../images/background-sidebar.jpg) bottom right no-repeat;
}

#content.frontpage {
	border-top: 10px solid #808ebd;
}

#main {
	float: left;
	margin: 20px 40px 0 40px;
	width: 550px;
	display: inline; /* IE5/6 double margin fix */
}
#main-wide {
	float: left;
	margin: 20px 40px 0 40px;
	width: 880px;
	display: inline; /* IE5/6 double margin fix */
}
#results {
	float: left;
	margin: 20px 40px 0 40px;
	width: 880px;
	display: inline; /* IE5/6 double margin fix */
}

.home h2 {font-size: 3.0em; letter-spacing:-2px; }

.post-info { padding-bottom: 10px; color: #444;	}
.post-info a { color: #001c7a; }
.post img { background: #efefef; border: 1px solid #efefef; padding: 5px; }
.post img.alignright { float: right; margin: 5px 0 10px 10px; }
.post img.alignleft { float: left; margin: 5px 10px 10px 0; }

#sidebar {
	float: right;
	margin: 25px 0;
	padding: 0;
	width: 330px;
}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
#sidebar #sponsors li {
	width: 100%;
	text-align: center;
}

#footer {
	margin: 10px;
	color: #fff;
	text-align: center;
	line-height: 30px;
	background: #001c7a;
	width: 940px;
}

/* start - table */
table {margin-bottom:1.4em;width:100%;}
th {font-weight:bold;background:#C3D9FF;}
th, td {padding:4px 5px 4px 5px;}
tr.even td {background:#E5ECF9;}
tr.odd td {background:#FFFFFF;}
tfoot {font-style:italic;}
/* end - table */

label {font-weight:bold;}
fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
legend {font-weight:bold;font-size:1.2em;}
input.text, input.title, textarea, select {margin:0.5em 0;border:1px solid #bbb;}
input.text:focus, input.title:focus, textarea:focus, select:focus {border:1px solid #666;}
input.text, input.title {width:300px;padding:5px;}
input.title {font-size:1.5em;}
textarea {width:390px;height:250px;padding:5px;}
.error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
.error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
.error a {color:#8a1f11;}
.notice a {color:#514721;}
.success a {color:#264409;}

/* kilpailijahaku - form */
#kilpailijahaku p.error {
	color: #f00;
	font-weight: bold;
}

#kilpailijahaku table {
	width: 100%;
	border-collapse: collapse;
	border-bottom: 1px solid #ccc;
	margin-bottom: 20px;
}

#kilpailijahaku th {
	padding: 0 0.5em;
	text-align: left;
}

#kilpailijahaku tr.title td {
	color: #001c7a;
	border-bottom: 1px solid #ccc;
	font-weight: bold;
}

#kilpailijahaku td {
	padding: 0 5px;
	vertical-align: top;
}

#kilpailijahaku .uppercase {
	text-transform: uppercase;
}

#kilpailijahaku form {
    margin: 0;
    padding: 0;
}

#kilpailijahaku fieldset {
    margin: 1em 0;
    border: none;
    border-top: 1px solid #ccc;
}

#kilpailijahaku legend {
    margin: 1em 0;
    padding: 0 .5em;
    color: #001c7a;
    background: transparent;
    font-size: 1.3em;
    font-weight: bold;
}

#kilpailijahaku .hakuehdot {
	border-bottom: 1px solid #ccc;
}

#kilpailijahaku .hakuehdot p {
	margin: 0.5em;
}

#kilpailijahaku .hakuehdot label {
    float: left;
    width: 100px;
	padding: 0 1em;
    text-align: right;
}

#kilpailijahaku input:focus {
	background-color: #efefef;
}

#kilpailijahaku .submit {
	margin-left: 100px;
}

#kilpailijahaku .matka input {
	padding: 0 1em;
}

#kilpailijahaku .lahtoaika {
	width: 50%;
	position: relative;
	float: left;
}