@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&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: "Nunito", sans-serif;
	text-align: justify;
    font-size: 12px;
    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;
	}	

#sivupalkki ul {
    list-style-type: none;
    padding: 0px;
    margin: 20px 0px 70px 0px;
	font-family: "Source Serif Pro", serif; 
	}

#sivupalkki ul li a {
    width: 300px;    
    display: block; 
    font-size: 25px;
    text-align: center;
    text-transform: uppercase;
    color: rgb(197, 197, 197);
	padding: 10px 0px;
	}

#sivupalkki 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; 
	font-size: 10px;
	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); 
    }

    
/* 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-family: "Source Serif Pro", serif; 
	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;
	font-family: "Source Serif Pro", serif; 
	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;
}

p {
	margin: 20px 60px;
	line-height: 22px;
	}

a  {
    text-decoration: none;
    color: rgba(146, 162, 162, 0.8);  
	}

a:hover, #myBtn:hover {
    text-decoration: none;
    color: rgba(170, 139, 28, 0.7);
	}

em, .kasvattilista td:nth-child(3), .kasvattilista td:nth-child(4), .kasvattilista td:nth-child(5), .kasvattilista td:nth-child(6) {
	font-size: 10px;
	font-family: "Nunito", sans-serif;
	color: #74787a;
	font-style: normal;  
	letter-spacing: 1.5px;
	color: rgb(185 176 176); 
	font-weight: normal; 
	}


/* HEVOSEN SIVUT */

.kuvagalleria {
	text-align: center; 
}

.kuvagalleria img, .paakuva img{
    margin: 5px; 
    padding: 7px;
    border: 1px #dcd7d8 solid; 
    background-color: #fff;
	filter: grayscale(30%);
	}

.paakuva img {
	margin: -20px 0px -20px -20px; 
}

.kuvagalleria img:hover, .paakuva img:hover {
	filter: none; 
	transition: 2s;
}

.kukka img {
	float: left; 
	height: 12px;
	color: #bc4e706b;
	margin: 4px 20px;
}

.perustieto {
	width: 800px; 
	margin: 80px auto; 
	background-color: rgba(220, 215, 216, 0.6);
	border: 1px solid rgba(220, 215, 216, 0.6);
	line-height: 22px;
}

.tiedot {
	padding: 0px 20px;
}

.luonne {
	clear: both; 
	margin: 60px; 
}

.luonne td {
	vertical-align: top; 
}

.luonne p {
	margin: 30px; 
}

.meriitit {
	text-align: center; 
	font-weight: bold;
}

.meriitit img {
	background-color: #0000;
	border: none; 
	height: 15px;
}



/* 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);
}

i {
	margin: 0px 10px;
	color: rgb(170 139 28 / 0.3);  
}

.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: 10px 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);
	line-height: 22px;
	}

.infotaulu td {
	padding: 10px; 
    text-align: left;
	vertical-align: top; 
}

.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; 
	text-transform: uppercase; 
}

.kasvattilista td:nth-child(5) {
	text-align: left; 
		text-transform: uppercase; 
}


/* LISTAUKSET */

#listaus {
	width: 95%;
	margin: 20px 40px;
    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; 
	letter-spacing: 2px;
    color: #615a5e;
	line-height: 22px;
	font-size: 11px; 
}

.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: rgb(170 139 28 / 0.3);  
	padding: 5px;
}



	/* SUKULAATIKKO */
	
#myBtn {
	background: none; 
	border: none; 
	font: inherit; 
    color: rgba(146, 162, 162, 0.8); 
	letter-spacing: inherit; 
	padding: 0px; 
	cursor: pointer; 
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}


.modal-sukuselvitys {
  background-color: #fefefe;
	padding: 20px 0px; 
  margin: 0px auto 0px 302px ; 
  width: 998px; 
}

.modal-sukutaulu {
  background-color: #fefefe;
	padding: 20px 0px; 
  margin: 0px ; 
  width: 100%; 
}

.pitkasuku a {
	font-weight: bold;
}

.pitkasuku em {
	font-size: 9px;
}

.close {
color: rgba(146, 162, 162, 0.8); 
	margin: 10px; 
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
	color: rgba(170, 139, 28, 0.7);
  text-decoration: none;
  cursor: pointer;
}	