* { padding: 0; margin: 0; }
body { background: #154779 url('/images/kdbackground.gif') top right no-repeat; font-family: Arial, Helvetica, sans-serif; height: 100%; padding: 0; width: 100%; font-size:12px; }
#wrapper { background: none; float: left; left: 50%; margin: 0 0 0 -475px; padding: 0; position: absolute; width: 951px; -moz-box-shadow: 0 0 10px rgba(0,0,0,.4); -webkit-box-shadow: 0 0 10px rgba(0,0,0,.4); box-shadow: 0 0 10px rgba(0,0,0,.4); }

html > body, x:-moz-any-link, x:default { left: -0.1px; position: relative; } /* Hack to fix Mac FF from shifting the menu over a pixel when ontop of flash */

#header, #top_menu, #left, #left_logged_in, #middle,#middle2, #Login_sm, #footer, #carbon, #carbon_solid, #middle_sub, #middle_right_sub, #right_sub, #races, #races_content {
	position: relative;	float: left;}

#middle_right, #right_col, #middle_support_sub { position: relative; float: right;}
	
#header { background-position: right bottom; background-repeat:repeat-x;  height:auto; margin-bottom: 0; width: 951px; background: url('/images/headerbackground.gif') repeat-x; }
#header #kw { color: #444; float: right; font-family: Arial, Helvetica, sans-serif; font-size: 9px; text-align:right; width:941px; padding: 2px 0 0 0; position: absolute; z-index:44; top:2px; right: 10px; text-decoration: none; margin:0; }
/*#header a.hlogo { width:351px; height:70px; background: url('/images/header-logo.gif') 0 10px no-repeat; position:relative; bottom:0; left:0; width:100%; background-color:#000; display:block; }
#header a.hlogo img { display:none;  }*/

#main_banner { float:left; left:0; height: 127px; padding:0; width: 781px; margin: 0 0 5px; right:auto;  }
#main_banner img { display:block; padding:0; margin:0; font-family: Arial, Helvetica, sans-serif; }
#main_banner_auth  { margin:0 0 5px;}

/*---- Login ---*/
.login-container { background:#113C66; display:block; float:left; width:150px; height: 127px; margin: 0 0 5px; padding:0 10px; }
#Login { position: relative; display: block; font-size: 11px; top: 0; left: 0; margin: 0; width: 100%; height: auto; z-index:4;  }
#Login .box { float:left; position:relative; padding:21px 0 0; border-bottom:0; /*background: url('/images/home/signin-arrow.png') 0 4px no-repeat;*/ width: auto;  height:auto; *background-position:0 5px; } 

#Login form { height: auto; }
#Login .form-box { float:left; height:auto; width:100%;  }
#Login .form-box .label { float:left; width:auto; color:#fff; padding:4px 0 0; *padding:3px 0 0; }
#Login .join { color:#FFFFFF; float:right; display: block; font-size: 11px;  padding:4px 0 0 0; margin: 0 1px 0 0; width: auto; height: auto; z-index:4;  }
#Login .form-box input { clear:both; width:138px; height:16px; border: 0; background:#FFF; padding:2px 5px 0; margin:0; color:#000; font-weight:bold; }
#Login .form-links { position:relative; clear:left; float:left; margin-top:3px; width:100%; height:auto; }
#Login .text-links { float:left; padding-left:1px; }
#Login .text-links a { float:left; color:#FFF; text-decoration:none; font-size:9px;  }
#Login .text-links a:hover { text-decoration:underline; }
#Login .text-links .pipe { color:#b29be2; margin: 0 5px; }
#Login .form-links .enterbutton { float:right; height:auto; margin-right:0;  }
#Login .tag { float:left; position:relative; display:block; width:100%; height:auto; text-align:center; }
#Login .tag a { display:block; color:#fff; font-size:21px; width:auto; margin-top:6px; }
#Login .tag a:hover { text-decoration:none; }

#Login_sm { clear: both;  height: 127px; background: #000; margin:0 0 8px 0; overflow: visible; }

#left, #left_logged_in {	clear:left; background: none repeat scroll 0 0 transparent; bottom: 0px; height: auto; left: 5px; padding: 0; top: 0px; width: 160px; }


.menu_left { background: #FFFFFF; border:1px solid #e3e3e3; border-top:0; color: #000000; margin: 0 0 5px; padding: 0; }
.menu_left a:link, .menu_left a:visited, .menu_left a:hover, .menu_left a:link:hover { border-top: 1px dotted #BEBEBE; border-bottom:none; color: #000000; padding: 5px 10px; }
.menu_left a:first-child { border-top: 0; }
.menu_left a:hover:first-child { border-top: 0; }
.menu_left a:link, .menu_left a:visited { background: #FFF; color: #000000; padding: 5px 10px; }
.menu_left a:hover, .menu_left a:link:hover { background: #EEE; color: #003366; padding: 5px 10px; }

	
#middle_casino { background: #000; width: 100%; height: auto; float: left;}
#middle, #middle2 { left:0; padding:0; margin-bottom: 0; } 
#middle { width:537px; }
#middle2 { width:777px; }

#middle_right { width: 775px; float:left; overflow: visible; left: 5px; margin:0 5px; padding:0;}

#carbon, #carbon_solid { background:#F1F1F1; margin: 0 auto; padding:0 0 5px; width: 951px; }
#carbon_solid { padding:5px 0; }

#middle_sub, #middle_right_sub { background:none; overflow:visible; margin-bottom: 0;}
	
#middle_sub { background:#FFF; clear:both; width: 535px; padding:0; border:1px solid #e3e3e3; border-top:0; margin:0 0 5px; }
#middle_sub .content { padding:20px;}

#middle_right_sub {  background:#FFF; left:0; width:773px; padding:0; border:1px solid #e3e3e3; border-top:0; }
#middle_right > #middle_right_sub { left:0; }

#middle_support_sub { height: 637px; width: 220px; background-color: #EBEBEB; }

#middle_all_sub { padding:0; width: 935px; position: relative; float: left; clear:both; overflow:visible; margin: 8px 0;  left:8px; min-height: 637px; _height: 637px; }
#middle_all_sub .content { clear:both; background-color: #FFFFFF; margin:0; }

#right_col{ margin-bottom: 0; min-height: 100%; padding: 0; right: 0; width: 232px; }

#right_sub { width: 100%; left: 0px; top: 0px; padding-bottom:5px; }
#right_sub img { max-width:230px; }
#right_sub_new { background-color: #FFF; border:1px solid #e3e3e3; border-top:0; left: 0px; padding: 0; position: relative; top: 0px; width: auto; }

.right_col1, .right_col2 { padding:10px; background:#fff; border:1px solid #e3e3e3; border-top:0; border-bottom: 1px dotted #BEBEBE; }


#purple_mid_head, #purple_right_head, #purple_mid_right_head, #racebook_purple_head, #purple_all_head { background: url("/images/menu_bar_bg_tile_new.gif") repeat-x scroll left top transparent; color: #FFFFFF; display: block; font-size: 12px; font-weight: bold; height: auto; line-height: 28px; margin: 0; padding: 8px 10px; text-transform: uppercase; }
#menu_left_head { margin:0 !important; padding: 8px 10px; }

#purple_mid_head { width: 517px; float:left; }
#purple_right_head {  float:none; }
#purple_mid_right_head { width:755px; float:left; }
#middle_right > #purple_mid_right_head { left: 0; width: 755px; float:left; }

#purple_all_head { width: 100%; padding:0;	 }
#purple_all_head .purple_heading { line-height: 28px; padding: 0 10px; }

#races{ display: block; width: 150px; }
#races_content{ width: 575px; padding-left:0; }


/* Blocks Welcome Page applet */
#messages-inbox { margin-bottom:5px; }
#messages-inbox .messbox { background:#fff; height: 60px; margin:0; padding: 0; text-align:center;  border:1px solid #E3E3E3; border-top:0;  }
#messages-inbox .message-loggedout { display:block; height:auto; padding:10px; border:1px solid #cbb2fe; font-size:13px; }
#bettingticket-block { float:left; display:block; width:232px; height: 40px; margin: 0 auto;  }
#bettingticket-block .ticketblock { float:left; width:100%; display:block; text-align: center; padding:0; margin: 0 auto; }
#bettingticket-block #BETTING { float:left; display:block; width:232px; height:40px; }

/* racebook applet */
#casino_subN { position: relative; float: left; }
.casinosubn { background: #FFF; position: relative; float: left; height:100%; width: 100%; left: 0; padding:0; margin:0; }

.footcas a { color: #6635CC; display: block; text-decoration: underline; padding-top: 2px; padding-bottom: 2px; font-family: Arial, Helvetica, sans-serif; font-size:11px; }
.footcas a:link, .footcas a:visited, .footcas a:hover { color: #6635CC; display: block; text-decoration: underline; padding-top: 2px; padding-bottom: 2px; font-family: Arial, Helvetica, sans-serif; font-size:11px; }

/* News Block Mid */
#middle_sub .newsblock .content { padding:10px 20px 20px; }
.newsblock { display:block; clear:left; }
.newsblock .right_col1, .newsblock .right_col2 { border-left:0; border-right:0; padding:10px 0; }
.newsitem { display:block; padding:0 0 10px; border-bottom:1px dotted #bebebe; }
.newsitem a { font-weight:bold;  }
.newsitem > div { padding-top:8px;  }
#middle_sub .newsblock span.content { clear: left; display: block; height: auto; padding: 0 20px 10px; text-align: right; width: auto; }


/* Welcome Page */
#clubbox { width:auto; display: block; float:left; }
#clubbox .content { padding:19px 19px 8px;}
#clubbox .row { width:auto; display: block; clear:left; }
#clubbox .row .icon { position:relative; width:auto; display: block; float:left; margin: 0 14px 11px 0; width:auto; height:auto; }
#clubbox .row .icon.last { margin: 0 0 11px 0;}
#clubbox .row .icon .mouseover { position:absolute; display: none; width:auto; height:auto; border: 5px solid #A93344; top:-2px; left:-2px; width:148px; height:176px;}
#clubbox .row .icon .mouseover.wide { width:488px; height:54px;}
#clubbox .row .icon a { width:auto; height: auto; display: block; float:left; }
#clubbox .row .icon a:hover .mouseover { display:block;}

/* Tabbed boxes */
#tabbedbox #tabsnew-1, #tabbedbox #tabsnew-2, #tabbedbox #tabsnew-3, #tabbedbox #tabsnew-4 { margin:0; padding:10px 20px; border:1px solid #e3e3e3; border-top:0; }

/* Todays' Races */
#todaysraces-mini span.content {  display:block; padding:10px 10px 0; height: 25px; text-align:right; width:auto;  clear:left; }

/* Todays' Races Right Column */
#todaysraces-mini { height: auto; margin: 8px 0 0; }
#todaysraces-mini .date { width:auto; display:block; height: 12px; padding:8px 10px; background:#EBEBEB; color:#000; font-size: 11px; text-transform:uppercase; font-weight:bold;  }
#todaysraces-mini #menu_right_head { position:relative; }
#todaysraces-mini #menu_right_head a { display:block; width:auto; position:absolute; top:4px; right:4px; }
#todaysraces-mini .schedule { padding:6px 10px 0; height: 350px; overflow:hidden; font-size: 12px; }
#todaysraces-mini .td-box { height:28px; padding: 4px 0 2px; border-bottom: 1px dotted #bebebe; line-height:13px;  }
#todaysraces-mini .race { overflow:hidden; display:block; }
#todaysraces-mini .time { float:left; width: 65px; }

/* Todays' Races - Welcome Content */
#todaysraces { width:100%; clear:left; display:block; height: auto; margin: 0; padding-top:10px; }
#todaysraces #purple_mid_head { position:relative; width:auto;float:none; }
#todaysraces #purple_mid_head a { display:block; width:auto; position:absolute; top:4px; right:4px; }
#todaysraces #right_sub_new { width:100%; border:0; }
#todaysraces .col1, #todaysraces .col2, #todaysraces .col3  { float:none; vertical-align:top; height:auto; background:#EBEBEB; border:0; border-left:1px solid #FFF; border-right:1px solid #FFF; }
#todaysraces .col1 { width:34%; background:#FFF; border:0; }
#todaysraces .col2 { width:33%; }
#todaysraces .date { width:auto; display:block; height: auto; padding:5px 10px; background:#D7D7D7; color:#000; font-size: 11px; text-transform:uppercase; font-weight:bold; border:0; }
#todaysraces .col1 .date { background:#FFF; }
#todaysraces .schedule { padding:5px 10px 0; height: auto; font-size: 12px; }
#todaysraces .td-box { height:auto; padding: 5px 0; border-bottom: 1px dotted #bebebe; line-height:13px;  }
#todaysraces .race { overflow:hidden; display:block; }
#todaysraces .time { float:left; width: 60px; }
#todaysraces span.content { clear:left; display:block; padding:10px 10px 0; text-align:right; height:auto; width:auto;  }

/* Breeders Cup Challenge */
#mini-bc_challenge { display: block; float: left; margin: 5px 0 0; width: 100%; }
#mini-bc_challenge .container { height: auto; overflow: hidden; padding: 0 10px; }
#mini-bc_challenge .bcdate { color: black; float: left; margin: 0; width: 22%; }
#mini-bc_challenge .bcrace { overflow: hidden; }
#mini-bc_challenge .bcrace span { display: block; height: auto; margin-bottom: 0; }
#mini-bc_challenge .right_col1, #mini-bc_challenge .right_col2 { border:0; border-bottom: 1px dotted #BEBEBE; padding: 7px 0; }
#mini-bc_challenge .right_col2 { background: none repeat scroll 0 0 transparent; }
#mini-bc_challenge span.content { clear: left; display: block; height: 25px; padding: 10px 10px 0; text-align: right; width: auto; }


/* Poker */
#clubbox .row .icon.double { float:right; display:block; width:152px; }
#clubbox .row .icon .mouseover.top { height:85px;}
#clubbox .row .icon .mouseover.bot { top:50%; height:85px;}


/* Countdown Mini */
#countdown { float:left; display:block; /*background:#113C66; */ padding:0 5px 0 0; }
#countdown-block { float:left; display:block; width:auto; position: relative;margin: 0; height: auto; }
#countdown-block a { display: block; }
.countdown-box { position: absolute; bottom:6px; left: 10px; width: auto; }
#lbcountdown { color: #FFF; padding: 0; margin: 0; text-align: left; }
#lbcountdown .time {font-size: 20px; font-weight: bold; height:21px; }  
#lbcountdown .time .colon { padding: 0 2px; font-weight: normal; }
#lbcountdown .lables { display:block; text-align: left; padding:0; color: #ffffff; font-size: 10px; font-weight: normal;  }
#lbcountdown .lables .colon { padding: 0 2px; }

/* Graded Stakes Table */
table.data.graded-stakes { padding-bottom:10px;  }	
table.data.graded-stakes caption { padding: 0 0 10px; }
table.data.graded-stakes  th { font-size:13px; padding: 4px 10px; }
table.data.graded-stakes  th.date { width: 17%; }
table.data.graded-stakes  td.date { font-weight: bold; color:#000; font-size:12px; }
table.data.graded-stakes tbody, table thead { border:0; }           
table.data.graded-stakes tbody td { padding: 10px; line-height:16px  }
table.data.graded-stakes tbody td span { padding: 5px 10px;  }

/* Racetrack Listings */
table.data th.racedates, table.data td.racedates { text-align:right; }

/* Racing Schedule Table */
table.data.racingschedule { margin:0; }
table.data.racingschedule th { padding:5px 10px; border-right:1px solid #d6d6d6; }
table.data.racingschedule td span { border-bottom:1px dotted #BEBEBE; }

/* Top Leaders Table */
table.data.leaders td { padding:5px 10px;}
table.data.leaders td.num { font-weight:bold;}
table.data.leaders .date { text-align:right; } 
table.data.leaders th { background: #D7D7D7; } 

/* Graded Stakes Right Column */
#mini-graded-stakes { width: 100%; float: left; margin: 5px 0 0; display:block; }
#mini-graded-stakes #right_sub_new { padding:15px 20px 10px; }
#mini-graded-stakes .stakes-box { height: auto; overflow: hidden; }
#mini-graded-stakes .graded-date { float: left; margin: 0 10px 0 0; padding: 5px 0; width: auto; }
#mini-graded-stakes .graded-races { overflow: hidden; }
#mini-graded-stakes .graded-races span { border-bottom: 1px dotted #BEBEBE; display: block; height: auto; margin-bottom: 0; padding: 5px 0; }
#mini-graded-stakes .right_col1, #mini-graded-stakes .right_col2 { background:none; border:0; border-bottom: 1px dotted #BEBEBE; padding: 0; }
.graded-races .break { border-bottom: 1px dotted #BEBEBE; display: none; height: 2px; margin-bottom: 2px; width: auto; }
#middle #mini-graded-stakes span.content { clear: left; display: block; height: 15px; padding: 10px 0 0; text-align: right; width: auto; }


/* Sportsbook */
.sb_button { display:block; margin:5px 0; padding: 0;}
.sb_button a { display:block; }
.sb_button img { width:auto }
#sportsbetBlock { display:block; margin:5px 0 0;}
#sportsbetBlock #middle_right_sub { display:block; margin:0; background:#fff; width:773px; padding:10px 0 0; }


/* Social */
#facebook { margin:5px 0 0; float:left; display:block; background:#fff; width:100%; padding:0; }
#facebook #menu_right_head a.facebookvisit-btn { display:block; position:absolute; top:3px; *margin-top:3px; right:7px; float:right; width:101px; height:20px; overflow:hidden; background: url('/images/home/social-col-btns.png') 0 -40px no-repeat; }
#facebook #menu_right_head a.facebookvisit-btn:hover { background-position:0 -60px; }
#facebook .fbblock { display:block; height:auto; border:1px solid #E3E3E3; border-top:0; width:auto; }

#twitter {  margin:5px 0 0; float:left; display:block; width:100%; height:auto; }
#twitter #menu_right_head a.twitter-follow-button { display:block; position:absolute; top:3px; *margin-top:3px; right:7px; float:right; width:101px; height:20px; overflow:hidden; background: url('/images/home/social-col-btns.png') top right no-repeat; }
#twitter #menu_right_head a.twitter-follow-button:hover { background-position:0 -20px; }
#twitter .twtrblock { display:block; height:auto; width:auto; border:1px solid #E3E3E3; border-top:0; width:auto; }


#footer { margin:0; }
#footer, #payment-logos { width:100%;  }
#footer li a:link, #footer li a:visited { color:#8c8c8c; }
#footer li a:hover { color:#FFF; }