/***BASIC SCREEN AREAS**/

body {
	text-align: left;
	font-family: Helvetica, sans-serif;
	font-size: 11px;
	background-image: url('../images/bggold.gif');
	background-repeat: repeat;
	vertical-align: top;
	min-width: 1024px;
}

.alignright {
	text-align: right;
}

.hidden {
	display: none;
}

.mandatory {
	color: red;
	font-weight: bold;
	font-size: 12px;
}

span.increase {
	color: #0033cc;
	font-weight: bold;
	display: inline;
}

span.decrease {
	color: #ee0000;
	font-weight: bold;
	display: inline;
}

ul li a .mandatory {
	color: red;
	font-weight: bold;
	font-size: 11px;
}

#frontflashcontent {
	margin: 10px 0;
	padding: 15px 0;
	background: #d3ecfe url(../images/racebackdrop.jpg) 0 0 no-repeat;
	border: 1px solid #000077;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
    -khtml-border-radius: 15px;
	border-radius: 15px;
}

#frontflashcontent #flashcontent {
	border: 5px solid #792938;
	width:300px;
	background: #d3ecfe;
}

.horseblock embed, .stableblock embed, .raceblock embed {
	border: 1px solid #7a3d00;
}

.frontimg {
	margin: 1%;
	width: 35%;
	background: #d3ecfe;
	filter:alpha(opacity=60);
	-moz-opacity:.60;
	opacity:.60;
}

.centred {
	width: 100%;
	display: block;
	text-align: center;
}

table.centred {
	margin-left: 20%;
	margin-right: 20%;
	width: 70%;
}


#header {
	padding:0;
	padding-left: 10px;
	border: 2px solid #cec991;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
    -khtml-border-radius: 15px;
	border-radius: 15px;
	background: #ffffc8;
	height: 100px !important;
	height: 115px;
	margin: 5px 5px 10px 5px;
	width: 98%;
	min-width: 1024px;
}

#header #swfhead {
	padding: 0;
	margin: 0 0 0 -1%;
	width: 100%;
	height: 100px;
}

#header #gameheader {
	width: 805px;
	float: left;
}

#gametime {
	font-weight: bold;
	font-size: 14px;
	background-color: #FFFFC8;
}

#header #bannerbox {
	width: 150px;
	float: left;
}

#header h1 {
	padding:0;
	margin:0;
	position:absolute;
	left:-5000px;
}

.headright {
	text-align: right;
	padding: 0;
	margin: 0 2% 5px 0;
	font-size: 11px;
	line-height: 14px;
	position: absolute;
	top: 80px;
	right: 5px;
}

.iefloatcontainer {
	display: block;
	width: 96% !important;
	width: 100%;
	z-index:100;
}

.ieblock {
	display: block;
	width: 99% !important;
	width: 100%;
	z-index:100;
}

#mainmenu {
	display: block;
	width: 100% !important;
	width: 96%;
	margin: 0 2% !important;
	margin: 0 1%;
	text-align: left;
	font-size: 13px;
	z-index:101;
}

#mainmenu ul {
	list-style-type: none;
	margin: 0 0 1px 0 ;
	z-index:101;
}

#mainmenu ul li {
	display: inline;
	margin: 0;
	padding: 2px 20px;
	border-right: 1px solid #b8b6b8;
	position: relative;
	z-index:101;
}

#mainmenu ul li ul {
	position: absolute;
	top: auto !important;
	top: 17px;
	left: 3px;
	width: auto;
	display: none;
	padding: 4px 0 0 !important;
	padding-top: 12px;
	z-index:101;
	margin: 0;
	background: #ffffc8 url("../images/rightmenback.jpg") repeat 0 0;
}

#mainmenu ul li ul li {
	display: block;
	border: 1px solid #9a6d05;
	border-top:0;
	border-bottom:0;
	z-index:101;
	padding-left: 5px;
	padding-top:2px !important;
	padding-top: 0;
}

#mainmenu ul li ul li a {
	width: 200px;
	display: block;
	z-index:101;
	padding: 0 0 0 5px !important;
	margin: 0 !important;
	margin-top: -5px;
	padding: 5px 0 5px 5px;
	height: 1.5em;
}

#mainmenu ul li ul li.mmbot {
	background: url('../images/corners/action_bl.png') no-repeat bottom left;
	border-left:0;
	margin-top:-1px !important;
	margin-top:-19px;
	z-index:106;
	padding-top: 2px !important;
	padding-top:4px;
}

#mainmenu ul li:hover ul {
	display: block;
	z-index:105;
}

#mainmenu .actionblock a {
	padding: 3px;
}

.extranav {
	display: block;
	width: 100% !important;
	width: 96%;
	margin: .1em 2% !important;
	margin: 0 1%;
	font-weight: bold;
	font-size: .8em;
}

.extranav .breadcrumb {
	float: left;
	padding-top: .6em;
}

#rightblock #search {
	width: 97%;
	background-color: #fefbec;
	text-align: center;
	font-weight: bold;
}

#rightblock {
	position: absolute;
	width: 23%;
	right: 0;
	margin: 0 3% 0 2% !important;
	margin: 0 3% 0 2%;
	background: none;
	text-align: left;
}

#rightblock ul, .caption ul, ul#help {
	text-align: left;
	list-style-type: none;
	margin: 5px 0;
	padding: 0;
}

#rightblock ul li, .caption ul li, ul#help li {
	line-height: 1.5em;
}

ul#help li.altrow {
	height: 100%;
}

.caption ul li {
	height: 1.5em;
	clear: both;
}

#invites.scrollschedule ul li, #past.scrollschedule ul li, #future.scrollschedule ul li {
	border-bottom: 1px solid #c8e8ff;
}

#rightblock ul li a, .caption ul li a, ul#help li a {
	width: 99%;
	display: block;
	padding-left: 2px;
}

#rightblock ul#horses li a, #rightblock ul#jockeys li a {
	width: 90%;
}

#rightblock ul#horses li, #rightblock ul#jockeys li {
	background-image: url(../images/handle.png);
	background-position: 100% 50%;
	background-repeat: no-repeat;
}

.caption ul li .rightnav, .scrollschedule ul li .rightnav, ul.invlist li .rightnav {
	display:block;
	float:right;
	width:23%;
	padding-right:3px;
}
.caption ul li .leftnav {
	width: 72%;
	float: left;
	display:block;
}

ul.invlist li {
	height: 3em;
	clear: both;
	vertical-align: top;
	border-bottom: 1px solid #dfdfff;
}

#rightblock .actionblock .gbookbottom a, .alignright a.action {
	display: inline;
	text-decoration: none;
}

.caption .titlebar {
	width: 98%;
	text-align: left;
}

#logonblock {
	margin: 0 1px 0 0;
	width: 98%;
}

.gbentry {
	display: block;
	padding: 2px;
	font-style: italic;
	max-height: 4em;
	height: 4em;
	overflow: hidden;
}

.gbookbottom {
	display: block;
	text-align: center;
}

#body {
	position: absolute;
	width: 68% !important;
	width: 71%;
	margin: .5em 2% 0 2% !important;
	margin: .6em 2% 0 2%;
}

#body ul.tabs {
	padding: 0;
	margin-bottom: 1px !important;
	margin: 0;
	display: block;
	width: 100%;
	text-align: left;
	font-size: 13px;
}

#body ul.tabs li, #body ul.tabs li.inactive {
	display: inline;
	border-top: 1px solid #333399;
	border-left: 1px solid #333399;
	border-right: 1px solid #333399;
	text-align: left;
	margin:0;
	padding:0 0 .1em 0;
	height: 2em;
	background: #d3ecfe;
	-moz-border-radius-topleft: .9em;
	-moz-border-radius-topright: .9em;
	-webkit-border-top-left-radius: .9em;
	-webkit-border-top-right-radius: .9em;
}

#body ul.tabs li.race {
	border-top: 1px solid #993333;
	border-left: 1px solid #993333;
	border-right: 1px solid #993333;
	background: #ffe8e8;
}

#body ul.tabs li.inactive {
	background: #dddddd;
}

#body table tr td .inactive {
	color: #9a9a9a;
	font-style: italic;
}

#body ul.tabs a {
	padding: 0;
	margin:.5em 15px;
}

#body .actionblock {
	padding: 3px 5px 5px 3px;
}

p {
	padding: 1px 3px;
}

p#priormessage {
	width: 98%;
}

a, .message a.action, .threads a.action {
	text-decoration: none;
}

a.action {
	text-decoration: underline;
}

.nonowner {
	font-style: italic;
}

.titlebar {
	font-weight: bold;
	font-size: 1.1em;
	display: block;
	width: 99%;
	border-style: solid;
	border-width: 2px 0;
	padding: 1px 0 3px 5px;
	margin: 0 0 5px 0;
}

.twocols .titlebar {
	border-width: 1px 0;
}

.label {
	font-weight: bold;
	padding: 1px;
}

.label .originaltext {
	font-weight: normal;
}

.row, .altrow, .blogrow {
	line-height: 1.2em;
	clear: both;
	height: 1.2em;
}

.row .rightnav, .altrow .rightnav {
	width: 32%;
	float: right;
	text-align: right;
}

.row .centrenav, .altrow .centrenav {
	width: 32%;
	float: right;
	text-align: center;
}

.row .leftnav, .altrow .leftnav {
	width: 34%;
	float: left;
	text-align: left;
}

.row .left50, .altrow .left50 {
	width: 50%;
	float: left;
	text-align: left;
	padding-left: 5%;
}

.row .right50, .altrow .right50 {
	width: 37%;
	float: right;
	text-align: right;
	padding-right: 5%;
}

.row .thread, .altrow .thread {
	width: 66%;
	float: left;
}

.threads {
	border: 1px solid #333399;
	padding: 1px 1px 1px 2px;
}

.threads + .threads {
	background: #98D8FF;
}

.row .centrenav .date {
	font-size: 1.1em;
	font-weight: bold;
	line-height: 1.6em;
	margin-bottom: .3em;
}

.row .total {
	font-weight: bold;
}

.row .homethird {
	width: 30%;
	padding: 1px 1px 1px 5px;
	float: left;
	margin: 0 1%;
	text-align: center;
}

.row .homethird#l {
	margin: 0 1% !important;
	margin: 0 1% 0 2%;
}

.row .homethird .clearance {
	line-height: .1em;
}

.raceblock .row .leftnav {
	width: 20%;
}

.raceblock .row .centrenav {
	width: 42%;
}

.raceblock .row .rightnav {
	width: 36%;
}

#announceblock {
	height: 125px;
	overflow: auto;
	border: 1px solid;
	padding: 3px;
	background-color: #e8ffff;
	font-size: 9px;
}

#announceblock .titlebar {
	width: 98%;
}

#announces li {
	padding-left: 3px;
}

form .row {
	line-height: 1.4em;
	height: 1.4em;
}

form {
	margin: 0;
	padding: 3px;
	width: 99%;
}

input {
	font-size: 9px;
	margin: 0 5px 0 3px;
}

.alignright input.nav {
	font-size: 14px;
}

.bigtext {
	font-weight: bold;
}

.row .label, .altrow .label {
	width: 40%;
	float: left;
	text-align: right;
}

.blogrow .label {
	width: 30%;
	float: left;
	text-align: right;
	padding: 3px 0;
	line-height: 1.6em;
	margin-top: 3px;
}

.info {
	padding: 1px;
	float: right;
	width: 58%;
	vertical-align: top;
}

.info .dollar, .dollar {
	width: 40%;
	text-align: right;
}

.standings .dollar {
	width: 65%;
}

.headinfo {
	padding: 0 3px;
	font-weight: normal;
}

.instruct {
	padding: 1px;
}

p.instruct {
	margin: 1px;
	padding: 1px;
}

p.smalltext {
	margin: 1px;
	padding: 0;
	font-size: .6em;
}

.blogrow .info {
	width: 68%;
	padding: 3px 5px;
	line-height: 1.4em;
	border-left: 1px solid #333399;
}

.blogrow h4 {
	font-size: 1em;
	padding: 3px 0;
	margin: 0;
	line-height: 1.6em;
}

.dividends, .raceresults {
	width: 100%;
}

.twocols {
	height: 100%;
}

#rdaworld .centred {
	border-bottom: 1px solid #dfdfff;
}

.lefthalf, .lefthalfblock, .lefthalfmail {
	width: 49%;
	float: left;
	margin: 5px 0;
}

.righthalf, .righthalfblock, .righthalfmail {
	width: 49%;
	float: right;
	margin: 5px 0;
}

.righthalfmail {
	width: 65%;
}

.lefthalfmail {
	width: 32%;
}

.righthalfmail .row .label {
	width: 30%;
}

.righthalfmail .row .info {
	width: 66%;
}

.twocols .righthalfblock .row, .twocols .lefthalfblock .row,
.twocols .righthalfblock .altrow, .twocols .lefthalfblock .altrow {
	padding-left: 1px;
}

.lefthalf .righthalf {
	width: 70%;
	margin: 0;
}

.indentinfo {
	width: 19%;
	height: 16em;
	float: left;
}

.indenttext {
	width: 78%;
	height: auto;
	float: right;
	display: block;
}

#statusblock .titlebar {
	width: 95%;
}

#statusblock .row {
	margin: 5px 0 3px 0;
}

.righthalfblock, .lefthalfblock {
	border-width: 1px;
	border-style: solid;
}

.raceblock .righthalfblock, .raceblock .lefthalfblock {
	border: none;
}

.twocols .row, .twocols .altrow {
	width: 95%;
}

.twocols .message .altrow {
	width: 100%;
}

.righthalftrophy {
	float: right;
	width: 25%;
	border: 1px solid #333399;
	padding: 0 3px;
	text-align: center;
}

.righthalftrophy .titlebar {
	text-align: left;
}

.lefthalftrophy {
	float: left;
	width: 73%;
}

.righthalffac {
	width: 75%;
	padding: 0 3px;
	float: right;
}

.lefthalffac {
	width: 23%;
	float: left;
}

.lefthalffac img {
	width: 97%;
	border: 2px outset #98d8ff;
	padding: 6px;
	background: url(../images/plastic_shelf.png) 0 100% repeat-x;
}

.lefthalffac img.icon {
	width: 15px;
	border: 0;
	margin: 0 3px 0 0;
	padding:3px;
}

.lefthalffac p#priormessage img {
	height: 2em;
	width: auto;
	border: 0;
}

.righthalffac .row .label {
	width: 22%;
	text-align: right;
}

.righthalffac .row .info {
	width: 70%;
}

 .lefthalffac .row .info {
	width: 50%;
}

.righthalffac form table th {
	width: 13%;
	border-bottom: 1px solid #7a3d00;
}

.righthalffac form table th+th {
	width: 8%;
}

.righthalffac form table th+th+th {
	width: 14%;
}

.righthalffac form table th+th+th+th+th {
	width: 28%;
}

.righthalffac form table td.remain+td.remain {
	padding-left: 3.5em;
}

form#selecthorse table, .righthalffac table th.tablethird {
	width: 98%;
	border: 1px solid #7a3d00;
}

form#selecthorse table th {
	width: 15%
}

form#selecthorse table th.horsename {
	width: 27%;
}

table td, table th {
	vertical-align: top;
	padding-left: 2px;
}

.cutoffup td {
	border-width: 1px 0 0 0;
	border-style: solid;
}

.cutoffdown td {
	border-width: 0 0 1px 0;
	border-style: solid;
}

.righthalffac table td.rightedge {
	border-right: 1px solid #7a3d00;
	padding-right: 3px;
}

.raceblock table th+th+th+th+th+th {
	width: 10%;
}

.righthalffac #cardselect td {
	height: 2.8em;
}

#cardselect {
	width: 99% !important;
	width: 98%;
}

#cardselect td {
	width: 34%;
	font-weight: bold;
	font-size: 10px;
	padding: 0;
	margin: 0;
}

form#selecthorse table td.thin, form#selecthorse table th.thin {
	width: 1%;
}

#cardselect td {
	width: 28%;
}

#cardselect input {
	font-size: 9px;
}

#raceselect th {
	width: 38%;
}

#raceselect th.smallcol {
	width: 5%;
}

.clearance, .smallclear {
	clear: both;
}

.clearance {
	font-size: 10px;
	line-height: .5em;
}

.mainimg, p.aucimg {
	height: 97%;
	width: 97%;
	max-width: 175px;
	max-height:175px;
	background: url(../images/imgbg.gif) repeat-x scroll 0 0 transparent;
	border: 2px outset #cec991;
	padding:5px;
}

p.aucimg {
	height: 1.6em;
	font-size: 1.5em;
	color: #000000;
	font-weight: bold;
	margin: 0;
	text-align: center;
	width: 19%;
	max-width: 155px;
	position: absolute;
	top: 9em;
	left: 1%;
}

.multiimg {
	margin: 0;
	margin-top: -5px;
	width: 25% !important;
	width: 75%;
	background: #ffffc8;
	border: 1px solid #7a3d00;
}

.mainflag, .multiflag {
	position: absolute;
	top: -1px;
	left: 2px;
	height: 20px;
}

.multiflag, .lefthalffac .multiflag  {
	height: 15px;
	width: 30px;
	top: 0;
}

#profilepic {
	width: 100% !important;
}

.horseblock .trophyimg, .stableblock .trophyimg {
	width: 60px;
	height: 60px;
	margin: 4px;
	padding: 2px;
	border: none;
	background: url(../images/trophyshadow.png) 0 0 repeat;
}

.trophyblock {
	width: 98%; 
	margin-left: auto; 
	margin-right: auto;
}

.trophytit {
	width: 90px; 
	height: 50px;
	padding-bottom: 20px;
	float: left;
	clear: left;
	background: url(../images/engrave_plastic_w.gif) 50% 50% no-repeat;
}

.trophyshf {
	width:80%;
	height: auto;
	min-height: 70px;
	float: left;
	background: transparent url(../images/plastic_shelf.png) 0 100% repeat-x;
	border-right:2px outset #98d8ff;
}

.indenttext .alignright {
	position: absolute;
	right: 3px;
	top: 6px;
	font-size: 18px;
}

.indenttext .row .label {
	width: 30%;
	text-align: right;
}

.leftindent {
	padding-left: 2em;
	font-style: italic;
}

.flag {
	padding-left: 5px;
	width: 22px;
	height: 11px;
}

h2 {
	font-size: 1.6em;
	margin: 3px 0;
	padding: .1em 0;
}

h3 {
	margin: 3px 0;
	font-size: 1.2em;
	padding: 0;
}

.nobull {
	list-style-type: none;
}

#booktrav .row .info table {
	width: 97%;
}

#booktrav .row .info table th.tablethird {
	width: 32%;
}

table {
	text-align: left;
	font-size: 1em;
}

table caption {
	text-align: left;
	font-weight: bold;
	padding: 1px 0 1px 3px;
	margin: 0;
	border-width: 1px 1px 0 1px;
	border-style: solid;
}

table caption .racetime {
	float: right;
	font-size: 1.3em;
	text-align: right;
	width: 12em;
	padding-right: 3px;
}

table td.remain {
	border-top: 1px solid #7a3d00;
}

table.standings {
	width: 98%;
	border: 1px solid #333399;
}

table.standings thead th {
	border-bottom: 1px solid #333399;
}

table.standings td img {
	width: 1em;
	height: 1em;
}

table.standings td img.flag {
	width: 2em;
}

table.standings td img.logo {
	width: 35px;
	height: 35px;
}

.horseblock table,
table.racesum,
table.careersum,
.raceblock table.quarters {
	width: 98%;
}

.raceblock table.quarters .col1 {
	width: 25%;
}

.raceblock table.quarters .col2 {
	width: 21%;
}

.raceblock table tr.raceinfo td {
	padding-left: 3px;
}

.raceblock .twocols {
	height: 1px;
}

.raceblock .lefthalf {
	width: 65%;
	float: left;
	margin: 5px 0;
}

.raceblock .righthalf {
	width: 34%;
	float: right;
	margin: 5px 2px 5px 0;
}

.raceblock .righthalf img.racepic, .raceblock .righthalf object.racepic {
	width: 100%;
	height: 150px;
	border: 1px solid #993333;
	display: block;
}

.raceblock .righthalf object.racepic embed {
	display: block;
	width: 100%;
	height: 100%;
}

.raceblock .caption, .stableblock .caption {
	text-align: center;
	padding-left: 3px;
}

.raceblock .righthalf .racepic+.caption {
	width: 99%;
}

.racesum, .careersum {
	border-width: 1px;
	border-style: solid;
}

.racesum td, .careersum td {
	padding: 0 4px;
}

.racesum .totals, .careersum .totals {
	font-weight: bold;
}

/***********Scrolling scheduler******/

.scrollschedule {
	height: 11.7em;
	overflow: auto;
	width: 97%;
	padding: 3px 5px 0 5px;
	margin: 0;
}

#invites.scrollschedule, #future.scrollschedule, #past.scrollschedule {
	border: 1px solid #333399;
}

.scrollforum, .mailbox {
	height: 50em;
	overflow: auto;
	width: 97%;
	padding: 3px 5px;
	margin: 0;
	border: 1px solid #333399;
}

.scrollforum .message, .stableblock .message {
	border: 1px solid #9999ff;
	padding: 3px;
	margin-bottom: 8px;
}

.scrollforum .messagetext+.altrow {
	border-bottom: 1px solid #6666aa;
	width: 98%;
}

.scrollforum .messagetext, .mailbox .messagetext {
	border-top: 1px solid #aaaaff;
	padding: 5px;
	background: #fafafa;
}

.scrollforum .messagetext p.quote, .mailbox .messagetext p.quote{
	display: block;
	width: 95%;
	font-style: italic;
	background-color: #ccccee;
	border: 1px solid #9999ff;
}

.row p.quote, .blogrow p.quote {
	margin: 1px 0;
	padding: 1px 0;
	border: 1px solid #9999ff;
	background-color: #ffffe9;
}

.raceblock .scrollschedule {
	height: 5em;
}

#smilies.scrollschedule {
	height: 5em;
	border: 1px solid #333399;
	width: 35%;
}

#smilies.scrollschedule ul {
	margin: 0;
	padding: 0;
}

#smilies.scrollschedule ul li {
	line-height: 2em;
	height: auto;
	padding: 0 5%;
	margin: 1px;
	list-style-type: none;
	text-align: left;
	width: 85%;
}

#smilies.scrollschedule ul li img {
	margin-right: 1em;
}

.raceblock #nextup.scrollschedule {
	height: 14em;
}

.scrollschedule table.mainschedule {
	width: 99%;
	border-width: 0 0 1px 0;
	border-style: solid;
	padding: 0;
	margin: 0;
}

.scrollschedule table.mainschedule tr {
	height: 1.4em;
	margin: 0;
	padding: 0;
}

.scrollschedule table.mainschedule td {
	margin: 0;
	padding: .1em;
}

.scrollschedule table th {
	border-width: 0 0 1px 0;
	border-style: solid;
}

table tr.now td#now, table tr.now, table tr.now td.now, table.allaps td.now, table tr td.selracing{
	background: #FFFFC8;
	border: 1px solid #7a3d00;
	font-weight: bold;
	color: #000000;
	text-align: center;
}

.stableblock_box {
	background: url('../images/corners/blue_action_tl.gif') no-repeat top left;
}

.stableblock_top {
	background: url('../images/corners/blue_action_tr.gif') no-repeat top right;
}

.stableblock_bot {
	background: url('../images/corners/blue_action_bl.gif') no-repeat bottom left;
}

.stableblock_bot div {
	background: url('../images/corners/blue_action_br.gif') no-repeat bottom right;
}

.horseblock_box {
	background: url('../images/corners/green_action_tl.gif') no-repeat top left;
}

.horseblock_top {
	background: url('../images/corners/green_action_tr.gif') no-repeat top right;
}

.horseblock_bot {
	background: url('../images/corners/green_action_bl.gif') no-repeat bottom left;
}

.horseblock_bot div {
	background: url('../images/corners/green_action_br.gif') no-repeat bottom right;
}

.raceblock_box {
	background: url('../images/corners/red_action_tl.gif') no-repeat top left;
}

.raceblock_top {
	background: url('../images/corners/red_action_tr.gif') no-repeat top right;
}

.raceblock_bot {
	background: url('../images/corners/red_action_bl.gif') no-repeat bottom left;
}

.raceblock_bot div {
	background: url('../images/corners/red_action_br.gif') no-repeat bottom right;
}

.actionblock_box {
	background: url('../images/corners/action_tl.png') no-repeat top left;
}

.actionblock_top {
	background: url('../images/corners/action_tr.png') no-repeat top right;
}

.actionblock_bot {
	background: url('../images/corners/action_bl.png') no-repeat bottom left;
}

.actionblock_bot div {
	background: url('../images/corners/action_br.png') no-repeat bottom right;
}

.actionblock_top .actionblock_tl, .actionblock_bot div, .actionblock_bot,
.stableblock_top .stableblock_tl, .stableblock_bot div, .stableblock_bot,
.horseblock_top .horseblock_tl, .horseblock_bot div, .horseblock_bot,
.raceblock_top .raceblock_tl, .raceblock_bot div, .raceblock_bot {
	height: 4px;
	font-size: 1px;
}

.stableblock_bot, .stableblock_bot div,
.horseblock_bot, .horseblock_bot div,
.raceblock_bot, .raceblock_bot div {
	height: 5px;
}

.stableblock, .raceblock, .horseblock {
	padding: 0 4px 3px 3px;
	margin: 0 4px 0 1px !important;
	position: relative;
}

#rightblock .actionblock {
	padding: 0 1px 3px 3px;
	display: block;
	background-image: url(../images/rightmenback.jpg);
	border: 0px;
	margin: 0 1px !important;
	margin: -9px 1px 0 1px;
}

#mainmenu .actionblock {
	border: 0;
	margin: 0 1px !important;
	margin: -9px 1px 0 1px;
	padding: 0;
	background:  #ffffc8 url("../images/topmenback.gif") repeat-x 0 -9px;
}

.titletop .titlebar {
	border: 0px;
	margin: 0 0 0 2px;
	background: #ffffa0 url('../images/actiongrad.gif') repeat-x bottom left;
	padding-bottom: 5px;
	width: 98% !important;
	width: 100%;
}

.titletop {
	background: #ffffa0 url('../images/corners/title_tl.png') no-repeat top left;
	padding: 1px 0 0 0;
	margin: 0 1px 0 0;
}

/**Calendar***/
table.calendar {
	width: 98%;
	border: 2px solid #333399;
	padding: 0;
	margin: 0 1%;
	border-collapse: collapse;
	background: #fcfcfc;
}

table.calendar thead, table.calendar tfoot {
	border: 2px solid #333399;
	background: #98d8ff;
	margin: 0;
	padding: 2px;
	text-align: center;
}

table.calendar tfoot td {
	border: 0;
	padding: 2px 0 2px 0;
}

table.calendar tbody th {
	text-align: center;
	font-weight: bold;
	padding: 20px 1px;
	border: 1px solid #333399;
	background: #98d8ff;
}

table.calendar tbody tr {
	height: 83px;
}

table.calendar thead th {
	width: 13%;
}

table.calendar td {
	padding: 0;
	margin: 0;
	border: 1px solid #9999cc;
}

table.calendar .daily {
	margin-bottom: 2px;
	min-height: 20px;
	background: #c8e8ff;
}

table.calendar td.now {
	background: #Fcfcd0;
	border: 1px solid #7a3d00;
}

table.calendar tbody td a,
table.calendar .mandatory {
	float: left;
}

table.calendar td.inactive {
	background: #f2f2f2 url(../images/calendar_cross.gif) 50% 50% no-repeat;
}

table.calendar td.inactive .daily, table.calendar tfoot .daily {
	background: transparent;
}

table.calendar td.inactive .mandatory {
	color: #999999;
}

table.calendar img {
	border: 1px solid #999999;
	margin: 1px;
}

/** Naturally rounded 5px borders ***/

.warning, .ajap,
.error, .confirm,
.stableblock h3,
.raceblock h3,
.horseblock h3,
#rightblock #search,
.raceblock .righthalf .caption,
.stableblock .righthalf .caption,
.stableblock .tipoftheday,
.stableblock .lefthalffac img,
.mainimg {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
	border-radius: 5px;
}

/******BASICS COLOR SCHEME*****/

.warning, .ajap {
	background-color: #ffeec8;
	color: #993333;
	border: 1px solid #7a3d00;
	padding: 3px;
}

.ajap {
	height: 50px;
	text-align: center;
	background: #ffeec8 url('../images/silhouette.gif') 50% 75% no-repeat;
}

.error {
	background-color: #cc6666;
	color: #ffffff;
	font-weight: bold;
	padding: 3px;
	border: 1px solid #fe6911;
}

.confirm {
	background-color: #339933;
	color: #ffffc8;
	font-weight: bold;
	padding: 3px;
	border: 1px solid #004400;
}

.actionblock, form {
	background: #FFFFC8;
	border: 1px solid #9a6d05;
}

form.noshow {
	background: none;
}

#rightblock .actionblock {
	border-left-color: #ba9d05;
	border-top-color: #ba9d05;
}

form table th {
	background-color: #ffffa0;
}

.row .total {
	border-top: 1px solid #7a3d00;
	width: 100%;
}

.row #grandtotal.total {
	background-color: #FFFFC8;
	line-height: 1.3em;
	font-size: 1.1em;
}

.actionblock a:link, 
.actionblock a:visited {
	color: #303000;
}

a.action:link,
a.action:visited,
a.rating:link, 
a.rating:visited,
a.track:link,
a.track:visited {
	color: #3c3c00;
}

a.track:hover,
a.track:focus,
a.track:active {
	background: #ffffa0;
	color: #301000;
}

.actionblock a:hover, a.action:hover,
.actionblock a:focus, a.action:focus,
.actionblock a:active, a.action:active
.actionblock a.selectaction:hover, 
.actionblock a.selectaction:focus,
.actionblock a.selectaction:active,
.actionblock a.selectaction:visited,
.actionblock a.selectaction:link
{
	background: #ffefa0;
	color: #7a3d00;
}

.message a.helpaction, .messagetext a.helpaction,
.threads .helpaction,
.threads a.action:hover, .threads a.action:hover, .threads .action:active,
a.rating:focus, a.rating:hover,
a.rating:active {
	background: #ffffa0;
	color: #7a3d00;
}

#rightblock .actionblock a:hover, #rightblock .actionblock a:focus {
	font-size: 1.1em;
}

.gbentry {
	background: #FFFFE9;
	border: 1px solid #ffffa0;
}

.gbookbottom {
	background: #ffffa0;
}

a.horse:link,
a.horse:visited {
	color: #004000;
}

a.horse:hover,
a.horse:focus,
a.horse:active,
a.selecthorse:link, 
a.selecthorse:hover,
a.selecthorse:active,
a.selecthorse:focus,
a.selecthorse:visited {
	color: #000000;
	background-color: #adffbc;
}

a.race:link,
a.race:visited {
	color: #881c1c;
}

a.race:hover,
a.selectrace:hover,
a.race:focus,
a.selectrace:focus,
a.race:active,
a.selectrace:active,
a.selectrace:visited,
a.selectrace:link {
	color: #000000;
	background-color: #ffe0e0;
}

#rightblock .actionblock ul li a.selectrace,
#rightblock .actionblock ul li a.selecthorse, 
#rightblock .actionblock ul li a.selectjockey,
#rightblock .actionblock ul li a.selectaction {
	text-decoration: none;
}

a.stable:link,
a.stable:visited {
	color: #000060;
}

a.stable:hover,
a.stable:focus,
a.stable:active {
	color: #000000;
	background-color: #c8e8ff;
}

a.jockey:link,
a.jockey:visited {
	color: #000060;
}

a.jockey:hover,
a.jockey:focus,
a.jockey:active,
a.selectjockey:link,
a.selectjockey:hover,
a.selectjockey:focus,
a.selectjockey:visited,
a.selectjockey:active {
	color: #000000;
	background-color: #c8e8ff;
}

.titlebar, #statusblock .titlebar {
	border-color: #9a6d05;
	background-color: #ffffa0;
}

.blogrow h4 {
	border-bottom: 1px solid #333399;
}

.blogrow {
	border-top: 1px solid #333399;
}

.blogrow .label, .blogrow h4 {
	background: #c8e8ff;
}

.lgn h4, .usr h4, .rac h4, .jok h4, .inf h4, .hss h4 { padding: 3px 3px 3px 25px;}
.lgn h4 { background: transparent url(../images/ss_r_log.gif) 100% 0 no-repeat;  }
.usr h4 { background: transparent url(../images/ss_r_forum.gif) 100% 0 no-repeat; }
.rac h4 { background: transparent url(../images/ss_r_racing.gif) 100% 0 no-repeat; }
.jok h4 { background: transparent url(../images/ss_r_jockey.gif) 100% 0 no-repeat;}
.inf h4 { background: transparent url(../images/ss_r_inf.gif) 100% 0 no-repeat; }
.hss h4 { background: transparent url(../images/ss_r_horse.gif) 100% 0 no-repeat; }

.horseblock {
	background: #bfffbf url(../images/horsbg.png) repeat top left;
}

.horseblock .titlebar, 
.horseblock .careersum caption {
	border-color: #339933;
	background: #adffbc;
}

.horseblock .titlebar {
	background: url(../images/horsegrad.gif) repeat-x bottom left;
	border: 1px solid #339933;
}

.horseblock table {
	border: 1px solid #339933;
}

.horseblock table th {
	font-weight: bold;
	border-bottom: 1px solid #339933;
}

.horseblock .righthalfblock .altrow .label, .horseblock .righthalfblock .altrow .info, 
.horseblock .lefthalfblock .altrow .label, .horseblock .lefthalfblock .altrow .info, .horseblock .altrow {
	background: #bdffbc;
}

.horseblock .righthalfblock, .horseblock .lefthalfblock, 
.horseblock .scrollschedule th, .horseblock .scrollschedule, .horseblock .mainschedule {
	border-color: #339933;
}

.actionblock .altrow, .stableblock form table tr.altrow{
	background: #FFFFE9;
}

.stableblock h3,
.raceblock h3,
.horseblock h3 {
	background: url("../images/h3bg_s.gif") no-repeat 0 0 #C8E8FF;
	padding-left: 3px;
}

.horseblock h3 {
	background: url("../images/h3bg_h.gif") no-repeat 0 0 #adffbc;
}

.raceblock h3 {
	background: url("../images/h3bg_r.gif") no-repeat 0 0 #ffd5d5;
}

.stableblock {
	background: #d3ecfe url(../images/stabbg.png) repeat top left;
}

.stableblock .titlebar,
.stableblock table caption {
	border-color: #333399;
	background: #c8e8ff;
}

.stableblock .titlebar {
	background: url(../images/stabgrad2.gif) repeat-x bottom left;
	border: 1px solid #333399;
}

.stableblock .careersum, .stableblock .righthalfblock, .stableblock .lefthalfblock, 
.stableblock .scrollschedule th, .stableblock .scrollschedule, .stableblock .mainschedule {
	border-color: #333399;
}

.stableblock .altrow {
	background: #d3f1ff;
}

.stableblock option.altrow {
	background: #f3f5ff;
}

.stableblock .careersum .endhead th {
	border-bottom: 1px solid #333399;
}

.stableblock .careersum .altrow {
	border-right: 1px solid #333399;
}

.raceblock {
	background: #ffe8e8 url(../images/racebg.png) repeat top left;
}

.raceblock .titlebar,
.raceblock table caption {
	border-color: #993333;
	background: #ffd5d5;
}

.raceblock .titlebar {
	background: url(../images/racegrad.gif) repeat-x bottom left;
	border: 1px solid #993333;
}

.raceid {
	background: #ffbfbf;
	padding: 1px 3px;
	border: 1px solid #993333;
}

.raceblock table caption .raceid {
	background: #FFFFC8;
	border: 1px solid #7a3d00;
	margin-left: 3px;
	font-size: 1.3em;
}

#cardselect th {
	border: 1px solid #7a3d00;
	background-color: #ffffa0;
}

.raceblock table, 
.raceblock .scrollschedule, .raceblock .mainschedule {
	border: 1px solid #993333;
}

.raceblock table th {
	border-bottom: 1px solid #993333;
	padding-left: 3px;
}

.raceblock table td.form {
	text-align: right;
}

.raceblock .altrow  {
	background: #ffeaea;
}

.raceblock .myrunner {
	background: #e0f2ff;
}

.raceblock .racephoto {
	border: 1px solid #7a3d00;
}

.raceblock .righthalf .caption,
.stableblock .righthalf .caption,
.raceblock table tr.raceinfo td,
.stableblock .tipoftheday,
.careersum .totals {
	background: #FFFFC8;
	border: 1px solid #7a3d00;
}

.cutoffup td, .cutoffdown td {
	border-color: #993333;
}

.standings tr.myrunner {
	background: #ffeaea;
}

#statusblock {
	border: 1px solid #7a3d00;
	background: #ffeec8;
}

#statusblock .row {
	border-top: 1px solid #7a3d00;
}

#statusblock p {
	margin: 0 0 5px 0;
	text-align: center;
	font-weight: bold;
}

.threads p {
	margin: 1px 0 3px 0;
	text-align: center;
	font-weight: bold;
}

p.tipoftheday {
	margin: 0 7px 7px 7px;
	padding: 2px 5px;
}

#auctionform .row .label {
	border-right: 1px solid #7a3d00;
}

.info .selracing {
	background: #ffe0e0;
	font-weight: bold;
	padding: 0 2em;
	color: #000066;
}

.info .selstaff, .info .selstaff .mandatory {
	background: #7788ee;
	font-weight: bold;
	padding: 0 2em;
	color: #f8f877;
}

.info .seltravel {
	background: #ffffa0;
	font-weight: bold;
	padding: 0 2em;
	color: #000066;
}

.info .selauction {
	background: #adffbc;
	font-weight: bold;
	padding: 0 2em;
	color: #000066;
}

.info label.selauction, .info label.selracing, .info label.selstaff, .info label.seltravel {
	padding: 0;
}

/**** Calendar section ***/

.calpopup {
	margin-left: 15em;
}

.cpYearNavigation,
.cpMonthNavigation {
	background-color:#c8e8ff;
	text-align:center;
	vertical-align:middle;
	text-decoration:none;
	color:#000000;
	font-weight:bold;
}

TD.cpDayColumnHeader {
	text-align:right;
	border:solid thin #000066;
	border-width:0 0 1 0;
}
.cpCurrentMonthDate,
.cpOtherMonthDate,
.cpCurrentDate {
	text-align:right;
	text-decoration:none;
}
.cpCurrentMonthDate {
	color:#0044cc;
	font-weight:bold;
}
.cpCurrentDate {
	color: #eeff33;
	font-weight:bold;
}
.cpOtherMonthDate {
	color:#808080;
}
TD.cpCurrentDate {
	color:#eeff33;
	background-color: #999966;
	border-width:1;
	border:solid thin #000000;
}
TD.cpTodayText {
	border:solid thin #0044cc;
	border-width:1 0 0 0;
}
A.cpTodayText {
	height:20px;
}
A.cpTodayText {
	color:#0044cc;
	font-weight:bold;
}
.cpBorder {
	border:solid thin #000066;
	position: absolute;
	z-index: 2000;
	background: #d3ecfe;
}