body {
	background: url(../images/body-bg-tile.jpg) #AFA79C repeat-x; 
	}
	
a {
	color: #498ec9;
	}

/* top_bar
----------------------------------*/

div#top_bar {
	height: 22px;
	overflow: hidden;
	position: relative;
	color: #eee;
	font-size: 14px;
	line-height: 1;
	padding-top: 8px;
	}
	
div#top_bar p {
	margin: 0;
	}
	
div#top_bar a {
	color: #eee;
	text-decoration: none;
	}
	
div#top_bar a:hover {
	text-decoration: underline;
	color: #fff;
	}
	
div#top_bar p.desc {
	text-align: right;
	}
	
/* logo_bar
---------------------------------*/

div#logo_bar {
	height: 90px;
	overflow: hidden;
	position: relative;
	color: #fff;
	}
	
div#logo_bar h2 {
	display: block;
	margin: 0;
	padding: 0;
	height: 90px;
	overflow: hidden;
	position: relative;
	}
	
div#logo_bar h2 span {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	background: url(../images/logo-screen.jpg) no-repeat;
	}
	
div#logo_bar p.slogan {
	position: relative;
	margin: 0;
	height: 90px;
	overflow: hidden; 
	}
	
div#logo_bar p.slogan span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../images/logo-slogan.jpg) no-repeat;
	}

/* bg_image 
---------------------------------------*/

div.bg_image {
	background: url(../images/body-bg.jpg) no-repeat;
	padding-top: 20px;
	}

/* navigation 
----------------------------------------*/

div#nav {
	margin-bottom: 10px;
	height: 60px;
	position: relative;
	/*overflow: hidden;*/
	}

div#nav div.nav_bg {
	background: url(../images/nav_bg.png) no-repeat 0 0;
	height: 60px;
	}
	
div#nav div.nav_bg:hover {
	background-position-y: -60px;
	}
	
div#nav ul.main_nav {
	margin: 0;
	padding: 0;
	height: 60px;
	list-style: none;
	position: relative;
	}
	
div#nav ul.main_nav li {
	float: left;
	/*text-align: center;*/
	height: 50px;
	/*overflow: hidden;*/
	position: relative;
	}
	
div#nav ul.main_nav li a {
	color: #fff;
	font-weight: bold;
	display: block;
	height: 60px;
	width: 100%;
	/*overflow: hidden;*/
	position: relative;
	}
	
div#nav ul.main_nav li a span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../images/nav_bg.png) no-repeat 0 0;
	}
	
#nav ul.main_nav li a:hover {
	background-position: 0 0;
	}
	
#nav ul.main_nav li a:hover span {
	background-position: 0 -60px;
	}
	
#nav ul.sub_nav {
	display: none;
	background: #405a69;
	list-style: none;
	min-width: 160px;
	position: absolute;
	top: 50px;
	left: 25px;
	z-index: 101;
	border-top: 1px solid #334854;
	padding-top: 20px;
	padding-bottom: 20px;
	-moz-border-radius-bottomleft: 4px;
	-moz-border-radius-bottomright: 4px;
	-moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.6), inset 0 20px 20px rgba(0, 0, 0, 0.1);
	}
	
#nav ul.main_nav li:hover ul, #nav ul.main_nav li.sfHover ul {
	display: block;
	}	
	
#nav ul.sub_nav li {
	float: none !important;
	display: block;
	height: 1% !important;
	padding: 0 20px !important;
	margin: 0 !important;
	text-align: left !important;
	}
	
#nav ul.sub_nav li a {
	height: 1% !important;
	width: auto !important;
	padding: 5px 10px !important;
	padding: 10px 20px;
	white-space: nowrap;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgb(0,0,0);
	-moz-border-radius: 4px;
	}
	
#nav ul.sub_nav li a:hover {
	background: #334d5c;
	text-shadow: 0 1px 0 rgb(0,0,0);
	}
	
/* each link */

#nav #live_racing { width: 120px; }
#nav #live_racing a span { background-position: 0 0 !important; }
#nav #live_racing a:hover span { background-position: 0 -60px !important; }
	
#nav #simulcasting { width: 139px; }
#nav #simulcasting a span { background-position: -120px 0 !important; }
#nav #simulcasting a:hover span { background-position: -120px -60px !important; }
	
#nav #horsemen { width: 119px; }
#nav #horsemen a span { background-position: -259px 0 !important; }
#nav #horsemen a:hover span { background-position: -259px -60px !important; }

#nav #publicity { width: 115px; }
#nav #publicity a span { background-position: -378px 0 !important; }
#nav #publicity a:hover span { background-position: -378px -60px !important; }

#nav #gen_info { width: 196px; }
#nav #gen_info a span { background-position: -493px 0 !important; }
#nav #gen_info a:hover span { background-position: -493px -60px !important; }
	
#nav #groups { width: 139px; }
#nav #groups a span { background-position: -689px 0 !important; }
#nav #groups a:hover span { background-position: -689px -60px !important; }
	
#nav #contact { width: 122px; }
#nav #contact a span { background-position: -828px 0 !important; }
#nav #contact a:hover span { background-position: -828px -60px !important; }

	
/* content 
---------------------------------------*/

div.content {
	background: #fff;
	margin-right: 0px;
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
	}
	
div.main_content {
	padding: 20px;
	}
	
/* Subpage Typography
-----------------------------------------*/

div.main_content h1, div.main_content h2, div.main_content h3, div.main_content h4, div.main_content h5, div.main_content h6 {
	color: #598ea0;
	line-height: 1.1;
	}
	
div.main_content ul, div.main_content ol {
	list-style-position: inside;
	}
	
p.post_date {
	color: #666;
	font-style: italic;
	margin-bottom: 0;
	}

	
/* homepage_highlight
---------------------------------------*/

/*
<div id="homepage_highlight">
	<img src="/assets/images/homepage-slide-1.jpg" alt="">
	<div class="message">
		<h1>Home of the Cane Pace</h1>
		<p>Followup teaser line for the wonderfully interesting statement above.</p>
	</div>
</div>
*/

div#homepage_highlights {
	width: 440px;
	height: 330px;
	margin: 20px 0 20px 20px;
	overflow: hidden;
	position: relative;
	}
	
div#homepage_highlights .highlight {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
	}
	
div#homepage_highlights .highlight img {
	width: 440px;
	height: 330px;
	}
	
div#homepage_highlights .highlight div.message {
	padding: 10px;
	background: rgba(0,0,0,0.6);
	position: absolute;
	bottom: 0;
	}
	
div#homepage_highlights .highlight div.message h1 {
	color: #fff;
	font-weight: lighter;
	padding-top: 10px;
	margin-bottom: 7px;
	text-shadow: 0 1px 1px rgba(0,0,0,0.9);
	}
	
div#homepage_highlights .highlight div.message p {
	color: #fff;
	margin: 0;
	line-height: 1.2;
	text-shadow: 0 1px 1px rgba(0,0,0,0.9);
	}
	
/* welcome_message
--------------------------------------*/

div#welcome_message {
	margin-left: 20px;
	}
	
/* homepage_sub_col
----------------------------------------*/

.homepage_sub_col {
	}
	
.homepage_sub_col div.item {
	margin-bottom: 20px;
	}
	
.homepage_sub_col div.item img {
	margin: 0;
	padding: 0;
	}
	
div.homepage_sub_col div.item a span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	}
	
/* .video */
	
div.homepage_sub_col div.video {
	height: 160px;
	overflow: hidden;
	position: relative;
	margin-top: 20px;
	}
	
div.homepage_sub_col div.video h4, div.homepage_sub_col div.video p {
	padding: 20px;
	}
	
div.homepage_sub_col div.video a span {
	height: 160px;
	background: url(../images/streaming-video-160.jpg) no-repeat; 
	}
	
/* .nj_account_wagering */

div.homepage_sub_col div.nj_account_wagering {
	height: 320px;
	overflow: hidden;
	position: relative;
	}
	
div.homepage_sub_col div.nj_account_wagering h4, div.homepage_sub_col div.nj_account_wagering p {
	padding: 20px;
	}
	
div.homepage_sub_col div.nj_account_wagering a span {
	height: 320px;
	background: url(../images/nj-account-wagering-160.jpg) no-repeat; 
	}
	
/* sidebar
--------------------------------------*/

div.sidebar {
	background: #598ea0 url(../images/sidebar-shadow.png) no-repeat bottom; 
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 290px !important;
	padding-top: 19px;
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
	border-top: 1px solid #8bb0bd;
	}
	
div.sidebar .item {
	margin: 0 20px 20px 20px;
	}
	
div.sidebar .item h3 {
	font-size: 16px;
	margin-bottom: 0.2em;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.9);
	}
	
div.sidebar .item p {
	margin: 0;
	font-size: 14px;
	line-height: 1.2;
	}
	
div.sidebar .light {
	background-color: #fff;
	}
	
div.sidebar .midtone {
	background-color: #3e6370;
	color: #fff;
	}
	
div.sidebar .dark {
	background-color: #2b454e;
	color: #fff;
	}
	
div.sidebar_padding {
	padding: 10px 20px;
	}
	
div.sidebar .calendar_download {
	background: #2b454e url(../images/calendar-icon.jpg) no-repeat 20px 50%; 
	padding-left: 70px;
	}
	
div.sidebar .calendar_download a {
	color: #fff;
	text-decoration: none;
	}
	
div.sidebar .calendar_download a:hover {
	text-decoration: underline;
	}


div.sidebar img {
	line-height: 1;
	}
	
/* news */

div.news_box {
	height: 55px;
	padding-top: 5px;
	overflow: hidden;
	}
	
div.news_box p {
	padding-bottom: 80px;
	}

div.sidebar div#news a {
	text-decoration: none;
	}

	
/* Misc Fun Stuff */

.padded {
	padding: 20px;
	}
	
/* footer
-------------------------------------*/

div#footer {
	color: #ccc;
	background-color: rgba(0,0,0,0.9);
	margin-top: 20px;
	font-size: 14px;
	padding: 20px 0;
	}
	
/* Foreign HTML styles */
	
table {
	width: 100%;
	max-width: 620px;
	background: #ddd !important;
	font-size: 14px;
	border-collapse: collapse;
	/* border: 1px solid #ddd; */
	}
	
table table {
	border: 0;
	margin-bottom: 1px;
	}
	
table table tr td {
	border-top: 1px solid #ddd !important;
	background: #fff;
	color: #666;
	}
	
.theader {
	/*background: #ddd;*/
	}
	
.theader td {
	border: 0 !important;
	}
	
.style9 {
	font-weight: bold;
	color: #444;
	}
	
.style11 {
	color: #333;
	}
	
.style15 {
	font-weight: bold;
	font-size: 20px;
	border: 0 !important;
	color: #333;
	}
	
/* Current Changes / Current Results Foreign HTML
-----------------------------------------------------*/

h2.h2Changes, h2.heResults {
	font-weight: lighter;
	margin-bottom: 20px;
	color: #333 !important;
	}

table.tableChanges {
	background: #fff !important;
	margin-bottom: 10px;
	border-top: 1px solid #eee;
	}
	
table.tableResults {
	background: #fff !important;
	margin-bottom: 20px;
	}
	
table.tableChanges td {
	padding: 5px 10px;
	}
	
table.tableResults td {
	padding: 5px 10px;
	border-top: 1px solid #eee;
	}
	
table.tableChanges tr.tableChangesHdr td {
	font-size: 18px;
	color: #598ea0;;
	/*background: #ddd;*/
	padding-top: 10px;
	}
	
table.tableResults tr.tableResultsHdr td {
	font-size: 18px;
	color: #598ea0;
	padding-top: 10px;
	border-top: 2px solid #ccc !important;
	}
	
table.tableChanges td a {
	text-decoration: none !important;
	color: #598ea0 !important;
	}
	
p.paraChanges {
	width: 43.25%;
	float: left;
	margin-bottom: 20px;
	margin-right: 20px;
	font-size: 18px;
	font-weight: bold;
	/*text-align: center;*/
	}
	
p.paraChanges span {
	/*display: block;*/
	font-size: 14px;
	font-weight: normal;
	}
	
/* Entries week display */

ul.week_schedule li {
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	border-left: 1px solid #bbb;
	padding: 5px;
	text-align: center;
	-moz-box-shadow: inset 0 -5px 10px rgba(0,0,0,0.1);
	position: relative;
	height: 100px;
	width: 75px;
	}
	
li .today {
	background-color: #fff;
	border: 0 !important;
	-moz-box-shadow: none !important;
	}
	
li .today div.day {
	background-color: #f62010;
	color: white;
	position: relative;
	}
	
li .today div.num {
	color: #000;
	}

.next_entries {
	position: absolute;
	width: 16px;
	height: 16px;
	top: 0;
	left: 0;
	display: none;
	}

table.week_schedule {
	border-collapse: collapse;
	}
	
table.week_schedule td {
	border: 1px solid #bbb;
	width: 14%;
	padding: 5px;
	text-align: center;
	-moz-box-shadow: inset 0 -5px 10px rgba(0,0,0,0.1);
	position: relative;
	}
	
td.today {
	background-color: #fff;
	border: 0 !important;
	-moz-box-shadow: none !important;
	}
	
td.today div.day {
	background-color: #f62010;
	color: white;
	position: relative;
	}
	
td.today div.num {
	color: #000;
	}
	
div.day {
	text-align: center;
	background-color: #c10202;
	color: white;
	}
	
div.month {
	text-align: center;
	text-transform: uppercase;
	color: #444;
	}
	
div.num {
	text-align: center; 
	font-size: 24px; 
	font-weight: bold; 
	}
	
div#map {
	width: 340px;
	height: 180px;
	background-color: #666;
	}
	
form#contact_form {
	border: 0;
	background-color: #eee;
	padding: 20px;
	}
	
form#contact_form fieldset {
	border: 0;
	}

form#contact_form fieldset div {
	margin-bottom: 10px;
	}

form#contact_form fieldset div label {
	font-weight: bold;
	font-size: 14px;
	display: block;
	}

form#contact_form fieldset div input.wide, form#contact_form textarea.wide {
	padding: 10px;
	font-size: 16px;
	display: block;
	width: 93%;
	}
	
div.form_error_summary {
	border: 1px solid red;
	background-color: white;
	padding: 20px;
	margin-bottom: 20px;
	}
	
h3.error_heading { color: red !important; }

p.error_desc {}

.img_left { float: left; margin-right: 20px; }
.img_right { float: right; margin-left: 20px; }

ul#industry_links {
	list-style: none;
	}
	
ul#industry_links li {
	vertical-align: middle;
	border-top: 1px solid #eee;
	margin-bottom: 20px;
	padding-top: 20px;
	}
	
ul#industry_links li img {
	vertical-align: middle;
	}
	
a img {
	border: 0;
	}
	
div.q_button {
	float: right;
	}
	
.button {
	padding: 10px 20px 5px 20px !important;
	-moz-border-radius: 24px;
	-webkit-border-radius: 24px;
	border-radius: 24px;
	background-color: #598EA0;
	color: #fff !important;
	text-decoration: none !important;
	text-shadow: 0 -1px 0 #000;
	line-height: 1 !important;
	font-style: normal !important;
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.3), inset 0 3px 6px rgba(255,255,255,0.3);
	border: 1px solid rgba(0,0,0,0.3);
	}
	
/* page tables
--------------------------------------*/

table.manual {
	width: 100%;
	max-width: 620px;
	background: #fff !important;
	font-size: 14px;
	border-collapse: collapse;
	/* border: 1px solid #ddd; */
	}
	
table.manual tr td {
	border-top: 1px solid #ddd !important;
	background: #fff;
	color: #333;
	}
	
#replays {
	border: 3px solid #ccc;
	width: 99%;
	background: #eee;
	font-family: sans-serif !important;
	}

