body {
	background:url(../Images/bg-tile.gif) repeat;
	color:#00355F;
	margin:0;
	padding:0;
}
a {
	color:#022b4d;
	text-decoration:none;
}
a:hover {
	color:#c2b338;
}
.headerShadow{
	background:url(../Images/bg-header.png) no-repeat center;
	height:48px;
	margin:0px auto 0px auto;
	width:960px;
}
.headerContainer {
	height:137px;
	vertical-align:middle;
	display:table;
}
.headerLogo {
	float:left;
	width:221px;
}
.headerText {
	float:right;
	text-align:right;
}
.headerAddress {
	margin-right:20px;
	font-size:12px; 
	font-family:'Trebuchet MS', Arial, Helvetica, sans-serif;
}
.headerText h1 {
	margin-right:35px;
	text-transform:;
	color:#c2b338;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-weight:normal;
	display:block;
	font-size:24px;
	margin-bottom:0px;
	margin-top:50px;
	text-align:right;
}
.container {
	margin:0px auto 0px auto;
	width:960px;
	text-align:center;
	background-color:#FFFFFF;
	text-align:left;
	padding-bottom:10px;
	clear:both;
}

h2 {
	margin-bottom:0px;
	line-height:20px;
}
/*
.ContactFormSubmit {
	margin-left:42%;
	width:70px;
	font-size:13px;
	font-weight:bold;
	background-color:transparent;
	background-image:url(/Domains/www.bobbaffert.com/Images/iconBlue.gif);
	background-repeat:no-repeat;
	background-position:left;
	color:#FFFFFF;
	padding-left:25px;
}
.ContactFormSubmitLayout {
	text-align:left;
}
*/
a.PrimaryNavigation {
	display:block;
	float:left;
	height:49px;
	width:130px;
	line-height:49px;
	color:#022E50;
	text-transform:uppercase;
	font-size:15px;
	padding-bottom:5px;
	font-weight:normal;
	text-align:center;
	background-image:none;
	font-family:Arial, Helvetica, sans-serif;
}

a.PrimaryNavigation:hover {
	background-image:url(../Images/bg-nav-button.gif);
	background-position:center;
}

.content {
	clear:both;
	margin:20px 20px 0 20px;
	padding:0 0 20px 0;
	border-bottom:1px solid #C3B43C;
}

.content .left {
	float:left;
	border-right:1px solid #C3B43C;
	padding:10px 30px 0 10px;
	width:526px;
}

.content .right {
	float:left;
	border-left:1px solid #C3B43C;
	maring-left:-1px;
	left:-1px;
	position:relative;
	padding:10px 0 0 14px;
	width:316px;
}

.full {
}

.homeNewsBlock {
	font-size:13px;
}

.clear {
	clear:both;
}
/*Horse GridView*/

.GridViewHorsesClass {
	width:100%;
	background-color:#ffffff;
	margin-left:0px;
}

.GridViewHorsesRow, .GridViewHorsesRowAlt {
	padding:15px 0 15px 0;
	text-align:left;
	border-top:1px solid #C2B338;
	clear:both;
	font-weight:bold;
	}

.GridViewHorsesRowAlt {
}

div.rightGrid > div:first-child {
	border-top:none;
}

.GridHorseThumb {
	border:#000000 0px solid;
	background-color: #FFF;
	width:150px;
	margin-right:10px;
	display:none;
}

.rosterPage .GridHorseThumb {
	border:#000000 0px solid;
	background-color: #FFF;
	width:150px;
	margin-right:10px;
	float:left; 
	display: block;
}

.rosterPage .gridHorseHeadline {
	font-family:"Times New Roman", Times, serif;
	text-transform:capitalize;
	margin-bottom:0px;
	font-size:16px;
	line-height:30px;
	clear:both;
}

.GridHorseThumb a img {
	width:150px;
	border:0px;
}

.GridHorseDetails {
}

.GridViewPeopleClass img {
	border:#000000 1px solid;
	width:200px;
	}

.stallionConfMed {
	float:right;
	margin-left:20px;
}

.gridHorseName {
	margin-top:0px;
	font-size:28px;
	font-family:"Times New Roman", Times, serif;
	line-height:28px;
	margin:0;
}
	
.gridHorseName a {
	color:#022A4C;
}

.gridHorseHeadline {
	font-family:"Times New Roman", Times, serif;
	text-transform:capitalize;
	margin-bottom:0px;
	font-size:16px;
	line-height:30px;
	clear:both;
	display:none;
}

.gridHorseBreedline {
	font-size:16px;
	margin:0;
	color:#C2B338;
	font-family:"Times New Roman", Times, serif;
}

.gridHorseBroodmareSire {
	font-size:14px;
	color:#C2B338;
}

.gridFeeConditions {
	font-size:14px;
	margin:20px 0 0 0;
}


.rosterPage .GridHorseThumb {
	border:#000000 0px solid;
	background-color: #FFF;
	width:150px;
	margin-right:10px;
	float:left; 
	display: block;
	border:1px solid #999;
	margin-bottom:10px;
}

.rosterPage .gridHorseHeadline {
	font-family:"Times New Roman", Times, serif;
	text-transform:capitalize;
	margin-bottom:0px;
	font-size:16px;
	line-height:30px;
	clear: none;
	display:block;
}

.rosterPage .gridFeeConditions {
	font-size:13px;
	margin:0px 0 0 0;
}



/* NEWS */

.homeNewsBlock .newsImg {
	margin:30px 0 0 0;
}

.smallNewsCategoryLink {
	display:block;
/*	margin-top:0px;
	font-style:italic;
	font-size:10px;
	margin-bottom:10px;*/
	margin-left:0px;
	font-size:12px;
}

.smallNewsCategoryLink a {
	display:inline;
}

.author  {
	float:left;
	padding-right:5px;
	padding-left:5px;

}

.homeRightDiv .author  {
	display:none;
}

.publishedDate {
	display:block;
	color:#c2b338;
	font-size:10px;
}

.newsDetail .publishedDate {
	margin-left:0px;
	font-size:12px;
}

.source {
	float:left;
	margin-left:10px;
}

.catTitle {
	float:left;
	padding-right:5px;
	font-weight:normal;
	margin-bottom:3px;
}

.catTitle a {
	font-weight:normal;
	text-transform:uppercase;
}

.newsInfo {
}
/*
.left .catThumb img {
	margin-right:10px;
	width:100px;
}*/

.catThumb img {
	margin-right:20px;
	width:88px;
}

.newsBody {
	padding-top:10px;
	clear:both;
}

.left .newsListBlockAlt {
}

.newsHeader, .full h2 {
	text-transform:;
	border-bottom:#C3B43C dotted 2px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-weight:normal;
	display:block;
	font-size:24px;
	text-align:left;
	line-height:30px;
	margin-bottom:5px;
}

.newsListBlock, .newsListBlockAlt {
	margin-bottom:0;
	margin-top:30px;
	padding:0px;
	}
	
.news-categories ul
{
    margin: 0;
	padding: 0;
	list-style-type: none;
}

.newsBlockDatePublished {
	
}

.newsBlockItem {
	
}

.newsBlockHeader, .newsBlockHeader h4 {
	font-size: 13px;
	font-family:Verdana, Geneva, sans-serif;
	font-weight:bold;
	clear:both;
	margin:0px 0px 3px 0px;
}

.newsBlockHeader a {
	font-size:14px;
	line-height:14px;
	margin-bottom:5px;
	font-weight:600;
	text-transform:uppercase;
	color:#00355F;
}

.newsBlockHeader a:hover {
	color:#C2B338;
}

.homeNewsBlock .summary {
	line-height:14px;
}

.newsCategoryLinks .thumbnail {
	display:none;	
}

.homeNewsBlock .summary a {
	color:#00355F;
	display:block;
	clear:both;
}

.homeNewsBlock .summary a:hover {
	color:#C2B338;
}


.homeNewsBlock #PanelArticlesOverview {
	border-top:1px solid #C3B43C;
	margin-top:20px;
	padding-top:0;
}

.readMore {
	display:none;	
}

/*horses details */


.horseHeaderHolder{
	text-align:left; 
	/*margin:15px 20px 15px 30px;*/
	margin: 15px 0 15px 0;
	height:35px;
	border-bottom:#C3B43C dotted 2px;
}

h2.StallionNameBig {	
	margin-top:0px; 
	padding-top:3px; 
	padding-right:30px;
	float:left; 
	font-size:36px;
	color:#000000;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-weight:normal;
	display:block;
	text-align:left;
	line-height:27px;
	margin-bottom:0px;
}

.Breedline {
	margin-top:0px;
	margin-bottom:0px;
	padding-top:0px;
	padding-bottom:0px;
	font-size:16px;
	line-height:16px;
}

.horseGrid th {
	background-color:#222222;
}

.horseFooter {
}

.HorseRegistry {
	background-color:#FFFFFF;
	text-align:center;
	display:table;
	width:175px;
	border:#666666 1px solid;
	padding:5px 0px 5px 0px;
	margin-bottom:10px;
}
.lbOwnership {
	display:none;
}
.horseHeadline {
	text-transform: capitalize;
	font-size:18px;
}
.FoaledProvince {
	display:none;
	}
.lbHorseSexID {
	}
.lbHorseSex .nicking {
	display:none;
}
.lbDosageProfile {
	display:none;
}

.LocationOwnership {
	display:none;
}
.HorseName {
	margin-bottom:3px;
}
.HorsePhotoMain img {
	border:#000000 1px solid;
	margin-top:10px;
	float:right;
}

.HorsePerfomance {
	margin-top:0px;
	clear:none;
	margin-bottom:10px;
	background-color:#ffffff;
	border:0px solid #333333;
	padding:0px;
}

.HorsePerfomance .auction_box {
	width:100%
}

.HorsePerfomance .auction_box td {
	padding:3px;
}

.box_category {
    color: #ffffff;
	background-color: #002C50;
	font-weight:bold;
}

.box_row {
	background-color:#;
}

.box_row_alt {
	background-color:#C3B43C;
}

.AdministrativeHorseInfo {
	font-size:8px;
	margin:10px 0px 10px 0px;
	}

/*Track Key Styles*/

.trackKeyDiv {
	text-align:center;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:11px;
	
}

.trackKeyDiv h2{
	
}

.trackKeyTable {
	margin:0px auto 0px auto;
	border:1px #000000 solid;
	
}

.trackKeyTable th {
	background:#000000;
	color:#FFFFFF;
	text-align:left;
	padding-left:5px;
	padding-right:5px;
}

.trackKeyTable td {
	padding-left:5px;
}


.trackKeyTable td p {
	margin:0px; padding:0px;
	text-align:left;

}

.alt {
	background:#e9e9e9;
}

/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none !important;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}
#stallion {
    margin: 0;
    padding: 0;
}

#stallion .subTable {
	margin-bottom:5px;
	margin-top:0px;
}

.stallionLeft {
	margin-right:0px;
}

.subRightCell {
}

.subLeftDiv {
	margin-right:20px;
	margin-top:20px;
	text-align:left;
	line-height:16px;
}

.subRightDiv {
	padding:0px;
}

.subRightCell {
/*	background-image:url(/domains/www.gainesway.com/Images/subRightColBG.gif);
	background-position:center;
	background-repeat:repeat-y;*/
	text-align:left;
}

.stallionLeft .subLeftDiv {
	margin-right:20px;
	margin-top:0px;
	text-align:left;
}

/* Skin */

.ui-tabs-nav, .ui-tabs-panel {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: 12px;
	background-image:url();
	background-position:bottom right;
	background-repeat:no-repeat;
}
.ui-tabs-nav {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
	background-color:#C3B43C;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    margin: 0;
    font-weight: normal;
}
.ui-tabs-nav a, .ui-tabs-nav a span {
    float: left; /* fixes dir=ltr problem and other quirks IE */
    padding: 0 12px;
/*    background: url(http://dev.jquery.com/view/tags/ui/latest/themes/flora/i/tabs.png) no-repeat;*/
}
.ui-tabs-nav a {
    margin: 0; /* position: relative makes opacity fail for disabled tab in IE */
    padding-left: 12px;
/*    background-position: 100% 0;*/
    text-decoration: none;
    white-space: nowrap; /* @ IE 6 */
    outline: 0; /* @ Firefox, prevent dotted border after click */    
}
.ui-tabs-nav a:link, .ui-tabs-nav a:visited {
    color: #002C50;
	background-color:#C3B43C;
}

.ui-tabs-nav a:hover{
    color: #ffffff;
	background-color: #002C50;
}
.ui-tabs-nav .ui-tabs-selected a {
    position: relative;
	background-color:#002C50;
	color:#FFFFFF;
/*    top: 1px;
    z-index: 2;
    margin-top: 0;*/
/*    background-position: 100% -23px;*/
}
.ui-tabs-nav a span {
    padding-top: 1px;
    padding-right: 0;
    height: 20px;
    background-position: 0 0;
    line-height: 20px;
}
.ui-tabs-nav .ui-tabs-selected a span {
    padding-top: 0;
    height: 27px;
/*    background-position: 0 -23px;*/
    line-height: 27px;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited,
.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}
.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited {
    color: #000;
}
.ui-tabs-panel {
    padding: 10px;
    background-color: #ffffff;
    background: #ffffff; /* declare background color for container to avoid distorted fonts in IE while fading */
}
/*.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(loading.gif) no-repeat 0 50%;
}*/

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* auto clear @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}

#stallion ul .tabs {
	line-height:20px;
	border-right:1px solid #e9e9e9;
	}

.registries {
	float:right;
	margin-right:10px;
	display:block;
	background-color:#FFFFFF;
	z-index:1000;
	}
.registries a:hover {
	background-color:#FFFFFF;}


/*Horse Generational Ped */
.pedigreetable { width:100%; clear:both;}
.pedigreetable td { margin:0px; font-size:10px; border:1px solid #333; padding:3px;}
.f {background-color:#436c8d; color:#C2B338;}
.m {background-color:#ebe086; color:#002C50;}
.w {background-color:#FFFFFE;}
.w2 {background-color:#FFFFFE; }
.xf {background-color:#cc9999;}
.xm {background-color:#9999cc;}
.pedigreetable .f A {text-decoration:none; color: #C2B338}
.pedigreetable .m A {text-decoration:none; color: #002C50}
.fff {background-color:#666; border-bottom-width:1; border-color:black; border-style:solid; border-top-width:0; border-left-width:0; border-right-width:0}
.ffm {background-color:#333; border-bottom-width:1; border-color:black; border-style:solid; border-top-width:0; border-left-width:0; border-right-width:0}

.ui-tabs-hide { display: none; }

.ContactFormSubmit {
	border:1px solid #000000;
	background-color:#C0C0C0;
    color: Black;
	width:100%;
}

.ContactFormSubmit:hover {
	background-color:#e9e9e9;
}


#ctl00_ContentPlaceHolder1_ContentView1_PanelEditControlsWindow {
	clear:both;
}
input {
	width:98%;
	min-width:200px;
	margin-right:3px;
	padding:3px;
}

select, textarea, input {
	font-size:12px;
	background-color:#e9e9e9;
	border:1px solid #999999;
}

.ContactFormSubmit {
	border:1px solid #000000;
	background-color:#C0C0C0;
    color: Black;
	width:15%;
	margin:0 auto 0 auto;
	display:block;
}

.ContactFormSubmit:hover {
	background-color:#e9e9e9;
}

.contactFormTable {
	border:1px solid #CCCCCC;
	border-top:0px;
	border-left:0px;
	width:100%;}

.contactFormTable td {
	border:1px solid #CCCCCC;
	border-right:0px;
	border-bottom:0px;
}


textarea {
	width:98%;
	height:200px;
	margin-right:3px;
	padding:3px;
}


/*PHOTO GALLERY*/


.PhotoGalleryText
{
   padding: 5px;
   font-weight: bold;
}

.galleryItem
{
    float: left;
    margin-right: 12px;
    margin-bottom: 12px;
	padding:0px;
	height:108px;
	overflow:hidden;
    border: 1px solid #000000;
	display:block;
   	width:160px;	
   }

.PhotoGalleryImage
{
   border: 0px;
   width:170px;
   

}

.PhotoAlbumDetails
{
   font-size: .70em;
   font-weight: normal;
   font-style: italic;
}

.gallery {
   
}

.gallery img
{
    border: 0px solid #000000;
	padding:0px;
}
   
.gallery a:hover img
{
	    border: 0px solid #000000;
}
    
.gallery a:hover
{
	    border: 0px solid #000000;
}



.galleryContainer
{
	border:0px solid #000;
	display:table;
	clear:both;    
}

.galleryListBox {
	
    
}