body {
	background-image: url(kuvat/t.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-attachment:fixed;
	font-family: Quicksand;
	color: #000;
	font-size: 14px;
	line-height: 27px;
	padding: 0px;
	margin: 30px 0px 50px 0px;
}

::selection {
	background: #90ad86;
	color: #e6f7dc;
}

::-moz-selection {
	background: #90ad86;
	color: #e6f7dc;
}

#ulk {
	width: 1300px;
	margin: 0 auto;
	margin-top: 30px;
}

#linkit {
	margin: -275px 0px 49px 55vw;
	width: 380px;
	height: auto;
	font-size: 23px;
	font-family: Quicksand;
	letter-spacing:1px;
	text-transform:lowercase;
	opacity: 0.9;
}

#linkit ul {
	text-align: center;
	padding: 0;
	list-style-type: none;
  	columns: 2;
  	-webkit-columns: 2;
  	-moz-columns: 2;
}

#linkit ul li {
	display: inline-block;
}

#linkit ul li a {
	display: block;
	border-radius:30px;
	margin: 10px -5px;
	padding: 30px 0px;
	width: 180px;
	text-decoration: none;
	background-color: #405237;
	color: #d6ebca;
	transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
}

#linkit ul li a:hover {
	background-color: #546e48;
	color: #d6ebca;
	opacity: 0.9;
	transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
}

#yla {
	width: 1040px;
	margin: 0 auto;
	opacity: 0.9;
}

#teksti {
	width: 960px;
	margin: 0 auto;
	margin-top: -20px;
	padding: 20px 40px;
	background-color: #d6ebca;
	opacity: 0.9;
	border-radius: 15px;
	box-shadow: 0px 0px 10px #555e4f;
}

#copy {
	text-align: center;
	color: #f0ffe8;
}

#copy a {
	color: #f0ffe8 !important;
	text-decoration: underline;
}

#copy a:hover {
	color: #f0ffe8 !important;
	text-decoration: none;
}

h1 {
	font-family: stencil-std, sans-serif;;
	font-size: 34px;
	color: #5a7351;
	letter-spacing: 2px;
	text-shadow: 0px 0px 5px #91b386;
	margin: 25px 0px;
}

h2 {
	font-size: 24px;
	margin: 0px 0px 15px 25px;
	letter-spacing: 1px;
	color: #7ea371;
	text-shadow: 0px 0px 1px #a4cf95;
}

h3 {
	font-size: 23px;
	margin: 5px 0px;
	color: #5a7351;
	text-shadow: 0px 0px 1px #91b386;
}

h4 {
	font-size: 17px;
	margin: 3px 0px 2px 0px;
  color: #516948;
	text-shadow: 0px 0px 1px #7ca170;
}

h5 {
	font-size: 26px;
	font-family: Satisfy;
	letter-spacing:3px;
	color: #84a379;
	text-shadow: 0px 0px 1px #a4cf95;
	margin: 25px;
}

h6 {
	font-size: 18px;
	margin: -10px 0px 8px 0px;
	color: #5a7351;
	text-shadow: 0px 0px 2px #91b386;
}

hr {
	border-top: 2px solid #7ea371;
	text-shadow: 0px 0px 10px #a4cf95;
  text-align: center;
  margin: 30px -5px;
  opacity: 0.6;
}

b, strong {
	color: #5a7351;
	text-shadow: 0px 0px 2px #91b386;
}

i, em {
	color: #516948;
	text-shadow: 0px 0px 2px #7ca170;
}

u {
	color: #5a7351;
	text-shadow: 0px 0px 2px #91b386;
}

a:link, a:visited {
	color: #5a7351;
	text-shadow: 0px 0px 2px #91b386;
	text-decoration: none;
	transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
}

a:hover {
	color: #84a379;
	text-shadow: 0px 0px 2px #a4cf95;
	transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
}

.meriitit {
	font-size:20px;
	color:#7ea371;
	text-shadow: 0px 0px 2px #a4cf95;
	padding: 0px 25px;
}

.meriitit2 {
	font-family: stencil-std, sans-serif;;
	font-size:20px;
	letter-spacing: 2px;
	color:#7ea371;
	text-shadow: 0px 0px 5px #91b386;
	margin:25px 0px -5px 5px;
}

.pikkukuva {
  background: #ffd4f0;
  padding: 4px;
  margin-bottom: 1px;
  width: 200px;
  height: 140px;
  border-radius:10px;
}

.tietokuva {
  background: #90b382;
  padding: 6px;
  margin-top:-6px;
  margin-bottom: 1px;
  width: 300px;
  height: 400px;
  float:right;
	border-radius:15px;
}

.hevoslista {
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	margin-top:20px;
	width:102.5%;
}

.hsarake {
  display: flex;
  flex-wrap: wrap;
  width: calc(50% - 15px);
  margin-right: 15px;
  align-items: center;
  margin-bottom: 15px;
}

.hsarake img {
  height: 150px;
  border-radius: 25px 0px 0px 25px;
	transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
}

.hsarake img:hover {
    opacity:0.7;
}

.hsarake2 {
  margin-top: -9px;
  width: calc(100% - 150px);
  height:120px;
  background: #b0cfa3;
  padding-left: 15px;
  padding-right: 10px;
  z-index: 0;
  padding-top: 30px;
  vertical-align: top;
}

#space {
	clear: left;
	height: 20px;
}

table#kas {
	width: 100%;
	border-spacing: 0px;
	margin: 20px 0px;
}

table#tiedot {
	width: 620px;
	border-spacing: 0px;
	margin: 35px 0px;
}

.ttieto {
	padding: 7px 16px;
	background-color: #b0cfa3;
}

.totsikko {
	background-color: #90b382;
	padding: 12px 18px;
	border-radius: 15px 15px 0px 0px;
}

.totsikko2 {
	background-color: #90b382;
	padding: 8px 17px;
}

.spacer {
	background-color: transparent;
	height: 10px;
}

.tkas {
	background-color: #b0cfa3;
	padding: 10px 20px;
}

.tlista {
	background-color: #edb4db;
	padding: 15px 0px;
	text-align: center;
	vertical-align: top;
	width:25%;
	line-height: 24px;
}

.tietotausta {
	background-color: #e3aad2;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	box-shadow: 0px 0px 5px #8a4973;
	padding: 35px 40px 20px 40px;
	margin: 30px -50px 40px -40px;
	box-sizing: border-box;
	width: 1040px;
}

.kuva {
	float: left;
	height: 370px;
	margin: -54px 25px 0 -15px;
	box-shadow: 0px 0px 5px #8a4973;
	border-radius: 12px;
  	background-color: #fff;
	padding: 1px;
}

#galleria {
	width: 1100px;
	margin: 20px -70px 0px -70px;
	box-sizing: border-box;
	padding: 0px;
	text-align: center;
}

.gkuva {
	margin: 0px 8px;
}

table#suku {
	width: 1000px;
	border-spacing: 20px;
	margin: -10px -20px 10px -20px;
}

.suku {
	width: 33%;
	background-color: #b0cfa3;
	padding: 15px 20px;
	line-height: 25px;
	border-radius: 15px;
}

table#jalk {
	width: 100%;
	border-spacing: 0px;
	margin: 35px 0px 25px 0px;
}

.tjalk {
	background-color: #edb4db;
	padding: 6px 20px;
}

.tjalk:first-child {
	border-radius: 15px 0px 0px 15px;
}

.tjalk:nth-child(5) {
	border-radius: 0px 15px 15px 0px;
}

table#kisat {
	width: 100%;
	border-spacing: 0px;
	margin: 23px 0px 15px 0px;
}

.tkisa {
	background-color: #b0cfa3;
	padding: 1px 20px;
	border-radius:15px;
	margin: 20px 0px;
}

.tsarake {
	font-size:13px;
  vertical-align: top;
}