@import url(https://fonts.googleapis.com/css?family=Mea+Culpa|Exo|Abel|Girassol|Libre+Baskerville|Risque|Sigmar+One);
@import url(https://fonts.googleapis.com/css?family=Open+Sans|Rye);

* {
  box-sizing: border-box;
  }

body {
	text-align: justify;
	background: url(k/bg_koko.jpg); 
	background-attachment: fixed;
	background-size: cover;
	background-position: bottom center;
	font-size: 13pt;
	font-family: 'Open Sans', serif;
	letter-spacing: 0px;
	color: #000000;
	line-height: 18px;
	cursor: default;
}

table {
	text-align: justify; 
	font-size: 14px;
	font-family: 'Open Sans', serif;
	letter-spacing: 0px;
	color: #000000;
	line-height: 16px;
	line-height:22px;
}


.main {   

	width: 80%;
	max-width: 1400px;
	position: relative;
	margin: auto;
	border: 1px dashed #F3BDA3;
	background: url(k/bg.jpg); 
	font-family: 'Open Sans', serif;
	color: #000000;
	line-height: 16px;
	text-align: justify;
	cursor: default;

}
.container{
display: flex;

	position: relative;
	margin: auto;
	width: 97%; 
}

.column {
  float: left;
	font-family: 'Open Sans';
	font-size:14px;
	color:#171916;
	font-weight:500;
	line-height:22px;
  width: 70%;
  background: #EEE;
  padding: 30px 20px 30px 30px;
}

.column2 {
  float: left;
  width: 30%;
  background: #EEE;
	font-family: 'Open Sans';
	font-size:14px;
	color:#171916;
	font-weight:500;
	line-height:24px;
  padding: 30px 30px 30px 20px;
}

.column3 {
	font-family: 'Open Sans';
	font-size:14px;
	color:#171916;
	font-weight:500;
	line-height:22px;
  width: 100%;
  background: #EEE;
  padding: 30px;
}

.container:after {
  content: "";
  display: table;
  clear: both;
}
.paikky {
  width: 99%;
  height: 350px;
  overflow: auto;
}


.h2 {
	font-family: 'Rye';
	font-size:20pt;
	color: #C37978;
	letter-spacing: 0px;
	font-weight:normal;
	border-bottom: dashed 1px #B7B7B7; 
	padding: 30px 0px 10px 30px; 
	margin-bottom: 10px;
}

.h3h {
	font-family: 'Rye';
	font-size:16pt;
	color: #C37978;
	letter-spacing: 0px;
	font-weight:normal;
	border-bottom: dashed 1px #B7B7B7; 
	padding: 40px 0px 20px 40px; 
}

.h2h {
	font-family: 'Rye';
	font-size:20pt;
	color: #C37978;
	letter-spacing: 0px;
	font-weight:normal;
	border-bottom: dashed 1px #B7B7B7; 
	padding: 10px 0px 20px 30px; 
}


.ot {
	font-family: 'Rye';
	font-size: 58pt;
	letter-spacing: 0px;
	font-weight:normal;
	text-align:center;
	  text-shadow: 2px 2px 3px #333333;
	padding: 55px 0 50px 0px; 
	color:#EEE; 
}
.visconti{
	font-family: 'Old Standard TT';
	font-size:12pt;
	color:#171916;
	font-weight:500;
	line-height:20px;
}
.mulder{
	font-family: 'Open Sans';
	font-size:11px;
	color:#EEEEEE;
	font-weight:500;
	line-height:20px;
	letter-spacing: 1px;
	text-transform:uppercase;
	padding: 10px 0 5px 0;
}
.esi{
	font-family: 'Abel';
	font-size:13pt;
	color:#171916;
	font-weight:500;
	line-height:24px;
	padding: 5px;
}

.esi small { font-size: 11pt; color: #676767; }

.esi2{
	font-family: 'Abel';
	font-size:13pt;
	color:#171916;
	font-weight:500;
	line-height:28px;
	padding: 5px 20px;
}

.historia {
	padding: 5px 15px;
width: 90%; 
margin: 20px auto;
	color: #000000;
	letter-spacing: 0px;
	font-weight:normal;
	font-style:italic;
	border-left: 2px dotted #DEACAD;
	opacity: 0.7;
}

.rounded { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.14); }

.hr {
	border: 1px dashed #B7B7B7;
}
.image
{
	border: 1px solid #3B4C5C;
}

.text
{
	font-family: tahoma; 
	font-size: 10px; 
	font-weight:normal;
	text-align:center;
	letter-spacing:2px;
	color:#EEE; 
	border-top: dashed 1px #FCCFC2; 
	cursor: default;
	padding: 10px 0 10px 0;
}

a:link, a:visited, a:active {color:#C37978;text-decoration:none;cursor:hand;}
A:hover{color:#D09695;text-decoration:underline;cursor:hand; }

.pikkuinfo { margin-left: 3px; font-size: 10pt; color: #676767; }


.perustieto {
text-transform:uppercase;
font-size: 12pt;
font-family: 'Abel';
letter-spacing:1px;
font-weight: 700;
}




.galleria { text-align:center; }
.galleria img { height: 245px; margin: 5px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); }

.kuvagalleria {
  margin: 0px auto 0px auto;
  width: 100%;
  text-align: center;
  margin-top:10px;
}

.kuvagalleria-grid {
  column-count: 2; 
  column-gap: 20px;
}

.kuvagalleria-grid img {
  width: 100%;
  margin-bottom: 16px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kuvagalleria-grid img:hover { transform: scale(1.01); }








.horse-pedigree-desc {
    height: 150px;
    overflow: hidden;
}

.horse-pedigree-desc-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.horse-pedigree-desc-wrapper label {
    position: absolute;
    top: 100%;
    font-family: 'Open Sans', serif;
    font-style: italic;
font-weight:bold;
    color: #C37978;
    width: 100%;
    text-align: center;
    background: rgb(238,238,238);
    background: linear-gradient(0deg, rgba(238,238,238,1) 0%, rgba(238,238,238,0) 100%);
    margin-top: -100px;
    padding-top: 100px;
}

.horse-pedigree-desc-wrapper input {
    display: none;
}

.horse-pedigree-desc-wrapper label:after {
    content: "Näytä lisää";
}

.horse-pedigree-desc-wrapper input:checked + label:after {
    content: "Näytä vähemmän";
}

.horse-pedigree-desc-wrapper input:checked + label {
    background: none;
    margin-top: 0px;
    padding-top: 0px;
}

.horse-pedigree-desc-wrapper input:checked ~ div {
    height: 100%;
}

.yhteenveto { width:100%; margin-top: 20px; }
.yhteenveto td { text-align:center; line-height: 2.0; }








/* vietnamese */
@font-face {
  font-family: 'MonteCarlo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montecarlo/v1/buEzpo6-f9X01GadLA0G4CIf_exL.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'MonteCarlo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montecarlo/v1/buEzpo6-f9X01GadLA0G4CMf_exL.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'MonteCarlo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montecarlo/v1/buEzpo6-f9X01GadLA0G4C0f_Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese */
@font-face {
  font-family: 'MonteCarlo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montecarlo/v1/buEzpo6-f9X01GadLA0G4CIf_exL.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'MonteCarlo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montecarlo/v1/buEzpo6-f9X01GadLA0G4CMf_exL.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'MonteCarlo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montecarlo/v1/buEzpo6-f9X01GadLA0G4C0f_Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/oldstandardtt/v13/MwQubh3o1vLImiwAVvYawgcf2eVep1q4dHc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/oldstandardtt/v13/MwQubh3o1vLImiwAVvYawgcf2eVerlq4dHc.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/oldstandardtt/v13/MwQubh3o1vLImiwAVvYawgcf2eVepVq4dHc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/oldstandardtt/v13/MwQubh3o1vLImiwAVvYawgcf2eVepFq4dHc.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/oldstandardtt/v13/MwQubh3o1vLImiwAVvYawgcf2eVeqlq4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourceserifpro/v10/neIXzD-0qpwxpaWvjeD0X88SAOeasd8ctSGqxLUv.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourceserifpro/v10/neIXzD-0qpwxpaWvjeD0X88SAOeasd8ctSiqxLUv.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourceserifpro/v10/neIXzD-0qpwxpaWvjeD0X88SAOeasd8ctS-qxLUv.woff2) format('woff2');
  unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourceserifpro/v10/neIXzD-0qpwxpaWvjeD0X88SAOeasd8ctSOqxLUv.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourceserifpro/v10/neIXzD-0qpwxpaWvjeD0X88SAOeasd8ctSKqxLUv.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourceserifpro/v10/neIXzD-0qpwxpaWvjeD0X88SAOeasd8ctSyqxA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



@media screen and (max-width: 600px) {
  .main{
    width: 96%;
  }
  .container {
    flex-direction: column;
  }
  .column {
    width: 100%;
    display: block;
  }
  .column2 {
    width: 100%;
    display: block;
  }
  .ot{
   font-size:33pt;
  }
  .sukut{
   font-size:9pt;
  }