@charset "utf-8";
/* CSS Document */
html {
	margin:0;
	padding:0;
	top:0;
	left:0;
	background-image:url(bg1.png);
	background-attachment:fixed;
	text-align:justify;
	font-family: 'Alegreya Sans', sans-serif;
	line-height:22px;
}

body {
	background-image:url(bg3.png);
	margin:0px 0px 0px 0px;
	background-repeat:no-repeat;
	height:100%;
	position:absolute;
}

::selection { background: #98ced0; }
::-moz-selection { background: #98ced0; }

a {
	text-decoration:none;
	color:#495670;
	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

a:hover {
	color:#7daeb0;
	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

h1, h2, h3 {
	font-family: 'Cormorant Upright', serif;
	padding-left:30px;
	color:#5c8586;
	text-shadow:0px 0px 4px #fff;
}

.header {
	width:950px;
	margin:0px 0px 0px 130px;
	text-align:center;
}

.header img {
	margin:40px 0px -50px 0px;
}

#wrapper {
	background-color:rgba(255,255,255,0.8);
	width:950px;
	padding:20px;
	margin:55px 0 40px 130px;
	border-top-left-radius:60px;
	border-bottom-right-radius:60px;
	position:absolute;
	box-shadow:0px 0px 30px rgba(255,255,255,0.3);
}

.side {
	width:250px;
	float:right;
	margin-left:15px;
	position:relative;
	text-align:center;
}

.sivu {
	width:230px;
	border:7px solid #EEEFF7;
	box-shadow:0px 0px 12px rgba(0,0,0,0.3);
}

.navi {
	text-align:center;
	margin:10px 0px 0px -40px;
}

.navi li {
	list-style-type:none;
	width:245px;
	margin:3px 0px 3px 0px;
}

.navi li a {
	display:block;
	padding:10px 0px 10px 0px;
	background-color:#90bdbf;
	text-decoration:none;
	-webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
	font-family: 'Cormorant Upright', serif;
	font-size:20px;
	color:#414c61;
}

.navi li a:hover {
	border-radius:25px;
	-webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
	letter-spacing:2px;
	color:#fff;
	text-shadow:0px 0px 2px #000;
}

.nav {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  background: #e1e1e1;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
.nav:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #53617c;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 50%;
  transform-origin: 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  border-radius:25px;
}
.nav:hover, .nav:focus, .nav:active {
  color: white;
}
.nav:hover:before, .nav:focus:before, .nav:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.copyt {
	font-size:12px;
	color:#ADADAD;
}

.copyt a {
	color:#ADADAD;
}

.copyt a:hover { color:#6E6E6E; }

/* HEVOSSIVU */

.nimi {
	text-align:center;
	font-size:42px;
}

.perustiedot {
	width:580px;
	display:inline-block;
	background:rgba(255,255,255,0.7);
	padding:2px 10px 2px 10px;
	margin-top:15px;
	margin-left:80px;
	margin-bottom:30px;
}

.perustiedot .tieto {
	width:150px;
	color:#619c9e;
	text-shadow:0px 0px 3px #fff;	
	padding-left:7px;
}

.perustiedot td {
	width:420px;
	border-bottom:1px solid rgba(205,205,205,0.5);
	padding:10px 0px 2px 20px;
}

.isokuva {
	width:280px;
	float:right;
	margin-right:-10px;
}

.isokuva img {
	height:280px;
	position:absolute;
	z-index:100;
	border:7px solid #EEEFF7;
	box-shadow:0px 0px 19px rgba(0,0,0,0.3);
}

.galleria {
	width:990px;
	margin-left:-20px;
	text-align:Center;
	padding:15px 0px 5px 0px;
}

.galleria img {
	height:120px;
	margin:0 5px 0 5px;
	border:5px solid #EEEFF7;
	box-shadow:0px 0px 12px rgba(0,0,0,0.3);
}

.galleria p { font-size:12px; }

.suku {
	width:800px;
	padding:10px;
	margin:0 auto 0 auto;
	background:rgba(255,255,255,0.7);
}

.suku td {
	padding:10px 0px 10px 100px;
}

.suku .v {
	border-bottom:1px solid rgba(205,205,205,0.7);
}

.varsat {
	width:950px;
	margin:0 auto 0 auto;
}

.varsat td {
	padding:10px 0px 5px 10px;
	border-bottom:1px solid rgba(205,205,205,0.7);
	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.varsat tr:hover td {
	background-color:rgba(255,255,255,0.3);
	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.yla {
	background-color:rgba(255,255,255,0.5);
	text-align:center;
	color:#619c9e;
}

.kisat {
	width:950px;
	margin:0 auto 0 auto;
	text-align:center;
}

.kisat td {
	padding:5px 0px 5px 10px;
	border-bottom:1px solid rgba(205,205,205,0.7);
}

.kisat pre {
	margin-top:-15px;
	font-family: 'Alegreya Sans', sans-serif;
}