@charset "utf-8";
/* CSS Document */

/*VÄRIMAAILMA
https://colorpalettes.net/color-palette-4198/
https://colorpalettes.net/color-palette-1125/ */

@import url('https://fonts.googleapis.com/css2?family=Meddon&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant&display=swap');
@import url('https://fonts.googleapis.com/css2?family=News+Cycle&display=swap');

html {
	min-height:100%;
	position:relative;
}

body, html {
	width:100%;
	background-color:#ebebeb;
	margin:0;
	padding:0;
	top:0;
	left:0;
	font-family: 'Cormorant', serif;
}

a {
    color:#958a56;
	transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}

a:hover {
    color:#2a4158;
	transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}

.header {
	margin-top:-31px;
	position:fixed;
	z-index:1;
}

.header h1 {
	text-align:center;
	font-family: 'Meddon', cursive;
	font-weight:100;
	width:300px;
	font-size:38px;
	line-height:30px;
	margin:0;
	padding-top:90px;
	color:#ffffff;
	text-shadow:0px 0px 5px rgba(0,0,0,0.8);
}

.navi {
	width:300px;
	height:100%;
	background-color:#597387;
	position:fixed;
	top:0;
	bottom:0;
	margin:0 auto -50px;
	border-right: 5px solid #2a4158;
}

.navi ul {
	margin-top:209px;
	margin-left:-25px;
}

.navi ul li {
    font-size:20px;
	list-style-type:none;
	margin-bottom:1px;
	text-align:center;
	display:flex;
	justify-content:center;
}

.navi ul li a {
	color:#ebebeb;
	text-decoration:none;
	text-transform:uppercase;
	text-align:center;
	width:100%;
	padding:15px 0px 15px 0px;
	transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}

.navi ul li a:hover {
	color:#958a56;
	letter-spacing:2px;
	transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}

.content {
	width:1000px;
	margin-left:330px;
	text-align:justify;
	margin-right:20px;
	margin-bottom:20px;
	font-family: 'News Cycle', sans-serif;
}

.footer {
	width:270px;
	color:#d1d0cc;
	padding:5px 10px;
	position:fixed;
	font-size:13px;
	text-transform:uppercase;
	text-align:center;
	padding-left:13px;
	left:0;
	bottom:0;
}

.footer a {
	text-decoration:none;
	color:#8c9ea3;
	transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}

.footer a:hover {
	color:#958a56;
	transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}

ul {
	list-style-type: circle;
}	


/* TEKSTIT */

h2 {
	font-family: 'Meddon', cursive;
	font-size:30px;
	color:#597387;
	border-bottom: 1px solid #2a4158;
}

h3 {
	font-family: 'Cormorant', serif;
	font-size:30px;
	color:#8c9ea3;
}
h4{
	font-family: 'Cormorant', serif;
	font-size:25px;
	color:#2a4158;
}


/* LOOTAT */

.varitonloota {
	width: 100%;
	margin: 0 0;
	border-collapse:collapse;
}
.varitonloota td{
	padding: 4px 8px;
	vertical-align:top;
}
.listaloota {
	width: 100%;
	margin: 0 0;
	border-collapse:collapse;
}
.listaloota td{
	padding: 4px 8px;
	vertical-align:top;
	border-bottom:1px solid #59797d;
}
.infoloota {
    background:#d1d0cc;
	width: 100%;
	border-color:#597387;
	margin: 0 0;
	border-collapse:collapse;
}
.infoloota td{
	padding: 4px 8px;
	vertical-align:top;
}

/* MUUTA */

#kuvareuna {
    border:1px solid #2a4158;
    padding:3px;
}

hr {
	width: 492px; height: 34px;
	border: none;
	background-image: url(http://kemikaaliromanssi.net/hirttivaara/images/koriste/viiva.png);
}

/* HEVOSET */


#sukutaulu {
	width:100%;
	border-collapse:collapse;
}
#perustiedot, .periyt {
	width:100%;
	border-collapse:collapse;
	background:#d1d0cc;
}
#perustiedot td, #sukutaulu td, .periyt td {
	padding: 5px 15px;
	width:25%;
	font-family: 'News Cycle', sans-serif;
}

#sukutaulu td {
	border-bottom:1px solid #2a4158;
	padding: 5px 15px;
	width:33%;
	font-family: 'News Cycle', sans-serif;
}

#perustiedot td:first-child, #perustiedot td:nth-child(3), .periyt td:first-child, .periyt td:nth-child(3) {
	text-transform:uppercase;
	font-family: 'Cormorant', serif;
	letter-spacing:3px;
	font-size:10pt;
	width:20%;
}

#sukutaulu em {font-size:14px;}
#sukutaulu small {color:#22272c;}
.ero {background:#d1d0cc;}

#sukutaulu4 {
	width: 100%;
	border-collapse:collapse;
}
#sukutaulu4 td {
	border-bottom:1px solid #59797d;
	padding: 5px 15px;
	width:25%;
	font-family: 'News Cycle', sans-serif;
}
#sukutaulu4 em {font-size:14px;}
#sukutaulu4 small {color:#22272c;}
.ero {background:#d1d0cc;}