
@import url('https://fonts.googleapis.com/css?family=Abel|Abril+Fatface|Mr+De+Haviland|Arapey|Mrs+Saint+Delafield|Cedarville+Cursive|Charmonman|Sacramento|Stalemate&display=swap');

body {
	background: url(kuvitus/tausta4.jpg) no-repeat fixed;
	background-size: cover; 
	margin: 0px; 
	font-family: "Abel", sans serif;
	font-size: 14px; 
	letter-spacing: 1px;
}

header {
	font-family: "Abril Fatface", serif;
	background-color: rgb(255, 255, 255);
	font-size: 100px; 
	letter-spacing: 40px;
	text-align: center; 
	text-transform: uppercase; 
	width: 1200px; 
	margin: auto; 
	padding: 0px 10px;
}

nav {
	background-color: rgba(255, 243, 243, 0.8);
	font-family: serif;
	width: 1200px;  
	font-size: 17px;
	padding: 10px; 
	margin: auto; 
	text-align: center;  
	letter-spacing: 3px; 
	font-style: italic; 
}

ul  { 
	margin: 0px; 
	padding: 10px; 
}

li {
	border: 1px solid rgba(187, 187, 187, 0.5); 
	padding: 10px; 
	margin: 0px 20px;
	width: 100px; 
	display: inline-block; 
	list-style-type: none; 
}

#sisalto {
	background-color: rgb(251, 249, 249); 
	width: 1150px; 
	min-height: 500px; 
	margin: auto; 
	padding: 20px; 
	box-sizing: border-box; 
	box-shadow: 0px 0px 5px 3px rgba(187, 187, 187, 0.5) inset; 
}

.nippeli1 {
	background-color: #eee; 
	text-align: center; 
	padding: 5px; 
	width: 700px; 
	border: 1px solid rgba(0, 0, 0, .1); 
}

.nippeli1 i {
	color: rgba(206, 145, 166, 0.7); 
	margin: 3px; 
}

.nippeli1 p {
	margin: 5px;
}

footer {
	background-color: rgba(255, 243, 243, 0.8);
	width: 1200px; 
	padding: 10px;  
	margin: auto; 
	text-align: center; 
	color: rgba(88, 88, 88, 0.8); 
	line-height: 1.5; 
	text-transform: uppercase; 
	column-count: 2;
}

/* tekstit */

p {
	margin: 20px 60px;
	word-spacing: 3px;  
	line-height: 20px; 
	color: rgb(88, 88, 88);
}

.ak {
	font-family: "Mr de Haviland", serif;
	font-size: 40px; 
	text-align: center; 
}

em {
	font-size: 11px; 
	font-style: normal; 
	color: rgba(88, 88, 88, 0.8); 
}

strong {
	font-family: "abril fatface", serif; 
	text-transform: uppercase; 
	letter-spacing: 2px;
	font-weight: normal;  
	color: rgb(88, 88, 88); 
}

a {
	text-decoration: none; 
	color: rgb(206, 145, 166); 
}

a:hover {
	font-weight: bold;
}


h1 {
	font-family: "Abril Fatface", serif;
	width: 300px; 
	float: left; 
	text-align: center; 
	margin: 20px 20px 10px 20px; 
	padding: 5px;
	border: solid rgba(187, 187, 187, 0.5); 
	border-width: 1px 0px; 
	color: rgb(175, 164, 171); 
	text-transform: uppercase; 
	font-weight: normal;   
	line-height: 0.9;
}

h2 {
	text-align: center; 
	font-family: "Mr de Haviland", serif;
	font-weight: normal;
	color: rgb(88, 88, 88); 
	font-size: 50px; 
	word-spacing: 15px; 
	margin: 0px 50px 10px 50px; 
	text-shadow: 2px 1px rgba(187, 187, 187, 0.5); 
}

h3 {
	text-indent: 50px;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
	padding: 5px 0px; 
	font-family: "Abril Fatface"; 
	font-size: 30px; 
	font-weight: normal; 
	color: rgb(88, 88, 88); 
	letter-spacing: 2px;
	text-transform: uppercase; 
}

h3 i {
	color: rgba(241, 211, 211, 0.8); 
	font-size: 40px;
	padding-right: 10px;
}

/* hevoslistaus */

.listaus {
	display: inline-block; 
	margin: 10px 4px 10px 4px; 
	width: 32%;
}

.listaus p {
	background-color: rgb(238, 238, 238); 
	padding: 4px; 
	margin: 10px 0px 10px 10px; 
}

.listaus img {
	float: left; 
	box-shadow: 1px 1px 1px 2px rgb(238, 238, 238); 
	border: 5px solid rgb(255, 255, 255);
	border-radius: 3px; 
	margin-right: 20px; 
}

.listaus i {
	float: right; 
	font-size: 60px; 
	color: rgba(241, 211, 211, 0.8);
}

.listaus i:hover {
	color: #ff5268;
}

.jalostus {
	width: 95%; 
	margin-right: auto; 
	margin-left: auto; 
	margin-top: 10px; 
	padding-bottom: 20px; 
	text-align: center; 
	border-bottom: 1px solid #eee;
}

img {
	margin: 0px 10px 0px 10px; 
	border: 5px solid rgb(255, 255, 255); 
	box-shadow: 1px 1px 1px 1px rgb(238, 238, 238);
}

.vasen {
	width: 50%; 
}

.oikea {
	width: 50%; 
}

.vasen img {
	float: right; 
}

.oikea img {
	float: left; 
}

/* tietosivu */

.isokuva {
	display: block; 
	float: left; 
	margin: 0px; 
}

.tieto {
	margin-top: 50px; 
	width: 540px;
	border-collapse: collapse; 
}

.kys {
	text-align: right; 
	width: 50%; 
}

.vastaus {
	text-align: left; 
}

.tieto td {
	background-color: rgb(238, 238, 238); 
	padding: 5px 5px 5px 5px; ; 
}

#copyt {
	background-color: inherit; 
	text-align: center; 
	text-transform: uppercase; 
	padding: 30px 10px; 
	font-size: 13px;
	color: rgba(187, 187, 187, 0.7);
}

.tieto2 {
	width: 100%; 
	margin-left: auto;
	margin-right: auto;
}

#meriitit {
	width: 48%;
	background-color: #eee; 
	padding: 10px; 
}

#meriitit img {
	height: 80px; 
	border: none; 
	float: left; 
	margin-left: 0px; 
	margin-right: 20px; 	
}

#meriitit p {
	margin: 5px; 
}

#meriitit i { 
	padding-right: 3px;
	color: rgba(130, 129, 13, 0.25); 
}

#kuvagalleria {
	text-align: center; 
	vertical-align: middle; 
}

/* suku */

.suku {
	width: 95%; 
	margin: auto; 
	border-spacing: 5px; 
}

.suku td {
	border: 1px solid rgba(0, 0, 0, .1);
	padding: 5px 10px; 
}

.suku .v {
	text-align: center; 
}

.varsat {
	margin: auto;
	border-spacing: 20px;
}
.varsat td {
	background-color: #eee; 
	padding: 10px; 
	width: 200px; 
	text-align: center; 
}

/* kilpailut */

.kilpailut2 {
	margin: auto; 
	border-spacing: 100px 5px; 
}

.kilpailut2 td {
	vertical-align: top; 
	text-align: center;
}

.kilpailut2 p {
	margin: 0px 0px 8px 0px; 
}

.kilpailut {
	margin-left: auto; 
	margin-right: auto; 
	margin-top: 30px;  
	width: 95%; 
	border: 1px solid rgba(0, 0, 0, .1); 
	border-collapse: collapse; 
}

.kilpailut th {
	background-color: rgba(0, 0, 0, .1); 
	padding: 5px; 
}

.sij {
	color: rgba(0, 0, 0, .25);
	text-align: right; 
}

.taso {
	color: rgba(0, 0, 0, .25);
	text-align: left; 
}

.kilpailut td {
	padding: 10px;
	font-size: 13px;
	vertical-align: top; 
	text-align: center;	
}

progress[value] {
  -webkit-appearance: none;
   appearance: none;
   width: 150px;
   margin: 0px 10px;  
   border: 1px solid #fff;
}

progress[value]::-webkit-progress-bar {
  background-color: #eee;
  border-radius: 2px;
  box-shadow: inset 0px 2px 5px #afa4ab;
}

progress[value]::-webkit-progress-value {
  background-image:
	   -webkit-linear-gradient(-45deg, 
	                           transparent 33%, rgba(0, 0, 0, .1) 33%, 
	                           rgba(0,0, 0, .1) 66%, transparent 66%),
	   -webkit-linear-gradient(top, 
	                           rgba(255, 255, 255, .25), 
	                           rgba(241, 211, 211, 0.8)),
	   -webkit-linear-gradient(left, #afa4ab, rgb(206, 145, 166));

    border-radius: 2px; 
background-size: 35px 20px, 100% 100%, 100% 100%;
}

/* pk */

h4 {
	text-indent: 50px; 
	text-transform: uppercase;
	letter-spacing: 1.5px; 
	font-weight: normal; 
	font-size: 17px; 
	color: #afa4ab; 
	font-weight: normal;
}

h4 i {
	color: rgba(0, 0, 0, .1); 
	font-size: 18px; 
}

.pk {
width: 1000px; 
margin: auto;
}

.pk p {
	margin: 20px;
}

iframe {
	width: 100vh;
	height: 100vw;
	display: block; 
	margin: auto;  
}

/* tabit */

.tab {
  overflow: hidden;
  text-align: center; 
}

/* Style the buttons that are used to open the tab content */
.tab button {
  border: solid #eee;
  border-width: 1px 1px 0px 1px;
  background-color: inherit;
  outline: none;
  cursor: pointer;
  padding: 10px; 
  font-size: 15px; 
  transition: 0.3s;
  width: 150px; 
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: rgba(255, 243, 243, 0.8);
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #eee;
}

/* Style the tab content */
.tabcontent {
  display: none;
  border: 1px solid #eee; 
}

/* kasvatit */

.kasvatit {
	width: 95%; 
	text-align: center; 
	border-collapse: collapse; 
}

.kasvatit th {
	padding: 30px 0px 5px 0px; 
	border-bottom: 3px solid #eee; 
}

.kasvatit td {
	padding: 5px; 
	border-bottom: 1px solid #eee;
}

.kasvatit td:nth-child(3) {
	text-align: left;
}

.kasvi {
	float: left;
    width: 300px; 
    background-color: #eee; 
    margin: 0px 20px; 
}

.kasvi li {
	border: none; 
	display: list-item;
	width: 100%; 
	padding: 3px; 
}