/* --- set all margins and paddings to 0 for consistency --- */

* {
	margin: 0;
	padding: 0;
}

/* --- elements --- */

body {
	color: #555;
	font-size: 76%;
	font-family: tahoma, Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	background: #fff url(../images/background_diagstrip.gif) repeat-x top;
}
h1, h2, h3, h4, h5, h6 {
	color: #197a30;
	margin: .5em 0;
}
h1 {
	visibility: hidden;
	font-size: 2.0em;
	margin: 0;
}
h2 {
	font-weight: normal;
	letter-spacing: -1px;
	padding-bottom: 0.5em;
	background: url(../images/heading_underline_dotted.gif) repeat-x bottom;
	font-size: 2em;
	margin-bottom: 0;
}
h3 {
	font-size: 1.2em;
}
h4 {
	font-size: 1.4em;
}
h5 {
	font-size: 1.3em;
}
h6 {
	font-size: 1em;
}
p {
	margin: 1em 0;
}
p, li {
	font-size: 1em;
	line-height: 1.6em;
}
ul, ol {
	margin: 1em 3em;
}

a:link { color: #c52f48; }
a:active { color: #222; }
a:visited { color: #c52f48; }
a:hover { color: #999; }


/* site structure */

div#doc-container {
	width: 760px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
div#doc-header {
	background: transparent url(../images/header_jamesmoffatt.jpg) no-repeat top;
	width: 760px;
	height: 120px;
	margin-top: 10px
}
div#doc-header p {
	visibility: hidden;
}
div#doc-content {
	border-bottom: 1em solid #fff;
}
div#doc-footer {
	clear: both;
	text-align: right;
	padding-right: 40px;
	margin-bottom: 1em;
	background: url(../images/footer_background.gif) no-repeat right;
}
div#doc-footer p {
	font-size: 0.9em;
	padding: 1em 0;
	color: #888;
}	
div#doc-content-main {
	width: 519px;
	float: right;
	display: inline;
	margin-right: 20px;
}
div#doc-sidebar {
	background: url(../images/navbar_right_line.gif) no-repeat top right;
	width: 201px;
	float: left;
}

ul#top-level-navigation {
	margin: 0;
	padding: 0;
	width: 200px;
	list-style: none;
}
ul#top-level-navigation li {
	display: block;
	border-bottom: 1px solid #ccc;
}
ul#top-level-navigation li a:link,
ul#top-level-navigation li a:active,
ul#top-level-navigation li a:visited {
	color: #598527;
	display: block;
	padding: 0.5em 10px;
	text-decoration: none;
	background: url(../images/navbar_arrow_background.gif) no-repeat 134px -166px;
}
ul#top-level-navigation li a:hover {
	color: #c52f48;
	background: url(../images/navbar_arrow_background.gif) no-repeat 134px 14px;
}
ul#top-level-navigation li.sel a:link,
ul#top-level-navigation li.sel a:active,
ul#top-level-navigation li.sel a:visited {
	color: #771F19;
	display: block;
	padding: 0.5em 10px;
	text-decoration: none;
	background: url(../images/navbar_arrow_background.gif) no-repeat 134px 14px;
}
ul#top-level-navigation li.sel a:hover {
	color: #598527;
	background: url(../images/navbar_arrow_background.gif) no-repeat 134px 14px;
}

div.news-box {
	margin: 1em 10px;
	background: #ebebeb;
	border: 1px solid #ccc;
	padding: 0 10px;
}
div.news-box h2 {
	color: #fff;
	font-size: 1.2em;
	padding: 0.2em 0;
	font-weight: bold;
	background: #197a30;
	text-align: center;
	border: 1px solid #005e20;
}
div.news-box h2 a:link,
div.news-box h2 a:active,
div.news-box h2 a:visited {
	color: #fff;
	text-decoration: none;
}
div.news-box h2 a:hover {
	color: #0f471c;
}
div.news-box p {
	font-size: 0.9em;
	line-height: 1.4em;
}

/* mailing list specific */

div.news-box input {
	width: 110px;
	margin: 0 0 10px 0;
	padding: 0.2em 0;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
}
div.news-box input.button {
	width: 30px;
}


div.whitefuse {
	color: #aaa;
	text-align: center;
	font-size: 0.9em;
}
div.whitefuse a:link, div.whitefuse a:active, div.whitefuse a:visited {
	color: #999;
}

br.clear {
	display: block;
	clear: both;
}

div.photo-box {
	width: 157px;
	float: left;
	margin-bottom: 20px;
	border: 1px solid #ccc;
	text-align: center;
	padding: 10px 0;
}
div.photo-box p {
	margin: 0.6em 10px;
	font-size: 0.9em;
	text-align: left;
}

.rt20 {
	margin-right: 21px;
}

/* bespoke content formatting */

div.gallery-thumb {
	display: block;
	float: left;
	margin-bottom: 19px;
	margin-right: 19px;
	border: 0;
	text-align: center;
}
div.gallery-thumb p {
	color: #999;
	font-size: 0.8em;
	margin: 0.2em 0;
}

table.gallery-category {
	width: 100%;
	margin: 0 0 1em 0;
	background: #eee;
	border: 2px solid #ddd;
}
table.gallery-category tr td {
	padding: 10px 0 10px 10px;
}
table.gallery-category tr td h3 a:link,
table.gallery-category tr td h3 a:active,
table.gallery-category tr td h3 a:visited {
	text-decoration: none;
	background: url(../images/icon_galleries.gif) no-repeat left;
	padding-left: 28px;
}
table.gallery-category tr td img {
	display: block;
	margin: 0 10px 0 0;
}

div.home-introduction, div.home-introduction-full {
	float: left;
	margin: 0 0 1em 0;
	border-bottom: 1px solid #ccc;
}
div.home-introduction {
	width: 319px;
}
div.home-introduction p, div.home-introduction-full p {
	color: #771F19;
	font-size: 1.15em;
	line-height: 1.98em;
}	
div.home-definitions {
	float: left;
	margin: 10px 0 0 20px;
	width: 178px;
	border: 1px solid #ccc;
	background: #ebebeb;
}
div.home-definitions p {
	font-size: 0.8em;
	padding: 0 8px;
}
div.james-moffatt {
	width: 180px;
	float: right;
	text-align: center;
	margin: 1em 0 0 20px;
}
div.james-moffatt img {
	display: block;
}
div.james-moffatt p {
	color: #999;
	font-size: 0.8em;
	margin: 0.3em 0 0.6em 0;
}

div.business-development {
	width: 250px;
	float: left;
}
div.people-development {
	width: 250px;
	float: left;
	margin-left: 19px;
}
div.business-development ul, div.people-development ul {
	margin: 1em;
}
div.business-development h3, div.people-development h3 {
	background: url(../images/heading_underline_dotted.gif) repeat-x bottom;
	padding-bottom: 1em;
}



/* table formatted dl */

dl.table-display {
	width: 100%;
	margin: 1em 0;
	padding: 0;
}

dl.table-display dt {
	width: 45%;
	float: left;
	margin: 0;
	padding: 1em 0;
	border-top: 1px solid #ccc;
	line-height: 1.8em;
	font-size: 0.9em;
	color: #999;
}

/* commented backslash hack for mac-ie5 \*/
dt {
	clear: both;
}

dl.table-display dd {
	float: left;
	width: 55%;
	margin: 0;
	padding: 1em 0;
	border-top: 1px solid #ccc;
}

table.form-layout {
	width: 100%;
}
table.form-layout tr td.linetop {
	border-top: 1px solid #ddd;
}
table.form-layout tr td {
	padding: 0.5em 5px;	
}

table.form-layout tr td.formlabel {
	width: 120px;
	text-align: right;
	vertical-align: top;
	padding-top: 11px;
}
table.form-layout tr td.formlabel label {
	background: url(../images/bullet_label.gif) no-repeat right 0.4em;
	padding-right: 10px;
	display: block;
}
table.form-layout tr td.formlabel label:hover {
	background: url(../images/bullet_label-hover.gif) no-repeat right 0.4em;
	padding-right: 10px;
}

table.form-layout tr td.formlabel label span {
	font-size: 0.8em;
	color: #aaa;
}

/* form stuff */

label {
	font-size: 1.1em;
	font-weight: normal;
	color: #666;
}
input, textarea {
	font-size: 1.2em;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #000;
	padding: 0.3em;
}
input {
	width: 167px;
}
input.nowidth {
	width: auto;
	margin: 0.6em 0 0em 0;
}
input.validate-error {
	color: #F16667;
	padding: 0.3em 35px 0.3em 0.3em;
	width: 136px;
	border: 1px solid #F16667;
	background: #ffd9e8 url(../images/validate_required.gif) no-repeat right;
	
}
textarea.validate-error {
	color: #F16667;
	padding: 0.3em;
	border: 1px solid #F16667;
	background: #ffd9e8 url(../images/validate_required.gif) no-repeat right;
}
input.button {
	font-size: 1em;
	font-family: verdana, Arial, Helvetica, sans-serif;
	width: auto;
	color: #000;
	margin-right: 10px;
}
span.required {
	color: #F16667;
	font-style: italic;
}
img.captcha {
	margin-bottom: 0.5em;
	border: 1px solid #A5ACB2;
}


/* user prompts */

div.user-message {
	background: #eee;
	border: 1px dotted #f16667;
	margin: 1em 0;
	padding: 0 1em;
	color: red;
}

/* miscellaneous */


img.introductory-picture {
	display: block;
	margin-top: 1em;
}

ul.content-styled {
	margin: 1em 2em;
	list-style: none;
}
ul.content-styled li {
	margin: 1em 0;
	padding-left: 18px;
	background: url(../images/list_bullet_content-styled.gif) no-repeat 0 0.5em;
}

table.horsesForSale {
	width: 319px;
	margin: 1.4em 0;
}
table.horsesForSale tr th {
	border: 1px solid #197a30;
	padding: 4px;
	text-align: center;
	background: #1d8f38;
	color: #fff;
}
table.horsesForSale tr td {
	border: 1px solid #ccc;
	padding: 3px;
}

p.testimonial {
	line-height: 1.7em;
}

div.rule {
	height: 1px;
	margin: 1em 0;
	border-bottom: 1px dotted #ccc;
}

/* news bits */

p.newsArticleDate {
	margin: -0.5em 0 0 0;
	color: #999;
}	

/* racehorses for sale */
div.racehorseSummary {
	margin: 1.5em 0 0 0;
	border-bottom: 1px solid #ddd;
}
div.racehorseSummary img {
	float: right;
	margin: 0 0 1em 0;
	border: 1px solid #005E20;
}
div.racehorseSummary h3 {
	clear: left;
	color: #fff;
	border: 1px solid #005E20;
	padding: 0.1em 0.3em 0.2em 6px;
	background: #197A30;
	margin-bottom: 0;
}
div.racehorseSummary p.price {
	color: #999;
}
div.racehorseSummary p.price span {
	font-weight: bold;
}
div.racehorseSummary div.statSurround {
	background: #eee;
	border-bottom: 1px solid #ddd;
	padding: 0.2em 0;
}
div.racehorseSummary div.statSurround span {
	color: #888;
	font-size: 0.8em;
	text-transform: uppercase;
	padding-left: 6px;
}
ul.racehorseInformation {
	float: right;
	width: 180px;
	list-style: none;
	margin: 0 0 0 0;
	padding: 0;
}
ul.racehorseInformation li {
	display: block;
	padding: 0.4em;
	background: url(../images/heading_underline_dotted.gif) repeat-x bottom;
}
ul.racehorseInformation li.price {
	display: block;
	background: #eee;
	padding: 0.4em;
	border-bottom: 1px solid #ccc;
}
ul.racehorseInformation li span {
	display: block;
	float: left;
	width: 60px;
	color: #197A30;
}

