@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: 1.5px;
}

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;
}

header a {
	color: rgb(88, 88, 88);
}

#sisalto {
	background-color: rgb(251, 249, 249); 
	width: 1100px; 
	min-height: 700px; 
	padding-bottom: 40px;
	padding-top: 40px;
	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; 
}

footer p {
	display: inline-block; 
	width: 300px; 
	text-align: center;
}

/* navigaatio */

nav {
	background-color: rgba(88, 88, 88, 0.75);
	font-family: "Arapey", serif;
	width: 1100px;  
	font-size: 20px;
	padding: 0px 20px; 
	margin: auto; 
	text-align: center;  
	letter-spacing: 3px; 
	text-transform: uppercase; 
}

nav i {
	color: rgb(205 178 72 / 29%);
}

ul { 
	margin: 0px 80px 0px 80px; 
	padding: 20px; 
	border-top: 1px solid rgba(241, 211, 211, 0.2); 
}

li {
	padding: 10px; 
	margin: 0px 20px;
	width: 110px; 
	display: inline-block; 
	list-style-type: none; 
	color: rgb(78 69 69 / 0.9);
}

li:hover {
	background-color: rgba(241, 211, 211, 0.2); 
	transition: 2s;
}

/* muut hilppeet */

h1 {
    font-family: "Abril Fatface", serif;
    border-width: 1px 0px;
    color: rgba(169, 120, 137, 0.5);
    text-transform: uppercase;
    font-weight: normal;
    line-height: 0.9;
    width: 280px;
}

.koristekuva {
	text-align: center;
    width: fit-content;
    float: left;
    margin: 20px 50px;
    background-color: rgb(113 90 90 / 0.13); 
}

.kuvitus {
}

.pvm {
    margin: 30px auto 20px auto;  
    border-spacing: 10px; 
}

.pvm h6 {
	font-size: 20px;
    margin: 20px 50px; 
}

.pvm p {
    margin: 0px 15px 25px 15px; 
    color: #888; 
}

.pvm td {
	vertical-align: top;
    background-color: rgb(113 90 90 / 0.05); 
    border: 1px solid rgb(187 187 187 / 0.1);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  border-left: 1px solid rgb(0 0 0 / 0.1); 
}

::-webkit-scrollbar-thumb {
  background: rgba(93, 69, 69, 0.51);
}

/* tekstit */

p {
	margin: 20px 80px;
	word-spacing: 3px;  
	line-height: 22px; 
	text-align: justify; 
}

.ak {
	font-family: "Mrs Saint Delafield", serif;
	font-size: 40px; 
	text-align: center; 
	margin: 50px;
	clear:both;
}

.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: "Arapey", serif; 
	font-size: 20px; 
	letter-spacing: 2px;
	font-weight: normal;  
	color: rgba(0,0,0,.3);
}


a {
	text-decoration: none; 
	color: rgb(206 180 180 / 1); 
}

b {
	color: rgba(88, 88, 88, 0.8); 
}

a:hover {
	color: rgba(93, 69, 69, 0.51);
}


h2 {
	font-family: "Arapey", serif;
	font-weight: normal; 
	color: rgba(0,0,0,0.3);
	font-size: 38px; 
	word-spacing: 5px;
	margin: 0px 40px;  
}

h3 {
    border-bottom: 1px solid rgb(113 90 90 / 0.13); 
    text-align: center; 
	padding: 5px 0px; 
	margin: 60px 200px 50px 200px;
	font-family: "Arapey"; 
	font-weight: normal ; 
	text-transform: uppercase; 
	color: rgba(0,0,0,0.3);
	font-size: 40px; 
	word-spacing: 5px; 
}

h3:before {
    content: "\269C";
    font-size: 33px;
    margin: 10px; 
    color: rgb(205 178 72 / 43%); 
    text-shadow: 0px 0px 3px rgba(121, 107, 107, 0.1);
}

h3:after {
    content: "\269C";
    font-size: 33px;
    margin: 20px; 
    color: rgb(205 178 72 / 43%); 
    text-shadow: 0px 0px 3px rgba(121, 107, 107, 0.1);
}

h5 {
	text-align: left; 
	font-family: "Arapey", serif;
	font-weight: normal; 
	text-transform: uppercase; 
	color: rgb(88, 88, 88);
	font-size: 22px; 
	margin: 20px 100px;
}

h5:before {
    content: "\2654";
    font-size: 23px;
    margin: 10px; 
    color: rgb(205 178 72 / 43%); 
    text-shadow: 0px 0px 3px rgba(121, 107, 107, 0.1);
}

h6 {
	text-align: left; 
	font-family: "Arapey", serif;
	font-weight: normal; 
	text-transform: uppercase; 
	color: #888;
	font-size: 22px; 
	margin: 30px 60px 15px 60px;
}

/* listaukset */

.hv {
	text-align: center; 
	background-color: rgb(113 90 90 / 0.13); 
	width: fit-content; 
	padding: 7px 7px 10px 7px; 
	border-radius: 15px 15px 0px 0px; 
	border: 1px solid rgb(255 255 255); 
	display: inline-block;
	margin: 15px; 
	box-shadow: 0px 2px 3px rgb(187 187 187 / 0.3); 
}

.hv strong {
	
    display: table-cell; 
    width: 140px; 
    height: 28px;
    vertical-align: middle;    
}

.hv img {
    border-radius: 10px 10px 0px 0px; 
    width: 140px; 
    opacity: 0.8;
}

.hv img:hover {
	opacity: 1;
	transition: 2s;
}

.listaus {
margin: auto; 
width: 87%; 
}

.kasvatit {
    width: 85%;
    border-spacing: 0px 5px; 
    margin:20px  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: rgb(113 90 90 / 0.13); 
	width: 3%;
	text-transform: uppercase; 
}

.kasvatit td:nth-child(2) {
	padding-left: 15px;  
	width: 250px;
}

.kasvatit td:nth-child(2):hover {
	background-color: rgb(113 90 90 / 0.13);
	transition: 1.5s;
}

.kasvatit a:hover {
	font-weight: normal; 
}

.kasvatit td:nth-child(3) {
    padding-left: 15px; 
}


.kasvatit a {
	font-family: "Abel", serif; 
	color: rgba(169, 120, 137, 0.5); 
	letter-spacing: 2px;
}

.taul {
    width: 85%;
    border-spacing: 0px 5px; 
    margin: auto;
    color: rgba(88, 88, 88, 0.75); 
    font-size: 13px; 
    line-height: 20px;
}

.taul td {
    border: none; 
    padding: 8px 8px; 
}	

.taul th {
	padding-left: 50px;
	border-bottom: 1px solid rgba(121, 107, 107, 0.1); 
}

.taul a {
	color: rgba(93, 69, 69, 0.51);
	font-weight: bold;
}
	
/* tiedot */

.tiedot {
	margin: 50px 30px; 
}

.perustiedot {
	color: rgba(0,0,0,.30);
	background-color: #afa4ab; 
	width: fit-content; 
	padding: 0px 0px 10px 0px; 
	border-radius: 15px 15px 0px 0px; 
	border: 1px solid rgb(255 255 255); 
	margin: 15px; 
	box-shadow: 0px 1px 5px rgba(113, 90, 90, 0.25); 
}

.perustiedot img {
    border-radius: 10px 10px 0px 0px; 
    width: 480px; 
    opacity: 0.8;
    margin-bottom: 20px; 
}

.perustiedot p {
	font-family: "Arapey", serif;
	margin: 20px 10px; 
	font-size: 20px; 
	text-align: center; 
	line-height: 23px; 
}

.perustiedot i {
    font-size: 17px; 
    margin: 0px 10px;
    color: rgb(113 90 90 / 44%); 
}

.huomio {
	font-family: sans-serif;
	font-size: 13px; 
	background-color: rgba(113, 90, 90, 0.25); 
	padding: 5px 10px;
	margin: 10px;  
}

.nosto {
	width: 560px; 
	margin: auto 10px; 
	vertical-align: middle; 
}

.nosto p {
	margin: 0px 40px; 
	font-family: serif; 
	font-style: italic; 
	letter-spacing: 2px; 
	font-size: 16px; 
	line-height: 25px; 
	border: solid #eee; 
	border-width: 2px 0px; 
	padding: 25px 0px; 
}

.isokuva {
	padding: 0px;
	margin-bottom: -4px;
	opacity: 0.9;
}

.hepankuva {
	opacity: 0.9;	
	margin: 10px 80px 20px 50px;
	height: 250px;
	padding: px; 
	border: 1px solid #fff;
    box-shadow: 0px 1px 5px rgba(113, 90, 90, 0.25); 
}

.tieto {
	width: 100%;
	border-collapse: collapse; 
	background-color: #afa4ab;
}

.tieto p {
	font-family: "Abril Fatface"; 
	margin: auto; 
	text-align: left; 
	letter-spacing: 2px; 
	line-height: 24px; 
	font-size: 20px;
	color: rgba(0,0,0,.25);
}

#copyt {
	margin: 0px 0px 80px 0px;
	text-align: center; 
	text-transform: uppercase; 
	color: rgb(0 0 0 / 0.2);
}

.tieto2 {
	width: 100%; 
	margin-top: 8px; 
	padding-top: 10px;
	border-top: 1px solid #eee;
	text-align: center;
}

.tieto2 td:nth-child(1) {
	width: 480px; 
}

#m {
	text-align: center; 
}

.meriitit {
	font-family: "Arapey", serif;
  	margin: auto; 
  	text-align: center; 
  	font-size: 20px; 
  	border-bottom: 1px solid rgba(121, 107, 107, 0.1); 
  	padding: 10px; 
  	width: 60%; 
}

.meriitit a {
	margin: 3px 10px; 
	color: rgba(113, 90, 90, 0.25); 
}

.meriitit a:hover {
	color: rgba(93, 69, 69, 0.51);
}


#kuvagalleria img {
	opacity: 0.9;
	margin: 10px;
	padding: 5px;
	border: 1px solid #eee;
}

/* suku */

.suku {
	width: 90%;
	margin: auto; 
	color: rgb(0 0 0 / 0.5);
	background-color: #afa4ab; 
	padding: 0px 0px 10px 0px; 
	border-radius: 15px 15px 0px 0px; 
	border: 1px solid rgb(255 255 255); 
	box-shadow: 0px 1px 5px rgba(113, 90, 90, 0.25); 
	border-spacing: 0;
}

.suku th {
    padding: 10px; 
    background-color: rgba(113, 90, 90, 0.25); 
    color: rgba(88, 88, 88, 0.8);
    font-weight: normal; 
    border-radius: 15px 15px 0px 0px; 
    font-family: "Arapey", serif; 
    font-size: 17px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

.suku td {
	padding: 10px;
	border-bottom: 1px solid rgba(113, 90, 90, 0.25); 
}

#nb {
	border: none; 
}

.suku .v {
	text-align: center; 
}

.suku i {
	margin: 0px 10px; 
	color: rgb(88 88 88 / 0.6); 
}

.sukuselvitys {
	width: 95%;
	padding: 20px 0px; 
    margin: 50px auto 20px auto;
    border: solid rgb(0 0 0 / 0.1);
    border-width: 1px 0px;
    font-size: 13px;
}

.sukuselvitys td {
	width: 50%; 
	vertical-align: top;
}

.sukuselvitys td:first-child {
	border-right: 1px solid #eee; 
}

.sukuselvitys p {
    margin: 10px 20px; 
}
	

/* kilpailut */

.kilpailut {
	width: 90%;
	margin: auto; 
	color: rgba(0,0,0,.30);
	background-color: #afa4ab; 
	padding: 0px 0px 10px 0px; 
	border-radius: 15px 15px 0px 0px; 
	border: 1px solid rgb(255 255 255); 
	box-shadow: 0px 1px 5px rgba(113, 90, 90, 0.25); 
	border-spacing: 0;
}

.kilpailut i {
	font-size: 13px; 
	margin-right: 5px;
	color: rgb(88 88 88 / 0.6); 	
}

.kilpailut th {
    padding: 10px; 
    background-color: rgba(113, 90, 90, 0.25); 
    color: rgba(88, 88, 88, 0.8);
    font-weight: normal; 
    border-radius: 15px 15px 0px 0px; 
    font-family: "Arapey", serif; 
    font-size: 17px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

.kilpailut td {
	vertical-align: ; 
    color: rgba(88, 88, 88, 0.8); 
    width: 30%; 
}

.ominaisuudet {
	padding: 25px 50px; 
}

.sij {
	text-align: center;
	padding: 30px 10px; 
	vertical-align: top; 
	border-top: 1px solid rgba(113, 90, 90, 0.15); 
}

.taso {
	display: inline-block; 
	background-color: rgba(113, 90, 90, 0.25); 
	padding: 5px 10px;
	margin: 3px; 
	width: 70px;
	text-align: center;  
}

/* pk */

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: 350px;
	margin: 0px 20px 0px 40px;
	display: inline-block; 
}

h4 i {
	color: rgba(113, 90, 90, 0.25); 
	font-size: 15px; 
	margin-right: 10px;
}


.pk {
	height: 50px; 
	background-color: rgb(113 90 90 / 0.10); 
	margin: 40px auto; 
	width: 90%; 
}

.date {
	float: left; 
	text-align: center; 
	letter-spacing: -5px; 
	background-color: rgb(130 96 96 / 25%);
	font-family: "Arapey", serif; 
	font-size: 45px; 
	height: 50px; 
	width: 110px;
	margin-right: 20px;
	color: rgb(205 178 72 / 63%); 
}

.pk p {
	padding: 5px; 
	color: rgba(93, 69, 69, 0.51); 
}

.pk b {
	font-family: 'Arapey', serif; 
	letter-spacing: 2px; 
	font-weight: normal; 
	color: #888;
	font-size: 17px; 
	text-transform: uppercase; 
}

/* tabit */

.tab {
	text-align: center; 
	margin: 50px; 
}

.piilodiv {
    display:none; 
}

.trigger {
	cursor: pointer; 
	font-family: "Arapey", sans-serif; 
	margin: 0px 30px;
	padding: 10px; 
    text-transform: uppercase;
    font-size: 23px; 
    color: rgb(88 88 88 / 0.6); 
    border-bottom: 1px solid rgb(113 90 90 / 0.13); 
}

.trigger:hover {
	color: rgb(205 178 72 / 43%); 
	transition: 2s;
}
