@import url('https://fonts.googleapis.com/css?family=Petit+Formal+Script');
@import url('https://fonts.googleapis.com/css?family=Slabo+27px');
@import url('https://fonts.googleapis.com/css?family=Parisienne');
@import url('https://fonts.googleapis.com/css?family=Abril+Fatface');
@import url('https://fonts.googleapis.com/css?family=Karma');

html {
    background: url(tausta.jpg) no-repeat center fixed; 
    background-size: cover; 
    height: 100%; 
    }

body {
    margin: 0px; 
    font-family: 'Karma', sans-serif;
    font-size: 13px;
    letter-spacing: 1px; 
    word-spacing: 2px; 
    color: #5e6b73;
	}
	
#pohja {
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	position: absolute;
	width: 1302px;
	}

#sivupalkki {
	width: 300px;
	position: absolute;
	min-height: 100%;
	background-color: rgba(6,45,55,0.94);
  border-left: 1px solid #192d38;
  border-right: 1px solid #192d38;
}

#sivufixed {
  position:fixed;
  padding: 0px;
  margin: 0px;
  max-width:300px;
}

#sisalto {
	float: right;
	background-color: rgba(255,255,255,0.9);
	width: 1000px;
	min-height: 100%;
	}	

ul {
    list-style-type: none;
    padding: 0px;
	}

li a {
    width: 284px;    
    display: block; 
    font-size: 30px;
    text-align: center;
    font-family: 'Petit Formal Script';
    color: rgb(197, 197, 197);
	padding: 8px;
	}

li a:hover {
	opacity: 0.5;
	color: rgb(234, 216, 152);
	background-color: rgba(53, 89, 107, 0.8);
	transition: 2s;
	}

.huom {
	opacity: 0.6; 
	color: rgba(146, 162, 162);
	text-align: center; 
	padding: 10px; 
	margin: 30px 15px 0px 15px; 
	background-color: rgba(146, 162, 162, 0.1);
	}

#copyt {
	background-color: rgba(255, 255, 255, 0.6);
	margin: 30px 0px 0px 0px; 
	padding: 20px; 
	text-align: center; 
	text-transform: uppercase; 
	letter-spacing: 1.5px; 
	color: rgba(136, 136, 136, 0.8);
}		
	
/* KUVITUS */

.koristekuva {
	margin-top: 20px; 
	border-bottom: 10px solid rgb(255, 255, 255); 
	border-top: 10px solid rgb(255, 255, 255); 
    }

/* HILPPEET */

.laatikko {
	background-color: rgba(211,211,211,0.5); 
	border: 4px solid rgb(255, 255, 255);
	box-shadow: 0px 0px 2px 2px #999da021 inset;
	width: 90%; 
	margin: auto; 
	line-height: 1.4;
	padding: 20px 10px 20px 10px;
}

.nippeli1 {
	width: 260px; 
	height: 110px; 
	display: inline-block; 
	vertical-align: top;
	text-align: center;
	border-right: 1px solid rgba(53, 89, 107, 0.1);
}

.nippeli2 {
	width: 360px; 
	display: inline-block; 
	vertical-align: top;
	text-align: center;
	column-count: 2;
}

.nippeli3 {
	display: inline-block; 
	vertical-align: top;
	padding-left: 20px; 
}

.laatikko i:hover {
	transform: rotate(360deg);
	transition: 1.5s;
}

    
/* TEKSTIT */

h1 {
	font-size: 140px; 
	font-family: 'Parisienne', serif; 
	color: #fff; 
	font-weight: normal; 
	text-shadow: 4px 4px 4px rgba(1, 3, 4, 0.86);
	text-align: center;
	margin: 20px 0px 50px 10px;
	letter-spacing: 0px; 
	}

h2 {
	font-family: 'Abril Fatface', sans-serif;
	text-transform: uppercase; 
	font-weight: 100; 
	font-size: 40px;
	color: rgba(170, 139, 28, 0.5);
	text-align: left;
	text-shadow: 2px 3px 1px rgba(222, 222, 222, 0.5);
	border-left: 10px solid rgba(220, 215, 216, 0.6); 
	padding: 5px 0px 5px 20px;  
	margin: 20px 0px 20px 80px;  
	background-color: rgba(255, 255, 255, 0.7);
	}

h3 {
	font-family: 'Abril Fatface', serif;
	font-weight: 100;
	text-transform: uppercase; 
	font-size: 30px;
	color: rgba(170, 139, 28, 0.5);
	text-align: left;
	border-left: 10px solid rgba(220, 215, 216, 0.6); 
	padding: 5px 0px 5px 20px; 
	margin: 50px 0px 30px 80px;  
	background-color: rgba(255, 255, 255, 0.7);
	}


h4 {
	font-family: 'Abril Fatface', serif;
	font-size: 25px; 
	margin: 10px 30px 10px 100px; 
	letter-spacing: 1px;  
	color: rgba(153, 157, 160, 1);
	text-transform: uppercase; 
}

h5 {
	font-family: serif;
	font-size: 18px; 
	font-weight: normal;  
	font-style: italic ; 
	text-indent: 20px; 
	color: rgb(136, 136, 136); 
	border-left: 5px solid rgba(170, 139, 28, 0.5);
	margin: 20px 20px 0px 100px;
}

.lainaus {
	margin: 30px 30px 10px 30px;
	font-family: 'Petit Formal Script', sans-serif;
	color: rgba(170, 139, 28, 0.6);
	text-shadow: 1px 1px 3px rgba(153, 157, 160, 0.5);
	line-height: 1.5;
	font-size: 15px; 
	padding-bottom: 15px; 
	padding-top: 15px; 
	border-bottom: 5px solid rgba(220, 215, 216, 0.6);
	border-top: 5px solid rgba(220, 215, 216, 0.6);
	width: 300px;  
	float: left;
	text-align: center;
	}

.historia {
	font-style: italic;
	font-family: serif;
	font-size: 15px;
	color: rgba(146, 162, 162);
	text-indent: 80px; 
	width: 80%; 
	letter-spacing: 1.5px;
	margin: auto;
	padding: 30px 0px 0px 0px;
}

#meriitit {
	margin-left: 300px;
	color: rgba(136, 136, 136, 0.9);
	font-size: 16px;
	padding-top: 10px; 
	padding-bottom: 0px;
	margin-bottom: 0px;
	}

p {
	margin: 20px 30px 20px 30px;
	line-height: 1.5;
	}

a  {
    text-decoration: none;
    color: rgba(146, 162, 162, 0.8);  
	}

a:hover {
    text-decoration: none;
    color: rgba(170, 139, 28, 0.5);
	}

em {
	font-size: 10px;
	font-family: sans-serif;
	color: #5e6b7391;
	font-style: normal;  
	letter-spacing: 0.8px;
	}

strong {
	font-family: serif; 
	font-size: 14px;
	font-style: italic; 
	letter-spacing: 2px; 
}


/* HEVOSEN SIVUT */

#tietoboxi {
	border: 4px solid rgba(255,255,255,1);
	box-shadow: 0px 0px 2px 2px #999da021 inset;
	width: 95%; 
	margin: auto;
	background-color: rgba(220, 215, 216, 0.6);
}

#tietoboxi i {
	margin: 0px 10px;
	color: rgba(170, 139, 28, 0.5);  
}

#paakuva {
	text-align: center; 
	width: 30%; 
	}

#tietoboxi img {
	margin: -30px; 
	background-color: #fff;
	border: 1px solid #dcd7d8;
	padding: 8px; 
	}

#kuvagalleria {
	text-align: center;
	padding: 10px;
	}

#kuvagalleria img{
    margin: 2px; 
    padding: 7px;
    border: 1px #dcd7d8 solid; 
    background-color: #fff;
	}

.saavutukset {
	float: right;  
}

#tittelit {
	background-color: rgba(255, 255, 255, 0.7); 
	width: 420px; 
	padding: 3px 3px 3px 10px; 
	margin: 5px 20px 0px 0px; 
	color: rgb(94, 107, 115); 
}

#tittelit p {
	margin: 4px 0px 0px 30px; 
}

#tittelit i {
	float: left; 
	margin: 3px 0px; 
	font-size: 18px; 
	color: rgba(170, 139, 28, 0.4); 
}

/* PERUSTIETOTAULUKKO */

#perustieto {
	width: 90%;
	border-collapse: collapse;
    color: #615a5e;
	}

#perustieto td {
	padding: 5px 10px;
	border-bottom: 1px dotted #ccc;
	}

#perustieto .tieto {
	letter-spacing: 1.5px;
	width: 30%; 
	text-shadow: 1px 1px 2px rgba(146, 162, 162);
	}

.dropdown {
    position: relative;
    display: inline-block;
    color: rgba(136, 136, 136, 0.8);
    cursor: pointer; 
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 350px;
    border: 4px solid rgba(255,255,255,1);
	box-shadow: 0px 0px 2px 2px #999da021 inset;
    padding: 20px;
    column-count: 2;
    column-rule: 1px solid #eee; 
    text-align: center; 
    line-height: 1.4;
    white-space: pre; 
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* SUKUTAULUTAULUKKO */

#sukutaulu {
	width: 98%;
	margin: 10px;
	border-collapse: collapse;
    font-family: serif;
    letter-spacing: 2px;
    color: #615a5e;
    font-style: italic;
    font-size: 14px; 
	}

#sukutaulu a {
	font-weight: bold; 
	letter-spacing: 2px;
}

#sukutaulu td {
	padding: 6px 10px; 
	border: 1px dashed rgb(220, 215, 216);
 	}

#sukutaulu td:hover {
	background-color: rgba(255, 255, 255, 0.6);
}
 
#sukutaulu .td1 {
	text-align: center; 
	}

#sukuselvitys summary {
	text-align: center; 
	color: rgba(97, 90, 94, 0.8); 
	margin: 0px 0px 20px 0px;  
	outline: none;
	font-weight: bold; 
	font-style: italic; 
	font-family: serif; 
	font-size: 15px; 
	letter-spacing: 2px; 
	}

#sukuselvitys summary:hover {
	color: rgba(170, 139, 28, 0.5);
	cursor: pointer; 
	}

summary::-webkit-details-marker {
  display: none
}

/* JALKELAISTAULUKKO */

#jalkelaislista {
  	width: 90%;
	margin: auto; 
	border-collapse: collapse;
	}

#jalkelaislista td {
    padding: 15px 0px 3px 10px;
    border-bottom: 1px dotted rgb(197, 197, 197); 
    color: #5e6b73;
}

/* KISAKALENTERITAULUKKO */

#kisakalenteri {
	width: 95%;
	margin: auto; 
	text-align: center;
	border-collapse: collapse;
	}

#kisakalenteri td {
	padding: 0px 5px 10px 5px;
	line-height: 1.5;
	vertical-align: top; 
	color: #5e6b73;
	border-bottom: 1px dotted #ccc; 
	}

#kisakalenteri th {
	padding: 10px; 
	color: #5e6b73;
	border-top: 1px dotted #ccc;
	}	

/* INFOTAULUKKO */

#infotaulu {
	margin-right: auto;
	margin-left: auto; 
	margin-top: 30px;
	border-collapse:collapse;
	width: 90%;
	color: #888;
	text-align: center; 
	border: 1px solid rgba(220, 215, 216, 0.6); 
	background-color: rgba(211, 211, 211, 0.4);
	}

#infotaulu td {
	padding: 3px; 
}

#infotaulu .td1 {
	text-align: left; 
	width: 50%; 
	border-left: 1px dotted #dcd7d8;
}

#infotaulu .td2 {
	 text-align: left; 
	 padding-top: 20px; 
	 border-top: 1px dotted #dcd7d8;
}

progress[value] {
  -webkit-appearance: none;
   appearance: none;
   width: 100px; 
}

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(0, 0, 0, .25)),
	   -webkit-linear-gradient(left, #899196, #7aafa3);

    border-radius: 2px; 
background-size: 35px 20px, 100% 100%, 100% 100%;
}

/* LISTAUKSET */

#listaus {
	width: 95%;
	margin: auto;
}

#listaus td {
	vertical-align: top; 
}

#listaus i {
	color: rgba(170, 139, 28, 0.5);
	margin-right: 5px;
}

.hepo {
	height: 60px;
	margin: 10px 0px;
	display: block;
	width: 100%;   
	background-color: rgba(255,255,255,0.9);
	border: 1px solid #fff;
	border-radius: 10px 0px;
}

.hepo img {
	float: left;
	margin-right: 15px; 
	opacity: 0.8;
	border-left: 10px solid rgba(170, 139, 28, 0.5);
	border-radius: 10px 0px;
}

h6 {
	font-size: 20px; 
	font-family: "Abril Fatface",serif; 
	text-transform: uppercase; 
	font-weight: normal;   
	padding: 15px 0px;
	margin: 0px;
}

.hepo p {
	float: right;
	text-align: center; 
	height: 100%; 
	width: 35%;
	margin: 0px; 
	background-color: rgba(170, 139, 28, 0.25);
	padding: 10px 3px;
	box-sizing: border-box; 
	border-radius: 10px 0px; 
}

.kasvattilista {
    width: 95%;
	margin: auto;
    border-collapse: collapse;
	margin-top: 10px;
	margin-bottom: 10px; 
	}

.kasvattilista td {
	line-height: 1.5;
	padding: 6px; 
	border-bottom: 1px dotted rgba(220, 215, 216, 1); 
	}

.kasvattilista tr:hover {
	background-color: rgba(255, 255, 255, 0.3);
}

.kasvattilista .m {
	text-align: left; 
	padding-left: 0px;
}

.kasvattilista .f {
	text-align: right;
	padding-right: 0px;
}

.kasvattilista th {
	padding: 20px 10px 10px 100px; 
	border-collapse: collapse; 
	font-family: serif;
	border-bottom: 3px solid rgba(220, 215, 216, 0.4); 
	letter-spacing: 3px;
	color: rgb(53, 89, 107);
	font-style: italic;
	font-size: 17px;
	font-weight: normal;
	text-align: left;
	text-shadow: 1px 1px 2px rgb(146, 162, 162);
	}

/* TABIT */

/* Style the tab */
.tab {
  width: 150px;
  height: 100%; 
 vertical-align: top; 
}

#kisat {
	clear:both; 
	width: 100%; 
	text-align: center; 
}

#kisat button {
	width: 200px; 
	margin-top: 30px; 
	margin-bottom: 20px; 
	font-family: 'Abril Fatface';
	text-transform: uppercase; 
	letter-spacing: 3px; 
	font-size: 16px; 
	font-weight: normal;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  font: inherit; 
  color: #999da0;
  padding: 10px;
  width: 80%;
  font-weight: bold;
  border: none;
  outline: none;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
background-color: rgba(255, 255, 255, 0.7);
}

/* Create an active/current "tab button" class */
.tab button.active {
	background-color: rgba(255, 255, 255, 0.6);
}

/* Style the tab content */
.tabcontent {
  width: 100%;
  height: 100%;
  margin-bottom: 40px;  
  }