 @import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:300italic,700,300);
 @import url('https://fonts.googleapis.com/css?family=Sofia');
 @import url(http://fonts.googleapis.com/css?family=Open+Sans);
 @import url(http://fonts.googleapis.com/css?family=Abel);
 @import url(http://fonts.googleapis.com/css?family=Merriweather);
 @import url(http://fonts.googleapis.com/css?family=Playfair+Display+SC);
 @import url(http://fonts.googleapis.com/css?family=Homemade+Apple);
@import url('https://fonts.googleapis.com/css?family=Arapey:400,400i|Montserrat:400,400i,700,700i|Parisienne&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montez&family=Open+Sans&display=swap');

 body{
     margin: 0 auto;
  background: linear-gradient(180deg, rgba(0,0,0,1) 10%, rgba(36,9,15,0.9) 51%, rgba(37,4,11,0.9)),
                    url(tausta.png);
  background-repeat: none;
  background-size: cover;
  background-attachment: fixed;
     height: 100%;
  
    }
    .ylapalkki { /* YlÃ¤palkki */
        margin: 0 auto;
        width: 90%;
    }
     #linkit { /* YlÃ¤palkin sisÃ¤ltÃ¶ */
         width:97%;
         color: rgba(255, 255, 255, 0.8);
         margin:0 auto;
         padding:30px;
         background:#000;
         text-align:center;
    }

 #koko { /* Koko sivu */
     margin:0 auto;
     width:65%;
     height: 100%;
     background: rgba(255, 255, 255, 0.8);
     -webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
 .otsikko { /* Otsikkopalkki */
    background-image: url(otsikko.png);
    background-repeat:no-repeat;
    background-position:center;
    height: 240px;
    width: 65%;
    margin: 0 auto;
 }

    #otsikkoteksti { /* Otsikon sisÃ¤ltÃ¶ */
font-family: 'Montez', cursive;
     font-size: 77px;
     color: rgba(255, 255, 255, 1);
     text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
     text-align: center;
     margin: 0 auto;
     padding: 80px;
}
 #tekstit { /* Koko sivun sisÃ¤ltÃ¶ */
     margin:0 auto;
     border:0px;
     padding:20px;
     width:80%;
     font-family: Open Sans;
     color: #000;
     line-height: 26px;
     font-size: 14px;
     text-align:justify;
}
 #copy { /* Alapalkki sisÃ¤ltÃ¶ineen */
     width:100%;
     height: 100px;
     text-align:center;
     text-transform: uppercase;
     color:rgba(255, 255, 255, 0.2);
     font-family:Playfair Display SC;
     font-size:8.5pt;
     line-height: 26px;
     padding:20px 0 20px 0;
     margin: 0 auto;
     text-shadow: 1px 1px 2px #000;
     letter-spacing: 1px;
}

/* Linkit */
 a:link {
     color:#5a2733;
     text-decoration:none;
}
 a:visited {
     color:#5a2733;
     text-decoration:none;
}
 a:active, a:hover {
     color:#000;
     text-decoration:none;
     font-style:normal;
}
 #linkit a{
    font-family: 'Playfair Display SC', serif;
     font-size:13pt;
     text-transform: uppercase;
     letter-spacing: 1px;
     font-weight:normal;
     text-decoration:none;
     color: rgba(255, 255, 255, 0.8);
     margin:0 auto;
     padding:30px 40px 30px 40px;
}
 #linkit a:hover{
     background: rgba(255, 255, 255, 0.2);
     transition: 0.6s ease;
     padding:20px 40px 20px 40px;
     -webkit-border-radius:100px;
-moz-border-radius: 100px;
border-radius: 100px;
}

/* Otsikot */


 h1 {
  color: #381e24;
  font-weight: normal;
  font-family: 'Parisienne', cursive;
  font-size: 40px;
  margin: 30px 50px 10px 50px;
  letter-spacing: 0;
  text-shadow: 0px 1px 8px rgba(0,0,0, 0.3);
  background: url('h.png') -20% no-repeat;

}
 h2 {
     font-size: 17px;
     font-family: 'Playfair Display SC', serif;
     color: #381e24;
     padding: 20px;
     letter-spacing: 2px;
     line-height: 28px;
     text-transform: uppercase;
     font-weight: 500;
     border-bottom: 1px solid #e2ddd7;
     background: url('h.png') 100% no-repeat;
}
 h3 {
     font-size: 18px;
     font-family:Sofia;
     font-weight: 300;
     color: #381e24;
     padding: 10px;
     letter-spacing: 2px;
     line-height: 28px;
}
 h4 {
     font-size: 12px;
     font-family: 'Playfair Display SC', serif;
     color: #381e24;
     font-weight: 400;
     padding: 10px;
     letter-spacing: 2px;
     margin-top: -7px;
     line-height: 8px;
}
h5 {
    color: #381e24;
	font-family: 'Caveat Brush', cursive;
	font-weight:normal;
	font-size: 24px;
	margin: 0px;
	padding-left: 12px;
	text-shadow: #ccc 1px 1px 3px;
}

h6 {
  color: #381e24;
  font-weight: normal;
  font-family: 'Parisienne', cursive;
  font-size: 28px;
  margin: 10px 0 0 20px;
  letter-spacing: 0;
  text-shadow: 0px 1px 8px rgba(0,0,0, 0.1);
}


.kuvan2 {
width:200px;
margin-left:30px;
margin-top:10px;
margin-bottom:10px;
display:flex;
justify-content:right;
float:right;
      border-radius:5px;
      border:5px solid #fff; box-shadow: #c0c0c0 0 3px 3px;
      background-color: #fff;
}




.koriste img {max-width: 25%; border: 5px solid #fff; margin: 20px 10px; box-shadow: 0px 0px 5px rgba(0,0,0,0.6);}


 .tietokuva {
     float:left;
     margin:0px 60px 0 60px;
     padding:5px;
     height: 270px;
    -webkit-border-radius:5px;
     -moz-border-radius:5px;
     border-radius:5px;
     border:1px solid #e2ddd7;
     background-color: #fff;
}

/* SÃ¤lÃ¤ */
.num {
    font-family:Abel;
    color: rgba(37,4,11,1);
    font-size: 13px;
}
 .right {
     text-align: right;
     font-size: 13px;
     font-family: 'Playfair Display SC', serif;
     letter-spacing: 1px;
}
#icon {
     font-size: 12px;
     color: #e2ddd7;
     margin-left: 5px;
     margin-right: 5px;
}
 .sivukuva {
    float: right;
    margin-left: 20px;
     padding:5px;
     height: 300px;
    -webkit-border-radius:5px;
     -moz-border-radius:5px;
     border-radius:5px;
     border:1px solid #e2ddd7;
}
.center {
     text-align: center;
     font-size: 14px;
     font-family: 'Playfair Display SC', serif;
     letter-spacing: 1px;
}


.koriste img {max-width: 25%; border: 5px solid #fff; margin: 20px 10px; box-shadow: 0px 0px 5px rgba(0,0,0,0.6);}



.kuvagalleria{text-align: center;} 

 .hkuva {
     padding:5px;
     height: 130px;
      border-radius:5px; box-shadow: #c0c0c0 0 3px 3px;
     background-color: #fff;
}
 .kuvat {
     text-align: center;
     margin: 0 auto;
}



/* 
Kasvattilista
============================ */

.kasv { }
.kasv:hover { background-color : rgba(237,237,237,0.5); }

.ysolu { font: 12px/25px 'Alegreya Sans', sans-serif; color: #333; text-align: left; border-top: 0px solid #cecece; border-bottom: 1px solid #d0d0d0; background-color : transparent; }
.solu { font: 12px/25px 'Alegreya Sans', sans-serif; color: #333; text-align: left; text-shadow: 1px 1px #000; border-bottom: 1px solid #cecece; background-color : transparent; }





/* hevoslistaus */

.hevoslista {
	padding:0px;
	text-align:left;
	width: 120%;
}

.hevoslista li {
	list-style-type:none;
	display:inline-block;
	margin:7px 0px;
	padding:0px;
	width:45%;
	line-height:1.8;
}

.lista {
	padding-top: 6px;
	font-size:12px;
	display:block;
}

.lista:before {
	content: '\00d7';
	padding:0px 8px 0px 3px;
    color: rgba(0, 0, 0, 0.5);
}

.hevoslista img {
	float:left;
	height:110px;
	width:160px;
	object-fit:cover;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	margin:0px 15px 0px 15px;
	border: 1px solid rgba(0, 0, 0, 0.3);
    background: #FFF;
    padding: 3px;
	box-shadow:0px 0px 4px rgba(0, 0, 0, 0.3);
}


.hevoslista img:hover {
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    opacity: 0.8;
}


/* SKAALAUTUMINEN */

@media only screen and (max-width: 600px) {
    body {
        background: rgba(36,9,15,0.9);
    }
    #otsikkoteksti { 
     font-size: 60px;
     padding: 10px;
     text-align: left;
     margin-left: -30px;
}
    .otsikko { 
        width: 125vw; 
    height: 110px;
  background-image: none;
    }
    #koko { 
        width: 125vw; 
    }
    #tekstit
    {
        width: 108vw; 
    }
    .hevoskuva {
        width: 340px;
        float: none;
    }
    .ylapalkki { 
        width: 108vw; 
    }
     #linkit { 
        width: 108vw; 
    }
    .loota {
        width: 100vw; 
        height: auto;
    }
    h1 {
        font-size: 15px;
        text-align: left;
        margin: 0; padding: 0;
    }
    .palkinnot {
        text-align: left;
        font-size: 10px;
    }
     .jalkelaisetd {
     padding: 1px;
     font-size: 11px;
     text-indent: 0px;
}
 #linkit a{
     font-size:11pt;
     padding:10px;
}
}