﻿ @import url('https://fonts.googleapis.com/css?family=Alegreya+Sans');
 @import url('https://fonts.googleapis.com/css?family=The+Girl+Next+Door');
 @import url('https://fonts.googleapis.com/css?family=Alegreya+Sans:100');
 @import url('https://fonts.googleapis.com/css?family=Charm');
 
body {
	background-color: #eeeeee;
	font-family: Verdana,Geneva,sans-serif;
}

.otsikko {
	width: 1000px;
	margin: 0 auto;
	margin-bottom: -30px;
	background-color: rgba(97, 115, 115, .6);
	border-radius: 15px 15px 0 0;
}

.otsikko p {
	text-align: center;
	margin: 30px auto;
	font-size: 4em;
	letter-spacing: 2px;
    font-family: 'Charm', cursive;
	font-weight: lighter;
	color: white;
	padding-bottom: 5px;
	text-shadow: 1px 1px rgba(0, 0, 0, .1);
}

#B {
	color: #838c83;
	text-shadow: 1px 1px rgba(0, 0, 0, .3);

}

h1 {
    font-family: 'Alegreya Sans', sans-serif;
	color: #000;
	text-align: center;
	font-style: italic;
	font-weight: lighter;
	margin: 15px 0 0 0;
	font-size: 2.5em;
}

h2 {
    font-family: 'Alegreya Sans', sans-serif;
	color: #000;
	text-align: center;
	font-style: italic;
	font-weight: lighter;
	margin: 30px auto 0;	
	font-size: 2em;
	width: 80%;
	border-bottom: 1px solid rgba(97, 115, 115, .2);
}

a { 
	color: rgba(97, 115, 115, .8);
	text-decoration: none;
}

a:hover {
	color: rgba(97, 115, 115, 1);
}

i, em {
	color: rgba(97, 115, 115, 1);
}



/* navigaatio */

.yla {
	width: 1000px;
	height: 270px;
	margin: 0 auto;
	padding: 0px;
	background-color: rgba(255, 255, 255, .4);
	border-bottom: 2px solid rgba(97, 115, 115, .3);
}

.yla img {
	display: inline-block;
	width: 330px;
	height: 220px;
	object-fit: cover;
	margin: 20px 15px;
	padding: 0px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .4);
}


.navivasen {
	width: 240px;
	height: 260px;
	margin: 0;
	padding: 0;
	display: inline-block;
	float: left;
}

.navivasen ul {
	margin: 0;
	height: 100%;
	padding: 0;
	display: block;
	width: 100%;
}

.navivasen li {
	display: block;
	height: 52px;
	letter-spacing: 1px;
	margin: 0;
	padding: 0;
	text-align: center;
	border-bottom: 2px solid rgba(97, 115, 115, .2);
}

.navivasen li:hover {
	background-color: rgba(255, 255, 255, .6);
	border-bottom: 2px solid rgba(97, 115, 115, .3);
	height: 52px;
}

.navivasen li:last-child   {
	border: 0;
}

.navivasen a  {
    font-family: 'Alegreya Sans', sans-serif;
	color: rgba(0, 0, 0, .5);
	width: 100%;
	text-align: center;
	line-height: 52px;
	padding: 25px 0px;
	text-decoration: none;
}

.navivasen a:hover  {
	color: rgba(0, 0, 0, .7);
}


/* sisältö */
.teksti {
	width: 1000px;
	margin: 0 auto;
	padding: 25px 0 50px;
	background-color: rgba(255, 255, 255, .9);
	font-size: .8em;
}

.teksti p {
	margin: 0 auto;
	padding: 10px 40px;
	text-align: justify;
}



/* copyt */

.footer {
	width: 1000px;
	margin: 0 auto;
	margin-bottom: 50px;
	text-align: center;
	color: rgba(255, 255, 255, .6);
	font-size: .7em;
	background-color: rgba(97, 115, 115, .6);
	border-radius: 0 0 15px 15px;
}

.footer p {
	margin: 0;
	padding: 20px 60px;
}

.footer a {
	color: rgba(255, 255, 255, .8);
	text-decoration: none;
}

.footer a:hover {
	color: rgba(255, 255, 255, 1);
}

/* hevosen ulkoasu */
.ylah {
	width: 1000px;
	height: 52px;
	margin: 0 auto;
	padding: 0px;
	background-color: rgba(255, 255, 255, .4);
	border-bottom: 2px solid rgba(97, 115, 115, .3);
}


.navih {
	width: 100%;
	margin: 0;
	padding: 0;
	display: inline-block;
	float: left;
}

.navih ul {
	margin: 0;
	height: 100%;
	padding: 0;
	display: block;
	width: 100%;
}

.navih li {
	display: inline-block;
	width: 20%;
	height: 52px;
	letter-spacing: 1px;
	margin: 0;
	padding: 0;
	text-align: center;
	border-bottom: 2px solid rgba(97, 115, 115, .2);
	float: left;
}

.navih li:hover {
	background-color: rgba(255, 255, 255, .6);
	border-bottom: 2px solid rgba(97, 115, 115, .3);
	height: 52px;
}

.navih a  {
    font-family: 'Alegreya Sans', sans-serif;
	color: rgba(0, 0, 0, .5);
	width: 100%;
	text-align: center;
	line-height: 52px;
	padding: 25px 0px;
	text-decoration: none;
}

.navih a:hover  {
	color: rgba(0, 0, 0, .7);
}

.isokuva {
	display: block;
	width: 75%;
	max-height: 750px;
	margin: 20px 10px;
	padding: 0px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .4);
	clear: both;
}

.pikkukuva {
	display: inline-block;
	height: 120px;
	margin: 20px 10px;
	padding: 0px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .4);
}

.perustiedot {
	width: 80%;
	margin: 0 auto;
	margin-top: 20px;
	padding: 20px 5px;
	border-collapse: collapse;
	font-size: 1em;
}

.perustiedot tr {
	width: 50%;
	border-bottom: 1px solid rgba(97, 115, 115, .1);
}

.perustiedot td {
	padding-bottom: 6px;
	padding-top: 15px;
}

.sukutaulu {
	width: 90%;
	margin: 0 auto;
	margin-top: 20px;
	border-collapse: collapse;
	border-spacing: 2px;
	font-size: 1em;
}
.sukutaulu tr {
	border-bottom: 2px solid rgba(97, 115, 115, .1);
}

.sukutaulu tr:last-child   {
	border-bottom: 0;
}

.sukutaulu td {
	padding-bottom: 6px;
	padding-top: 15px;

}

.varsat {
	width: 70%;
	margin: 0 auto;
	margin-top: 20px;
	line-height: 2;
}

.kisa {
	width: 90%;
	margin: 20px auto;
	font-size: .9em;
}

.kisa td {
	width: 50%;
}
.rmp-progress {
	height: 20px;
	position: relative;
	background: #555;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
  box-sizing: content-box;
  margin-bottom: 10px;
}

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

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

.rmp-green > div {
  background-color: #28a745;
}

.rmp-blue > div {
  background-color: #17a2b8;
}

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

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

