/* layout styles */
body {
	display: block;
	font-family: Arial,Helvetica,Univers,Zurich BT,sans-serif;
  font-size: 1em;
	color: #000;
	background: #BD8C00 url(images/bodybg.gif) repeat-x top left; //white???
	line-height: 1.166;	
	width: 100%;
	margin: 0px;
	padding: 0px;
}
#everything { 
	background: #FFFFFF url(images/shadow.gif) repeat-y right;
/*	min-height: 500px;
	height: 500px; */ 
	width: 80%; 
	margin: 0 10%;
	padding: 0;
}
#masthead{
	align: left;
	margin: 0;
	margin-right: 10px; /* to allow for right shadow img */
	padding: 0;
/*	border-bottom: 1px solid #ccc; */
	background: #FFFFFF url(images/masthead_bg.gif) repeat-x top left;
}
#logo {
	margin: 0;
	padding: 0;
}
#content{
	display: block;
	background: #FFFFFF; 
	border-top: 1px solid #ccc;
	margin: 0;
	margin-right: 10px; /* to allow for right shadow img */
	padding: 0 1em 0 0;
}
#navMenu { 
	position: relative;
	float: left;
	border: 2px solid #333;
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 10em;
	background-color: #CCCC99;
}
#main { 
	margin: 0;
	padding: 0 0 0 11em;
} 
#footer {
	clear: both; 
	height: 55px;
	vertical-align: top;
	width: 94%;
	border-top: 1px solid #cccccc;
	margin: 0;
	margin-right: 10px; /* to allow for right shadow img */
	padding: 10px;
}
/* HTML styles */
p {
  display: block;
  text-align: left;
  margin-top: 0 0 0.5em;
}
a {
	color: #006699;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
/* 
a:link {color:#330000}
a:vlink {color:#CC9900}
a:alink {color: #FF0000}
*/
h1, h2, h3, h4, h5, h6 {
	color:#600;
	margin: 0;
	padding: 0;
}
h1{
	margin: 0.5em 0;
	font-size: 1.4em;
}
h2{
 text-align: left;
 font-size: 1.3em;
 margin-bottom: 0.5em;
}
h3{
 font-size: 1.2em;
 text-align: left;
 margin-bottom: 1em;
}
h4{
 font-size: 1em;
 font-weight: normal;
 color: #333;
}
h5{
 font-size: 1em;
 color: #334d55;
}
ul{
 list-style-type: square;
}
ul ul{
 list-style-type: disc;
}
ul ul ul{
 list-style-type: none;
}

/* navMenu styles */
#navMenu li { 
	margin: 0;
	padding: 0;
}
#navMenu a { 
	display: block;
	padding: 0.25em 0.5em;
	border-top: 1px solid #cccccc;
}
.thislink, #navMenu a:hover, #navMenu a:focus, #navMenu a:active {
	border-top: 1px solid #cccccc;
	background-color: #BD8C00;
	color: #FFFFFF; 
	text-decoration: none;
}
.thislink { 
	background-color: #630;
}

/* In-Utero styles */
.sirePhoto { 
	float: left;
	padding-right: 5px;
}
.damPhoto { 
	float: right;
	padding-left: 10px;
}
.firstBreeding,.breeding { 
	padding-bottom: 2em; 
	margin-bottom: 2em; 
	border-bottom: 3px solid #ccc;
}
.firstBreeding h2, .breeding h2 { 
	text-align: center;
}
.breeding { 
	clear: both;
}
.pedigree {
	position: relative;
	height: 21em;
	border: 0.1em solid #BD8C00;
	background: #FFC;
	font-size: 1.1em;
}
.pedigree div { 
	position: absolute;
}
.pedigree .gen1, .pedigree .gen2 { 
	top: 1em;
	height: 10em;
}
.pedigree .gen1 { 
	width: 6em; /* accommmodates current short horse names. Adjust as needed. */
	left: 0.5em;
}
.pedigree .gen2 { 
	left: 6.5em; /* .gen1 width + left values */
}
.pedigree ul { 
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.pedigree .gen1 li { 
	display: block;
	margin-top: 3.3em;
	margin-bottom: 9em;
	padding-left: 0.5em;
	border-bottom: 1px solid #000;
}
.pedigree .gen2 ul { 
	margin-bottom: 1em;
	border-top: 1px solid #000;
}
.pedigree .gen2 li { 
	display: block;
	height: 3em;
	/* IE7 requires a specific width. 
		Otherwise bottom border widths are truncated to length of text
		Drawback: Bottom borders extend beyond left page margin on narrow screens
		Current width accommodates current longest value - adjust as needed
	*/
	width: 15em;
	padding: 1.5em 0 0 0.5em;
	border-bottom: 1px solid #000;
	border-left: 1px solid #000;
}
.pedigree a { 
	text-decoration: none;
}
.uteroPromo { 
	clear: both;
	font-weight: bold;
}
/* Custom styles, in alphabetical order */
.congrats {
  color: red;
  font-weight: bold;
}
#copyright {
 	font-size: 0.9em;
	text-align: left;
}
.horse { 
	clear: left;
	margin-left: 1em;
}
h2.category {  
	clear: left;
}
.horsephoto {
 border: 0;
 float: left; 
 margin-right: 15px;
 margin-bottom: 15px;
 color: red;
 font-weight: bold; 
}
.horsephotoright { 
	border: 0;
	float: right;
	margin-left: 15px;
	margin-bottom: 15px;
 color: red;
 font-weight: bold; 
}
.intro {
  font-family: Times New Roman,Times,Times NewRoman, serif;
  color: black;
  font-style: italic;
  text-align: left;
}
#linksList li {
	padding-bottom: 0.25em;
}
.photoCaption { 
	font-size: 0.8em;
}
.photos { 
	float: left;
}
#selfPromo {
	float: right;
	text-align: right;
	vertical-align: top;
	width: 180px;
	height: 55px;
}
.slogan {
  margin-top: -0.25em;
  padding-top: 0;
  width: 100%;
  text-align: center;
  font-size:90%; 
  font-weight:bold;
  font-style:italic;
}
.topHorse { 
	margin-left: 1em;
}

/* mastiff styles, not currently used */

#mastiff {
  background: #FFFFFF;
  border: 0;
}
#mastiff img {
  margin-top: 0.5em;
  margin-bottom: 0;
  padding-bottom: 0;
  text-align: center;
}

/* Form Styles */

.TextField, textarea { 
  width: 50%;
}
label{
 font: bold 100% Arial,sans-serif;
 color: #334d55;
}
				
/* hack to fix IE/Win's broken rendering of block-level anchors in lists */
/* #navBar li {border-bottom: 1px solid #EEE;} */

/* fix for browsers that don't need the hack */
/* html>body #navBar li {border-bottom: none;} */


/************** #advert styles **************/

#advert{
	padding: 10px 0px 0px 10px;
	font-size: 80%;
	border-top: 1px solid #cccccc;
}

#advert img{
	display: block;
}


/************** #headlines styles **************/

#headlines{
	margin: 0px;
	padding: 10px 0px 10px 10px;
	font-size: 80%;
}

#headlines p{
	padding: 5px 0px 5px 0px;
}
a.morephotos:link, a.morephotos:visited, a.morephotos:hover {
  font-size: 105%;
  text-decoration: underline;
}

/* Styles/hacks for making equal height columns */
.clearfix:after {
    overflow: hidden;
    content: "."; 
    display: block; 
    height: 1px;
    margin: 0;
    padding: 0; 
    clear: both; 
}
.clearfix {display: inline-table;}
/* Hides from IE-mac \*/
 * html .clearfix {height: 100%;}
.clearfix {display: block;}
/* End hide from IE-mac */

