@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;
}


/*YVONNET TÃ„SSÃ„ */
.yvonnenormi {
    display: inline;
    font-family: "dreaming-outloud-sans", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1em;
    line-height: inherit;
    letter-spacing: normal;
}


.yvonnekauno {
    display: inline;
font-family:"dreaming-outloud-script";
    font-weight: 300;
    font-style: normal;
    font-size: 1em;
    line-height: inherit;
    letter-spacing: normal;
}


.yvonnekolmas {
    display: inline;
font-family:"dreaming-outloud-scriptslant";
    font-weight: 400;
    font-style: normal;
    font-size: 1em;
    line-height: inherit;
    letter-spacing: normal;
}


 

.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, .subnav-content3 {
  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-content3 a {
  float: left;
  color: #EEE;
  text-decoration: none;
font-size: 15px;
width: 25%;
letter-spacing: 2px;
}

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

.subnav:hover .subnav-content, .subnav:hover .subnav-content2, .subnav:hover .subnav-content3 {
  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/otsikkoinen.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; }

 
ul.linkit
{
width: 100%;
    padding: 8px 0 14px 0;
    font-size: 0;
    list-style-type: none;
    text-align: center; /*set to left, center, or right to align the tabs as desired*/
}
        
ul.linkit li
{
    display: inline;
    margin-right: 2px;/*distance between tabs*/

    font: 28px 'Arapey', serif;
    font-weight: 300;
    text-align: center;
}

ul.linkit li:hover
{
	color: #D2BA97;
}
        
ul.linkit li a
{
font-family: 'Exo'; font-weight: 400; font-size: 20px; text-transform: uppercase; text-align: center; text-decoration: none; letter-spacing: 1px;

	color: #724973;
text-shadow: 2px 1px 7px #E0E0E0;

        text-decoration: none;

    position: relative;
    margin: 0;
padding: 20px 25px;

    outline:none;
}
  
        
ul.linkit li a:hover
{
    text-decoration: none;
	color: #46538A;
}
        
ul.linkit li.selected a
{
    position: relative;
    top: 0px;
	color: #46538A;
}

ul.linkit li.selected a:hover
{
	color: #724973;
}
        
        
ul.linkit li.selected a:hover, ul.linkit li.selected a:hover
{
    text-decoration: none;
}
 
 
#kisa {
  list-style-type: "❱ ";
padding:1px;  
} 
	/* 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;
}



.kuvagalleria {
  margin: 0px auto 0px auto;
  width: 100%;
  text-align: center;
  margin-top:10px;
}

.kuvagalleria-grid {
  column-count: 5; 
  column-gap: 20 px;
}

.kuvagalleria-grid img {
  width: 100%;
  margin-bottom: 16px;
box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
border-radius:30px 2px 30px 2px;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kuvagalleria-grid img:hover {
  transform: scale(1.03);
}
 

.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;
}


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

.sponssi td {
padding: 8px 10px;
border-bottom: solid 1px #E9CBD3;
}
.sponssi img {
box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
border-radius:30px 2px 30px 2px;
	
}

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

.hoito td {
padding: 8px 10px; 
border: solid 1px #E9CBD3;
background-color: rgba(233,203,211,0.1);
}
.hoito1 {
	
        font-family: 'Exo';
        font-size: 20px;
        font-weight: 400;
        font-style: normal;
        color: #724973;
        text-shadow: 2px 1px 7px #eee;
		text-align: center;
        line-height: 1.5;
	text-decoration: none;
}
.ruokinta {
width: 100%;
border: solid 1px #E9CBD3;
border-collapse:collapse;
margin-top: 20px;
}
.ruokinta td {
padding: 8px 10px; 
border: solid 1px #E9CBD3;
background-color: rgba(233,203,211,0.1);
		text-align: center;
}
	/* 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; }

/* Painike, joka avaa ikkunan */
.avaa-painike,
.avaa-painike:link,
.avaa-painike:visited,
.avaa-painike:active {
    background-image: linear-gradient(#724973, #613E62);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2) ;
    position: relative;
    top: 0;
    text-shadow: 2px 1px 7px #eee;
    border-radius: 20px;
    font-family: 'Exo';
    font-weight: 400;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 10px 25px;
    color: #EEE;
}

.avaa-painike:hover {
	color: #46538A;
}

        /* Ponnahdusikkunan tausta (peittÃ¤Ã¤ koko nÃ¤ytÃ¶n) */
        .ikkuna-tausta {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            display: none; /* Piilotettu oletuksena */
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        /* Itse ponnahdusikkuna */
        .ikkuna-sisalto {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            max-width: 900px;
            width: 90%;
            position: relative;
            font-family: sans-serif;
        }

        /* Sulkemispainike (X) rasti */
        .sulje-painike {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            text-decoration: none;
            color: #333;
        }

        /* AKTIIVINEN TILA: NÃ¤ytetÃ¤Ã¤n ikkuna, kun sen ID on kohteena */
        .ikkuna-tausta:target {
            display: flex;
        }

.kuva-kontti {
  position: relative;
  width: 100%;
  max-height: 200px; /* SÃ¤Ã¤dÃ¤ tarpeen mukaan */
}

.kuva-kontti img {
  height: 130px; 
  display: block;
  border-radius: 28px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.teksti-paalla {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.5); /* PuolilÃ¤pinÃ¤kyvÃ¤ tausta parantaa luettavuutta */
  padding: 5px 10px;
}

.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%;
 

 
}

} 
/* =========================================================
   ETUSIVU - PÃ„IVITYKSET + VIIMEISIMMÃ„T KUVAT
   ========================================================= */

.etusivu-nostot {
    width: 100%;
    height: 350px;
    margin: 30px auto 50px auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    box-sizing: border-box;
    overflow: hidden;
    background: rgba(255,255,255,0.4);
    border-radius: 30px 3px 30px 3px;
    box-shadow: 0 8px 24px rgba(39,46,75,0.07);
    backdrop-filter: blur(1.5px);
}

/* VASEN JA OIKEA PUOLI */

.etusivu-paivitykset,
.etusivu-kuvat {
    height: 350px;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    padding: 24px 30px 27px 30px;
    overflow: hidden;
}

.etusivu-paivitykset {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* HÃ¤ivytetty vaaleanpunainen jakoviiva */

.etusivu-paivitykset::after {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 15px;
    right: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        rgba(233,203,211,0) 0%,
        rgba(233,203,211,0.35) 15%,
        #E9CBD3 35%,
        #E9CBD3 65%,
        rgba(233,203,211,0.35) 85%,
        rgba(233,203,211,0) 100%
    );
}

.etusivu-kuvat {
    display: flex;
    flex-direction: column;
}

/* =========================================================
   OTSIKOT
   ========================================================= */

.nosto-otsikko {
    flex: 0 0 auto;
    margin: 0 0 13px 0;
    padding: 0 0 10px 0;
    border-bottom: 1px solid rgba(233,203,211,0.6);
    text-align: left;
}

.nosto-otsikko span {
    display: block;
    font-family: 'Exo', sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #724973;
}

/* =========================================================
   PÃ„IVITYKSET
   ========================================================= */

.paivitys-scroll {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 14px 6px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(114,73,115,0.30) rgba(114,73,115,0.05);
}

.paivitys-scroll::-webkit-scrollbar {
    width: 6px;
}

.paivitys-scroll::-webkit-scrollbar-track {
    background: rgba(114,73,115,0.05);
    border-radius: 10px;
}

.paivitys-scroll::-webkit-scrollbar-thumb {
    background: rgba(114,73,115,0.30);
    border-radius: 10px;
}

.paivityslista {
    width: 100%;
}

.paivitysrivi {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 15px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 4px 12px 4px;
    border-bottom: 1px dashed rgba(233,203,211,0.65);
}

.paivitysrivi:first-child {
    padding-top: 4px;
}

.paivitysrivi:last-child {
    border-bottom: 0;
}

.paivityspvm {
    font-family: 'Exo', sans-serif;
    font-size: 15px;
    line-height: 1.15;
    letter-spacing: .4px;
    text-align: center;
    color: #46538A;
}

.paivityspvm span {
    display: block;
    margin-top: 2px;
    font-family: 'Abel', sans-serif;
    font-size: 12px;
    letter-spacing: 1.3px;
    color: #AAA0AA;
}

.paivitysteksti {
    font-size: 15px;
    line-height: 1.45;
    color: #706A71;
    text-align: left;
}

.paivitysteksti b {
    color: #5F4662;
    font-weight: 600;
}

/* =========================================================
   VANHEMMAT PÃ„IVITYKSET >>
   ========================================================= */

.vanhemmat-linkki {
    display: none;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 2px 5px 0;
    text-align: right;
}

.vanhemmat-linkki a,
.galleria-linkki a {
    font-family: 'Exo', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #724973;
    text-decoration: none;
}

.vanhemmat-linkki a:hover,
.galleria-linkki a:hover {
    color: #46538A;
    text-decoration: none;
}

/* =========================================================
   VIIMEISIMMÃ„T KUVAT
   ========================================================= */

.uusimmat-kuvat-grid {
    flex: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 220px;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
    grid-template-rows: 105px 105px;
    gap: 10px;
    overflow: hidden;
}

.uusin-kuva {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #EEEAF0;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
    border-radius: 30px 2px 30px 2px;
}

.uusin-kuva.iso {
    grid-row: 1 / 3;
    height: 220px;
}

.uusin-kuva img {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 30px 2px 30px 2px;
}

/* Sama hover kuin alkuperÃ¤isessÃ¤ hevoslistassa */

.uusin-kuva:hover,
.uusin-kuva:hover img {
    border-radius: 2px 30px 2px 30px;
}

.galleria-linkki {
    flex: none;
    margin: 11px 0 0 0;
    text-align: right;
}

/* =========================================================
   VANHEMPIEN PÃ„IVITYSTEN POPUP
   ========================================================= */

/* VANHEMMAT PÃ„IVITYKSET - POPUP */

.paivitys-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
    pointer-events: none;
}

.paivitys-popup:target {
    display: flex;
}

.popup-tausta {
    display: none;
}

.paivitys-popup-sisalto {
    position: relative;
    width: 760px;
    max-width: calc(100vw - 80px);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 32px 42px 38px 42px;
    background: rgba(255,255,255,0.96);
    border-radius: 32px 4px 32px 4px;
    box-shadow: 0 15px 50px rgba(39,46,75,0.18);
    pointer-events: auto;
}

.popup-sulje {
    position: absolute;
    top: 14px;
    right: 20px;
    font-family: Arial, sans-serif;
    font-size: 27px;
    line-height: 1;
    color: #724973;
    text-decoration: none;
}

.popup-sulje:hover {
    color: #46538A;
    text-decoration: none;
}

.paivitysarkisto {
    margin-top: 4px;
}

.paivitysarkisto .paivitysrivi {
    grid-template-columns: 90px 1fr;
    padding: 13px 6px;
}

.paivitysarkisto .paivitysrivi:last-child {
    border-bottom: 0;
}

.paivitysarkisto .paivityspvm {
    font-size: 13px;
}