/* @group Layout */

body{
	margin: 0;
	padding: 0;
	background: url(images/mainbg.jpg) repeat-x;
	font-size: 100%;
}
body, p{
	
}

a{
	color: #067f08;
}

a:visited{
	color: #bb843b;
}
a.fancy_button{
	width: 197px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: #19472d;
	font: bold 13px Georgia, "Times New Roman", Times, serif;
	text-transform: uppercase;
	background: url(images/button.jpg) no-repeat center center;
	height: 34px;
	padding-top: 16px;
}
a:hover.fancy_button{
	background-image: url(images/button_over.jpg);
}

h1, h2, h3, h4, h5, h6{
	margin-top: 0;
	margin-bottom: 0;
	font-weight: normal;
	font-style: normal;
}

input, textarea{
	border: 1px solid #9bb89a;
	background-color: #fbf7ec;
}

/* An extra div if needed, not plugged into the HTML by default */
#contact{
	
}
#container{
	display: block;
	margin: auto;
	width: 878px;
	background: url(images/containerbg.jpg) no-repeat;
	padding-left: 14px;
	padding-right: 14px;
	}
#header{
	display: block;
	width: 878px;
	margin: auto;
	padding-top: 20px;
	height: 212px;
}

#logo{
	display: block;
	float: left;
	height: 211px;
	border-top: 1px solid #11311f;
}

#headpic{
	display: block;
	float: right;
	height: 211px;
	border-top: 1px solid #11311f;
}
/*
#wrapper{
	width: 868px;
	display: block;
	height: 110px;
}
*/

#nav{
	display: block;
	float: left;
	width: 188px;
}
#homebutton{
	background-color: #18452c;
	font: 12px Verdana, "Lucida Grande", Lucida, sans-serif;
	height: 28px;
}

#homebutton a{
	display: block;
	color: #fff;
	text-decoration: none;
	padding-left: 10px;
	padding-top: 7px;
	padding-bottom: 6px;
}

#homebutton a:hover{
	background-image: url(images/over.jpg);
}

#content{
	display: block;
	float: right;
	width: 659px;
	background: url(images/content_bg.gif) no-repeat;
	font: 12px Verdana, "Lucida Grande", Lucida, sans-serif;
	text-align: justify;
	padding: 10px 11px 10px 20px;
	min-height: 200px;
}

/*#content img{
	padding: 8px;
	background-image: url(images/extras/picbg.gif);
	border-top: 1px solid #f4f1e1;
	border-right: 1px solid #cbc8b8;
	border-left: 1px solid #cbc8b8;
	border-bottom: 1px solid #bbb69f;
}*/

#clear{
	display: block;
	clear: both;
}

#footer{
	display: block;
	clear: both;
	text-align: center;
	font: 12px Verdana, "Lucida Grande", Lucida, sans-serif;
	padding-top: 10px;
	padding-bottom: 10px;
	background: #f5f7f4 repeat-x 0 bottom;
	border: 1px solid #e8efe8;
}

#footer a{
	text-decoration: none;
}

#footer a:hover{
	color: #7b5a29;
	text-decoration: underline;
}

#api{
	font: 10px "Lucida Grande", Lucida, Verdana, sans-serif;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
}

.quotetable{
	text-align: center;
	color: #18442b;
	font: italic 23px Times, "Times New Roman", Georgia, serif;
	margin: 6px;
}

.quotetable td{
	background-color: #abb384;
	padding: 26px;
	background-image: url(images/quote_bg1.jpg);
	border-top: 2px solid #19472d;
	border-bottom: 2px solid #19472d;
}

#pagetitle{
	background-image: url(images/pagetitlebg.jpg);
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 6px;
	color: #19462c;
	margin-top: 3px;
	font-family: Times, "Times New Roman", Georgia, serif;
}

#pagetitle h1{
	font-style: italic;
}

.storytable{
	font: 12px Verdana, "Lucida Grande", Lucida, sans-serif;
	text-align: justify;
	background: url(story/images/storytablebg.jpg) no-repeat;
	padding: 4px;
}

.adthumb td{
	border: 1px solid #999;
	background: #e4ebe3 url(images/adbg.gif) no-repeat;
	padding: 2px 2px 0;
}

#phototour{
	z-index: -2000;
	display: block;
}

/* @end */

/* @group EPDs and Pedigrees */

.left{
	float: left;
	margin-right: 1em;
	}
.right{ 
	float: right;
	margin-left: 1em;
	}
.clear{
	clear: both;
	}
.animal{
	float: left;
	margin-right: 1em;
	width: 310px;
	text-align: left;
}
.animal img{
	float: left;
	margin-right: 1em;
	border: 1px solid;
}

.PedAnmName{
	font-size: 2.5em;
}

.PedCalvedRow{
	font-size: 1.25em;
	font-style: italic;
}

.PedS, .PedD{
	background-color: #bee2bd;
	font-weight: bold;
}
.PedPGS, .PedPGD, .PedMGS, .PedMGD
{
	margin-left:35px;
}

.PedTable
{
	padding:10px;
}

.PedTable td
{
	padding: 0px 20px 10px 0px;
}
.EPDProdTable, .EPDMatTable, .EPDCarcTable, .EPDValueTable, .DamProdAvgTable{
	border-bottom: 1px solid #000;
	border-left: 1px solid #000;
	margin-bottom: 5px;
	width: 400px;
}

.EPDProdTable td, .EPDMatTable td, .EPDCarcTable td, .EPDValueTable td, .DamProdAvgTable td{
	border-top: 1px solid #000;
	border-right: 1px solid #000;
	padding: 3px;
}

.EPDProdHeaderProd, .EPDMatHeader, .EPDCarcHeader, .EPDValueHeader, .DamProdAvgHead {
	background-color: #19472d;
	color: #fff;
	font-weight: bold;
	text-align: center;
}

.EPDProdSubHeader, .EPDMatSubHeader, .EPDCarcSubHeader, .EPDValueSubHeader, .DamProdAvgSubHead{
	background-color: #d8af59;
	font-size: 10px;
	color: #000;
	text-align: center;
}

.EPDProdDataRow, .EPDMatDataRow, .EPDCarcDataRow, .EPDValueDataRow, .DamProdAvgData{
	font-size: 12px;
	font-family: "Gill Sans", Futura, "Trebuchet MS", sans-serif;
	text-align: center;	
}
.EPDAcc
{
	padding-left:15px;
}

.EPDAsOfDt
{
	font-size: 12px;
}
/* @end */

/* @group GeneStar Table */
#genestar{
	border-bottom: 1px solid #000;
	border-left: 1px solid #000;
}

#genestar td{
	border-top: 1px solid #000;
	border-right: 1px solid #000;
	padding: 2px;
	text-align: center;
}

.gs_head{
	padding: 2px;
	background-color: #0c4c89;
	color: #fff;
	font-weight: bold;
}

.gs_subhead{
	background-color: #bc2d27;
	color: #fff;
}
/* @end */

/* @group lightbox */

#lightbox {
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}

#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: transparent url(../images/blank.gif) no-repeat;

/* Trick IE into showing hover */
	display: block;
}

#prevLink {
	left: 0;
	float: left;
}

#nextLink {
	right: 0;
	float: right;
}

#prevLink:hover, #prevLink:visited:hover {
	background: url(../images/prevlabel.gif) left 15% no-repeat;
}

#nextLink:hover, #nextLink:visited:hover {
	background: url(../images/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;
}

#overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
}



/* @end */
