﻿@import url('https://fonts.googleapis.com/css?family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bellefair&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Love+Light&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital@1&display=swap');

img.galleria { background: transparent; padding: 4px; border: 1px solid #ad7134; }

img.lista { float: left; width: 100%; margin: 0px 0px 10px 0px; padding: 0; }

::-moz-selection { color: #fcf1e6; background: #ad7134; }
::selection { color: #fcf1e6; background: #ad7134; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #e8d6c3; }
::-webkit-scrollbar-thumb { background: #ad7134; }

html {
height: 100%;
}

body {
margin: 0;
width: 100%;
height: 100%;
background-color: #e8d6c3;
}

div.index {
display: block;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
text-align: center;
background: url(etusivu.jpg);
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}

div.header {
display: block;
margin: 0;
padding: 0;
height: auto;
width: 100%;
text-align: center;
overflow: hidden;
}

div.sidenav {
display: inline-block;
position: fixed;
background-color: transparent;
float: left;
width: 10%;
margin: 0;
padding: 1%;
overflow: hidden;
}

div.container {
display: inline-block;
position: relative;
background-color: #ffffff;
float: left;
width: 82%;
margin: 0 0 0 12%;
padding: 2% 3%;
overflow: hidden;
}

div.footer-one {
position: fixed;
display: block;
background-color: transparent;
margin: 0;
padding: 0;
bottom: 0;
width: 100%;
text-align: center;
}

div.footer-two {
display: block;
background-color: #ffffff;
margin: 0 0 0 12%;
padding: 15px 0px;
width: 88%;
text-align: center;
}

div.copy-one {
display: inline-block;
margin: 0;
padding: 0;
min-width: 30%;
font-size: 16px;
font-family: bellefair;
font-weight: normal;
color: #ffffff;
line-height: 2;
text-align: center;
}

div.copy-two {
display: inline-block;
margin: 0;
padding: 0;
min-width: 30%;
font-size: 12px;
font-family: bellefair;
font-weight: normal;
color: #ad7134;
line-height: 2;
text-align: center;
}

div.update {
background-color: rgba(255, 255, 255, 0.7);
width: 24.4%;
height: 17%;
margin: 20px auto;
padding: 0px 25px 5px 25px;
overflow: auto;
-ms-overflow-style: none;
scrollbar-width: none;
overflow-y: scroll;
}

div.update::-webkit-scrollbar {
display: none;
}

div.tiedot {
display: block;
margin: 15px 0px;
padding: 2%;
width: 96%;
background-color: #fcf1e6;
overflow: hidden;
}

div.kuvat {
display: inline-block;
margin: 0px 0px 0px 50px;
padding: 0;
width: 42%;
background: transparent;
text-align: center;
float: right;
flex-wrap: wrap;
}

div.sisarukset {
display: inline-block;
margin: 0;
padding: 0;
width: 50%;
background: transparent;
float: left;
flex-wrap: wrap;
}

div.jalkelaiset {
display: inline-block;
margin: 0;
padding: 0;
width: 50%;
background: transparent;
float: left;
flex-wrap: wrap;
}

div.lista {
display: inline-block;
margin: 0;
padding: 0;
width: 25%;
background: #fcf1e6;
float: left;
flex-wrap: wrap;
}

div.pentue {
display: inline-block;
margin: 15px 0px;
padding: 0;
width: 33%;
height: auto;
background: transparent;
float: left;
flex-wrap: wrap;
}

tr.color {
background-color: #ffffff;
}

tr.color:hover {
background-color: #fcf1e6;
}

td.lista {
padding: 6px 0px;
border-top: 1px solid #edcaa6;
}

b, strong {
font-weight: normal;
color: #ad7134;
text-shadow: 0px 0px 1px #ad7134;
}

i, em {
font-family: libre baskerville;
font-size: 13px;
color: #ad7134;
}

m, meriitit {
display: inline-block;
font-size: 12px;
padding: 0px 0px 0px 15px;
}

a:link, a:visited {
color: #ad7134;
text-decoration: none;
}

a:hover {
color: #e8d6c3;
text-decoration: none;
}

a.suku:link, a.suku:visited {
display: inline-block;
padding: 0px 6px 0px 0px;
color: #000000;
font-size: 14px;
text-decoration: none;
}

a.suku:hover {
color: #ad7134;
background-color: rgba(255, 255, 255, 0.4);
text-decoration: none;
}

a.inav:link, a.inav:visited {
display: inline-block;
background-color: rgba(255, 255, 255, 0.7);
margin: 0px 10px;
padding: 15px 25px;
color: #4a7d4d;
font-family: bellefair;
font-size: 24px;
text-decoration: none;
text-transform: uppercase;
}

a.inav:hover {
color: #ad7134;
background-color: rgba(255, 255, 255, 0.4);
text-decoration: none;
}

a.snav:link, a.snav:visited {
display: inline-block;
margin: 0;
padding: 25px 10px;
width: 70%;
color: #ad7134;
font-family: bellefair;
font-size: 22px;
text-decoration: none;
text-transform: uppercase;
}

a.snav:hover {
color: #ffffff;
text-decoration: none;
}

h1 {
font-size: 122px;
font-family: love light;
font-weight: normal;
padding: 100px 0px 0px 0px;
margin: 0;
color: #ffffff;
text-align: center;
text-shadow: 0px 0px 8px #000000;
}

h2 {
font-size: 92px;
font-family: love light;
font-weight: normal;
color: #ffffff;
margin: 0;
padding: 80px;
text-align: center;
text-shadow: 0px 0px 8px #000000;
}

h3 {
font-size: 26px;
font-family: libre baskerville;
font-weight: normal;
font-style: italic;
color: #ad7134;
margin: 0;
padding: 25px 0px;
text-align: left;
}

h4 {
font-size: 24px;
font-family: bellefair;
font-weight: normal;
color: #ad7134;
margin: 0;
padding: 25px 0px;
text-align: left;
text-transform: uppercase;
clear: both;
}

h5 {
font-size: 18px;
font-family: bellefair;
font-weight: normal;
color: #ad7134;
margin: 0;
padding: 15px 0px;
text-align: left;
text-transform: uppercase;
clear: both;
}

p {
color: #000000;
font-family: lora;
font-size: 14px;
line-height: 1.8;
text-align: justify;
}

.tab { overflow: hidden; background-color: transparent; border: none; float: center; margin: 0 auto -25px auto; text-align: center; }
.tab button { float: left; text-align: center; color: #ad7134; background-color: transparent; font-family: lora; font-size: 14px; padding: 10px; margin: 0px 2px 0px 0px;
border-radius: 10px 10px 0px 0px; }
.tab button:hover { color: #ad7134; background-color: #fcf1e6; }
.tab button.active { color: #ad7134; background-color: #fcf1e6; }

.tab button.current {
color: #498D92;
border-bottom: 1px solid #a7d3d6;
}
.tablinks { float: center; text-align: center; background-color: none; border: none; font-family: lora; font-size: 20px; }
.tabcontent { display: none; background-color: #fcf1e6; padding: 15px 25px; }

button.suku {
display: block;
float: left;
background-color: transparent;
border: none;
font-family: lora;
font-size: 14px;
color: #ad7134;
text-decoration: none;
margin: 0 50% 1% 0;
padding: 0;
}

button.suku:hover {
color: #fcf1e6;
text-decoration: none;
}

div.suku {
display: block;
background-color: transparent;
width: 100%;
margin: 0;
padding: 15px 0px;
clear: both;
}

/* Mobiili */

@media all and (max-width: 1200px) {

div.sidenav { display: block; position: relative; width: 98%; float: none; text-align: center; }

div.container { display: block; width: 94%; position: relative; margin: 0; float: none; }

div.footer-one { position: relative; }

div.footer-two { position: relative; margin: 0; width: 100%; }

a.snav:link, a.snav:visited { width: auto; }

div.sisarukset { width: 100%; }

div.jalkelaiset { width: 100%; }

}