body, html {
	margin: 0;
	padding: 0;
	font-size: 0.85em;
}

body.knaytto {
	font-size: 1.2em;
	overflow: hidden;
}

.knaytto {
	
}

ul.kluokat {
	margin: 0;
	padding: 0;
	background: #FAFAFA;
}

ul.kluokat li {
	margin: 0 0 2px 2px;
	padding: 0;
	float: left;
	list-style: none;
}

ul.kluokat li.clearer {
	margin: 0;
	padding: 0;
	float: none;
	clear: both;
}

ul.kluokat a {
	display: block;
	border: 2px solid #000;
	background: #CDEB8B;
	width: 130px;
	height: 40px;
	padding: 10px;
	font-size: 0.9em;
	font-weight: bold;
	color: #3a3a3a;
	text-align: center;
	outline: none !important;
}

ul.tiivis a {
	width: auto;
	height: 10px;
	border: 0px solid #000;
}

ul.kluokat a:active {
	background: #f2f5f4;
}

ul.kluokat .active a, ul.kluokat .active a:active {
	background: #f2f5f4;
}

.ktulokset table {
	width: 100%;
}

.ktulokset tbody {
	overflow-y: scroll;
	overflow-x: hidden;
	/*overflow: hidden;*/
}

.ktulokset tbody tr td.last {
	width: 90px;
}

.ktulokset h2, .ktulokset .subtitle {
	display: block;
	padding-left: 24px;
}

.ktulokset table .miehisto {
	font-size: 0.7em;
}

#scrollup, #scrolldown {
	display: block;
	position: absolute;
	right: 20px;
	opacity: 0.4;
	width: 80px;
	height: 80px;
	background: #00F;
	outline: none !important;
}

/*#scrollup:active, #scrolldown:active {
	opacity: 0.6;
}*/

#scrollup, #scrollup:hover {
	top: -200px;
	background: url(img/scroll-up.gif) top left no-repeat;
	border: none !important;
	padding: 0 !important;
}

#scrolldown, #scrolldown:hover {
	bottom: 20px;
	background: url(img/scroll-down.gif) top left no-repeat;
	border: none !important;
	padding: 0 !important;
}

#loader {
	position: absolute;
	top: 260px;
	width: 100%;
	left: 0;
	text-align: center;
	display: none;
}

table.tulokset {
	border-collapse: collapse;
	font-size: 1.2em;
}

table.tulokset th {
	background: #EEEEEE;
}

table.tulokset tr.header {
	background: #C6F45B;
	font-weight: bold;
}

table.tulokset tr.open {
	background: #F7FE72;
}

table.tulokset tr.list {
	background: #EAFC72;
}

table.tulokset th, table.tulokset td {
	padding: 1px 4px;
	text-align: left;
	vertical-align: top;
}

table.tulokset tr.alt td {
	background: #EEEEEE;
}

table.tulokset td.light {
	color: #748893;
}

table.tulokset td.small {
	font-size: 0.8em;
}

table.tulokset td.head {
	padding: 12px 4px 4px 10px;
	font-weight: bold;
}

table.tulokset .last, table.tulokset .first {
	padding: 0 24px 0 0;
}

.nowrap td, .nowrap th {
	white-space: nowrap;
}

.timestamp {
	float: right;
}