@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600&family=Lora:ital,wght@0,400;0,500;1,400&family=Playfair+Display:ital@0;1&family=Playfair+Display+SC&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;1,6..96,400&family=The+Nautigal&display=swap');

html, body {
    margin: 0;
  font-family: 'Lora', serif;
    text-shadow:1px 0px 1px #333;
    color:#cdaa81; /*#a69273*/
	background-color: #4c5445;
    background-image: url('https://lasikuu.net/ylston/k/13bg.png');
    line-height:25px;
    font-size:13px;
    height:100%;
}
a {color:#a98a4e;font-weight:normal;text-decoration:none;}
a:hover {color:#c2a46a;}

:root {
}
* {
    box-sizing: border-box;
}

/* -------------------- PERUS -------------------- */


.otsikko {
    margin:45px auto;
    text-align:center;
    font-family: 'Playfair Display SC', serif;
    color:#cdaa81;
    font-weight:normal;
    font-size:25px;
    text-shadow:1px 0px 3px #444;
    position:sticky;
}
.footer {
    margin:45px auto;
    line-height:1.5;
    font-size:10px;
    text-align:center;
    font-family: 'Playfair Display SC', serif;
    letter-spacing:1.5px;
    color:#cdaa81;
}
.row {
    margin:30px auto;
    width:1250px;
    display:flex;
}
.row:after { 
    content: "";
    display: table;
    clear: both;
}

.vasen {
    float:left;
    position:relative;
    width:25%;
    padding-right:60px;
}
.vasen-wrap {
    top:0px;
    position:sticky;

}
.oikea {
    margin:0 auto;
    padding:0px 20px;
    padding-leftt:30px;
    float:left;
    width:78%;
  border: 60px solid black;
    border-image:url('13border-opacity100.png') 33%;
    text-shadow:1px 0px 1px #333;
  
}


/* -------------------- LINKKIPALKKI JA FOOTER -------------------- */

#linkit {
    text-align:left;
    position:sticky;
}
#linkit a {
    margin:5px auto;
    text-align:center;
  display: block;
    padding:6px 0;
    background-color:rgba(0, 0, 0, 0.2);
    border-top:1px solid #806337;
    border-bottom:1px solid #806337;
}
#linkit a:hover {
    transition: all 0.5s ease-out;
    background-color:rgba(0, 0, 0, 0.3);
}


/* -------------------- PONILISTA -------------------- */


.ponilista {
    margin:25px 0;
    padding:8px 20px;
    display:grid;
    grid-template-columns: 1fr 1fr;
    border:3px double #60573c;
    line-height:1.8;
    border-radius:3px;
}
.ponilista-item {
    padding:5px 3px;
	font-size:12px;
}

.ponilista-item a {
	font-size:14px;
}
.ponilista-item a:hover {
}
.ponilista-item img {
    float:left;
    margin:5px 20px 5px 0;
    box-shadow:1px 1px 2px rgba(38,42,34,0.3);
    border-radius:4px;
}
.ponilista-item img:hover {
    opacity:0.9;
    transition: .1s ease-in;
}
.ponilista-item p {
    margin:10px 0 -10px 0
}

/* -------------------- HEPPASIVU -------------------- */

.meriitit {
    margin:-5px auto 14px auto;
    text-align:center;
    font-style:italic;
    font-size:15px;
}
.isokuva {
    margin:10px;
    border-radius:4px;
    box-shadow: 1px 1px 3px #333;
}
.isokuva:hover {
    opacity:0.95;
    transition: all 0.5s ease-out;
}
.kg {
    margin:10px;
    max-width:100%;
    box-shadow:0px 0px 4px #aea49c;
    border-radius:2px;
}

.pt {
    margin:10px auto 30px;
	width: 100%; 
	border-collapse:collapse; 
}
.kys, .vas {
    border-bottom:1px solid #60573c;
	text-align:left;
	padding:4px 8px;
}
.kys {
    width:20%;
	font-style:italic;
}
.vas {
    width:30%;
	padding-left: 10px;
}
.geno {
    color:#a69273;
    font-size:11px;
    padding-left:2px;
}
.sukutaulu {
    width:100%;
    border-collapse:collapse;
	border-top:1px solid #60573c;
}
.sukutaulu td {
    width:50%;
	padding: 10px;
	text-align:left;
	line-height:1.2;
	border-bottom:1px solid #60573c;
}
.sukutaulu3 {
    width:100%;
    border-collapse:collapse;
	border-top:1px solid #60573c;
}
.sukutaulu3 td {
    width:33%;
	padding:7px 9px;
	text-align:left;
	line-height:1.2;
	border-bottom:1px solid #60573c;
}
.sukutaulu4 {
    width:100%;
    border-collapse:collapse;
    font-size:13px;
	border-top:1px solid #60573c;
}
.sukutaulu4 td {
    width:25%;
	padding:4px 6px;
	text-align:left;
	line-height:1.2;
	border-bottom:1px solid #60573c;
}
/*
.i {border-bottom:1px solid #60573c;} kirkkaampi #806337; 
.ii {border-bottom:1px solid #60573c;}
.ie {border-left:1px solid #60573c;}
.ei {border-left:1px solid #60573c;border-bottom:1px solid #60573c;}
*/
.info {color:#a69273;text-transform:uppercase;font-size:11px;padding-left:2px;}

.sukutaulu small a, 
.sukutaulu3 small a, 
.sukutaulu4 small a {
    font-weight:normal;
    color:#cdaa81;
}
.lista { 
    margin:25px auto 30px auto;
	width:100%;
	border-collapse:collapse;
	border-top:1px solid #60573c;
}
.lista td {
	padding:2px 4px;
    border-bottom:1px solid #60573c;
}
.lista th {
    text-align:left;
	padding: 2px 4px;
    border-bottom:1px solid #60573c;
    font-weight:normal;
  	font-style:italic;
    background-color:rgba(0, 0, 0, 0.2);
}
.lista .pvm {width:13%;}
.lista .jaos {width:25%;}
.lista .paikka {width:23%;}
.lista .2vika {width:25%;}
.lista .vika {width:14%;}

.valkka {
    border-bottom:1px solid #60573c;
    padding-bottom:7px;
    margin-bottom:15px;
}

.flex-container {
    width:100%;
    margin: 0 auto;
    display:flex;
}
.flex-child-1 {flex:0.5;
    border-bottom:1px dotted #dbd8d0;padding:10px 0;}
.flex-child-2 {flex:1;
    border-bottom:1px dotted #dbd8d0;padding:10px 0;}

.kisaflex {
    margin:20px auto;
    width:100%;
    display:flex;
}
.kisaflex-item {
    flex:1;
}
.kisaflex-item:first-child {
    padding-right:10px;
}
.kisaflex-item:last-child {
    padding-left:10px;
}

/* -------------------- HOVER INFO -------------------- */

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip .tooltiptext {
    font-family:'Verdana',sans-serif;
    visibility: hidden;
    width:240px;
    font-size:11px;
    line-height:1.3;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
}

.tooltiptext {
    font-family:'Open Sans';
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* -------------------- SCROLLBAR -------------------- */

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
	background-color: #4c5445;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  border:1px solid #D3B086;
  border-radius:10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

/* -------------------- HOOT -------------------- */

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}
h1 {
    font-family: 'Playfair Display SC', serif;
    margin:0px 0 20px 0;
    padding:10px 0;
    text-align:center;
    font-weight:normal;
    color:#D3B086;
    letter-spacing:0.2px;
}
h2 {
    margin:20px 0;
    font-size:17px;
    font-weight:normal;
    font-style:italic;
    background: url(https://lasikuu.net/ylston/k/13h.png) no-repeat left top;
    padding:0 0 0 35px;
}
.alaviiva {
    padding-bottom:10px;
    border-bottom:1px solid #60573c;
}
h3 {
    font-size:14.5px;
    font-weight:normal;
    font-style:italic;
}

/* -------------------- PIENET NAYTOT -------------------- */

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {
  .wrapper {
      width:100%;
      padding:0;
  }
}

@media screen and (max-width: 1500px) {
  .wrapper {
      width:100%;
  }
}