/* typography & page defaults */

img,div,input {
	behavior: url(../j/p.htc);
}

#browsernoticeX {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 500px;
	height: 25px;
	background: url(../i/selain.gif) transparent;
	border: solid 1px red;
	z-index: 101;
	display: none !important;
	display: block;
}

body {
	background: #242424;
	color: #000000;
	font-size: 100%;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Times New Roman", Arial, sans-serif;	
	margin: 0px;
	padding: 0px;
	line-height: 1.4em;
}

a {
	color: #790707;
	text-decoration: none;
}

a:hover {
	color: #790707;
	text-decoration: underline;
}

a.archive {
	background: url(../i/icon4.gif) 0px center no-repeat transparent;
	padding: 0px 0px 0px 22px;
}

a img {
	border: none;
}

ul {
	margin: 0px;
	padding: 0px;
}

h1 {
	margin: 0px;
	padding: 0px;
	font-family: Georgia, "Lucida Grande", "Lucida Sans Unicode", "Times New Roman", Arial, sans-serif;
}

h2 {
	color: #ffffff;
	font-size: 200%;
	margin-top: 10px;
	letter-spacing: -1px;
}

h2 strong {
	color: #790707;
}

hr {
	display: none;
}

/* header */

#header {
	background: url(../i/header_bg.gif) repeat-x transparent;
	overflow: auto;
	height: 71px;
	position: relative;
	z-index: 99;
}

#header #navholder {
	margin: 0px auto 0px auto;
	width: 790px;
}


#header ul {
	margin: 36px auto 0px auto;
	position: relative;
}

#header ul li {
	float: left;
}

#header ul li.title {
	display: block !important;
	display: none;
	position: absolute;
	top: -20px;
	left: 0px;
	font-size: 10%;
	text-indent: -9999px;
	overflow: hidden;
	height: 10px;
}

#header ul li a {
	display: block;
	height: 35px;
	overflow: hidden;
	margin: 0px 3px 0px 0px;
	text-indent: -9999px;
	background-image: url(../i/header_navigation.gif);
}

#header ul#rhteam li.title {
	background-image: url(../i/header_rhteam.gif);
	left: 92px;
	width: 42px;
}

#header li.home a {
	width: 62px;
	background-position: 0px 0px;
	margin-right: 30px;
}

#header li.home a.active {
	background-position: 0px -70px;
}

#header li.home a:hover {
	background-position: 0px -35px;
}

#header li.rh1 a {
	width: 62px;
	background-position: -77px 0px;
}

#header li.rh1 a.active {
	background-position: -77px -70px;
}

#header li.rh1 a:hover {
	background-position: -77px -35px;
}

#header li.rh2 a {
	width: 97px;
	background-position: -142px 0px;
}

#header li.rh2 a.active {
	background-position: -142px -70px;
}

#header li.rh2 a:hover {
	background-position: -142px -35px;
}

#header li.rh3 a {
	width: 59px;
	background-position: -242px 0px;
	margin-right: 20px;
}

#header li.rh3 a.active {
	background-position: -242px -70px;
}

#header li.rh3 a:hover {
	background-position: -242px -35px;
}

#header li.rh4 a {
	width: 136px;
	background-position: -304px 0px;
	margin-right: 30px;
}

#header li.rh4 a.active {
	background-position: -304px -70px;
}

#header li.rh4 a:hover {
	background-position: -304px -35px;
}

#header ul#horses li.title {
	background-image: url(../i/header_horses.gif);
	left: 335px;
	width: 35px;
	height: 9px;
	top: -19px;
}

#header li.h1 a {
	width: 71px;
	background-position: -468px 0px;
}

#header li.h1 a.active {
	background-position: -468px -70px;
}

#header li.h1 a:hover {
	background-position: -468px -35px;
}

#header li.h2 a {
	width: 52px;
	background-position: -607px 0px;
}

#header li.h2 a.active {
	background-position: -607px -70px;
}

#header li.h2 a:hover {
	background-position: -607px -35px;
}

#header li.h3 a {
	width: 62px;
	background-position: -542px 0px;
	margin-right: 30px;
}

#header li.h3 a.active {
	background-position: -542px -70px;
}

#header li.h3 a:hover {
	background-position: -542px -35px;
}

#header ul#gallery li.title {
	background-image: url(../i/header_gallery.gif);
	left: 555px;
	width: 38px;
	height: 9px;
	top: -19px;
}


#header li.g1 a {
	width: 46px;
	background-position: -690px 0px;
}

#header li.g1 a.active {
	background-position: -690px -70px;
}

#header li.g1 a:hover {
	background-position: -690px -35px;
}

#header li.g2 a {
	width: 53px;
	background-position: -739px 0px;
	margin-right: 30px;
}

#header li.g2 a.active {
	background-position: -739px -70px;
}

#header li.g2 a:hover {
	background-position: -739px -35px;
}

#header li.c1 a {
	width: 97px;
	background-position: -821px 0px;
}

#header li.c1 a.active {
	background-position: -821px -70px;
}

#header li.c1 a:hover {
	background-position: -821px -35px;
}


/* content */

#content {
	background: url(../i/content_bg.jpg) repeat-x 50% 0% #cdc5b0;
	position: relative;
	top: -5px;
	overflow: auto;
	padding: 0px 0px 100px 0px;
}

#content #rhteambadge {
	display: block !important;
	display: none;
	position: absolute;
	background: url(../i/rhteambadge.png) transparent;
	width: 156px;
	height: 163px;
	right: 0px;
	bottom: 0px;
}

#content .content {
	width: 904px;
	margin: 0px auto 0px auto;
	padding: 0px;
}

#content #videoscreen {
	width: 410px;
	height: 308px;
	background-color: #000000;
	text-align: center;
	font-size: 150%;
	color: #ffffff;
}

#content #videoscreen strong {
	display: block;
	padding-top: 100px;
}

#content h1 { 
	width: 904px;
	height: 140px;
	background: url(../i/content_h1_webzine.jpg) 0px 0px no-repeat #790707;
	text-indent: -9999px;
}

#content fieldset {
	border: none;
	margin: 0px;
	padding: 0px;
}

#content fieldset label {
	display: block;
	float: left;
	clear: left;
	width: 150px;
}

#content fieldset input {
	display: block;
	float: left;
	width: 230px;
}

#content fieldset.search label {
	display: inline;
	width: auto;
	margin-right: 10px;
}

#content fieldset.search input {
	width: 200px;
	margin-right: 10px;
}

#content fieldset.search .submit {
	width: auto;
}

#content fieldset .buttons {
	clear: both;
	padding: 15px 0px 0px 0px;
}

#content fieldset .buttons input {
	float: none;
	width: auto;
	display: inline;
}

#team #content h1 { 
	background: url(../i/content_h1_rhteam.jpg) 0px 0px no-repeat #790707;
}

#ratsutila #content h1 { 
	background: url(../i/content_h1_rhratsutila.jpg) 0px 0px no-repeat #790707;
}

#talli #content h1 { 
	background: url(../i/content_h1_rhtalli.jpg) 0px 0px no-repeat #790707;
}

#myytavat #content h1 { 
	background: url(../i/content_h1_myytavat.jpg) 0px 0px no-repeat #790707;
}

#content .col0 {
	float: left;
	width: 452px;
	overflow: hidden;
}
#content .col1 {
	float: right;
	width: 452px;
	overflow: hidden;
}

#content .col2 {
	float: right;
	width: 904px;
	overflow: hidden;
}


#content .col0 .colend {
	width: 100%;
	background: url(../i/content_box_col0bottom.png) no-repeat transparent;
	height: 36px;
}

#content .col1 .colend {
	width: 100%;
	background: url(../i/content_box_col1bottom.png) no-repeat transparent;
	height: 36px;
}

#content div.box {
	padding: 20px 20px 30px 20px;
	background: url() repeat-y #cecece;
	margin: 0px;
}

#content div.type0 {
	background: url(../i/content_type0.gif) repeat-x #e4dcd4;
}

#content div.type1 {
	background: url(../i/content_type1.gif) repeat-x #c3b4a1;
}

#content div.type2 {
	background: url(../i/content_type2.gif) repeat-x #ac957b;
}

#content div.horsebanner {
	position: relative;
	background: url(../i/content_banner1.jpg) no-repeat #000000;
	height: 148px;
	overflow: hidden;
}

#content div.banner {
	position: relative;
	height: 148px;
	width: 452px;
	overflow: hidden;
}

#content div.horsebanner p, #content div.horsebanner h3 {
	display: none;
}

#content div.horsebanner a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 148px;
	text-indent: -9999px;
}

#content ul.list0 {
	text-align: right;
	margin-bottom: 15px;
	color: #ffffff;
}

#content ul.list0 li {
	padding: 10px 40px 10px 10px;
	margin: 0px 0px 5px 0px;
}

#content ul.list0 li a {
	display: block;
}

#content ul.list0 li {
	background: url(../i/icon0.gif) 385px center no-repeat #7d6b53;
}

#content ul.list0 li.Tulokset {
	background: url(../i/icon0.gif) 385px center no-repeat #7d6b53;
}

#content ul.list0 li.Hevonen {
	background: url(../i/icon1.gif) 385px center no-repeat #7d6b53;
}

#content ul.list0 li.Aikataulu {
	background: url(../i/icon2.gif) 385px center no-repeat #7d6b53;
}

#content ul.list0 li.name {
	background: url(../i/icon5.gif) 385px center no-repeat #7d6b53;
}

#content ul.list0 li.dob {
	background: url(../i/icon6.gif) 385px center no-repeat #7d6b53;
}

#content ul.list0 li.sukuposti {
	background: url(../i/icon7.gif) 385px center no-repeat #7d6b53;
}

#content ul.list1 {
	text-align: right;
	margin-bottom: 15px;
}

#content ul.list1 li {
	padding: 10px 40px 10px 10px;
	margin: 0px 0px 5px 0px;
	background: url(../i/icon4.gif) 385px center no-repeat #bfb09d;
	overflow: auto;
}

#content ul.list1 li a {
	display: block;
}

#content ul.horses li img {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

#content ul.horses li {
	text-align: left;
	min-height: 200px;
	height: auto !important;
	height: 200px;
}

#content ul.horses li a {
	font-weight: bold;
	font-size: 150%;
	margin-bottom: 15px;
	color: #ffffff;
}

#content ul.horses li {
	padding: 10px 10px 10px 10px;
	margin: 0px 0px 5px 0px;
	background-color: #bfb09d;
	background-image: none;
	overflow: auto;
	color: #000000;
}

#content div.familytree {
	position: relative;
	top: -14px;
	margin-bottom: 0px;
	background-color: #6f6f6f;
	padding: 10px;
}

#content div.familytree .familytree td{
	border: solid 1px #ffffff;
	text-align: center;
	padding: 3px;
	font-size: 90%;
}

#content div.familytree .familytree {
	width: 100%;
}

#content .horsemedia h4 {
	position: relative;
	background-color: #6f6f6f;
	margin: 3px 0px 3px 0px;
	padding: 10px;
}

#content .horsemedia h4 input {
	position: absolute;
	right: 10px;
	top: 10px;
}

#content #photogallery img {
	border: solid 2px #ffffff;
}

#content #photogallery td {
	text-align: center;
	width: 132px;
	padding: 5px;
	background-color: #6f6f6f;
	border: solid 2px #000000;
}

/* footer */

#footer {
	position: relative;
	top: -5px;
	clear: both;
	height: 131px;
	overflow: hidden;
	background: url(../i/footer_bg.gif) repeat-x #191919;
}

#footer ul {
	position: relative;
	width: 904px;
	margin: 0px auto 0px auto;
	clear: both;
}

#footer ul li {
	float: left;
}

#footer ul.sponsors {
	height: 70px;
	width: 791px;
	background: url(../i/footer.gif) no-repeat transparent;
	overflow: hidden;
}

#footer ul.sponsors a {
	position: absolute;
	top: 20px;
	left: 0px;
	height: 35px;
	text-indent: -9999px;
}

#footer ul.sponsors li.s1 a {
	width: 130px;
	left: 0px;
}

#footer ul.sponsors li.s2 a {
	width: 130px;
	left: 135px;
}

#footer ul.sponsors li.s3 a {
	width: 130px;
	left: 270px;
}

#footer ul.sponsors li.s4 a {
	width: 120px;
	left: 405px;
}

#footer ul.sponsors li.s5 a {
	width: 130px;
	left: 530px;
}

#footer ul.sponsors li.s6 a {
	width: 130px;
	left: 660px;
}

#footer ul.info {
	height: 70px;
	width: 791px;
	background: url(../i/footer.gif) 0px -74px no-repeat transparent;
	overflow: hidden;
	text-indent: -9999px;
}

/* lightbox stuff */

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(/i/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/i/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }

