@import url("https://fonts.googleapis.com/css2?family=Arizonia&family=DM+Serif+Text:ital@0;1");
@import url('https://fonts.googleapis.com/css?family=PT+Sans+Narrow|Parisienne');
@import url("https://fonts.googleapis.com/css2?family=Birthstone&family=Lora&family=Source+Sans+Pro:wght@300;400;600&display=swap");

body {
  margin: 0 auto;
  background-color:#bdb6ae;
  background-attachment: fixed;
  background-image:url(https://i.imgur.com/2rPioaL.png);
  background-size:cover;
  background-repeat:no-repeat;
  background-attachment:fixed;  font-family: "Lora", sans-serif;
}

header {
  background-color: #46644E;
  border-bottom: 2px double #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  color: #fff;
position:fixed;
width:100%;
margin-top:-60px;
}

#logo {
  font-family: "DM Serif Text";
  font-size: 32px;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

#logo a {
  color:#fff;
}

#logo a:hover {
  color:#85B090;
}


.head_img {
	height:350px;
	width:100%;
	margin-top:60px;
	background-image:url(https://i.imgur.com/6s2JNTy.png);
}

header article {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header ul {
  display: flex;
}

header ul li {
  flex: 1;
  list-style: none;
  padding: 5px;
  font-family: "DM Serif Text", serif;
  letter-spacing:2px;
  font-size: 16px;
}

header ul li a {
  color: #fff;
  padding: 10px 20px;
  transition: 0.5s;
}

header ul li a:hover {
  color: #46644E;
  background-color: #85B090;
  border-radius: 5px;
  transition: 0.5s;
}

article {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: justify;
  box-sizing: border-box;
  padding: 20px;
}

.vaalea {
  width: 90%;
  max-width: 1200px;
margin:auto;
  background: #FAF9F6;
margin-bottom:20px;
border-radius:20px;
    -moz-box-shadow:0 0 10px #888;
    -webkit-box-shadow:0 0 10px #888;
    box-shadow:0 0 10px #888;
}

.vihrea {
  width: 90%;
  max-width: 1200px;
margin:auto;
  background-color: rgba(250, 250, 250, 0.8);
  color: #333;
font-family: "Lora", serif;
margin-bottom:20px;
border-radius:20px;
    -moz-box-shadow:0 0 10px #888;
    -webkit-box-shadow:0 0 10px #888;
    box-shadow:0 0 10px #888;

}

.row {
  width: 100%;
}

.clear {
  clear: both;
}

.left {
  float: left;
}

.right {
  float: right;
}

.puolet {
  box-sizing: border-box;
  padding: 20px;
  width: 50%;
}

.copy {
  text-align: center;
  color: #333;
  font-family: "Lora", serif;
}

.copy a {
  color: #333 !important;
  border-bottom: 1px solid #333 !important;
}

.copy a:hover {
  color: #fff;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
}

p {
font-size: 16px;
font-family: "Lora", serif;
}

a {
  text-decoration: none;
  color: #46644E;
}

a:hover {
  text-decoration: none;
  color: #85B090;
}

.vihrea a {
  color: #46644E;
}

.vihrea a:hover {
  color: #85B090;
}

.nosto {
text-align:justify;
color:#333;
font-style:italic;
font-family:serif;
font-size:20px;
padding: 5px 20px 5px 20px;
}


h1 {
  font-family: "Parisienne";
  font-size: 40px;
  color: #46644E;
  text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.2);
}
h2,
h3 {
  font-family: "PT Sans Narrow";
  color: #46644E;
  text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.2);
}


.vihrea h1,
.vihrea h2,
.vihrea h3 {
  color: #333;
}

b, strong {
color:#46644E;
}

    


.ak {
    font-size:20px;
    color:#85B090;
    font-weight:bold;
}

.kuvagalleria {
padding:2px;
margin-right:10px;
margin-bottom:10px;
}

.kuvagalleria img {
height:200px;
}


.kuvagalleria2 {
padding:3px;
border:1px solid #46644E;
border-radius:3px;
height:120px;
margin-right:10px;
margin-bottom:10px;
}

.esittelykuva {
float:left;
padding:3px;
border:1px solid #46644E;
border-radius:3px;
max-width:47%; 
margin-right:10px;
margin-bottom:10px;
}

.pikkukuva {
padding:3px;
border:1px solid #46644E;
border-radius:3px;
max-width:30%; 
margin-right:10px;
margin-bottom:10px;
}



.heppakuva {
float:left;
padding:3px;
border:1px solid #46644E;
border-radius:3px;
max-width:35%; 
margin-right:10px;
}



/*HEVOSEN SIVU*/

.vhtunnus {
font-family:'Lora';
font-size:20px;
color:#A480CF;
margin-top:-30px;
margin-left:40px;
}

.geenit {
background: #85B090;
border-radius: 5px;
padding: 2px 5px 2px 5px;
color: #fff;
font-family: Lora;
font-size: 12px;
font-weight: normal;
letter-spacing: 1px;
}


.kuvagalleria {
text-align:center;
}

.kuvagalleria img {
height:200px;
padding:3px;
border:1px solid #46644E;
border-radius:3px;
}


.suku {
        font-size: 18px;
        font-family: "Lora", serif;
		width: 100%;
		margin: 0 auto;
                border-spacing: 10px;

	}

	.suku td {
		border:1px solid #46644E;
		border-radius:5px;
		padding: 10px;
		width:33%;
		padding-left: 25px;
	}

	.suku td.isa {
  background-color: rgba(214, 214, 214, 0.3);
	}
    
.sukulainen {
font-size:16px;
font-weight:bold;
text-transform:uppercase;
font-family:'Lora';
color:#003049;
}



/* RATE MY PONY */

.rmp {
width:100%;
font-family:'Lora';
}

.rmp-progress {
	height: 20px;
	position: relative;
	background: #d3d3d3;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
  box-sizing: content-box;
	box-shadow: inset 0 -1px 1px rgba(255,255,255,0.3);
  margin-bottom: 5px;
}

.rmp-progress > div {
  display: block;
  height: 100%;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color: #28a745;
  position: relative;
  overflow: hidden;
  text-align: center;
  line-height: 1;
}

.rmp-progress > div > span {
  color: #fff;
  font-size: 12px;
  text-align: center;
}

.rmp-green > div {
  background-color: #5b9b5e;
}

.rmp-blue > div {
  background-color: #5b779b;
}

.rmp-orange > div {
  background-color: #9b5b98;
}

.rmp-red > div {
  background-color: #9b7e5b;
}


/* PORRASTETUT */

    :root {
        --PII: 3.14159265358979;
        --SADE: 35;
    }
    
    .kisaflex {
        min-width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    circle {
        fill: transparent;
        stroke-width: 8px;
    }
    
    circle.complete {
        stroke-dasharray: calc(2 * var(--PII) * var(--SADE));
    }
    
    .ympyra {
        height: 10rem;
        transform: rotate(-90deg);
        transform-origin: center;
    }
    
    .ympyra text {
        text-anchor:middle;
        color: #A480CF;
        font-family: "Lora", serif;
    }
    
    .flexkontti {
        display: flex;
        flex-wrap: wrap;
        gap: 3rem;
    }
    
    .flexkontti > div {
        flex: 1;
    }
    
    .flexsisalto {
        flex: 1;
    }



.normikisat, .normikisat table {
width:100%;
font-family:'Lora';
}






/*HEPPALISTA*/

.heppalista {
width:90%;
margin: auto;
border-spacing:10px;
border-collapse: separate;
}

.heppalista td {
width:45%;
background-color: rgba(214, 214, 214, 0.3);
vertical-align: center;
padding:20px;
border-radius:3px;

}

.listakuva img {; 
margin-right: 20px;
padding:3px;
border:1px solid #46644E;
border-radius:3px;
float:left;
width: 140px;
}

.listanimi {
    font-family:Parisienne;
    font-size:28px;
    color:#46644E;
    font-weight:bold;
}


/* KASVATTILISTA */

.kasvatit {
width:100%;
font-family: "Lora", serif;
}

.kasvatit td {
border-bottom:1px solid #A480CF;
padding: 10px;
}