body {
	background-image: url(kuvat/bg.jpg);
	background-repeat: repeat;
	background-attachment: fixed;
	font-family: Murecho;
	color: #21222e;
	font-size: 14px;
	line-height: 28px;
	padding: 0px;
	margin: 85px 0px 50px 0px;
}

::selection {
	background: #9bafcc;
	color: #f0f7ff;
}

::-moz-selection {
	background: #9bafcc;
	color: #f0f7ff;
}

#ulk {
	margin: 0 auto;
	padding: 0px;
	width: 1000px;
}

#ots {
	font-family: Cookie;
	font-size: 64px;
	letter-spacing: 1px;
	color: #7687a6;
	width: 485px;
	height: 55px;
	background: #f0f7ff;
	padding: 31px 5px 2px 0px;
	text-align: center;
	position: absolute;
	margin-top: -60px;
	margin-left: 15px;
}

#pots {
	font-family: Murecho;
	font-size: 19px;
	text-align: right;
	text-transform: uppercase;
	color: #f0f7ff;
	margin: -45px 0px 0px 0px;
	height: 50px;
	padding: 0px;
	letter-spacing: 1px;
}

#yla {
	width: 940px;
	height: 360px;
	margin: 0 auto;
	background-image: url(kuvat/y.jpg);
	background-repeat:no-repeat;
	border: 10px solid #f0f7ff;
}

#linkit {
	margin: 0 auto;
	margin-top: 0px;
	width: 980px;
	height: 60px;
	font-size: 21px;
	text-transform: uppercase;
}

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

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

#linkit ul li a {
	display: block;
	margin: 0px 8px;
	padding: 12px 49.6px;
	width: auto;
	text-decoration: none;
	color: #7687a6;
	background-color: #f0f7ff;
	font-weight: 500;
	opacity: 0.85;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

#linkit ul li a:hover {
	background-color: #dce6f5;
	color: #556980;
	opacity: 0.65;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

#teksti {
	width: 870px;
	margin: 0 auto;
	margin-top: 12px;
	padding: 18px 35px;
	background-color: #dae3f2;
	clear: left;
	opacity: 0.9;
	border: 10px solid #f0f7ff;
}

#copy {
	width: 900px;
	margin: 0 auto;
	margin: 0px 20px 20px 20px;
	padding: 20px 30px;
	opacity: 0.85;
	color: #f0f7ff;
	text-align:center;
}

#copy a {
	color:#f0f7ff;
}

#copy a:hover {
	color:#cad7eb;
}

table#c {
	width: 900px;
	margin: 0px;
	text-align: left;
}

h1 {
	font-family: Cookie;
	font-size: 50px;
	font-weight: 400;
	letter-spacing: 1px;
	color: #7083a1;
	margin: 30px 0px 20px 0px;
}

h2 {
	font-size: 24px;
	font-family: Quintessential;
	color: #7083a1;
	margin: 30px 0px 5px 0px;
}

h2::before {
	content:  "♡ ";
	font-size: 20px;
	margin-right: 8px;
}

h3 {
	font-size: 18px;
	font-family: Murecho;
	font-weight: 400;
	color: #7083a1;
	margin: 12px 0px 12px 0px;
}

h4 {
	font-size: 18px;
	font-family: Quintessential;
	color: #7083a1;
	margin: 2px 0px 1px 0px;
	letter-spacing:1px;
}

h5 {
	font-family: Quintessential;
	font-size: 24px;
	font-style: italic;
	color: #97abc9;
	margin: 20px 0px 20px 0px;
}

h6 {
	font-size: 16px;
	color: #7083a1;
	margin: -13px 0px 5px 0px;
}

hr { 
  border: 1px dashed #9db2d1;
  margin: 25px 0px 20px 0px;
}

b, strong {
	color: #7083a1;
}

i, em {
	color: #556980;
}

u {
	color: #556980;
}

a:link, a:visited {
	color: #7083a1;
	text-decoration: none;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

a:hover {
	color: #97abc9;
	text-decoration: none;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.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: 8px;
}

.hsarake img {
  height: 160px;
  border:7px solid #f0f7ff;
	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% - 165px);
  height:120px;
  background: #c1cfe3;
  padding-left: 15px;
  padding-right: 10px;
  z-index: 0;
  padding-top: 30px;
  vertical-align: top;
}

.totsikko {
	background-color: #c1cfe3;
	padding: 0px 20px;
}

.totsikko a {
	color: #5e6e5b;
}

.totsikko a:hover {
	color: #374036;
}

.tkas {
	background-color: #f0f7ff;
	padding: 7px 20px;
}

.meriitit {
	font-size:21px;
	color:#97abc9;
	padding: 0px 25px;
	font-family:Murecho;
	font-weight:500;
}

.tietokuva {
  background: #f0f7ff;
  padding: 8px;
  margin-top:-6px;
  margin-bottom: 1px;
  width: 300px;
  height: 400px;
  float:right;
}

table#tiedot {
	width: 535px;
	border-spacing: 0px;
	margin: 38px 0px;
}

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

.ttieto {
	padding: 5px 16px;
	background-color: #f0f7ff;
}

#galleria {
	width: 940px;
	margin: 40px -35px -5px -35px;
	box-sizing: border-box;
	padding: 0px;
	text-align: center;
}

.gkuva {
	margin: 0px 8px;
}

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

table#suku {
	width: 914px;
	border-spacing: 22px;
	margin: -10px -22px 5px -22px;
}

.suku {
	width: 33%;
	background-color: #c1cfe3;
	padding: 12px 16px;
	line-height: 25px;
}

.tkisa {
	background-color: #c1cfe3;
	padding: 1px 18px;
	margin: 20px 0px;
}

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

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