﻿body, html {
	margin: 0;
	padding: 0;
	font-size: 0.85em;
}

body {
	font-family: Tahoma, sans-serif;
}

a {
	color: #127ED9;
	text-decoration: none;
	padding: 2px 2px 1px 2px;
	border-bottom: 1px solid #127ED9;
}

a:hover {
	background: #EEF;
	padding: 1px;
	border: 1px solid #127ED9;
	text-decoration: none;
}

a.image, a.image:hover {
	border: none !important;
	padding: 0 !important;
	background: none !important;
}

a img {
	border: none;
}

.clearer {
	clear: both;
}

p {
	margin: 0 0 1.0em 0;
}

h2 {
	margin: 0;
	font-size: 1.0em;
	color: #127ED9;
	font-weight: bold;
}

h2.large {
	font-size: 1.8em;
	font-weight: normal;
}

#header {
	background: #127ED9;
	color: #FFF;
	padding: 10px 8px;
}

#header h1 {
	margin: 0;
	font-size: 1.3em;
}

#headerlinks {
	float: right;
	text-align: right;
	width: 300px;
}

#headerlinks a {
	color: #FFF;
	margin-left: 20px;
	text-decoration: none;
}

#headerlinks a:hover {
	background: none;
}

#headerlinks a:hover {
	text-decoration: underline;
}

#main {
	padding: 8px;
}

#footer {
	margin: 20px 10px;
}

.container {
	padding: 4px 8px;
	border: 1px solid #127ED9;
	margin-bottom: 8px;
}

.container h2 {
	background: #127ED9;
	padding: 4px 8px;
	font-size: 1.0em;
	margin: -4px -8px 8px -8px;
	font-weight: bold;
	color: #FFF;
}

.column {
	float: left;
	width: 350px;
	margin-right: 8px;
}

.widecolumn {
	float: left;
	width: 450px;
	margin-right: 8px;
}

table.compact {
	border-collapse: collapse;
}

table.compact td {
	padding: 4px 8px;
}

table.compact tr.separator td {
	height: 10px;
}

dl.byclass dt {
	font-weight: bold;
	display: block;
	margin: 0 0 6px 0;
}

dl.byclass dt span {
	color: #999;
	font-weight: normal;
}

dl.byclass dd {
	padding: 0 0 0 8px;
	margin: 0 0 6px 0;
	display: block;
}

dl.byclass dd a {
	margin-right: 10px;
}

table.tulokset, table.headers {
	border-collapse: collapse;
	font-size: 0.95em;
}

table.tulokset {
}

table.tulokset th, table.tulokset td, table.headers th {
	padding: 1px 4px;
	text-align: left;
	vertical-align: top;
}

table.tulokset td {
	
}

table.tulokset th, table.headers th {
	background: #069;
	color: #FFF;
	font-weight: bold;
}

table.tulokset tr.alt td {
	background: #DDF;
}

table.tulokset td.head {
	padding: 12px 4px 4px 10px;
	font-weight: bold;
}

table.tulokset td.sgv {
	font-family: Courier New, monospace;
}

table.tulokset .last, table.tulokset .first {
	padding: 0 24px 0 0;
}

.nowrap td, .nowrap th {
	white-space: nowrap;
}

.timestamp {
	float: right;
}



.Avenla_Autocompletion {
    position: relative;
    width: 200px;
}

.Avenla_Autocompletion .Avenla_Text {
    border: 1px solid #888;
    width: 100%;
    padding: 1px 3px;
}

.Avenla_Autocompletion .Avenla_CommittedItem {
    overflow: hidden;
    border: 1px solid #888;
    padding: 1px 3px;
    background: #DDF;
}

.Avenla_AutocompletionResults {
    background: #FFF;
    border: 1px solid #C8CACC;
    position: absolute !important;
    z-index: 1000;
    max-height: 170px;
    _height: 170px;
    overflow: auto;
    z-index: 100;
    top: 100%;
    left: 0;
    width: 250px;
}

.Avenla_AutocompletionResults .Avenla_Results {
    margin: 0;
    padding: 0;
    min-height: 20px;
    _height: 20px;
}

.Avenla_AutocompletionResults .Avenla_Results li {
    margin: 0;
    padding: 3px 12px;
    list-style: none;
    color: #4E5F61;
    background: none;
    cursor: pointer;
    line-height: 1.0em;
}

.Avenla_AutocompletionResults .Avenla_Results li .Avenla_Keyword {
    background: #FEFFA0;
    padding: 1px 0;
    font-weight: bold;
}

.Avenla_AutocompletionResults .Avenla_Results li.Avenla_Hover {
    background: #F2F5F8;
}

.Avenla_AutocompletionResults .Avenla_Results li.Avenla_Selected {
    background: #DDD !important;
}

.Avenla_AutocompletionResults .Avenla_Results li span.m {
	color: #666;
	font-size: 0.9em;
	display: block;
}

.prompt {
	color: #888;
	font-style: italic;
}

body.knaytto {
	font-size: 1.2em;
	overflow: hidden;
}

.knaytto {
	
}

ul.kluokat {
	margin: 0;
	padding: 0;
	background: #DDD;
}

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: #DDF;
	width: 130px;
	height: 40px;
	padding: 10px;
	font-size: 0.9em;
	font-weight: bold;
	color: #000;
	text-align: center;
	outline: none !important;
}

ul.kluokat a:active {
	background: #AAF;
}

ul.kluokat .active a, ul.kluokat .active a:active {
	background: #AAF;
}

.tnaytto .kluokat a {
    height: 12px;
    width: 100px;
    padding: 5px 10px;
}

.ktulokset table {
	width: 100%;
}

.separatedtable {
	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;
}
