body {
	background-image: url(images/BodyBg.gif);
	background-repeat: repeat-x;
	background-color: #CACACA;
	font-size: 12px;
	margin: 0px;
	padding: 0px;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	color: #333333;
	text-align: center;
}

* {
	margin: 0;
	padding: 0;
}

p {
	margin-bottom: 14px;
}

h1,h2,h3,h4,h5,h6 {
	margin-bottom: 14px;
}
img {
	border: none;
}

a {
	color: #03669F;
	text-decoration:none;
}
a:hover {
	color: #03669F;
	text-decoration: underline;
}


#wrapper {
	background-image: url(images/MainBg.gif);
	width: 865px;
	margin-right: auto;
	margin-left: auto;
	text-align: left;
}
#banner {
	background-image: url(images/BannerBg.jpg);
	height: 122px;
}
#banner h1 {
	text-indent: -9999px;
	float: left;
}
#lang-selection {
	float: right;
	padding-top: 68px;
	padding-right: 20px;
}
#lang-selection a {
	color: #FFFFFF;
	background-image: url(images/bullet1.gif);
	background-repeat: no-repeat;
	padding-left: 10px;
	padding-right: 10px;
	text-decoration: none;
	background-position: 0px 4px;
}
#lang-selection a:hover {
	text-decoration: underline;
}


#footer {
	background-image: url(images/FooterBg.gif);
	background-repeat: no-repeat;
	background-color: #CACACA;
	clear: both;
	text-align: center;
	padding-top: 15px;
	color: #666666;
	font-size: 11px;
	padding-bottom: 10px;
}
#footer a {
	color: #666666;
}

#left {
	float: left;
	width: 218px;
}
#left-text {
	padding-left: 8px;
	height: 260px;
}
#banner-image {
	position: relative;
}
#banner-image .text {
	position: absolute;
	height: 232px;
	width: 212px;
	left: 19px;
	top: 48px;
	font-size: 11px;
	text-align: center;
	padding-top: 12px;
}

#banner-image .text1 {
	position: absolute;
	height: 138px;
	width: 286px;
	left: 21px;
	top: 280px;
	font-size: 11px;
	line-height: 16px;
}

#banner-image .text1 p {
	padding: 0px;
	margin-bottom: 10px;
}


#banner-image .text2 {
	position: absolute;
	height: 138px;
	width: 286px;
	left: 337px;
	top: 280px;
	font-size: 11px;
	line-height: 16px;
}
#banner-image .text2 p {
	padding: 0px;
	margin-bottom: 10px;
}


#middle {
	float: left;
	width: 641px;
}
#maintext {
	color: #333333;
	background-color: #FFFFFF;
	padding-top: 20px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
}
#maintext .maintext-left {
	float: left;
	width: 391px;
}
#maintext .maintext-right {
	float: right;
	width: 215px;
}
#maintext .pad {
	padding-right: 12px;
	margin-right: 10px;
	background-image: url(images/viiva.gif);
	background-repeat: repeat-y;
	background-position: right;
}

#maintext .pad_normal {
	padding-right: 12px;
	margin-right: 10px;
}

#maintext h1 {
	color: #9F0304;
	font-size: 17px;
	font-family: Georgia, "Times New Roman", Times, serif;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #E9E9E9;
	padding-bottom: 3px;
}
#maintext h3 {
	color: #9F0304;
	font-size: 14px;
	font-family: Georgia, "Times New Roman", Times, serif;
}


#menu {
	padding-left: 8px;
	padding-top: 4px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
#menu ul {
	list-style-type: none;
}
#menu li a {
	display: block;
	background-image: url(images/MenuButton.gif);
	background-repeat: no-repeat;
	padding-top: 7px;
	padding-bottom: 8px;
	color: #333333;
	font-weight: bold;
	text-decoration: none;
	font-size: 11px;
	padding-left: 17px;
	margin-left: 3px;
	text-transform: uppercase;
	outline: none;
}
#menu li a:hover {
	color: #97292A;
	background-image: url(images/MenuButtonHover.gif);
}
#menu li a.act {
	background-image: url(images/MenuButtonActive.gif);
	color: #000000;
}
#menu ul ul {
	padding-bottom: 5px;
	margin-left: 4px;
	margin-right: 8px;
	padding-top: 3px;
}
#menu li li a {
	background-image: url(images/bullet2.gif);
	text-transform: none;
	padding-top: 1px;
	padding-right: 2px;
	padding-bottom: 1px;
	padding-left: 25px;
	background-repeat: no-repeat;
	background-position: 14px 5px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #F5F5F5;
	font-family: Geneva, Arial, Helvetica, sans-serif;
}
#menu li li a:hover {
	background-color: #F8F8F8;
	background-image: url(images/bullet2.gif);
	background-repeat: no-repeat;
	background-position: 14px 5px;
}

#menu li li a.act {
	background-image: url(images/bullet2.gif);
	background-repeat: no-repeat;
	background-position: 14px 5px;
	background-color: #CCCCCC;
}

#gallery {
	padding:1px;
}
#gallery .kk {
	border-bottom: 1px solid #CCCCCC;
	padding: 10px;
	margin-bottom: 5px;
	background-color: #EBEBEB;
}

#gallery .kk1 {
	padding: 2px;
	margin-top: 10px;
	border-top-width: 1px;
	border-bottom-width: 0px;
	border-top-style: dotted;
	border-bottom-style: solid;
	border-top-color: #EFEFEF;
	border-bottom-color: #CCCCCC;
}

#gallery .created {
	font-size: 10px;
	color: #999999;
}

.table1 td {
	padding: 3px;
}

.table1 th {
	padding: 7px;
}

.table2 td {
	background-color: #EFEFEF;
	padding: 2px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #DDDDDD;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #DDDDDD;
}

.table2 th {
	text-align: left;
	background-color: #DADAD9;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #C1C2C1;
	padding-top: 4px;
	padding-right: 2px;
	padding-bottom: 4px;
	padding-left: 2px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #C1C2C1;
}
.article {
	margin-bottom: 5px;
	padding-bottom: 8px;
	background-image: url(images/viiva_poikki.gif);
	background-repeat: repeat-x;
	background-position: right bottom;
}
.news-header a {
	font-weight: bold;
	background-image: url(images/bullet2.gif);
	background-repeat: no-repeat;
	padding-left: 9px;
	background-position: 0px 4px;
}
.news-description {
	padding-top: 6px;
}
.news-description p {
	margin: 0px;
	padding: 0px;
}
.donerail {
	background-image: url(images/DonerailMain.jpg);
	width: 218px;
	height: 285px;
	background-repeat: no-repeat;
}
.donerail .text {
	font-size: 11px;
	text-align: center;
	padding-top: 42px;
	padding-right: 5px;
	padding-left: 5px;
}

#news_image_thumbs img {
	margin-left: 5px;
}
#news_image_thumbs {
	padding-top:5px;
	margin-bottom:5px;
}
.news_img_thumb {
	border:1px solid #FFFFFF;
}
.news_img_thumb_act {
	border:1px solid #a20405;
}
#news_image_main {
	background-image: url(images/spinner.gif);
	background-repeat: no-repeat;
	background-position: center center;
}

#middle li {
	background-image: url(images/bullet3.gif);
	background-repeat: no-repeat;
	background-position: 0px 5px;
	padding-left: 13px;
	padding-bottom: 4px;
}
#middle ul {
	list-style-type: none;
	margin-bottom: 14px;
}
input {
	background-color: #F8F8F8;
	border: 1px solid #C1C1C1;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	padding: 1px;
	margin: 2px;
}

textarea {
	background-color: #F8F8F8;
	border: 1px solid #C1C1C1;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	padding: 0px;
	margin: 2px;
}
input.button {
	background-color: #8D0202;
	border: 1px outset #CCCCCC;
	font-size: 11px;
	font-weight: bold;
	color: #FFFFFF;
	padding: 1px;
}
#suku ul {
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
}
#suku .first {
	background-color: #E9E9E9;
	padding: 3px;
}

#suku ul ul {
	padding-left: 35px;
	margin: 0px;
}

#suku li {
	margin: 0px;
	padding-top: 2px;
	padding-right: 0px;
	padding-bottom: 2px;
	padding-left: 0px;
	background-image: none;
}
#suku li li {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	list-style-type: disc;
}
#suku li li li {
	list-style-type: circle;
}
#suku li li li li {
	list-style-type: square;
}
.siitostammat {
	border: solid 1px #E8E8E8;
}
.siitostammat h3 {
	border-bottom: dashed 1px #cccccc;
	padding-top: 7px;
	padding-bottom: 7px;
	padding-left: 7px;
	margin:0;
	background-color:#F5F5F5;
	padding-right: 7px;
}
.siitostammat h3 span {
	text-align: right;
	width: 100px;
}

.siitostammat p {
	padding-left: 7px;
}
.siitostammat .table2 td {
	border: 1px solid #FFFFFF;
	padding-top: 1px;
	padding-right: 1px;
	padding-bottom: 2px;
	padding-left: 3px;
}


.siitostammat1 #suku {
	margin-left: 20px;
}

.siitostammat-left img {
	padding: 4px;
	padding-bottom: 8px;
}

.siitostammat-left {
	background-color:#F5F5F5;
}
.siitostammat .dark {
	background-color: #DDDDDD;
}
table.hevoset_taulukko {
	magin-top:5px;
	margin-bottom:5px;
}
.hevoset_taulukko td {
	background-color: #EFEFEF;
	padding: 2px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #DDDDDD;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #DDDDDD;
}

.hevoset_taulukko th {
	text-align: left;
	background-color: #DADAD9;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #C1C2C1;
	padding-top: 4px;
	padding-right: 2px;
	padding-bottom: 4px;
	padding-left: 2px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #C1C2C1;
}
.hevoset_taulukko td p {
	margin:0;
	padding:0;
}



.hevoset_taulukko td blockquote {
	margin-left:20px;
}
