/**************************************************************
	Sortable Table
	v 1.4
**************************************************************/
table.sortTable {margin-top:1em; width:100%;clear:both;}
table.sortTable th{text-align:left;height:33px; color:#000000; vertical-align:middle;
background:url(/Javascript/sortableTable/images/header-bg-fill.png) repeat; white-space:nowrap;
padding:3px 5px 0px 5px;}
table.sortTable tr{padding: 4px;}
table.sortTable tr.altRow{background-color:#D4D8D3;}
table.sortTable td{text-align:left; padding:5px;}
table.sortTable .rightAlign{text-align: right;}

table.sortTable th span{padding-right:15px; background-repeat:no-repeat; 
background-image: url(/Javascript/sortableTable/images/header-both.png);  background-position:right -13px;}
table.sortTable th.tableHeaderOver span{cursor:pointer;color:#B70F20; background-position:right 0px;}
table.sortTable th.sortedASC span{background-image: url(/Javascript/sortableTable/images/header-desc.png);}
table.sortTable th.sortedDESC span{background-image:url(/Javascript/sortableTable/images/header-asc.png);}

.sortTable .noSorting {padding-left:5px;text-align:center;}
.sortTable .noSorting span{background-image:none;padding-right:none;}

table.sortTable tfoot{background-color:#444444; text-transform:uppercase;}
table.sortTable tfoot td{color:#FFFFFF;font-weight:bold;font-size:120%} 
table.sortTable tr.over{background-color:#D1CFCF;}
table.sortTable tr.over td.cl:hover,
table.sortTable tr.over a:hover{color:#B70F20;}
table.sortTable td a{color:#000000; font-weight:bold; display:block;}
table.sortTable td.cl{cursor:pointer; color:#000000; font-weight:bold; }
table.sortTable tr.hide{display:none;}


/* CUSTOM TD's */
.sortTable th.th_camp_id, .sortTable td.td_trafficDate { text-align:left; white-space:nowrap;}
.sortTable td.td_camp_id, .sortTable td.td_camp_title { text-align:left; } 
.sortTable .td_expand {text-align:center; padding-left:5px;}
.sortTable .td_affiliate_revenue,
.sortTable .td_advertiser_revenue,
.sortTable .td_revenue {font-weight:bold;text-align:right;}
.sortTable .td_margin,
.sortTable .td_percentage {text-align:right;}

.sortTable .th_clicks,
.sortTable .th_current_cpa,
.sortTable .th_leads,
.sortTable .th_conv_rate,
.sortTable .th_netConv,
.sortTable .th_affiliate_revenue,
.sortTable .th_advertiser_revenue,
.sortTable .th_revenue,
.sortTable .th_margin,
.sortTable .th_percentage,
.sortTable .th_ECPC{text-align:right;}
.sortTable .td_expand{width:45px;}

/* loaylty table */
.loaylty_table .th_level_money,
.loaylty_table .td_level_money{text-align:right;}
.loaylty_table .td_comments{text-align:center;}
.loaylty_table .td_track{text-align:center;}
.loaylty_table .td_edit{text-align:center;}
.loaylty_table .td_delete{text-align:center;}

/* report tables */
table.fraudTable th.th_clicks,
table.fraudTable td.td_clicks {text-align:center !important; }

table.sortTable td.td_cpa,
table.sortTable td.td_current_cpa,
table.sortTable td.td_ECPC,
table.sortTable td.td_revenue,
table.sortTable td.td_leads,
table.sortTable td.td_clicks,
table.sortTable td.td_netConv,
table.sortTable td.td_conv_rate {padding-left:5px; text-align:right; }

table.sortTable td.td_cpa a, table.sortTable td.td_current_cpa a {color:#B70F20;}
table.sortTable td.td_cpa a:hover, table.sortTable td.td_current_cpa a:hover {color:#000000;}

table.sortTable td.td_category { white-space:nowrap; }

/* STAFF EDIT TABLE */

table.editAccessLevels th b{display:none;}
/* END:STAFF EDIT TABLE */

/***************************/
.tableFilter{margin:5px 0px;}
.tableFilter label{margin-right: 10px;}
.tableFilter input{border: 1px solid #000;}
.tableFilter select{border: 1px solid #000;}
/*************************************************************/
div.calendar th{background:none;}
#reportResults a.expand {margin-left:0px;}

