/*
 * Korven Vaeltajat Ry
 * Laiskan Jaakon Ralli
 * Tyylitiedosto näyttölaitteille
 */

body {
	color: black;
	font-family: verdana,arial,helvetica,sans-serif;
	font-size: 90%;
	background: rgb(140,156,0);
	text-align: center;
	margin: 0;
	padding: 0;
}

#main {
	width: 50em;
	margin: 0 auto;
	text-align: left;
	background: rgb(251,252,249);
	border-left: 5px solid rgb(178,189,86);
	border-right: 5px solid rgb(178,189,86);
}
#header {
	height: 243px;
	width: 100%;
	padding-left: 38px;
	margin-left: -38px;
	background: 0 0 no-repeat url(logo.png);
	z-index: 20;
}

#header a {
	height: 0;
	width: 0;
	display: block;
	overflow: hidden;
}

#nav {
	width: 25%;
	float: left;
	font-family: georgia,serif;
	font-weight: bold;
	text-transform: uppercase;
	text-align: right;
	font-size: 80%;
}

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

#nav ul li {
	display: block;
	margin: 0.5em 0;
}

span.selected {
	text-decoration: underline;
}

#nav ul li a, #nav ul li a:link {
	text-decoration: none;
}

#nav ul li ul {
	height: 0;
	width: 0;
	overflow: hidden;
}

#nav ul li.open ul {
	height: auto;
	width: 100%;
	border-right: 5px solid rgb(178,189,86);
	margin-left: -5px;
}

#nav ul li.open ul li {
	padding: 0 1em 0 0;
}

#content {
	width: 68%;
	float: right;
	margin-right: 1%;
	margin-top: -243px;
}

#footer {
	clear: both;
}

#footer ul {
	list-style: none;
	margin: 0;
	padding: 0 0 0.5em 0;
}

#footer ul li {
	display: inline;
	margin: 0 0.3em 0 0.5em;
}

h1, h2 {
	font-family: georgia,serif;
	font-size: 400%;
	font-weight: bold;
	font-style: italic;
	text-transform: lowercase;
	color: rgb(76,84,0);
	margin: 0.2em 0;
}

h1 span {
	font-size: 40%;
	display: block;
}

h2, h1#kisaedistys {
	font-size: 150%;
	color: rgb(25,25,25);
	text-transform: none;
	font-style: normal;
}

a:link {
	color: rgb(76,84,0);
}

a:visited {
	color: rgb(100,100,100);
}

a:hover, a:active {
	color: rgb(106,117,0);
}

table {
	width: 100%;
}

table.tehtavat td {
	background: rgb(240,240,240);
}

tr.odd td {
	background: rgb(240,240,240);
}

table.tehtavat td.on, td.pisteet {
	background: rgb(178,189,86);
	color: white;
}

table.tehtavat td.ei {
	color: rgb(150,150,150);
}

table.tehtavat td.pisteet {
	font-weight: bold;
	background: rgb(108,119,16);
}

table.tehtavat td.heading {
	background: rgb(220,220,220);
}

input.text, textarea, select, label, input.file {
	display: block;
	width: 60%;
}

strong.obli {
	font-weight: bold;
	color: rgb(200,0,0);
}

fieldset {
	width: 60%;
	border: 1px solid rgb(220,220,220);
	margin-top: 1em;
	padding: 1em 0.7em 1.2em 0.7em;
}

legend {
	font-weight: bold;
}

fieldset input.text, fieldset textarea, fieldset select, fieldset label {
	display: block;
	width: 100%;
}

textarea.keski {
	height: 10em;
}
textarea.iso {
	height: 15em;
}
input.pikku {
	width: 4em;	
}
select.inline {
	width: 10em;
}

fieldset#expdate label {
	width: auto;
	margin-right: 0.5em;
}

fieldset#expdate p {
	width: 6em;
	float: left;
}

p.cbox label {
	display: inline;
}

ul.gallerialista {
	padding: 0;
	margin: 0;
	list-style: none;
}

ul.gallerialista li {
	margin-bottom: 0.5em;
}

ul.gallerialista li img {
	float: none;
	display: inline;
	vertical-align: middle;
	border-width: 5px;
}

ul.gallerialista li a {
	text-decoration: none;
	font-size: 120%;
	font-weight: bold;
	font-family: georgia,serif;
	font-style: italic;
}
ul.kuvalista {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.kuvalista li {
	float: left;
	margin: 0 0.5em 0.5em 0;
}

ul.kuvalista li img {
	border-width: 5px;
}

a:link img {
	border-color: rgb(76,84,0);
}
a:visited img {
	border-color: rgb(100,100,100);
}
a:hover img, a:active img {
	border-color: rgb(106,117,0);
}

div.ajankohtainen {
	padding: 0 0.2em 0.2em 0.2em;
	border-top: 5px solid rgb(178,189,86);
	background: rgb(240,240,240);
	border-bottom: 1em solid rgb(251,252,249);
}

div.ajankohtainen h2 {
	margin: 0;
}

div.ajankohtainen .kirjoittaja {
	font-size: 90%;
	display: block;
	border-bottom: 1px solid rgb(50,50,50);
}

ol.aikataulu {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}
.noupdate {
	border: 1px solid rgb(230,230,230);
	color: rgb(200,0,0);
	padding: 0 1em;
	margin: 1em 0 0 0;
}