@import url('https://fonts.googleapis.com/css?family=Elsie');
@import url('https://fonts.googleapis.com/css?family=Lora:400,400i,700,700i');


.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
* html .clearfix {
	zoom: 1;
}
/* IE6 */

*:first-child+html .clearfix {
	zoom: 1;
}
html {
	background: url(http://mollum.net/koyhamaen/img/vintage-concrete.jpg) center center no-repeat fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover
}
body {
	height: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
}
.wrapper {
	width: 1050px;
	margin: -70px auto 30px auto;
}
.container {
	width: 100%;
	margin: 0px;
	padding: 0;
	background: url(http://kwpn.kanelipulla.net/k/bannerz.png) left top no-repeat #fbfbfb;
	border: 5px solid #fff;
	-webkit-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
}
.content {
	position: relative;
	padding-top: 80px;
}
header {
	height: 200px;
	margin: 40px auto 20px auto;
	width: 1100px;
}
header h1 {
	font: 82px/180px 'Elsie', serif;
	color: #383838;
	text-align: center;
	letter-spacing: 2px;
	text-transform: uppercase !important;
	margin: 0px;
	padding: 0;
	overflow: hidden;
	text-shadow: 0px 0px 12px rgba(0, 0, 0, 0.1);
}
header h1:after {
	display: none;
}
hr {
	border: 0;
	margin: 20px auto;
	height: 1px;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(178, 178, 178, 0.55), rgba(0, 0, 0, 0));
}
footer {
	display: block;
	width: 950px;
	min-height: 110px;
	overflow: hidden;
	padding: 0;
	margin: 10px auto;
	border-top: 1px solid rgba(178, 178, 178, 0.55)
}
h1 {
	font: 28px/65px 'Lora', sans serif;
	color: #555555;
	text-align: center;
	font-style: italic;
	font-weight: 400;
	margin: 30px 50px 30px 50px;
	padding: 0;
	overflow: hidden;
	text-shadow: 0px 0px 2px rgba(142, 142, 142, .81);
}
h1:after, h2:after {
	content: "";
	display: block;
	height: 1px;
	position: relative;
	width: 950px;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(178, 178, 178, 0.55), rgba(0, 0, 0, 0));
}
.highlight:after {
	content: "";
	display: block;
	margin: 35px 0px 0px 0px;
	height: 1px;
	position: relative;
	width: 950px;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(178, 178, 178, 0.55), rgba(0, 0, 0, 0));
}
h2 {
	font: 20px/2em 'Lora', sans serif;
	color: #3d3d3d;
	text-align: center;
	font-style: italic;
	font-weight: 400;
	padding: 0;
	margin: 30px auto 30px auto;
	overflow: hidden;
	text-shadow: 0px 0px 2px rgba(142, 142, 142, .81);
}
h2 span {
	font: 15px/25px 'Lora', sans serif;
	color: #555555;
	display: block;
}
h3 {
	font: 15px/2.5em 'Lora', serif;
	color: #395156;
	margin: 10px auto;
	font-weight: 700;
	text-align: left;
}
h4 {
	font: 17px/2.5em 'Lora', serif;
	color: #395156;
	font-style: italic;
	margin: 10px auto;
	font-weight: 400;
	text-align: left;
	border-bottom: 1px solid #e8e8e8;
}
p, pre {
	font: 15px/20px 'Lora', sans-serif;
	font-weight: normal;
	text-align: justify;
	color: #3d3d3d;
	text-shadow: 1px 1px 0px rgba(242, 242, 242, 1);
}
.highlight {
	width: 950px;
	text-align: center;
	margin: 10px auto;
	padding: 0px 0px 20px 0px;
}
.highlight>p {
	font: 15px/21px 'Lora', serif;
	font-weight: 400;
	text-align: center;
}
article {
	padding: 10px 50px;
}
footer p {
	font: 14px/30px 'source_sans_proregular', serif;
	color: #8d999c;
	text-align: center;
}
footer a:link, footer a:active, footer a:visited {
	color: #806f66;
	text-decoration: underline;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
footer a:hover {
	color: #2b8a9c;
	text-decoration: none;
}
a:link, a:active {
	color: #7b5283;
	text-decoration: none;
}
a:visited {
	color: #7b5283;
	text-decoration: none;
}
a:hover {
	color: #9b76a2;
	text-decoration: none;
}
#textbox {
	width: 100%;
	margin: 0px auto;
	padding: 0px;
	border-bottom: 1px solid #e8e8e8;
}
.alignleft {
	float: left;
	font: 17px/17px 'Lora', serif;
	font-weight: 400;
	color: #43464b;
}
.alignright {
	float: right;
	font: 15px/17px 'Lora', serif;
	color: #5e5e5e;
	font-weight: 400;
	color: #696969;
	font-style: italic;
}
.race-records {
	text-align: left;
	color: #707070;
	font: 15px/1.8em 'Lora', sans-serif;
	font-weight: 400;
	margin: 40px auto !important;
	padding: 0px;
	width: 100%;
	border-collapse: collapse;
	empty-cells: show;
}

.youngsters {
	text-align: left;
	color: #707070;
	font: 15px/1.8em 'Lora', sans-serif;
	font-weight: 400;
	margin: 2px 0px !important;
	padding: 0px;
	width: 100%;
	border-collapse: collapse;
	empty-cells: show;
}

.race-records th {
	font: 15px/2.1em 'Lora', serif;
	font-weight: 400;
	font-style: italic;
	border-bottom: 1px solid #e8e8e8;
	text-indent: 20px;
	padding: 5px 0px;
	color: #696969;
	text-shadow: 0px 0px 2px rgba(142, 121, 137, .2);
}
.race-records td, .youngsters td {
	vertical-align: middle;
	padding: 4px 0px;
	text-indent: 20px;
	border-bottom: 1px solid #e8e8e8;
}
.youngsters tr:nth-child(even) td {background: rgba(255,255,255,.8);}
.youngsters tr:last-child td {border-bottom: 0px;}
nav {
	width: 100%;
	min-width: 1050px;
	margin: 6px auto;
	height: 55px;
	background: rgba(255, 255, 255, .65);
	border-top: 1px solid rgba(255, 255, 255, .2);
	border-bottom: 1px solid rgba(255, 255, 255, .2)
}
nav ul {
	margin: 0px auto;
	width: 1050px;
	padding: 0px;
	font: 18px/55px 'Lora', serif;
	font-weight: 400;
	text-align: center;
}
nav li {
	display: inline-block;
	padding: 0px 25px;
	margin: 0px;
}
nav a:link, nav a:active, nav a:visited {
	color: #171717;
	text-decoration: none;
}
nav a:hover {
	color: #fff;
}
nav li, nav a:link, nav a:active, nav a:visited {
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
	border-bottom: 0px;
}
/* TABLE: PEDIGREE*/

.pedigree {
	border-spacing: 0px;
	font: 15px/20px 'Lora', serif;
	color: #5e5e5e;
	text-align: center;
	font-weight: 400;
	margin: 0px auto !important;
	vertical-align: middle;
	width: 900px;
	padding: 25px 0px;
}
.pedigree td {
	padding: 6px 0px;
	width: 33%;
}
.pedigree span {
	color: #696969;
	font-size: 14px;
	font-weight: 400;
	display: block;
	color: #747474;
	font-style: italic;
	text-align: center !important;
}
.highlighted-area {
	width: 950px;
	margin: 5px auto 0px auto;
	padding: 0px;
	box-shadow: inset 0 0 20px rgba(237, 237, 237, .5);
	border: 1px solid #e8e8e8;
	background: rgba(255, 255, 255, .2);
	border-radius: 3px;
}
.e, .ee, .eee {
	border-bottom: 0px !important;
}
.e a, .e, .i a, .e {
	font-size: 15px;
}
.iii, .iie, .iei, .iee, .eii, .eie, .eei, .eee {
	text-align: left;
	text-indent: 20px;
}
.i, .ii, .iii, .iei, .ei, .eei, .eii {
	border-bottom: 1px solid #e8e8e8
}
.ie, .ei, .iie, .iei, .eie, .eei {
	border-left: 1px solid #e8e8e8
}
.i, .e, .ii, .ie, .ee, .ei {
	font: 15px/20px 'Lora', serif;
	color: #5e5e5e;
	text-align: center;
}
.galleria {
	border: 6px solid #fff;
	float: right;
	height: 237px;
	width: 355px;
	margin: 0px 5px;
	position: relative;
	-webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
}
.tabset>input[type="radio"] {
	position: absolute;
	left: -200vw;
}
.tabset .tab-panel {
	display: none;
}
.tabset>input:first-child:checked~.tab-panels>.tab-panel:first-child, .tabset>input:nth-child(3):checked~.tab-panels>.tab-panel:nth-child(2), .tabset>input:nth-child(5):checked~.tab-panels>.tab-panel:nth-child(3), .tabset>input:nth-child(7):checked~.tab-panels>.tab-panel:nth-child(4), .tabset>input:nth-child(9):checked~.tab-panels>.tab-panel:nth-child(5), .tabset>input:nth-child(11):checked~.tab-panels>.tab-panel:nth-child(6) {
	display: block;
}
.tabset>label {
	font: 17px/30px 'Lora', serif;
	position: relative;
	display: inline-block;
	padding: 15px 55px;
	border: 1px solid transparent;
	border-bottom: 0;
	cursor: pointer;
	font-weight: 400;
}
.tabset>label:hover, .tabset>input:focus+label {
	color: rgba(178, 178, 178, 0.55);
}
.tab-panel {
	padding: 30px 0;
	border-top: 1px solid rgba(178, 178, 178, 0.55);
}
.central1 {
	display: block;
	min-height: 120px;
	margin: 40px auto -20px auto;
	width: 950px;
	text-align: center;
}
.central1 img {
	box-shadow: 0 0 18px rgba(237, 237, 237, .5);
	border: 1px solid #e8e8e8;
	border-radius: 3px;
	margin: 8px 8px;
	filter: grayscale(100%) opacity(.95);
	-webkit-filter: grayscale(100%) opacity(.95);
	height: 114px; object-fit: cover
}
.central1 img:hover {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
}
.tooltip {
	position: relative;
	display: inline-block;
	text-align: center;
	padding: 4px 8px;
	margin: 0px 2px;
	box-shadow: inset 0 0 10px rgba(237, 237, 237, .5);
	border: 1px solid #e8e8e8;
	background: rgba(255, 255, 255, 1);
	border-radius: 3px;
	font: 15px/21px 'Lora', serif;
	font-weight: 400;
	text-align: center;
}
.tooltip .tooltiptext {
	visibility: hidden;
	width: 120px;
	background-color: black;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 5px 0;
	position: absolute;
	z-index: 1;
	bottom: 150%;
	left: 50%;
	margin-left: -60px;
}
.tooltip .tooltiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: black transparent transparent transparent;
}
.tooltip:hover .tooltiptext {
	visibility: visible;
}
.porrastetut {
	float: right;
	width: 50%;
}
.clear {
	clear: both;
}
.meter {
	height: 20px;
	/* Can be anything */
	position: relative;
	box-shadow: inset 0 0 10px rgba(237, 237, 237, .5);
	border: 1px solid #e8e8e8;
	background: rgba(255, 255, 255, 1);
	border-radius: 3px;
	padding: 5px;
	margin-top: 15px;
}
.meter>span {
	display: block;
	height: 100%;
	border-radius: 3px;
	background: #5C6164;
	box-shadow: inset 0 0 16px rgba(43, 46, 47, .2);
	position: relative;
	overflow: hidden;
}
.kilpailut {
	margin: 30px auto 30px auto;
	padding: 0px;
	list-style-type: none !important;
	width: 948px;
}
.kilpailut li {
	width: 185px;
	display: inline-block;
	text-align: center;
	font: 17px/22px 'Lora', serif !important;
	font-weight: 400 !important;
	margin: 5px 0px !important;
	color: #43464b;
	letter-spacing: 1px;
}
.kilpailut li span {
	display: block;
	font: 15px/20px 'Lora', serif;
	color: #5e5e5e;
	text-align: center;
	font-weight: 400;
	color: #696969;
	font-style: italic;
	letter-spacing: 0px !important;
}
.linear p {
	font: 14px/1.5em 'Lora', serif;
	color: #43464b;
	font-style: italic;
	text-align: center;
	font-weight: 400;
	margin: 4px;
	text-shadow: -1px 1px 0px rgba(255, 255, 255, 0);
}
.linear p:first-child {
	padding-top: 20px;
	font-size: 15px;
}
.listat {
	width: 100%;
	margin: 30px auto;
}
ol {
	color: #ccc;
	list-style-type: none;
}
ol li {
	position: relative;
	font: 26px/1.4em 'Lora', serif;
	margin-bottom: 20px;
	text-shadow: 0px 0px 2px rgba(142, 142, 142, .21);
}
li p {
	font: 15px/1.4em 'Lora', serif;
	padding-left: 60px;
	color: #555;
}
.listat span {
	position: absolute;
}
/* LIST OF CREATURES */

.kilpahevoset {
	list-style-type: none;
	text-align: center;
	color: #231f20;
	width: 950px;
	padding: 0px;
	margin: 0px auto 30px auto;
}
.kilpahevoset li {
	display: inline-block;
	float: left;
	margin: 4px;
	width: 226px;
	height: 226px;
	padding: 0;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	text-align: center;
}
.kilpahevoset li img {
	height: 130px;
	width: 190px;
border-radius: 3px;
object-fit: cover;
}
.kilpahevoset h3 {
	font: 17px/1em 'Lora', serif;
	font-weight: 700;
	text-align: center;
	color: #3A2D42;
	text-align: center;
	margin: 17px 0px 6px 0px;
}
.kilpahevoset h3::before {
	display: none;
}
.kilpahevoset figure {
	padding: 0px;
	height: 130px;
	width: 190px;
	margin: 10px auto;
	position: relative;
	filter: grayscale(100%) opacity(.95);
	-webkit-filter: grayscale(100%) opacity(.95);
	box-shadow: 0 0 10px rgba(237, 237, 237, 1);
	border: 4px solid #fff; border-radius: 3px;
}
.kilpahevoset p {font: 15px/16px 'Lora', serif;
	font-weight: 400;
	text-align: center;
	color: #3d3d3d;
	text-align: center;
margin: 3px 0px; padding: 0;
}
.kilpahevoset p + p {font-size: 13px; text-transform: uppercase; }
.kilpahevoset figcaption {
	opacity: 0;
	padding: 0px;
	position: absolute;
	height: 130px;
	width: 190px;
	bottom: 0px;
	right: 0px;
	color: #000;
	background: rgba(255, 255, 255, .9);
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
}
.kilpahevoset figcaption p {
 font: 13px/23px 'Lora', serif;
 text-align: center;
 padding: 0px;
 margin: 0px;
 opacity: 0;
 font-weight: 400;
 color: black !important;
 -webkit-transition: opacity 0.4s ease;
 -moz-transition: opacity 0.4s ease;
 -o-transition: opacity 0.4s ease;
 text-transform: lowercase !important;
}
.kilpahevoset figcaption p:first-child {
	padding-top: 18px;
}

.kilpahevoset li:hover figcaption p {
	opacity: 1;
}
.kilpahevoset li:hover figcaption {
	opacity: 1;
	display: inline;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease
}

.rekisteritunnus {
 font: 15px/21px 'Lora', serif;
 font-weight: 400; margin: -15px auto 5px auto;
 text-align: center !important;}