﻿@import url('https://fonts.googleapis.com/css?family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css?family=Bellefair&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Diphylleia&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital@1&display=swap');

@font-face { font-family: Buffalo; src: url(k/BuffaloInline2Grunge.ttf); }
@font-face { font-family: Usd; src: url(k/USDeclaration.ttf); }

img.galleria { background: url(k/elk-nav.png); padding: 4px; }

img.lista { background: url(k/elk-nav.png); padding: 4px; float: right; height: 180px; }
img.heppa { background: url(k/elk-nav.png); padding: 4px; float: right; width: 500px; max-width: 100%; margin: 0px 0px 25px 50px; }

::-moz-selection { color: #FAF2EC; background: #581c04; }
::selection { color: #FAF2EC; background: #581c04; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #6b5338; }
::-webkit-scrollbar-thumb { background: #543726; }

body {
margin: 0;
width: 100%;
background-image: url(k/elk-bg.png);
background-repeat: repeat;
}

div.up {
display: block;
position: relative;
margin: 0;
padding: 0;
width: 100%;
height: 101px;
background-image: url(k/elk-up.png);
background-size: auto;
background-position: center top;
background-repeat: repeat-x;
overflow: hidden;
}

div.container {
background-color: transparent;
width: 90%;
max-width: 1200px;
height: 100%;
margin: 0 auto;
padding: 5%;
overflow: hidden;
}

div.footer {
background-color: transparent;
width: 90%;
margin: 0 auto 73px auto;
padding: 0 5%;
overflow: hidden;
}

div.kuva {
display: inline-block;
margin: 0px 50px 15px 0px;
padding: 0;
width: 100%;
max-width: 600px;
background: transparent;
text-align: center;
font-family: lora;
font-size: 15px;
float: left;
flex-wrap: wrap;
}

div.heppa {
display: inline-block;
margin: 1% 2%;
padding: 0;
width: 46%;
background: transparent;
float: left;
flex-wrap: wrap;
}

div.kaksi {
display: inline-block;
margin: 0px;
padding: 15px 0px;
width: 49%;
max-width: 100%;
background: transparent;
text-align: left;
font-family: lora;
font-size: 14px;
flex-wrap: wrap;
}

div.kolme {
display: inline-block;
margin: 0px;
padding: 0px;
width: 32%;
max-width: 100%;
background: transparent;
text-align: left;
font-family: lora;
font-size: 14px;
flex-wrap: wrap;
}

div.copy {
display: block;
margin: 50px 0px 0px 0px;
padding: 2% 0;
width: 60%;
background: transparent;
text-align: left;
font-family: lora;
font-size: 14px;
float: left;
}

b, strong {
font-weight: normal;
color: #581C04;
text-shadow: 0px 0px 1px #581C04;
}

i, em {
font-family: libre baskerville;
}

m, meriitit {
font-size: 12px;
color: #995C44;
}

a:link, a:visited {
color: #581C04;
text-decoration: none;
}

a:hover {
color: #995C44;
text-decoration: none;
}

a.suku:link, a.suku:visited {
color: #000000;
font-size: 15px;
text-decoration: none;
}

a.suku:hover {
color: #581C04;
font-size: 15px;
text-decoration: none;
}

h1 {
display: block;
color: #ffffff;
width: 30%;
height: 101px;
font-family: diphylleia;
font-size: 62px;
font-weight: normal;
text-align: center;
padding: 0x;
margin: 0 auto;
background-color: #702C20;
}

h2 {
color: #581C04;
font-family: lora;
font-size: 14px;
font-weight: normal;
text-align: center;
padding: 25px;
margin: 0;
}

h3 {
color: #581C04;
font-family: diphylleia;
font-size: 42px;
font-weight: normal;
text-align: center;
padding: 0px 0px 50px 0px;
margin: 0;
clear: both;
}

h4 {
font-family: lora;
font-size: 14px;
font-weight: normal;
text-align: center;
padding: 0;
margin: -40px 0px 40px 0px;
}

h5 {
font-family: lora;
font-size: 14px;
font-weight: normal;
text-align: right;
padding: 0;
margin: -10px 0px 15px 0px;
clear: both;
}

h6 {
font-size: 26px;
font-family: diphylleia;
font-weight: normal;
color: #995C44;
margin: 0;
padding: 25px 15px;
text-align: left;
clear: both;
}

p {
color: #000000;
font-family: lora;
font-size: 14px;
line-height: 1.8;
text-align: justify;
}

.nav {
display: block;
position: fixed;
margin: 0;
padding: 15px 0px;
bottom: 0;
width: 100%;
height: 43px;
text-align: center;
background: url(k/elk-nav.png) fixed;
background-repeat: no-repeat;
background-size: cover;
box-shadow: 0px 0px 3px #000000;
list-style: none;
text-align: center;
text-decoration: none;
font-family: bellefair;
font-weight: normal;
font-size: 24px;
z-index: 3;
}

.nav li {
display: inline;
}

.nav a {
display: inline-block;
padding: 10px 30px 5px 30px;
text-decoration: none;
font-family: bellefair;
font-weight: normal;
color: #CBA992;
}

.nav a:hover, .nav a:active {
color: #FAF2EC;
text-decoration: none;
font-family: bellefair;
}

/* Mobiili */

@media all and (max-width: 1200px) {

div.footer { margin: 0 auto; }

.nav { bottom: auto; position: relative; }

}