@import url('https://fonts.googleapis.com/css2?family=Abel&family=Exo:ital,wght@0,100..900;1,100..900&family=Genos:ital,wght@0,100..900;1,100..900&display=swap');


a:link, a:active, a:visited {color:#724973; text-decoration:none; }
a:hover {color:#46538A; text-decoration:underline; cursor: hand;-webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out;}

.footer a:link, .footer a:active, .footer a:visited, .header_paivakirja a:link, .header_paivakirja a:active, .header_paivakirja a:visited {color:#EEE; text-decoration:none; }
.footer a:hover, .header_paivakirja a:hover {color:#E9CBD3; text-decoration:underline; cursor: hand;-webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out;}

body {
margin:0;
background-image: url('k/bg.jpg');
	background-repeat: no-repeat;
	background-size:cover;
background-attachment: fixed;
font-family: 'Abel';
font-size: 17px;
font-weight: normal;
font-style: normal;
color: #707070;
line-height: 1.6;
letter-spacing: 0.5px;
text-align:justify;
}


.navbar {
width:100%;
  overflow: hidden;
background-image: linear-gradient(#46538A, #272E4B);
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.navbar a {
  float: left;
font-family: 'Exo';
font-size: 17px;
font-weight:normal;
	text-transform:uppercase;
  color: #FFFFFF;
  text-align: center;
  padding: 18px 0px;
  text-decoration: none;
width: 20%;
letter-spacing: 2px;
cursor: default;
}

.subnav {
width:20%;

  float: left;
  overflow: hidden;
text-align:center;
}

.subnav .subnavbtn {
font-family: 'Exo';
font-size: 17px;
	text-transform:uppercase;
letter-spacing: 2px;
  border: none;
  outline: none;
  color: #FFFFFF;
  padding: 20px 0px;
  background-color: inherit;
  margin: 0;
}

.navbar a:hover, .subnav:hover .subnavbtn {
  color: #E9CBD3;
}

.subnav-content, .subnav-content2 {
  display: none;
  position: absolute;
  left: 0;
background-color: #46538A;
  width: 100%;
  z-index: 1;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-bottom: solid #FFFFFF 1px;
}

.subnav-content a {
  float: left;
  color: #EEE;
  text-decoration: none;
font-size: 15px;
width: 33%;
letter-spacing: 2px;
}

.subnav-content2 a {
  float: left;
  color: #EEE;
  text-decoration: none;
font-size: 15px;
width: 20%;
letter-spacing: 2px;
}

.subnav-content a:hover, .subnav-content2 a:hover {
  color: #E9CBD3;
}

.subnav:hover .subnav-content, .subnav:hover .subnav-content2 {
  display: block;
}

.header {
background-image: url('k/ylakuva.png');
	background-repeat: no-repeat;
background-position: bottom center;
background-size:cover;
margin: 0 auto;
width: 100%;
height: 450px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-bottom: solid #FFFFFF 1px;
}

.headerimg {
  background-image: url(k/otsikko.png);
  background-position: bottom center;
  background-repeat: no-repeat;

margin: 0 auto;
width: 100%;
height: 450px;
}



.content {
margin: 0 auto;
max-width: 1140px;
width: 95%;
padding: 10px 20px;
}

#footer { background-image: linear-gradient(#724973, #613E62);  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); width:100%; margin: 0 auto;

font-family: 'Abel'; font-weight: 300; font-size: 16px; color: #eee; text-shadow: 2px 1px 7px #4B4B4B;  letter-spacing: 1px; text-align:center; }

.footer { border-collapse:collapse; width: 1200px; margin: 0 auto; }

.footer td { padding: 10px 20px; font-family: 'Abel'; font-weight: 300; font-size: 16px; color: #eee; text-shadow: 2px 1px 7px #4B4B4B;  letter-spacing: 1px; }

#footer b { color: #eee; }


#copyt {
font-family: 'Exo';
font-size: 12px;
text-transform:uppercase;
letter-spacing: 1px;
text-align:center;
padding: 10px 0;
color: #EEE;
  overflow: hidden;
background-image: linear-gradient(#46538A, #272E4B);
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
bottom:0; position:fixed;
width:100%;
}

#copyt a:link, #copyt a:active, #copyt a:visited { color: #FFF; }

h1 {
text-align:center;
font-family: 'Exo';
font-weight: normal;
font-size: 30px;
color: #724973;
text-shadow: 2px 1px 7px #BCBCBC; 
letter-spacing: 1px; 
text-transform: uppercase;
}

h2 {
text-align:center;
font-family: 'Exo';
font-weight: normal;
font-size: 26px;
color: #724973;
text-shadow: 2px 1px 7px #BCBCBC; 
letter-spacing: 1px; 
text-transform: uppercase;
margin-top: 50px;
}

h3 {
text-align:center;
font-family: 'Exo';
font-weight: normal;
font-size: 24px;
color: #724973;
text-shadow: 2px 1px 7px #BCBCBC; 
letter-spacing: 1px; 
text-transform: uppercase;
}

h4 {
text-align:center;
font-family: 'Exo';
font-weight: normal;
font-size: 24px;
color: #724973;
text-shadow: 2px 1px 7px #BCBCBC; 
letter-spacing: 1px; 
text-transform: uppercase;
margin-top: 50px;
}

h5 {
font-family: 'Exo';
font-weight: normal;
font-size: 20px;
color: #724973;
text-shadow: 2px 1px 7px #BCBCBC; 
letter-spacing: 1px; 
text-transform: uppercase;
margin: 30px 0 -10px 30px;
}

h6 {
font-family: 'Exo';
font-weight: normal;
font-size: 20px;
color: #724973;
text-shadow: 2px 1px 7px #BCBCBC; 
letter-spacing: 1px; 
text-transform: uppercase;
margin: 60px 0 -10px 30px;
}

.rounded {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 30px;
}

.reunat { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); border-radius:30px 2px 30px 2px; }





	/* HEVOSLISTAUS */

#hevoslista {
width: 310px;
float:left;
padding: 30px 0 0 0;
border-collapse:collapse;
margin: 15px;
}

#hevoslista td { padding: 10px 20px; text-align:center; }

#hevoslista img {
	width: 100%;
	margin: 0 0 5px 0;
box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15); border-radius:30px 2px 30px 2px;
}

#hevoslista img:hover {
border-radius: 2px 30px 2px 30px;
}

#hevoslista a:link, #hevoslista a:visited, #hevoslista a:active {
        font-family: 'Exo';
        font-size: 20px;
        font-weight: 400;
        font-style: normal;
        color: #724973;
        text-shadow: 2px 1px 7px #eee;
        line-height: 1.5;
	text-decoration: none;
}

#hevoslista a:hover { color: #E3C4C9; }

#hevoslista i { color: #9F9F9F; font-size: 15px; }



	/* HEVOSLISTAUS PÃ„IVÃ„KIRJASSA */

#hevoslista_paiv {
border: solid #FFF 3px;
background-image: linear-gradient(to bottom right, #F2EEF9, #FDFCFE, #F2EEF9);
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05), 0 6px 20px 0 rgba(0, 0, 0, 0.05);

width: 324px;
height: 150px;
float:left;
border-collapse:collapse;
margin: 10px;
}

#hevoslista_paiv td { padding: 10px 20px; text-align:center; }

#hevoslista_paiv img {
	width: 100%;
	margin: 0 0 5px 0;
}

#hevoslista_paiv b {
        font-family: 'Exo';
        font-size: 20px;
        font-weight: 300;
        font-style: normal;
        color: #724973;
        text-shadow: 2px 1px 7px #eee;
        line-height: 1.5;
}



	/* LIVIAN PÃ„IVÃ„KIRJA */

#hevoslista_livia {
width: 324px;
height: 150px;
float:left;
border-collapse:collapse;
margin: 10px;
}

#hevoslista_livia2 {
width: 648px;
height: 150px;
float:left;
border-collapse:collapse;
margin: 10px;
}

#hevoslista_livia td, #hevoslista_livia2 td { padding: 10px 0px; }

#hevoslista_livia img, #hevoslista_livia2 td {
	width: 100%;
	margin: 0 0 5px 0;
}

#hevoslista_livia b, #hevoslista_livia2 b {
        font-family: 'Exo';
        font-size: 20px;
        font-weight: 400;
        font-style: normal;
        color: #724973;
        text-shadow: 2px 1px 7px #eee;
        line-height: 1.5;
}







.header_paivakirja {
background-image: url('k/ylakuva.png');
	background-repeat: no-repeat;
	background-size:cover;
background-position: bottom center;
margin: 0 auto;
width: 100%;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-bottom: solid #FFFFFF 1px; 
}

#paivakirja { width: 100%; border-spacing: 20px; }
#paivakirja td {
color: #191919;
background-color: rgba(234, 226, 245, 0.6);
border-collapse:collapse;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);

padding: 10px 20px; width: 33%; }


.header_hevonen {
background-image: url('k/ylakuva.png');
	background-repeat: no-repeat;
	background-size:cover;
background-position: bottom center;
margin: 0 auto;
width: 100%;
height: 513px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-bottom: solid #FFFFFF 1px;
}

.hevosennimi {
font-family: 'Exo';
font-size: 48px;
text-transform:uppercase;
text-align: center;
letter-spacing:3px;
color: #EEE;
font-weight:200;
line-height: 1.4;
text-shadow: 2px 2px 4px #333;
padding: 10px 0;
}

.meriitit { font-size: 15px; text-transform:none; }

.horse-info {
    display: flex;
    justify-content: center;
    align-items: center;
margin: 0 auto;
width: 1200px;
}

.horse-basic {
width: 55%;
}

.horse-gallery {
width: 45%;

}

.character-basic {
width: 72%;
}

.character-gallery {
width: 28%;
text-align:right;
}

.character-gallery img {
max-height: 410px;
margin-top: -20px;
box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
}

.horse-gallery .copy {
    font-family: 'Exo';
    color: #FFFFFF;
    font-size: 13px;
}

#perustiedot, #hahmotiedot { 
background-color: rgba(234, 226, 245, 0.6);
width: 100%;
border-collapse:collapse;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
}

#perustiedot { 
height: 390px;
}

#hahmotiedot { 
height: 410px;
margin-bottom: 20px;
}

#perustiedot td, #hahmotiedot td {
padding: 0 25px;
color: #191919;
}

#perustiedot tr, #hahmotiedot tr {
border-bottom: dashed #FFFFFF 1px;
}

#perustiedot tr:last-child, #hahmotiedot tr:last-child {
border-bottom: dashed red 0px;
}

#perustiedot b, #hahmotiedot b { 
font-family: 'Exo';
font-size: 15px;
font-weight:700;
letter-spacing: 2px;
text-transform:uppercase;
color: #272E4B;
 }

#perustiedot img, #hahmotiedot img { margin-left: 5px; margin-right: 5px; }

.pikkuinfo {
    display: inline-block;
    font-size: 14px;
    margin-left: 5px;
    color: #565753;
}

.historia { color: #858585; border-left: solid #E9CBD3 3px; padding: 0 0 0 20px; margin: 30px 50px; }


.hs {
	vertical-align: bottom;
	border-bottom: dashed 1px #E9CBD3;
	color: #393C31;
	margin: 0;
	padding: 10px 10px 10px 15px;
}

.hs3 {
	vertical-align: bottom;
	border-bottom: dashed 1px #E9CBD3;
	color: #393C31;
	margin: 0;
	padding: 10px 10px 10px 15px;
}

.hs2 {
	vertical-align: top; 
	color: #393C31;
	margin: 0;
	padding: 10px 10px 10px 15px;
}

.hs4 {
	vertical-align: top; 
	color: #393C31;
	margin: 0;
	padding: 10px 10px 10px 15px;
}

.leftborder {
	border-left: dashed 1px #E9CBD3;
	color: #393C31;
}


.kalenteri {
width: 100%;
border-top: solid 1px #E9CBD3;
border-collapse:collapse;
margin-top: 20px;
}

.kalenteri td {
padding: 8px 10px;
border-bottom: solid 1px #E9CBD3;
}

.kk {
background-color: rgba(233,203,211,0.2);
text-align:left;
font-size: 18px;
}

.kk2 {
background-color: rgba(233,203,211,0.2);
text-align:left;
font-size: 18px;
}

.kalenteri tr:hover {
background-color: rgba(233,203,211,0.3);
}


.nayttelykuva {
width: 200px;
text-align:center;
}

.nayttelyt img {
width: 80%;
box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
border-radius:30px 2px 30px 2px;
}




	/* VARSALISTAUS */

#varsalista {
border-collapse:collapse;
width: 567px;
float:left;
padding: 0;
margin: 20px 0;
}

#varsalista td { padding: 10px 0; vertical-align: middle; }

#varsalista img {
float:left;
margin: 0 20px 0 0;
height: 115px;
}

.varsakuva { box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15); border-radius:30px 2px 30px 2px; }





.kisat {
    width: 100%;
    border-collapse: collapse;
}

.kisat td { padding: 8px 0; border-bottom: solid 1px #E9CBD3; }
.kisat u { margin-right: 5px; }

.kilpailutulos:hover { background-color: rgba(233,203,211,0.3); }


.pvm { width: 11%; text-indent:15px; }
.laji { width: 9%; text-align:center; font-size: 13px; }
.paikka { width: 22%; text-indent:15px; }
.info {  }
.luokka { width: 13%; }
.tulos { width: 14%; }
.rider { width: 4%; text-align:center; }

.paikka_pk { width: 35%; text-indent:15px; }

.pvm_livia, .laji_livia, .paikka_livia, .hevonen_livia, .luokka_livia, .tulos_livia {  }
.pvm_livia, .paikka_livia, .hevonen_livia, .luokka_livia, .tulos_livia { font-size: 15px; }

.pvm_livia { width: 12%; text-indent:15px; }
.laji_livia { width: 8%; text-align:center; font-size: 12px; }
.paikka_livia { width: 38%; text-indent:15px; }
.hevonen_livia {  }
.luokka_livia { width: 11%; }
.tulos_livia { width: 12%; }

.container {
  overflow: hidden;
}

.filterDiv {
  float: left;
  width: 100%;
  text-align: justify;
  display: none; /* Hidden by default */
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the buttons */
.btn {
background:none;
    font-family: "Exo", serif;
    font-size: 20px;
    font-variant: small-caps;
    font-weight: 400;
    font-style: normal;
    color: #5A3F69;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;


  border: none;
  outline: none;
  padding: 5px;
  cursor: pointer;
margin: 15px 25px;
}

/* Add a light grey background on mouse-over */
.btn:hover {
border-bottom: solid #5A3F69 1px;
}

/* Add a dark background to the active button */
.btn.active {
background-color:transparent;
border-bottom: solid #5A3F69 1px;
  color: #5A3F69;
}



.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
  color: #223061;
font-size: 14px;
}

.tooltiptext {
  visibility: hidden;
  background-color: #EEEEEE;
box-shadow:0px 0px 0px #ddd;

  text-align: center;
  border-radius: 6px;
  padding: 5px 8px;
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;
color:#000000;
font-size: 16px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.tooltip_kisa {
  position: relative;
  display: inline-block;
font-color: #FFF;
}

.tooltip_kisa .tooltiptext_kisa {
border: solid #FFF 1px;
background-image: linear-gradient(to bottom right, #FAF1F3, #FEFEFE, #FAF1F3);
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05), 0 6px 20px 0 rgba(0, 0, 0, 0.05);

  visibility: hidden;
  width: 180px;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: -8px;
  right: 115%;
}

.tooltip_kisa:hover .tooltiptext_kisa {
  visibility: visible;
}

.tooltiptext_kisa b { font-weight:bold; font-size: 15px; margin-right: 5px; }







.hevoskuvat { text-align:center; }
.hevoskuvat img {
box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15); border-radius:30px 2px 30px 2px;
margin: 5px;
}

.kisakutsu { width: 90%; }

.kisakutsu td { line-height: 2.0; }

.virhepisteet, .prosentit { color: #9F9F9F; font-size: 13px; margin-left: 5px; }



.piilodiv {
    display:none; /* Ã¤lÃ¤ muuta tÃ¤tÃ¤, tai muuten div ei oletuksena ole piilossa. */
}

.trigger {
font-family: 'Exo';
font-weight: normal;
font-size: 18px;
color: #724973;
text-shadow: 2px 1px 7px #BCBCBC; 
letter-spacing: 1px;
padding: 0 0 0 20px;
}

.trigger:hover {
    color:#B299DB; 
}






@media (max-width: 768px) {
  .navbar {
    width: 100%;
  }

.navbar a,
.subnav {
  float: none;
  width: 100%;
  display: block;
}

.subnav-content a,
.subnav-content2 a {
  width: 100%;
}

.header, headerimg {
    width: 100%;
height: 260px;
}

.headerimg {
max-width: 768px
}

.otsikko {
font-size: 36px;
padding-top: 80px;
}

.content {
max-width: 1140px;
width: 95%;
  }


}






