/* CSS Document DROP DOWN SAFE */
html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	}

body {font-family: verdana, arial, sans-serif; 
	font-size:100%;
	color: #333333;
	background: #003366;
	behavior: url(css/csshover.htc);}
	* {margin:0; padding:0;
	
	}

span {
	font-style: italic; 
	font-style:bold; 
	font-size:110%; 
	font-color:#003300
	}

#wrapper {
	background-color: #FFFFFF;
	width: 750px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: -0px;
	margin-left: auto;
	text-align: left;
	border-right-width: 3px;
	border-left-width: 3px;
	border-bottom-width: 3px;
	border-right-style: solid;
	border-left-style: solid;
	border-bottom-style: solid;
	border-right-color: #6699CC;
	border-left-color: #6699CC;
	border-bottom-color: #6699CC;
	}
	
.clearthefloats {clear:both;}
	
/*BANNERS*/

#banner {
	height: 213px;
	background-image: url(../images/home_banner.jpg);
	background-repeat: no-repeat;
	}
.bannerpursuit {
	height: 213px;
	background-image: url(../images/pursuit_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannerdowning{
	height: 213px;
	background-image: url(../images/downing_banner.jpg);
	background-repeat: no-repeat;
	}

.bannertimeline {
	height: 213px;
	background-image: url(../images/timeline_banner.jpg);
	background-repeat: no-repeat;
	}

.bannerboarding {
	height: 213px;
	background-image: url(../images/boarding_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannerracing {
	height: 213px;
	background-image: url(../images/racing_banner.jpg);
	background-repeat: no-repeat;
	}

.bannercomplex {
	height: 213px;
	background-image: url(../images/complex_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannerbloodstock{
	height: 213px;
	background-image: url(../images/bloodstock_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannerracing {
	height: 213px;
	background-image: url(../images/racing_banner.jpg);
	background-repeat: no-repeat;
	}
	
	
.bannerresident {
	height: 213px;
	background-image: url(../images/resident_banner.jpg);
	background-repeat: no-repeat;
	}


.banneremeritus {
	height: 213px;
	background-image: url(../images/emeritus_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannercommentaries {
	height: 213px;
	background-image: url(../images/commentaries_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannerassociations {
	height: 213px;
	background-image: url(../images/associations_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannerbreeding{
	height: 213px;
	background-image: url(../images/breeding_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannerapplications {
	height: 213px;
	background-image: url(../images/applications_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannerlogin {
	height: 213px;
	background-image: url(../images/login_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannergallery {
	height: 213px;
	background-image: url(../images/gallery_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannerfounders {
	height: 213px;
	background-image: url(../images/founders_banner.jpg);
	background-repeat: no-repeat;
	}

.bannermanagement {
	height: 213px;
	background-image: url(../images/management_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannerawards {
	height: 213px;
	background-image: url(../images/awards_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannercontact {
	height: 213px;
	background-image: url(../images/contact_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannervisit {
	height: 213px;
	background-image: url(../images/visit_banner.jpg);
	background-repeat: no-repeat;
	}
	
.bannerprivacy {
	height: 213px;
	background-image: url(../images/privacy_banner.jpg);
	background-repeat: no-repeat;
	}
	
.banneruc {
	height: 213px;
	background-image: url(../images/uc_banner.jpg);
	background-repeat: no-repeat;
	}
	
/*MAIN NAV STYLES*/

/* the horizontal menu starts here */
div#listmenu {
	width:100%; /* makes the div full width */
	float:left;
	border-top:1px solid #003366;	/* draws line on top edge of div */
	border-bottom:1px solid #003366;	 /* draws line on bottom edge of div */
	font-size:.52em;	/* SET FONT-SIZE HERE */
	background-color:#CCCC80; /* colors the div */
	/*margin-top:20px; /* TEMPORARY - pushes the div away from the top of the browser for clarity in this example*/
	}
div#listmenu ul {
	margin:0 0 0 30px;/* indents ul from edge of container - NOTE: diff value for IE in hacks below */
	}
div#listmenu li {
	float:left;	/* causes the list to align horizontally instead of stack */
	position:relative; /* positioning context for the absolutely positioned drop-down */
	list-style-type:none;	/* removes the bullet off each list item */
	background-color:#CCCC80; /*sets the background of the menu items */
	border-right:1px solid #666600; /* creates dividing lines between the li elements */
	}
div#listmenu li:first-child {
	border-left:1px solid #666600; /*the first vertial line on the menu */
	}

div#listmenu li:hover { 
	background-color:#993300; /*sets the background of the menu items */
	}
div#listmenu a {
display:block;
	/*padding:1px 6px; /*creates space each side of menu item's text */
	padding-top: 0;
	padding-right: 13px;
	padding-bottom: 0;
	padding-left: 14px;
	text-decoration:none;	 /* removes the underlining of the link */
	text-transform: uppercase;
	color:#003366;	/* sets the type color */
	line-height: 2.5em;
	}
div#listmenu a:hover {
	color:#CCCC80;
	}
/* the menu ends here */
/* the drop-down starts here */
div#listmenu ul li ul {
	margin:0; 
	z-index:10; /* puts drop-down on top of div - Safari needs this as menu is 1px higher */
	position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */
	width:22em; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
	border-right:0; /* stops SCBs drops having two right borders - they inherit the border, IE doesn't */
	left:-1px; /*aligns the drop exactly under the menu */
	font-size: 1em;	/* SET FONT-SIZE HERE */
	}
div#listmenu ul li ul li {padding:0;
	width:100%; /* makes the list items fill the list container (ul) */
	border-left:1px solid #003366; /*  three sides of each drop-down item */
	border-bottom:1px solid #003366;
	border-right:1px solid #003366;}
div#listmenu ul li ul li a {padding:1px .5em;}
div#listmenu ul li ul li:first-child {
	border-top:1px solid #003366; /*the top edge of the dropdown */
	}
/* make the drop-down display as the menu is rolled over */
div#listmenu ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
div#listmenu ul li:hover ul {display:block; } /* shows the drop-down when the menu is hovered */

/*CURRENT STATE */
div#listmenu ul li a:hover, #nav ul li a:focus {
	color: #CCCC80;
	background-color: #993300;
	}
	
div#listmenu ul li a.current{
font-style:bold; 
color: #FFFFFF;
}
/*CURRENT STATE ENDS */

/* pop-out starts here */
body div#listmenu ul li ul li ul  {
	position:absolute; 
	visibility:hidden; /* same effect as display:none in this situation */
	top:-1px;
	left:10em;
	}
div#listmenu ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */

/* second level popouts start here*/
div#listmenu ul li ul li:hover ul li ul {visibility:hidden;}
div#listmenu ul li ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */

/* THE HACK ZONE - */
/* hack for IE (all flavors) so the menu has a vertical line on the left */
* html div#listmenu ul {
	float:left; /* makes the ul wrap the li's */
	border-left:1px solid #000; /* adds the rightmost menu vertical line to the ul */
	margin-left:15px; /* IE doubles the given value above - why? */
	}

/* add a top line to drops and pops in IE browsers - can't read :first-child */
* html  div#listmenu ul li ul {
	border-top:1px solid #069;
	border-left:0px; /* stops the drop inheriting the ul border */
	}
/* the Tantek hack to feed IE Win 5.5-5.0 a lower value to get the pop-out to touch the drop-down */
* html  div#listmenu ul li ul li ul { 
  left:9.85em; 
  voice-family: "\"}\""; 
  voice-family:inherit;
  left:10em;
  } 
/* and the "be nice to Opera" rule */
html>body div#listmenu ul li ul li ul {
  left:10em;
} 

/* an Opera-only hack to fix a redraw problem by invisibly extending the ul */
/* the first-level drop stays open for 100px below the bottom but at least it works */
/* this can be reduced to as little as 22px if you don't have pop-outs */
/* the pop-out menu stays open for 22px below the bottom but at least it works */
	@media all and (min-width: 0px){
   body div#listmenu ul li ul {padding-bottom:100px;}
   body div#listmenu ul li ul li ul {padding-bottom:22px;}
   ul li ul li ul li ul li:hover {visibility:visible;} /* same effect as display:block in this situation */

   }
/*end Opera hack */
/* END OF HACK ZONE */
/* the drop-down ends here */
/* END OF LIST-BASED MENU */


 
 h1{
	font-size: 120%;
	color: #003366;
	padding: 0;
	margin: 20px;
	font-family: Georgia, "Times New Roman", Times, serif;

	}

h2{
	font-style: italic;
	font-size: 80%;
	color: #993300;
	padding: 0;
	margin-left: 20px;
	margin-right:20px;
	line-height:1.5em;
	margin-bottom: 20px;
	}
	


 h3{
	font-size: 90%;
	color: #003366;
	padding: 0;
	margin-left: 20px;
	margin-right: 20px;
	line-height:1.3em;
	font-family: Georgia, "Times New Roman", Times, serif;
	margin-top: 0px;
	}
	
	
h3 .founder{
	font-size: 90%;
	color: #003366;
	padding: 0;
	margin-left: 20px;
	margin-right: 20px;
	line-height:1em;
	font-family: Georgia, "Times New Roman", Times, serif;
	margin-top: 0px;
	border-bottom-style: none;
	border-top-style: none;
	border-right-style: none;
	border-left-style: none;
	}
	
	
 h6{
	font-size: 110%;
	color: #993300;
	padding: 0;
	margin-left: 20px;
	margin-right: 20px;
	font-family: Georgia, "Times New Roman", Times, serif;
	margin-top: 10px;
	}
	
 h5{
	font-size: 85%;
	color: #993300;
	padding: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	margin-top: 0px;
	margin-right: 20px;
	margin-bottom: 5px;
	margin-left: 20px;
	}
	
p {
	font-size: 70%;
	line-height: 18px;
	margin-right: 20px;
	margin-left: 20px;
	}
	
.leftimage{
	float: left;
	border: 1px solid #000000;
	margin-top: 10px;
	margin-right: 20px;
	margin-bottom: 10px;
	margin-left: 0px;
	}
	
.leftimagelist{
	float: left;
	border: 1px solid #000000;
	margin-top: 0px;
	margin-right: 20px;
	margin-bottom: 250px;
	margin-left: 0px;
	}
	
.leftimageborder{
	border: 1px solid #003366;
	}
	

#footer{
	clear: both;
	height: 70px;
	border-top: 1px solid #000000;
	background-color: #003366;
	color: #FFFFFF;

	}

#footer p {
	font-size: 68%;
	padding: 5px;
	text-align: center;
	}
	
#footer a{
	padding: 5px;
	text-align: center;
	color: #FFFFFF;
	}

#leftcol{
	margin-left: 10px;
	background-color: #FFFFFF;
	float: left;
	margin-top: 20px;
	margin-bottom:500px;
	left: 100px;
  }
  
.container{
  width: 100%;
  float: right;
  background-color: #FFFFFF;
  }


a{
	font-family: Arial, Helvetica, sans-serif;
	color: #993300;
	text-decoration: underline;
	font-size: 105%;
	}

#content ul{
	margin-left: 30px;
	padding: 0px;
	color: #666666;
	}
	
#content ul li {
	margin: 0px;
	padding: 0px;
	font-size: 80%;
	line-height: 24px;
	color: #666666; 
	list-style-position:outside;
	list-style-type:square; 
	}	
	

/* START OF THE FORMS CSS*/
div#formcontainer {
	margin-left:10px;
	}
	
div#formcontainer h3 {
	margin:20px 0 0 10px;
	font-weight:bold; 
	font-size:.8em;
	} /* adjust top margin for your context */
	
div#formcontainer h4 {
	margin:0 0 5px 10px; 
	font-weight:normal; 
	font-size:.75em;
	}
	
div#formcontainer form  {
	border-top: 1px solid #003366; 
	border-bottom: 2px solid #003366;
	} /* the top border is visually 1 px thicker because it touches the div.clearfix bordertop */
	
	
div#formcontainer div.clearfix {
	border: 1px solid #003366; 
	padding:10px 0px; 
	vertical-align:top;
	} /* adds the line above each section and provides vertical spacing */
	
	
div#formcontainer form label {
	width:120px; 
	float:left;
	font-size:.75em; color: #003366;   
	margin:0 10px;} /* this is the text label on the left of each input */
	

/*some extra styles for the checkbox and radio button sets*/	

div#formcontainer div.buttongroup {
	float:left; 
	margin:0px; 
	padding:0px;
	} /* a container for a groups of buttons - suppresses the clearfix div top border on the divs around the radio buttons/checkboxes */
	
div#formcontainer div.buttongroup div {
	margin-bottom:5px; 
	font-size:.75em;
	} /* wrapper for the INPUT and its text - margin-bottom sets the vertical distance between buttons */
	
div#formcontainer div.buttongroup input {
	margin-right:5px;
	} /* set the distance between button and its label text */
	
/* postions the submit button by selecting a div with attribute type SUBMIT - IDWIMIE */
	div#formcontainer input[type="submit"] {
	display:block; 
	margin-left:auto; 
	margin-right:10px;
	}
/* END OF THE FORMS CSS*/


/* here follows the brillant "no-extra-markup" clearing method devised by Tony Aslett - www.csscreator.com */
/* simply add the clearfix class to any containter that must enclose floated elements */
/* read the details of how and why this works at http://www.positioniseverything.net/easyclearing.html */
.clearfix:after {
    content: ".";              /* the period is placed on the page as the last thing before the div closes */
	display: block;          /* inline elements don't respond to the clear property */ 
    height: 0;                  /* ensure the period is not visible */
    clear: both;               /* make the container clear the period */
    visibility: hidden;	     /* further ensures the period is not visible */
}

.clearfix {
	display: inline-block;
	}   /* a fix for IE Mac */

/* next a fix for the dreaded Guillotine bug in IE6 */
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}

 
.boldtext {
	font-size: 70%;
	line-height: 18px;
	margin-right: 20px;
	margin-left: 20px;
	font-weight: bold;
	color: #333333;
}


.gallery {
	font-family: Arial, Helvetica, sans-serif;
	line-height: 18px;
	color: #003366;
	margin-right: 20px;
	margin-left: 20px;
	font-size: 80%;
}
.gallerypop {
	font-family: Arial, Helvetica, sans-serif;
	line-height: 18px;
	color: #FFFFFF;
	margin-right: 20px;
	margin-left: 20px;
	font-size: 80%;
}

