@import url(http://fonts.googleapis.com/css?family=Merienda);


a {
  color: #fff;
}
a: hover {
  color: #c9c9c9;
  text-decoration: none;
}
body {
  height: auto;
  margin: 0;
  font-size: 14px;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  background-color: #f3edeb;
}


/* Yläosa */

#otsikko {
  height: 190px;
  padding: 200px 0 0 60px;
  background: url(http://harrastepohjalta.com/Kartano/otsikkok.png) no-repeat right;
  background-color: #f3edeb;
  width: 87.3%;
  margin: 0 auto;
  text-shadow: 2px 2px 4px #000;
}
#linkit {
  margin: 0 auto;
  width: 80%;
}
#linkit ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#linkit ul li {
	float: left;
	width: 25%;
	text-align: left;
	font-family: "Merienda", serif;
  text-transform: uppercase;
	color: #513727;
	padding-top: 35px;
}
#linkit ul li a {
	color:#513727;
	text-decoration: none;
	text-shadow: 1px 1px 3px #000;
	font-size: 30px;
	padding: 11px 25px;
}
#linkit ul li a:hover {
	padding: 11px 25px;
  color: #9e8171;
}

/* Sisältö */
#sisalto {
	width: 87.3%;
  padding: 20px 30px;
	margin: 0 auto;
	text-align: justify;
	font-family: "trebuchet ms", serif;
  background-color: #513727;
  color: #f2f2f2;
}
.row {
  display: flex;
}
.column1 {
  float: left;
  width: 18%;
  background-image: url(http://harrastepohjalta.com/Kartano/sivupalkki.jpg);
}
.column2 {
  width: 82%;
  padding-left: 50px;
}
#teksti1 {
  margin:30px;
}

/* Alaosa */
#alaosa {
  background-color: #ddcabe;
  padding: 20px 30px;
  width: 87.3%;
  margin: 0 auto;
}


/* Otsikot */
h1 {
  font-family:"Merienda",sans-serif;
  font-size: 30px;
}
h2 {
  font-family:"Merienda",sans-serif;
  font-size: 20px;
}
h3 {
  font-family: "Merienda", serif;
  font-size: 55px;
  color: #513727;
}
h4 {
  text-align: right;
  font-size: 12px;
  font-weight: lighter;
}


/* Hevosen sivu */

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

.pedigree, .pedigree2 {
	margin: 0;
    height: 500px;
}

table.pedigree tbody tr:nth-child(2n + 1), table.pedigree2 tbody tr:nth-child(2n + 1) {
	background: none;
}

table.pedigree tbody td:nth-child(1n + 2), table.pedigree2 tbody td:nth-child(1n + 2) {
	background: #7d6041;
}

table.pedigree .sire, table.pedigree2 .sire {
	background: #7d6041;
}

table.pedigree td {
	vertical-align: middle;
	padding-left: 20px;
	width: 25%;
}

table.pedigree span {
	font-size: 12px;
}

table.pedigree2 td {
	vertical-align: middle;
	background: #7d6041;
	-moz-box-shadow: inset 0px 1px 5px -1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0px 1px 5px -1px rgba(0,0,0,0.1);
	box-shadow: inset 0px 1px 5px -1px rgba(0,0,0,0.1);
	padding-left: 20px;
	width: 50%;
}

table.pedigree2 span {
	font-size: 12px;
}
