@import url('https://fonts.googleapis.com/css?&family=Elsie:wght@200|Nunito|Arapey|Raleway|Mrs+Saint+Delafield|Barlow:wght@300&display=swap');


html, body {
	background: url(t5.png);
	min-height: 100%; 
	margin: 0;
	font-family: "Nunito", sans-serif;
    color: #515151; 
	font-size: 11px; 
	letter-spacing: 2px;
}

#sisalto {
	background-color: rgb(251, 249, 249); 
	padding: 40px 0px;
	width: 1100px; 
	margin: auto;  
}

footer {
	background-color: #872341;
	color: #1e1e1ebd; 
	width: 1100px; 
	margin: auto; 
	text-align: center; 
	line-height: 24px; 
	text-transform: uppercase; 
}

footer a {
	color: rgba(169, 120, 137, 0.4); 
}

footer table {
	width: 100%; 
}

footer td {
	vertical-align: top;
	padding: 20px;
}

h6 {
	color: rgb(0 0 0 / 46%); 
	font-family: "Elsie", serif;
	font-weight: normal; 
	font-size: 18px; 
	margin: 10px;
}

/* navigaatio */


h1 {
	font-family: "Arapey", serif;
	color: #dabfbf; 
	margin: 0px 100px;
	font-size: 35px;
	letter-spacing: 10px; 
	font-weight: normal;
}

.navi {
	margin: auto;
	width: 1100px;
	padding: 0px;
	background-color: #872341;
	display: flex;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 99;
	text-transform: uppercase; 
	border-bottom: 1px solid #eeeeee91; 
}

.navi li {
	margin: 15px 20px;
	display: inline-block; 
	list-style-type: none; 
	letter-spacing: 3px;
}

.navi a, footer a {
	color: #dabfbf; 
	font-weight: bold; 
}

.navi a:hover, footer a:hover {
	font-weight: bold; 
	color: rgb(205 178 72 / 18%);
}

ul i {
	color: rgb(205 178 72 / 18%);
}

header {
	width: 1100px; 
	height: 350px;
	margin: auto; 
}

header img {
	height: 350px;
	width: 100%; 
	object-fit: cover;
	opacity: 0.6;
}

header p {
	font-family: "Arapey", serif;
	position: absolute; 
	letter-spacing: 5px;
	top: 80px; 
	margin: 10px 50px;
	font-size: 13px;
	color: rgb(204 204 204 / 70%); 
}


/* muut hilppeet */

.galleria {
	width: 800px;
	text-align: center; 
	margin: 30px auto;
}

.galleria img {
	margin: 5px;
	filter: grayscale(60%);
	border-radius: 3px;
	box-shadow: 0px 0px 5px rgba(113, 90, 90, 0.25); 
}

.galleria img:hover {
	filter: grayscale(0%);
	transition: 2s;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  border-left: 1px solid rgb(113 89 89 / 44%); 
}

::-webkit-scrollbar-thumb {
  background: rgb(135 35 65 / 30%);
}

/* tekstit */

p {
	margin: 30px auto;
	width: 760px; 
	word-spacing: 4px;  
	line-height: 26px; 
	text-align: justify; 
	clear: both; 
}

em { 
	font-style: normal; 
	font-size: 10px;
	color: rgb(195 195 195); 
}

strong {
	font-size: 13px; 
	letter-spacing: 2px;
	text-transform: uppercase; 
	font-family: "Arapey", serif;
	font-weight: normal;  
	color: rgba(0,0,0,.3);
	line-height: 20px;
}


a {
	text-decoration: none; 
	color: #e4b19f; 
	font-weight: bold; 
}


h2 {
	font-family: "Elsie", serif;
	text-align: center; 
	font-weight: normal; 
	text-transform: uppercase;
	color: rgb(135 35 65 / 80%);
	font-size: 40px; 
	word-spacing: 5px;
	margin: 5px auto 60px auto;  
}

h3 {
	position: relative;
    text-align: center; 
	padding: 5px 0px; 
	margin: 70px 0px;
	font-family: "Elsie"; 
	font-weight: normal ; 
	text-transform: uppercase; 
	color: rgb(135 35 65 / 80%);
	text-shadow: 0px 2px 3px rgb(144 138 149 / 0.3); 
	font-size: 40px; 
	word-spacing: 5px; 
}

h3 img {
	padding: 0px 40px;
	opacity: 0.1;
	height: 30px;
}

h3:after {
	content: '';
    position: absolute;
    left: 300px;
	bottom: -5px;
    width: 500px;
    height: 1px;
    background: rgba(121, 107, 107, 0.1);
}

h5 {
	text-align: left; 
	font-family: "Elsie", serif;
	font-weight: normal; 
	text-transform: uppercase; 
	color: rgb(122 110 110);
	font-size: 22px; 
	margin: 30px 180px;
}

		/* TIEDOT */

.taulukko {
	width: 900px;
	border-spacing: 0px;
	margin: 50px auto; 
}

.taulukko th {
	padding: 13px 15px;
	text-align: left;
	text-transform: uppercase;
	background-color: #872341;
	color: rgb(255 255 255 / 60%);
}

.taulukko th:last-child {
	border-radius: 0px 20px 0px 0px; 
}

.tiedot td, .tiedot2 td {
	border-bottom: 1px solid rgba(113, 90, 90, 0.15); 
	vertical-align: middle;
}

.tiedot img, .tiedot2 img {
	display: block; 
	opacity: 0.7; 
	filter: grayscale(20%);
	object-fit: cover; 
	height: 349px;
	width: 555px;
}

.kuva {
	width: 555px; 
	padding: 0px; 
	background-color: #888;
	border: none !important;
}

.v {
	padding: 10px 20px;
}

.tiedot2 b {
	text-transform: uppercase; 
	color: #872341; 
	line-height: 25px;
}	

.tiedot i {
	color: rgb(205 178 72 / 29%); 
	font-size: 10px; 
	margin-right: 10px;
}

.tiedot2 i {
	display: none; 
}

.tiedot2 img {
	height: 415px; 
	width: 555px;
}

.meriitit {
  	margin: auto; 
  	text-align: center; 
  	border-bottom: 1px solid rgba(121, 107, 107, 0.1); 
  	padding: 10px; 
	width: 60%; 
	color: #e2ada6;  
	word-spacing: 20px; 
	font-weight: bold; 
	font-size: 12px; 
}



		/* SUKU */ 

.suku {
	border-collapse: collapse; 
}

.suku td {
	padding: 10px 30px;
	line-height: 20px;
	border: 1px solid rgb(135 35 65 / 30%);
	width: 33%;
}

.suku i {
	color: rgb(205 178 72 / 20%); 
	margin: 0px 20px; 
}

.piilodiv {
    display:none; 
	width: 800px; 
	margin: 30px auto; 
}

.trigger {
	color: rgba(169, 120, 137, 0.5); 
}

.trigger:hover {
	color: rgb(205 178 72 / 43%); 
	transition: 2s;
	cursor: pointer; 
}

#sukuselvitys p {
	width: unset; 
	margin:0px; 
}

#sukuselvitys td {
	vertical-align: top; 
	width: 50%; 
}

#sukuselvitys td:first-child {
	border-right: 1px solid rgba(113, 90, 90, 0.25); 
	padding: 20px 25px 20px 0px;
}

#sukuselvitys td:last-child {
	padding: 20px 0px 20px 25px;
}

.varsat {
	border-collapse: collapse;
	width: 800px; 
	margin: auto;
}

.varsat td:nth-child(1) {
	text-transform: uppercase; 
	width: 20px;
	font-size: 10px;
}



	/* KILPAILUT */

.kisawrapper {
	display: flex;
	justify-content: space-evenly;
	align-items: flex-start;
	width: 900px;
	margin: 0px auto; 
}

.kisasivu {
	width: 250px;
	text-align: center; 
}

.kisasivu p {
	width: fit-content;  
	margin: 20px auto;
	text-align: center; 
}

.taso {
	background-image: url(frame.png);
	background-repeat: no-repeat; 
	background-size: cover; 
	height: 170px; 
	width: 170px; 
	margin: auto; 

}

.taso b {
	font-family: "Arapey", serif; 
	font-size: 30px; 
	line-height: 40px; 
	color: #872341;
}

.taso p {
	padding: 35px 0px;
	color: rgba(93, 69, 69, 0.51); 
}

.palkinto {
	height: 50px; 
}

h4 {
	color: rgb(204 147 164); 
	text-transform: uppercase; 
	margin: 20px 0px; 
	font-size: 13px; 
}

.sijat, .nly {
	width: 700px; 
    margin: 0px;
    border-spacing: 0px;
	border-bottom: 1px solid rgb(135 35 65 / 30%);
}

.sijat td, .varsat td, .nly td {
  padding: 10px 15px;
  text-align: left;
  vertical-align: middle;
}

.sijat td:first-child, .nly td:first-child {
	border-left: 1px solid rgb(135 35 65 / 30%);
	width: 50px; 
}

.sijat td:last-child, .nly td:last-child {
	border-right: 1px solid rgb(135 35 65 / 30%);
	color: rgb(197 180 185); 
}

.sijat tr:nth-child(even), .varsat tr:nth-child(even), .nly tr:nth-child(even) {
	background-color: rgb(164 148 148 / 10%); 
}

.sijat img, .nly img {
	height: 8px; 
}

.sijat p {
	width: unset; 
	margin: 20px;
}

.nly {
	margin-top: 40px;
	border-top: 1px solid rgb(135 35 65 / 30%);
}


		/* PK */

.pk {
	width: 800px;
}

.pk p {
	margin: 30px 20px;
}

.date {
	background-color: #872341;
	font-family: "Arapey", serif; 
	font-size: 45px; 
	width: 110px; 
	color: rgb(205 178 72 / 29%); 
	text-align: center; 
	border-radius: 20px 0px 0px 0px;
	padding: 0px 10px;
}

.date i {
	font-size: 40px;
}

.pk td:nth-child(2) {
	border-radius: 0px 20px 0px 0px;
	border-bottom: 1px solid rgba(113, 90, 90, 0.15); 
	line-height: 20px;
	padding-left: 30px; 
}

.pk td:nth-child(2) b {
	text-transform: uppercase;
	color: rgb(204 147 164); 
	font-size: 13px; 
}


/* PROGRESS */

.progressbar-wrapper {
      width: 760px;
      padding-top: 10px;
      padding-bottom: 5px;
	margin: 0px auto; 
	color: rgba(93, 69, 69, 0.51); 
}

.progressbar li {
      list-style-type: none;
      width: 20%;
      float: left;
      position: relative;
      text-align: center;
      text-transform: uppercase;
	margin: 0px 0px 50px 0px;
}

.progressbar li:before {
    width: 50px;
    height: 50px;
    content: "";
    line-height: 50px;
    border: 2px solid #eee;
    display: block;
    text-align: center;
    margin: 0 auto 3px auto;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}
.progressbar li:after {
     width: 100%;
     height: 2px;
     content: '';
     position: absolute;
     background-color: #eee;
     top: 30px;
     left: -50%;
     z-index: 0;
}
.progressbar li:first-child:after {
     content: none;
}

.progressbar li.active {
    color: #872341; 
    font-weight: bold;  
	color: #e2ada6; 
	font-weight: normal;
}

.progressbar li.active:before {
    border-color: #872341;
    background: #872341;
 }

.progressbar li.active + li:after {
    background-color: #872341;
}

.progressbar li.active:before {
    background: #872341;
    background-size: 60%;
}

.progressbar li::before {
    background: #fff;
    background-size: 60%;
}

.progressbar {
    counter-reset: step;
    display: flex;
    justify-content: center;
}

.progressbar li:before {
    content: counter(step);
    counter-increment: step; 
	font-weight: bold; 
}

.progressbar span { 
	line-height: 20px;
}


		/* LISTAUS */

.hv {
	background-color: rgb(65 50 62 / 0.9);
	width: 100%;
	height: 120px;
	border: 1px solid rgb(255 255 255); 
	margin: 18px; 
	padding: 10px 0px 0px 0px;
	line-height: 22px;
}

.hv a {
	font-weight: bold; 
	font-size: 18px;
	margin-right: 20px;
}

.hv strong {
	font-family: "Elsie", serif; 
	color: rgb(123 105 120 / 90%);
	line-height: 35px;
}

.hv em {
	display: block; 
	background-color: #ede9e9; 
	width: 100%;
	padding: 9px 0px;
}

.listaus img { 
	background-color: rgb(65 50 62); 
	width: ;
	height: 130px;
	object-fit: cover; 
	filter: grayscale(60%); 
	float: left; 
	margin: -10px 20px 0px 0px; 
}

.listaus {
	margin: auto;
	width: 900px;
	color: rgba(0,0,0,0.3);
	display: flex;
	flex-wrap: wrap;
}