@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=Dancing+Script:400,700|Ubuntu:300,300i,400,400i,500,500i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Maven+Pro:400,500,700,900');

body {
	background: url(bg.png);
	margin:0 auto;
	line-height:1.7;
	text-align:justify;
	font-family: 'Maven Pro', sans-serif;
	font-size:15px;
    text-shadow:1px 1px 0px rgba(255, 255, 255, 0.3);
}

#wrapper {
	width:1000px;
	height:100%;
	margin-left:auto;
	margin-right:auto;
	box-shadow:0px 0px 12px rgba(0, 0, 0, 0.2);
}

#header {
	width:1000px;
	background:url(otsikko2.jpg);
	background-position:bottom;
	padding-top:100px;
}

#pallo {
	margin-left:auto;
	margin-right:auto;
	width:300px;
	height:150px;
	border-top-right-radius:150px;
	border-top-left-radius:150px;
	background: #ebe2c3;
	text-align:center;
	border-top:4px solid rgba(0, 0, 0, 0.4);
	border-left:4px solid rgba(0, 0, 0, 0.4);
	border-right:4px solid rgba(0, 0, 0, 0.4);
	z-index:10;
}

#otsikko {
	margin-top:50px;
	font-size:40px;
	text-shadow:0px 0px 5px rgba(0, 0, 0, 0.1);
	font-family: 'Dancing Script', cursive;
	color:rgba(0, 0, 0, 0.6);
	line-height:1;
}

#main {
	background: #ebe2c3;
	width:1000px;
	z-index:-1;
	margin-top:-4px;
}

#navi {
	text-align:center;
	width:1000px;
	margin-left:auto;
	margin-right:auto;
	padding:0px;
}

#content {
	width:940px;
	margin-left:auto;
	margin-right:auto;
	padding:10px 0px 20px;
	color:rgba(0, 0, 0, 0.8);
}

#footer {
	width:940px;
	margin-left:auto;
	margin-right:auto;
	padding:10px 0px;
	font-size:12px;
	text-align:center;
	color:rgba(0, 0, 0, 0.6);
	clear:both;
}

pre { font-family:inherit; }

/* linkit */

a:link, a:visited {
	text-decoration:none;
	color:#AEA59B;
}

a:hover, a:active {
	color:#AEA59B;
}

a:link.nav, a:visited.nav {
	display:inline-block;
	width:180px;
	padding:10px 0px;
	transition:all 0.7s ease;
	text-transform:uppercase;
	font-family: 'Ubuntu', sans-serif;
	font-weight:700;
	font-size:17px;
    border-bottom:4px solid rgba(0, 0, 0, 0);
    
}

a:hover.nav, a:active.nav {
	border-bottom:4px solid rgba(0, 0, 0, 0.2);
}

/* otsikot */

h1, h2, h3, h4, h5 {
	margin:0px;
	padding:0px;
}

h1 {
	text-align:center;
    font-weight:normal;
    border-bottom:2px solid rgba(0, 0, 0, 0.2);
    color:rgba(0, 0, 0, 0.6);
}

h2 {
	padding-left:80px;
    font-weight:normal;
    color:rgba(0, 0, 0, 0.6);
}

/* hevoslistaus */

.hevoslista {
	margin:0;
	padding:0;
	font-size:14px;
	text-align:left;
}

.hevoslista li {
	list-style-type:none;
	display:inline-block;
	margin:10px 0px;
	padding:0;
	width:49%;
	vertical-align:middle;
}

.hevoslista img {
	width:80px;
	height:120px;
	object-fit:cover;
	border:3px solid rgba(0, 0, 0, 0.2);
	float:left;
	margin:0px 20px 0px 0px;
}

.hevoslista a {
	font-size:17px;
}

.lista {
	display:block;
}

.lista:before {
	content: '\2665';
	padding:0px 7px;
	color:rgba(0, 0, 0, 0.3);
    font-size:12px;
}



/* perustiedot */

.post-container{
    margin: 20px 20px 0 0;
    width:90%;
    overflow:hidden;
}

.post-thumb {
	float:left;
}

.post-thumb img {
	margin-left: 10px;
	margin-top: 30px;
    clear:left;
    height:230px;
}

.post-content {
    float:right;
	margin-top: 30px;
}

.pyorea { 
    padding:5px; 
    background-color: #BAB1A9; 
    border-radius : 150px;
    overflow: hidden; 
}


#sukutaulu, #jalkelaiset {
	border: 1px solid #fffebe;
	width: 100%;
	background: #F0EAD2;
	border-collapse: collapse;
}
#sukutaulu td , #jalkelaiset td{
	border: 1px solid rgba(0, 0, 0, 0.6);
	padding: 5px 10px;
}

#jalkelaiset2 {
	border: 1px solid #fffebe;
	background: #F0EAD2;
	border-collapse: collapse;
}
#jalkelaiset2 td{
	border: 1px solid rgba(0, 0, 0, 0.6);
	padding: 5px 10px;
}

.kasvatit{
border-collapse: collapse;
width: 940px;
margin: 0 auto 25px -30px;
height: auto;
}

.left, .right {
	width: 50%;
	padding: 0px;
	float: left;
}
	
.right {
	float:right !important;
}

.puolikas {
	width:46%;
	padding: 5px 2%;
	float:left;
}

