@import url('https://fonts.googleapis.com/css2?family=Allura&family=Dancing+Script&family=Ephesis&family=Fleur+De+Leah&family=Homemade+Apple&family=Mrs+Saint+Delafield&family=Nunito:wght@200&family=Reenie+Beanie&family=Satisfy&family=Source+Serif+Pro:wght@300&display=swap');

html {
    background: url(tausta.jpg) no-repeat center fixed; 
    background-size: cover; 
    }

body {
    margin: 0px; 
    font-family: "Source Serif Pro", sans-serif;
	text-align: justify;
    font-size: 13.5px;
    letter-spacing: 1.5px; 
    word-spacing: 3px; 
    color: #5e6b73;
	}
	
#pohja {
    position: absolute;
	left: 300px;
	}

#sivupalkki {
	width: 300px;
    position: absolute;
	height: 100%;
    margin-left:-300px;  
	background-color: rgba(6,45,55,0.94);
    border-left: 1px solid #192d38;
    border-right: 1px solid #192d38;
}

#sisalto {
	background-color: rgba(255,255,255,0.9);
	width: 1000px;
	min-height: 100%;
	padding: 1px 0px;
	}	

ul {
    list-style-type: none;
    padding: 0px;
    margin: 20px 0px 70px 0px;
	}

ul li a {
    width: 284px;    
    display: block; 
    font-size: 27px;
    text-align: center;
    font-family: "Satisfy", serif;
    font-style: italic;
    color: rgb(197, 197, 197);
	padding: 8px;
	}

ul li a:hover {
	opacity: 0.5;
	color: rgba(170, 139, 28, 0.7);
	background-color: rgba(53, 89, 107, 0.8);
	transition: 2s;
	}

.huom {
	opacity: 0.7; 
	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; 
	line-height: 24px; 
	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); 
    }

.kuvagalleria {
	text-align: center;
	margin: 30px auto;
	width: 90%;
}

.kuvagalleria img{
    margin: 5px; 
    padding: 7px;
    border: 1px #dcd7d8 solid; 
    background-color: #fff;
	}
    
/* TEKSTIT */

h1 {
	font-size: 160px; 
    font-family: "Mrs Saint Delafield", serif;
	color: #fff; 
	font-weight: normal; 
	text-shadow: 4px 4px 4px rgba(1, 3, 4, 0.86);
	text-align: center;
	margin: 20px 30px 0px 0px;
	letter-spacing: 0px; 
	}

h2 {
	text-transform: uppercase; 
	font-weight: normal; 
	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-weight: normal;
	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: "", serif;
	font-size: 25px; 
	margin: 10px 30px 10px 100px; 
	letter-spacing: 1px;  
	color: rgba(153, 157, 160, 1);
	text-transform: uppercase; 
}

h5 {
	font-size: 18px; 
	font-weight: normal;  
	color: rgb(136, 136, 136); 
	border-bottom: 1px solid #ccc;
	margin: 20px 100px;
	padding: 10px 40px;
}

.lainaus {
	margin: 30px auto;
    font-family: "Satisfy", serif;
	color: rgba(170, 139, 28, 0.2);
	text-shadow: 0px 0px 3px #dcd7d8;;
	line-height: 35px;
	font-size: 22px; 
    padding: 15px;
	border: solid rgba(220, 215, 216, 0.6);
	border-width: 5px 0px;
	width: 700px;  
	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 60px;
	line-height: 22px;
	}

a  {
    text-decoration: none;
    color: rgba(146, 162, 162, 0.8);  
	}

a:hover {
    text-decoration: none;
    color: rgba(170, 139, 28, 0.7);
	}

em {
	font-size: 10px;
	font-family: "Nunito", sans-serif;
	color: #74787a;
	font-style: normal;  
	letter-spacing: 1px;
	}

strong {
	font-size: 14px;
}


/* HEVOSEN SIVUT */

.meriitti {
	text-align: center; 
	font-size: 16px; 
	letter-spacing: 2px; 
	background-color: rgba(220, 215, 216, 0.6); 
}

.meriitti a {
		text-shadow: 1px 1px 2px rgba(146, 162, 162);
}

/* TAULUKOT */

.tietoboxi {
	border: 4px solid rgba(255,255,255,1);
	box-shadow: 0px 0px 2px 2px #999da021 inset;
	width: 900px; 
	margin: auto;
	background-color: rgba(220, 215, 216, 0.6);
}

.tietoboxi i {
	margin: 0px 10px;
	color: rgba(170, 139, 28, 0.5);  
}

.perustieto {
	border-spacing: 0px;
    color: #615a5e;
	}

.perustieto td {
	padding: 12px 20px;
	border-bottom: 1px dotted #ccc;
	}

.tieto {
    letter-spacing: 2px;
	width: 120px; 
	text-shadow: 1px 1px 2px rgba(146, 162, 162);
	background-color: rgba(220, 215, 216, 0.6); 
	text-align: center;
	}

.sukutaulu {
    border-spacing: 0px; 
    letter-spacing: 2px;
    color: #615a5e;
	}

.sukutaulu a {
	font-weight: bold; 
}

.jalkelaislista a {
	font-weight: bold; 
}

.sukutaulu td {
	padding: 8px 10px; 
	border: 1px dashed rgb(220, 215, 216);
 	}

.td1 {
	text-align: center;
}

.i {
	background-color: rgba(220, 215, 216, 0.6); 	
}

.sukuselvitys summary {
	text-align: center; 
	color: rgba(97, 90, 94, 0.8); 
	margin: 0px 0px 10px 0px;  
	outline: none;
	font-size: 15px; 
	list-style-type: none;
	text-transform: uppercase;
	}

.sukuselvitys summary:hover {
	color: rgba(170, 139, 28, 0.5);
	cursor: pointer; 
	}

.taulukko2 {
	margin: 40px auto; 
    border-spacing: 0px; 
	color: #888;
}

.jalkelaislista {
  	width: 800px;
	}

.taulukko2 td {
    padding: 5px 20px;
    border-bottom: 1px dotted rgb(197, 197, 197); 
}

.taulukko2 tr:nth-child(odd) {
	background-color: rgba(220, 215, 216, 0.6); 
}

/* INFOTAULUKKO */

.infotaulu {
    margin: 40px auto; 
	border-collapse:collapse;
	width: 800px;
	color: #888;
	border: 1px solid rgba(220, 215, 216, 0.6); 
	background-color: rgba(211, 211, 211, 0.4);
	}

.infotaulu td {
	padding: 10px; 
    text-align: left;
}

.infotaulu .td1 {
	width: 50%; 
	border-left: 1px dotted #dcd7d8;
}

.infotaulu .td2 {
	 padding-top: 20px; 
	 border-top: 1px dotted #dcd7d8;
	 text-align: justify;
}

.infotaulu p {
	margin: 20px 30px;
}

.kisat {
	width: 800px;
}

.kisat .td1 {
    padding: 20px 40px;
    text-align: left; 
	vertical-align: top;
}

.kasvattilista {
    width: 95%;
	margin: 40px auto;
    border-spacing: 0px;
	}

.kasvattilista td {
	padding: 10px; 
	border-bottom: 1px dotted rgba(220, 215, 216, 1); 
	}

.kasvattilista td:nth-child(3) {
	text-align: right; 
}

.kasvattilista td:nth-child(5) {
	text-align: left; 
}


/* LISTAUKSET */

#listaus {
	width: 95%;
	margin: 20px auto;
    display:flex; 
    flex-wrap:wrap;
}

#listaus i {
	color: rgba(170, 139, 28, 0.5);
	margin-right: 5px;
}

.hepo {
	margin: 10px;
	display: inline-block;
	width: 440px;   
	background-color: rgba(255,255,255,0.9);
	border: 1px solid #fff;
	border-radius: 10px 0px;
	text-align: center; 
}

.hepo img {
	float: left;
	width: 100px;
	height: 150px;
	object-fit: cover;
	opacity: 0.8;
	border-left: 10px solid rgb(234 226 197);
	border-radius: 10px 0px;
}

h6 {
	font-size: 16px; 
	text-transform: uppercase; 
	font-weight: normal;   
	margin: 10px auto 3px auto;
}

.hepo p {
	margin: 0px 0px 0px 100px; 
	background-color: rgba(170, 139, 28, 0.25);
	padding: 15px 3px;
	box-sizing: border-box; 
}


/* TABIT */

.buttonit {
	margin: 50px;
	text-align: center; 
	width: 900px; 
}

.piilodiv {
    display: none; 
    column-count: 4;
    width: 950px; 
    margin: 40px 40px; 
	font-family: "Nunito", sans-serif;
	font-size: 12px;
}

.trigger {
    background-color: rgba(220, 215, 216, 0.6);
    padding: 10px 15px; 
    border: 1px solid #dcd7d8; 
    margin: 0px 20px;
}

.trigger:hover { 
    cursor:pointer;
}

.trigger i {
	color: rgba(170, 139, 28, 0.5);
	padding: 5px;
}