@import url('https://fonts.googleapis.com/css2?family=Playfair+Display+SC&family=Roboto&family=Source+Serif+Pro:ital,wght@0,300;0,400;1,300&family=Elsie&display=swap');

a {color:#7F5122; text-decoration:underline; font-weight:bold;}
a:hover {color:#7F5122;text-decoration:none;}

body {
	margin:0;
	font-family:'Verdana',serif;
	color:#222;
	font-size:12px;
	line-height:1.65;
    background-image: url('https://lasikuu.net/virtuaali/leiskatsala/jokubg.gif');
}


* {
    box-sizing:border-box;
}

:root {
    --leveys:69%;
}
p {
    margin:20px 0;
}
hr {
    margin:10px 0;
}

/* ------------------------------- PERUSJUTUT ------------------------------- */

.otsikko {
    margin:40px auto;
    width:var(--leveys);
    display:flex;
    justify-content:center;
    background-image:url('https://lasikuu.net/whr/k/01rinkula.png');
    padding:20px 0;
  background-repeat: no-repeat;
  background-position: center center;
}
.otsikko-kukka {
    padding:0 30px;
}
.otsikko-text {
    text-align:center;
    font-family: 'Elsie', serif;
    font-weight:bold;
    color:#a18a7c;
    text-shadow:
        -1px -1px 0 #3E2620, 
        1px -1px 0  #3E2620,
        -1px 1px 0  #3E2620,
        1px 1px 0   #3E2620;
    letter-spacing:1.5px;
    font-size:340%;
}
.slogan {
    margin-top:-15px;
    font-size:10.5px;
	font-family:'Verdana',serif;
    text-shadow:none;
    font-weight:normal;
    letter-spacing:0.5px;
}
.palkki {
    margin:20px auto 0px auto;
    width:var(--leveys);
    text-align:center;
    background-image:url('https://lasikuu.net/prh/k/tig1d.png');
    height:46px;
    line-height:46px;
    border-right:1px solid #68554a;
    border-left:1px solid #68554a;
    font-weight:normal;
    color:#fff;
	text-shadow:1px 1px 1px #111;
	font-size:11px;
}
.palkki a {
    margin:0 25px;
    font-weight:bold;
    color:#fff;
	text-shadow:1px 1px 1px #111;
}
.palkki a:hover {
    text-decoration:none;
}
.sisalto-ulko {
    margin:0 auto;
    width:var(--leveys);
    display:flex;
    background-color:#bfae93;
    background-image: url('https://lasikuu.net/prh/k/01bg.png');
    padding:20px;
}
.sisalto-vasen{
    flex:19%;
    padding-right:20px;
}
.sisalto-vasen fieldset {
    margin-bottom:15px;
    border:3px double #7d634a;
background-image: url(https://lasikuu.net/whr/k/01ruutu.png);
    font-size:11px;
    padding:10px;
    border-radius:2px;
    
}
.sisalto-vasen img {
    max-width:100%;
}
.pkkuva {
    border:3px double #7d634a;
    border-radius:2px;
    float:right;
    box-shadow:3px 3px 3px #ccc;
    margin:0 0 20px 40px;
}
.naama {
    border-radius:50%;
    float:right;
    margin:0 0 5px 5px;
    box-shadow:3px 3px 3px #ccc;
}
.sisalto-vasen legend {
    background-color:#927a6c;
    padding:0 4px;
  color: white;
    border:2px solid #7d634a;
    font-weight:bold;
}
.sisalto {
    flex:81%;
    padding:40px 60px;
    background-color:#ede5d9;
    background-image:url('https://lasikuu.net/whr/k/01sisaltotausta2.png');
  background-repeat: no-repeat;
  background-position: left top;
}
.footer {
    margin:-22px auto 20px auto;
    width:var(--leveys);
    text-align:center;
    background-image:url('https://lasikuu.net/prh/k/tig1d.png');
    height:46px;
    line-height:46px;
    padding:0 20px;
    color:#fff;
	text-shadow:1px 1px 1px #111;
	font-size:11px;
    border-right:1px solid #68554a;
    border-left:1px solid #68554a;
}
.footer a {
    font-weight:bold;
    color:#fff;
	text-shadow:1px 1px 1px #111;
}
.omathevoset {
    margin:20px auto 10px auto;
    border-radius:3px;
    box-shadow:2px 2px 2px #aaa;
    
}

/* -------------------- PONILISTA -------------------- */

.heppalista {
    width:100%;
    margin:10px 0;
    display:grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.heppalista-item {
    text-align:center;
    padding:20px;
}
.heppalista-item img {
    margin-bottom:10px;
    border:3px double #7d634a;
    border-radius:2px;
    box-shadow:3px 3px 3px #ccc;
}
.omistajalista {
    width:100%;
    margin:10px 0;
    display:grid;
  grid-template-columns: 1fr 1fr;
  flex-flow: center;
  justify-content: center ;
}
.omistajalista-item {
    text-align:center;
    padding:20px;
}
.omistajalista-item img {
    float:left;
    margin-right:20px;
    border-radius:50%;
    box-shadow:2px 2px 2px #aaa;
}

/* -------------------------------- PONISIVU  ----------------------------------- */

.ptflex {
    margin:30px auto;
    width:100%;
    display:flex;
}
.ptflex-item {
    flex:1;
}
.ptflex-item img {
    border:3px double #7d634a;
    border-radius:2px;
    box-shadow:3px 3px 3px #ccc;
    margin:4px;
    
}

.sukutaulu {
    margin:22px auto;
    width:100%;
    border-collapse:separate;
    border:1px solid #7d634a;
}
.sukutaulu td {
    width:50%;
    background-color:#927a6c;
    border:1px solid #7d634a;
    padding:8px 10px;
    line-height:1.3;
}
.sukutaulu td a {
    color:#5c3106;
}
.sukutaulu3 {
    margin:22px auto;
    width:100%;
    border-collapse:separate;
    border:1px solid #7d634a;
}
.sukutaulu3 td {
    width:33%;
    background-color:#927a6c;
    border:1px solid #7d634a;
    padding:6px 8px;
    line-height:1.3;
}
.sukutaulu3 td a {
    color:#5c3106;
}
.linjat {
    margin:7px 10px 0 0;
    float:right;
    color:#555;
    font-size:10px;
    font-family:Verdana;
    font-weight:normal;
}
.linjat a {
}  
.info {
    font-style:italic;
    padding-left:2px;
}
.kisatflex {
    margin:22px auto;
    width:100%;
    display:flex;
    font-size:11px;
}
.kisatflex-item:first-child {
    flex:75%;
}
.kisatflex-item:last-child {
    flex:25%;
    padding-left:30px;
}
.kisatflex-item:last-child img {
    width:30px;
}
.kisat {
    width:100%;
    border-collapse:collapse;
    border:1px solid #7d634a;
}
.kisat th {
    background-color:#927a6c;
    border:1px solid #7d634a;
    color:#fefefe;
}
.kisat td {
    padding:4px;
    border:1px solid #7d634a;
}
.krjlaji {background-color:#006e85;color:white;font-size:10px;border-radius:3px;padding:2px 4px;}
.erjlaji {background-color:#00c462;color:white;font-size:10px;border-radius:3px;padding:2px 4px;}
.vvjlaji {background-color:#fab624;color:white;font-size:10px;border-radius:3px;padding:2px 4px;}
.saieclaji {background-color:#505773;color:white;font-size:10px;border-radius:3px;padding:2px 4px;}

/* -------------------------------- REUNAT  ----------------------------------- */

.reunat {
    border:3px double #7d634a;
    border-radius:2px;
    box-shadow:3px 3px 3px #ccc;
}
.esreunat {
    margin:15px 15px 5px 15px;
    border:3px double #7d634a;
    border-radius:2px;
    box-shadow:3px 3px 3px #ccc;
}
.sivupalkkireunat {
    border:3px double #7d634a;
    border-radius:2px;
}


/* -------------------------------- HOOT  ----------------------------------- */

.grid {
    margin:0;
    width:100%;
    display:grid;
    grid-template-columns: 1fr 1fr;
}
.gridx-item {
}

/* -------------------------------- HOOT  ----------------------------------- */

h1 {
    text-align:center;
    font-family: 'Elsie', serif;
    margin:0 0 25px 0;
    color:#a18a7c;
    text-shadow:
        -1px -1px 0 #3E2620, 
        1px -1px 0  #3E2620,
        -1px 1px 0  #3E2620,
        1px 1px 0   #3E2620;
    letter-spacing:1px;
    font-size:30px;
}
h1 a {
    text-decoration:none;
    color:#50312a;
}
.heppanimi {
    text-align:center;
}
h2 {
    font-family: 'Elsie', serif;
    margin:5px 0;
    padding-left:30px;
    background-image:url('https://www.amretasgraphics.com/webthemes/24_springcollection2/springcollection2/spring_dsy07.gif');
  background-repeat: no-repeat;
  background-position: left center;
}
h3 {
    margin:0;
    font-size:12px;
}