body {
	font: 100% "Trebuchet MS", sans-serif;
	text-align: center;
	margin: 0;
	padding: 0;
	background-color:#8A391B;
	color:#3d1e14;
}
#wrapper {
	position: relative;
	width: 721px;
	margin: auto;
	text-align: left;
	background:url(/images/wrapper.jpg) repeat-y;
}
#main {
	font-size: 1em;
	line-height: 1.4em;
	margin:0 20px;
	background:url(/images/brand.gif) bottom right no-repeat;
	
}


#main a img{
	padding:2px;
	border:1px solid #462C1B;
}

#body_riber-run-charolais-stud-sires table tr td{
	font-size:0.9em;
	
}

/*.pedigree a {
	background:url(/images/pedigree.gif) top left no-repeat;
	height:30px;
	width:80px;
}

.pedigree a:hover{
	background:url(/images/pedigree.gif) bottom left no-repeat;
}*/

a {
	color:#412716;
}

a:hover{
	text-decoration:none;
}

.breadcrumb {
	font-size: 0.8em;
	margin: 1em 0 0 0;
}

/*-----------------------------------------------------------------------xhtml elements ------------------------------------------*/
h1 {
	margin:0 auto;
	padding:0;
	background:url(/images/header.jpg) no-repeat;
	height:224px;
	text-indent:-999em;
	
}

h2 {
	font-size: 1.6em;
	font-weight: normal;
	margin-top: 0.5em;
}

#body_welcome-to-river-run h2{
	background:url(/images/welcome.gif) no-repeat;
	height:28px;
	text-indent:-999em;
	margin-left:-10px;
}

#body_riber-run-charolais-stud-sires h2{
	background:url(/images/sires_header.gif) no-repeat;
	height:28px;
	text-indent:-999em;
}

#body_riber-run-charolais-stud-sires table, #body_riber-run-charolais-stud-sires td, #body_riber-run-charolais-stud-sires th{
	border:none;
}

#body_riber-run-charolais-stud-sires td{
	padding:5px;
}

#body_for-sale h2{
	background:url(/images/forsale_header.gif) no-repeat;
	height:28px;
	text-indent:-999em;
}

#body_females-dn h2{
	background:url(/images/females_header.gif) no-repeat;
	height:28px;
	text-indent:-999em;
}

#body_around-the-paddock h2{
	background:url(/images/around_header.gif) no-repeat;
	height:28px;
	text-indent:-999em;
}

h3 {
	margin:0;
	padding:0;
	font-size: 1em;
	font-weight: bold;
	color:#6D0100;
}


/*---------------------------------------------------------------------- tables --------------------------------------------------*/
table {
	border-right:none;
	border-bottom:none;
}
td, th {
	border-left:none;
	border-top:none;
	padding: 0.3em;
}

#body_around-the-paddock{
	
}

/*------------------------------------------------------------------custom styles---------------------------------------------*/

.caption {
	background-color: #ccc;
	font-weight: bold;
	letter-spacing: 0.2em;
}
.pullquote {
	width: 40%;
	font-style: italic;
	border: 1px solid #ccc;
	margin-left: 1em;
	padding: 0.5em;
	float: right;
}
.error { /* for warinings like emails not being sent properly etc */
	color: #f00;
	background-color: #ff0;
}
.important { /* for a block of text that needs to stand out */
	font-size: 1.2em;
	color: #f00;
	background-color: #ccc;
	margin: 2em;
}
.floatright { /* can be used to isolate a block of text (or an image) and float it to the right */
	width: 40%;
	border: 1px solid #ccc;
	float: right;
	margin-left: 1em;
}
.floatleft { /* can be used to isolate a block of text (or an image) and float it to the left */
	width: 40%;
	border: 1px solid #ccc;
	float: right;
	margin-left: 1em;
}
.imageboxleft { /* use if you're including a caption and not using the captions button on the toolbar */
	float:left;
	text-align:center;
	font-style:italic;
	width:auto;
}
.imageboxright { /* use if you're including a caption and not using the captions button on the toolbar */
	float:right;
	text-align:center;
	font-style:italic;
	width:auto;
}

/*--------------------------------------------------------------------turn off print stuff ------------------------------------------*/
#printlogo {
	display:none;
}

/* --------------------------------------------------------------------Photo Gallery------------------------------------------------- */
#gallery_wrapper {
	width: 640px;
	margin: auto;
}

.gallery_thumbnail {
	width:200px;
	float:left;
	margin:5px;
	text-align: center;
}
.gallery_thumbnail a img {
	border: none;
	margin:0;
	padding:2px;
	border:1px solid #462C1B;
	/* 
	---if you want to use a drop shadow behind the thumbnails
	background-image:url('/images/gallery_background.jpg');
	background-repeat:no-repeat;
	padding:0 8px 8px 0;
	*/
}
.gallery_thumbnail p {
	margin: 0 0 1em 0;
	padding: 0;
}
.gallery_thumbnail p a {
	font-weight:bold;
	font-style:italic;
	font-size:0.8em;
}
.gallery_album {
	margin:5px 5px 10px 5px;
	clear:both;
}
.gallery_album a img {
	float: left;
	border: none;
	margin:0;
	/* 
	---if you want to use a drop shadow behind the thumbnails
	background-image:url('/images/gallery_background.jpg');
	background-repeat:no-repeat;
	padding:0 16px 18px 0;
	*/
}
.gallery_album p a {
	font-weight:bold;
}/* ----------------------------------------- end Gallery -------------------------------------------------------- */

/* ----------------------------------------- DOCUMENTS ---------------------------------------------------------- */
.folder {
	width:220px;
	float:left;
	margin:5px;
	background-image:url('/images/quadrada/crimson/24/folder.gif');
	background-repeat:no-repeat;
	padding:0 0 0 28px;
}

.folder a {
	font-weight:bold;
}
/*--------------------------------------------------------------------forms-------------------------------------------------------*/
#body_contact-qu #main{
	min-height:340px;
	margin-left:55px;
}

#body_contact-qu h2{
	background:url(/images/contact_header.gif) no-repeat;
	height:32px;
	text-indent:-999em;
	margin-left:-35px;
}

#body_contact-qu #main h3{
	color:#462C1B;
}

#body_contact-qu #main ul li a{
	font-size:0.8em;
}

#contact-form{
	position:absolute;
	top:285px;
	left:360px;
	width:300px;
}

form#contact p input#ContactSubmit{
	height:31px;
	width:93px;
	border:none;
}

#contactform{
	margin-left:50px;
}
form p{
	width:280px;
	clear:both;
	font-size:0.8em;
	font-style:italic;
	font-weight:bold;
}

form p label{
	float:left;
}

form p input, form p textarea, form p select{
	width:200px;
	float:right;
	/*border:1px solid #462C1B;*/
	margin-bottom:5px;

}
#contactdetails{
	background:none;
}

form textarea{
	margin-bottom:10px;
}


#sendcc{
	border:none;
	width:12px;
	height:12px;
}

/* **********************************************************************************
	INPUTS AND TEXTAREAS JAVASCRIPT HOVER CLASSES
	
	these classes are used in the javasctipt:
	
	.text_hover_on
	.text_hover_off
	.textarea_hover_on
	.textarea_hover_off
	.checkbox_hover_on
	.checkbox_hover_off
	.submit_hover_on
	.submit_hover_on
	.radio_hover_on
	.radio_hover_off
	
********************************************************************************** */
.submit_hover_on {
	cursor:pointer;
	_cursor:hand;
	background:url(/images/submit.gif) bottom right no-repeat;
	height:30px;
	text-indent:-999em;
	border:none;
	width:105px;



}

.submit_hover_off, .checkbox_hover_on, .checkbox_hover_off {
	cursor:pointer;
	_cursor:hand;
	height:30px;
	background:url(/images/submit.gif) top right no-repeat;
	border:none;
	text-indent:-999em;
	width:105px;
}


/*--------------------------------------------------------------- FOOTER ---------------------------------------------------*/
#footer {
	margin-left:10px;
	background:url(/images/footer.jpg) no-repeat;
	height:20px;
	line-height:20px;
	font-size: 0.6em;
	clear: both;
	text-align: center;
}
#footer p  {
	color:#c8af96;
}

#footer p a{
	color:#c8af96;
}

#footer p a:hover {
	text-decoration: none;
}

