*  { margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; border:0px; }

body {
	padding:0;
	margin:0;
	font:76% Arial, verdana, sans-serif;
	background:#FFF;
	color:#000;	
}

frame {border:0; margin:0; padding:0;} 

a {
	color:#000;
}

html { 
	border: none; 
}

h1 {
	margin:0 0 10px 0;
	font-size:2.4em;
	font-weight:bold;
	color:#000;
	position:relative;
}

h2 {
	margin:0 0 8px 0;
	font-size:1.6em;
	font-weight:bold;
	color:#cf1519;
}

h3 {
	margin:0 0 6px 0;
	font-size:1.4em;
	font-weight:bold;
	color:#000;
}

h3.storytitle { width:710px; background-color:#FFFFFF; padding:4px; border:1px solid #B0B0B0; margin-bottom:0px; }
h3.storytitle a { text-decoration:none; font-weight:bold;  }
.meta { width:712px; background-color:#B0B0B0; padding:2px; border:1px solid #B0B0B0; color:#FFFFFF; font-size:10px; text-align:left; text-transform:none; padding-left:4px; }
.meta a { color:#FFFFFF; }
.storycontent { width:678px; padding-left:8px; padding-right:12px; padding-top:6px; border-bottom:1px solid #FFF; border-right:1px solid #FFF; border-left:1px solid #FFF; border-top:3px solid #CCCCCC; margin-left:20px;  }
.storycontent { background:url(/images/totebet_bg1.png) no-repeat bottom right; margin-bottom:10px; }
h2.pagetitle a { font-weight:bold; }
h4 {
	margin:0;
	margin-top:0px;
	margin-bottom:8px;
	margin-left:20px;
	font-size:1.4em;
	font-weight:bold;
}

p {
	margin:0 0 12px 0;
	line-height:1.5em;
	text-align:left;
	position:relative;
}

hr {
	border:0;
	border-top: 1px solid #d8d8d8;
	height: 0;
	background: #d8d8d8;	
	clear:both;
	margin-bottom:12px;
}

a img {
	border:0;
}

img { 
	margin:0; 
	padding:0; 
}

#headerbg {
	background:url('/2008/images/header_bg1.jpg'); 
	background-repeat:repeat-x; 
	background-position:top left;
	position:relative;	
	height:180px;
	background-color:#FFFFFF;
}

ul { margin-left:25px; margin-top:10px; margin-bottom:14px; }
li {  }
ol { margin-top:10px; margin-bottom:14px; }

.right {
	text-align:right;
}

.floatright {
	float:right;
}

.blockerror {
	background:#ECECEC none repeat scroll 0% 50%;
	border:1px solid #D7342B;
	color:#000000;
	margin-bottom:10px;
	margin-top:10px;	
	margin-left:30px;
	padding:2px;
	width:90%;
}

.hide {
	display:none;
}

.formerror {
	color:#FF0000;
}

input,textarea, select {border:1px solid #999999; font-family:Verdana,Tahoma,Arial,Sans-Serif; font-size:1em; margin:0; padding:4px;}
.formpass { margin-left:219px; background-color:#ee8e90; letter-spacing:0px; padding:4px; font-size:24px; color:#FFFFFF; width:300px; }
fieldset { 
	border: 0px solid #FFFFFF;
	margin:0;
	padding:0;
	padding-top:6px;
}

label {
  display: block;
  float: left;
  width: 180px;
  padding-right: 20px;
  margin-top:5px;
  text-align: right;
}

label.error {
  display:block;
  position:absolute;
  width:auto;
  right:0px;
  top:0px;
  text-align: left;
  padding-right:26px;
  background:url(/images/error_star.gif) top right no-repeat;
}

.checkingusername2 { display:none; }
.checkusername2 { margin-left:200px; margin-top:8px; clear:both; margin-bottom:10px;}
#recaptcha_widget_div { float:left; }
input.submit, p.submit {
	width:auto;
	margin-left:219px !important;
	margin-bottom:10px;
}

input.submit2 {
	margin-bottom:10px;
	margin-left:200px;
	width:210px;
}

input {width:200px;}
select {width:200px;}
textarea {width:400px; height:70px;}

form {
	margin:0;
	padding:0;
}

.textcenter { text-align:center; }
.red { color:#ea1822; }
div.block {
	padding:10px;
	padding-bottom:1px;
	margin-bottom:10px;
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0; margin: 0;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
	font: 12px Arial, Helvetica, sans-serif;
	color: #666;
}

#TB_secondLine {
	font: 10px Arial, Helvetica, sans-serif;
	color:#666666;
}

#TB_window a:link {color: #666666;}
#TB_window a:visited {color: #666666;}
#TB_window a:hover {color: #000;}
#TB_window a:active {color: #666666;}
#TB_window a:focus{color: #666666;}

#TB_window p { color: #666; }
#TB_window ul, #TB_window ol{padding-bottom:0px}
#TB_window ul li{color:#666; padding-bottom:2px; list-style-type:square; margin-left:20px; padding-left:5px; font-size:12px}
#TB_window ol li{color:#666; padding-bottom:2px; margin-left:20px; padding-left:5px; font-size:12px}

#TB_window h1 { margin-top:6px; }
#TB_window h2 { padding-bottom:0px; margin-top:5px; }
#TB_window input.submit { margin-left:160px; width:auto; padding:4px; padding-left:7px; padding-right:7px; background-color:#999; color:#FFF; font-weight:bold; background-image:none}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	z-index:1000;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(/images/macFFBgHack.png) repeat;}
.TB_overlayBG {
	background-color:#000;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
}

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
	position: fixed;
	background: #ffffff;
	z-index: 1002;
	color:#000000;
	display:none;
	border: 4px solid #FF0000;
	text-align:left;
	top:50%;
	left:50%;
}

#TB_window input, #TB_window textarea, #TB_window select { width:150px; background:none; color:#000000; background-color:#FFFFFF; font-size:12px; font-family:"Lucida Grande",Lucida,"Trebuchet MS",Helvetica,sans-serif; }

#TB_window #submitreview label { width:200px; text-align:right; }

* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
	display:block;
	margin: 15px 0 0 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;
}

#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#TB_closeAjaxWindow{
	padding:7px 10px 5px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
}

#TB_title{
	background-color:#e8e8e8;
	height:27px;
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:1003;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
	z-index:999;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
}

#preload { display:none; }
#preload img { width:1px; height:1px; }
#plain { width:760px; margin-left:auto; margin-right:auto; padding-top:20px; position:relative; }
#plain h1#header { margin-left:30px; margin-bottom:10px; height:110px; }
#plain { background:url(/images/totebet_affiliates_horses.jpg) top right no-repeat; }
#nav { height:34px; position:relative; }
#nav2 { height:34px; margin-bottom:20px; }
#content { position:relative; margin-top:0px; background-color:#f2f2f2; padding:20px; margin-bottom:20px; padding-bottom:40px; padding-top:0px;}
#content p, #content h1, #content h2, #content li { z-index:100;  }
#content td p { position:static; }
#corners img { position:absolute; z-index:1; }
#corners img#lb { bottom:0px; left:0px; }
#corners img#rb { bottom:0px; right:0px; }
#corners img#lt { top:0px; left:0px; }
#corners img#rt { top:0px; right:0px; } 
fieldset { background-color:#F9F9F9; padding:8px; border:1px solid #CCCCCC; margin-bottom:10px; }
#login { position:absolute; top:10px; right:20px; width:250px; height:110px; border:1px #FFF solid; }
#login #loginbg { background-color:#000000; width:250px; height:110px; position:absolute; top:0px; left:0px; z-index:500;}
#login #logincontent { width:250px; height:110px; position:absolute; top:10px; left:0px; z-index:600;}
#login #logincontent p { color:#FFFFFF; margin:0; padding:0; margin-bottom:10px; }
#login #logincontent label { width:86px; }
#login #logincontent input { width:100px; background-color:#000000; border:1px solid #FFFFFF; color:#FFFFFF; }
#loginform p { position:inherit; }
#loginform label.error { right:-212px; color:#000000;  }
#loginform p#loginformlastname label.error { top:32px;  }

#login #logincontent #loginform label.error { width:160px; background:transparent url(/images/error_star.gif) no-repeat scroll left top; padding-right:0px; padding-left:26px; }
.transparency{ filter:alpha(opacity=70); -moz-opacity:0.7; -khtml-opacity: 0.7; opacity: 0.7; }

table {
	margin-top:8px;
	width: 100%;
	border-collapse:collapse;
	border:1px solid #cf1519;
	margin-bottom:12px;
}
caption {
	font: 1.8em/1.8em Arial, Helvetica, sans-serif;
	text-align: left;
	text-indent: 10px;
	background: url(/images/bg_caption.jpg) right top;
	height: 45px;
	color: #FFAA00;
}
thead th {
	background: url(/images/bg_th.jpg) no-repeat right top;
	height: 20px;
	color: #FFFFFF;
	font-size: 1em;
	font-weight: bold;
	padding: 4px 7px;
	margin: 20px 0px 0px;
	text-align: left;
	border-right: 1px solid #FCF1D4;
	white-space:nowrap;
}

tfoot td {
	background: url(/images/bg_th.jpg) no-repeat right top;
	height: 20px;
	color: #FFFFFF;
	font-size: 1em;
	font-weight: bold;
	padding: 4px 7px;
	margin: 20px 0px 0px;
	text-align: left;
	border-right: 1px solid #FCF1D4;
	white-space:nowrap;
}

tbody tr {
background: url(/images/bg_td1.jpg) repeat-x top;
}
tbody tr.odd {
	background: #FFF8E8 url(/images/bg_td2.jpg) repeat-x;
}

tbody th,td {
	font-size: 1em;
	line-height: 1.4em;
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	padding: 7px 4px;
	border-top: 1px solid #cf1519;
	border-right: 1px solid #DDDDDD;
	text-align: left;
}
a {
	color: #000;
	font-weight: normal;
	text-decoration: underline;
}
a:hover {
	color:#910407;
	text-decoration: underline;
}

#loginform.loginform2 h2 { position:absolute; left:10px; top:0px; color:#FF7D7D }
#loginform.loginform2 p { position:absolute; left:10px; top:24px; }
#loginform.loginform2 ul { position:absolute; right:10px; top:-10px; }
.quicklink { float:right; margin:0; padding:0; margin-top:3px; }
#loginform.loginform2 ul li, #loginform.loginform2 ul li a { color:#FFFFFF; font-weight:normal; }
#loginform.loginform2 input { position:absolute; left:0px; top:28px; }
#nav #userid { position:absolute; top:8px; right:10px; color:#FFFFFF; }
#nav #userid a { color:#FFFFFF; }
#quickstats { float:right; margin-right:18px; margin-bottom:10px; z-index:200; position:relative; width:300px; }
#quickstats table { width:300px; }
#quickstats h2 { margin:0px; padding:0px; }
.money { text-align:right; padding-right:8px; }
#blankpage { padding:10px; }
#joinform p { position:relative; }
#homegraph { width:380px; height:180px; }
#statgraph { position:absolute; right:22px; top:6px; width:380px; height:170px; z-index:1000; }
.legend tbody th, .legend tbody td { border:0; padding:0; margin:0; }
.legend table { border:0; margin:0; padding:0; width:auto; }
#content h1 { width:500px; }

table.tablesorter {

font-family:arial;
font-size:8pt;
margin:10px 0 15px;
text-align:left;
width:100%;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
background-color:#d32117;
}
table.tablesorter thead tr .header {
background-image:url(/images/bg.gif);
background-position:right center;
background-repeat:no-repeat;
cursor:pointer;
}
table.tablesorter tbody td {

}
table.tablesorter tbody tr.odd td {

}
table.tablesorter thead tr .headerSortUp {
background-image:url(/images/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
background-image:url(/images/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {

}
#invoiceaddress {float:right; margin-right:25px;}
#invoiceaddress p {margin-bottom:0px;}
#invoiceno { border:1px dashed #C40000; background-color:#FFF; margin-top:6px; padding:6px; margin-bottom:8px; }
#notes { position:relative; }
#notes p { position:relative; }
#notes input { left:424px; position:absolute;top:54px;width:auto; }
#paidstamp { position:absolute; right:30px; top:60px; width:172px; }
#paidstamp span { position:absolute; right:0px; top:70px; } 
#maininvoices td span { color:#FF0000; font-weight:bold; }
#supportoutput { margin-bottom:12px; width:284px; border:1px solid #990000; padding:12px; display:none; padding-bottom:0px; }
.submit3 { padding:8px; border-color:#FFF; color:#FFFFFF; width:60px; font-weight:bold; background-color:#980e10; float:right; margin-right:2px; }
#supportform { width:390px; }
#supportform label { width:80px; }