/* Tehnyt: Petri I. | petri.ikonen@kuopassa.com | www.kuopassa.com */

@import url("typo.css");
@import url("extrat.css");

/* Yleiset */

* {
	margin: 0;
	padding: 0;
	}

body {
	margin: 0;
	font: 0.8em "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #000;
	background: #77A703 url(../images/pallo.png) repeat 0 0 fixed;
	text-align: center;
	}
	
a {
	text-decoration: underline;
	color: #690;
	}
	
a:hover {
	text-decoration: none;
	color: #C00;
	}
	
/* Skipnavi hiddoon */

#skipnavi {
	display: none;
	}
	
/* Rakenne */

#runko {
	width: 740px;
	margin: 0 auto;
	text-align: left;
	}
	
#header {
	background: url(../images/middle-bg.png) repeat-y 0 0;
	padding: 0 10px;
	position: relative;
	}
	
#middle {
	background: url(../images/middle-bg.png) repeat-y 0 0;
	padding: 0 10px;
	min-height: 40em;
	height: auto;
	_height: 40em;
	}

#left-column {
	float: left;
	width: 160px;
	display: inline;
	margin-left: 20px;
	}
	
#right-column {
	float: right;
	width: 520px;
	display: inline;
	margin-right: 20px;
	}
	
#bottom {
	background: url(../images/bottom-bg.png) no-repeat 0 100%;
	height: 120px;
	}
	
/* Logo */

#header h1 {
	color: #000;
	margin: 0 20px;
	padding: 20px 10px 40px 20px;
	background: #F3F3F3;
	font: bold 1.4em "Trebuchet MS", Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	border-bottom: 1px solid #CCC;
	}
	
#header h1 a {
	background: url(../images/logo-bg.png) no-repeat 0 0;
	padding: 0 0 25px 50px;
	text-decoration: none;
	color: #646464;
	z-index: 101;
	}
	
#header h1 a span {
	color: #690;
	}
	
/* Slogan */

#header p {
	margin: 0;
	padding: 0;
	position: absolute;
	top: 45px;
	left: 100px;
	color: #646464;
	font-size: 0.9em;
	letter-spacing: 1px;
	z-index: 100;
	}
	
/* Navigaatio */

#left-column ul {
	list-style: none;
	margin: 10px 0 5px 0;
	padding: 10px;
	color: #000;
	background: #91BE18;
	border-bottom: 1px solid #CCC;
	font: 0.9em "Trebuchet MS", Arial, Helvetica, sans-serif;
	}
	
#left-column ul li a {
	display: block;
	text-decoration: none;
	color: #FFF;
	border-bottom: 1px solid #9CCC19;
	padding: 0 2px;
	}
	
#left-column ul li a:hover {
	color: #8BBB17;
	text-decoration: none;
	background: #FFF;
	}
	
/* Bannereita */

#left-column .banneri {
	margin-top: 5px;
	}

#left-column .banneri a img,
#header .banneri a img,
#right-column .banneri a img,
#right-column .banneri-468 a img,
#right-column .banneri-468-2 a img {
	border: 0;
	padding: 0;
	}

#header .banneri {
	position: absolute;
	top: 10px;
	right: 40px;
	}
	
#right-column .banneri {
	float: right;
	margin: 10px 0 10px 10px;
	}
	
#right-column .banneri-468 {
	text-align: center;
	margin: 10px;
	}
	
#right-column .banneri-468-2 {
	text-align: left;
	margin: 10px 10px 0 10px;
	}

/* Kohdetaulukko ja ravikuponki */

table.kohdetaulukko,
table.ravitaulukko {
	margin: 10px;
	padding: 1px 1px 0 1px !important;
	width: 98%;
	max-width: 510px;
	border: 1px solid #CCC;
	}
	
table.kohdetaulukko tr th {
	text-align: left;
	background: #8BBB17 url(../images/th.png) repeat-x 0 50%;
	padding: 2px 4px;
	border-bottom: 2px ridge #FFF;
	color: #000;
	vertical-align: middle;
	text-transform: uppercase;
	}
	
table.kohdetaulukko tr td,
table.ravitaulukko tr td {
	text-align: left;
	vertical-align: middle;
	background: #F3F3F3 url(../images/td.png) repeat-x 0 100%;
	border-bottom: 1px solid #FFF;
	padding: 0 4px;
	}
	
table.kohdetaulukko tr th.nro {
	width: 5%;
	text-align: center;
	}
	
table.kohdetaulukko tr td.nro {
	color: #666;
	padding: 0 10px;
	text-align: right;
	}
	
table.kohdetaulukko tr td.merkki {
	width: 5%;
	font-weight: bold;
	}
	
table.ravitaulukko tr th {
	text-align: center;
	background: #E5E5E5 url(../images/th2.png) repeat-x 0 50%;
	padding: 5px 4px 0 4px;
	border-right: 2px ridge #FFF;
	border-bottom: 1px solid #FFF;
	color: #000;
	vertical-align: middle;
	text-transform: uppercase;
	width: 10%;
	}
	
table.ravitaulukko tr th.varalla {
	border-left: 2px ridge #FFF;
	}
	
table.ravitaulukko tr td {
	text-align: center;
	}
	
table.ravitaulukko tr td.nimi {
	border-left: 2px ridge #FFF;
	font-weight: bold;
	background: #F3F3F3 url(../images/td2.png) repeat-x 0 100%;
	}
	
/* Sivutus */

ul#sivutus {
	text-align: center;
	margin: 10px;
	padding: 0;
	font-size: 0.9em;
	color: #666;
	}
	
ul#sivutus li {
	display: inline;
	margin-right: 10px;
	}
	
ul#sivutus li a {
	text-decoration: none;
	}
	
/* Palautelomake */

form.zemContactForm {
	margin: 10px 0 10px 10px;
	font: 0.9em "Trebuchet MS", Arial, Helvetica, sans-serif;
	}
	
form.zemContactForm fieldset {
	border: 1px solid #CCC;
	padding-bottom: 10px;
	}
	
form.zemContactForm fieldset legend {
	margin-left: 10px;
	margin-bottom: 10px;
	padding: 0 5px;
	color: #999;
	}
	
form.zemContactForm label,
form.zemContactForm input.zemSubmit {
	margin-left: 10px;
	}

form.zemContactForm input.zemRequired,
form.zemContactForm textarea.zemRequired {
	width: 95%;
	margin: 0 0 10px 10px;
	border: 1px inset #000;
	font: 1em "Trebuchet MS", Arial, Helvetica, sans-serif;
	}
	
form.zemContactForm input.zemRequired:focus,
form.zemContactForm textarea.zemRequired:focus {
	color: #000;
	background: #FFC;
	}
	
form.zemContactForm div {
	display: none;
	}