@import url('https://fonts.googleapis.com/css?family=Abel|Abril+Fatface|Arapey|Mrs+Saint+Delafield&display=swap');

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

header {
	font-family: "Arapey", serif;
	color: rgb(88, 88, 88);
	background-color: rgba(88, 88, 88, 0.75);
	font-size: 120px; 
	letter-spacing: 5px;
	text-align: center;  
	width: 1100px; 
	margin: auto; 
	padding: 20px 20px 0px 20px;
}

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

footer {
	background-color: rgba(88, 88, 88, 0.75);
	width: 1100px; 
	padding: 20px;  
	margin: auto; 
	text-align: center; 
	line-height: 1.8; 
	color: rgba(241, 211, 211, 0.3);
	text-transform: uppercase; 
	column-count: 2;
}

/* navigaatio */

nav {
	background-color: rgba(88, 88, 88, 0.75);
	font-family: serif;
	width: 1100px;  
	font-size: 17px;
	padding: 0px 20px; 
	margin: auto; 
	text-align: center;  
	letter-spacing: 3px; 
	font-style: italic; 
}

nav i {
	color: rgba(241, 211, 211, 0.2);
}

ul { 
	margin: 0px 80px 0px 80px; 
	padding: 20px; 
	border-top: dotted rgba(241, 211, 211, 0.2); 
	border-width: 4px; 
}

li {
	padding: 10px; 
	margin: 0px 20px;
	width: 100px; 
	display: inline-block; 
	list-style-type: none; 
}

li:hover {
	background-color: rgba(241, 211, 211, 0.2); 
	transition: 2s;
}

/* muut hilppeet */

h1 {
	font-family: "Abril Fatface", serif;
	width: 300px; 
	float: left; 
	text-align: center; 
	margin: 30px 30px 10px 0px; 
	padding: 8px 0px;
	border: solid rgba(187, 187, 187, 0.5); 
	border-width:1px 0px; 
	color: rgba(169, 120, 137, 0.5); 
	text-transform: uppercase; 
	font-weight: normal;   
	line-height: 0.9;
}

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

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

.nippeli1 p {
	margin: 5px;
}

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

/* tekstit */

p {
	margin: 20px 60px;
	word-spacing: 3px;  
	line-height: 20px; 
}

.ak {
	font-family: "Mrs Saint Delafield", serif;
	font-size: 40px; 
	text-align: center; 
	margin: 50px;
}

.historia { 
    font-family: serif; 
    font-style: italic; 
    text-indent: 50px; 
    letter-spacing: 2px;
    font-size: 15px; 
    margin: 10px 0px 8px 0px;
    padding: 10px 30px 20px 30px;
    color: rgba(0,0,0,.3);
    border-bottom: 1px solid #eee;
}

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

strong {
	font-family: "Abril Fatface", serif; 
	font-size: 17px; 
	letter-spacing: 2px;
	font-weight: normal;  
	color: rgba(0,0,0,.3);
}

a {
	text-decoration: none; 
	color: rgba(241, 211, 211, 0.5); 
}

b {
	color: rgba(88, 88, 88, 0.8); 
}

a:hover {
	color: rgba(93, 69, 69, 0.51);
}


h2 {
	text-align: center; 
	font-family: "Arapey", serif;
	color: rgba(113, 90, 90, 0.25);  
	font-size: 40px; 
	word-spacing: 5px;
	margin: 10px;  
}

h3 {
	text-indent: 60px;
    border-bottom: 1px solid #eee;
	padding: 5px 0px; 
	margin: 60px 0px 8px 0px;
	font-family: "Arapey"; 
	font-weight: ; 
	text-transform: uppercase; 
	color: rgba(113, 90, 90, 0.25);  
	font-size: 40px; 
	word-spacing: 5px; 
}

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

h5 {
	text-align: left; 
	font-family: "Arapey", serif;
	color: rgba(113, 90, 90, 0.25);  
	font-size: 22px; 
	margin: 20px 60px;
}

h5 i {
	color: rgba(241, 211, 211, 0.5); 
	font-size: 22px;
	padding-right: 10px;
	text-shadow: none; 
}

/* listaukset */

.listaus {
	display: inline-block; 
    text-align: center;
    margin: 10px 20px;
    width: 120px;
}

.listaus p {
    margin: 0px; 
    }

.listaus img {
    height: 80px; 
    border-radius: 50%; 
    
    border: 1px solid rgba(187, 187, 187, 0.5); 
    padding: 6px; 
    opacity: 0.8;
    box-shadow: 0px 0px px 0px rgba(113, 90, 90, 0.25);
}


.kasvatit {
    width: 85%;
    border-spacing: 0px 5px; 
    margin: auto;
    color: rgba(88, 88, 88, 0.75); 
    font-size: 13px; 
}

.kasvatit td {
    border: none; 
    padding: 8px 8px; 
}

.kasvatit th {
	padding-left: 50px;
	border-bottom: 1px solid rgba(121, 107, 107, 0.1); 
}

.kasvatit td:first-child {
	background-color: rgba(241, 211, 211, 0.3); 
	width: 3%;
}

.kasvatit td:nth-child(2) {
	padding-left: 15px;  
	width: 250px;
	font-size: 14px;
}

.kasvatit td:nth-child(2):hover {
	background-color: rgba(241, 211, 211, 0.3);
	transition: 1.5s;
}

.kasvatit a:hover {
	font-weight: normal; 
}

.kasvatit td:nth-child(3) {
    padding-left: 15px; 
}


.kasvatit a {
	font-family: serif; 
	font-style: italic; 
	color: rgba(169, 120, 137, 0.5); 
	letter-spacing: 2px;
}

/* tietosivu */

.isokuva {
	padding: 0px;
	margin-bottom: -4px;
	opacity: 0.9;
}

.tieto {
	width: 100%;
	border-collapse: collapse; 
	background-color: #afa4ab;
}

.tieto p {
	font-family: "Abril Fatface"; 
	letter-spacing: 2px; 
	line-height: 24px; 
	font-size: 20px;
	color: rgba(0,0,0,.25);
}

#copyt {
	background-color: inherit; 
	text-align: center; 
	text-transform: uppercase; 
	color: rgba(0,0,0,0.3);
	padding-bottom: 10px;
}

.tieto2 {
	width: 100%; 
	margin-top: 8px; 
	padding-top: 10px;
	border-top: 1px solid #eee;
	text-align: center;
}

.tieto2 td {
	width: 50%; 
}

#meriitit {
	padding: 0px; 
	color: #afa4ab;	
	line-height: 23px;
}

#meriitit i { 
	padding: 4px;
	font-size: 17px;
	color: rgba(241, 211, 211, 0.7); 
}

#kuvagalleria img {
	opacity: 0.9;
	margin: 10px;
	padding: 5px;
	border: 1px solid #eee;
}

hr {
	border: 0.5px solid #eee;
	width: 80%;

}

/* suku */

.suku {
	width: 100%; 
	background-color: rgb(175, 164, 171);
	padding: 10px 10px; 
	color: rgb(58, 56, 56);
}

.suku td {
	padding: 3px 6px;
	border-bottom: 4px dotted rgba(0, 0, 0, .1);
}

#nb {
	border: none; 
}

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

.varsat {
	width: 100%;
	margin: auto;
	border-spacing: 5px;
	border-top: 1px solid #eee;
	margin: 8px 0px;
}

.varsat th {
	font-weight: normal;
	padding: 5px 5px 30px 5px;
	word-spacing: 3px;
	color: #ccc;
}

.varsat td {
	padding-right: 50px;
	padding-left: 50px; 

}

.astutus {
	width: 50%; 
	padding-left: 150px;
	vertical-align: top;
	border-right: 1px solid #eee; 
}

/* kilpailut */

.kilpailut {
    width: 100%;
    background-color: #afa4ab;
    padding: 0px 10px;
    text-align: center; 
}

.kilpailut i {
	font-size: 10px; 
}

.kilpailut th {
	padding: 15px;
}

.kilpailut td {
	vertical-align: top; 
	color: rgb(58, 56, 56);    
    padding: 10px; 
}

.kilpailut td:first-child {
    text-align: right; 
}

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

.kilpailut p {
	font-family: "Abril Fatface", serif;
	font-size: 20px; 
	color: rgba(0,0,0,.3);
}


summary {
	text-align: center;
	outline: none;
	cursor: pointer; 
	border-top: 4px dotted rgba(0, 0, 0, .1);
}

summary::-webkit-details-marker {
  display: none
}

details {
	width: 90%;
	margin: auto;
}

details pre {
    column-count: 4; 
    font-family: "Abel"; 
	  text-align: center; 
}

/* pk */

.otsikko {
    width: 80%; 
    margin: auto; 
    border-bottom: 1px solid #eee;
    margin-top: 40px;
    color: rgba(88, 88, 88, 0.5);  
}

h4 {
	text-transform: uppercase;
	background-color: #eee;
	letter-spacing: 1.5px; 
	font-weight: normal; 
	font-size: 15px; 
	color: #afa4ab; 
	font-weight: normal;
	padding: 4px 15px; 
	width: 300px;
	margin: 0px 20px 0px 40px;
	display: inline-block; 
}

h4 i {
	color: rgba(113, 90, 90, 0.25); 
	font-size: 15px; 
	margin-right: 10px;
}

.pk {
width: 100%; 
border-top: 1px solid #eee;
margin: 8px 0px;
}

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 rgba(0, 0, 0, .1);
  border-width: 1px 1px 1px 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: rgba(113, 90, 90, 0.25);
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 0px 55px;
}

.tabcontent h5 {
	border-top: 1px solid rgb(238, 238, 238);
	padding-top: 20px; 
}