﻿table.formTable
{
    clear: both;
    margin: auto;
    width: 100%;
    empty-cells: show;
}
/* thead styles */
table.formTable thead.actionable th{ cursor: pointer; }

table.formTable thead tr.headerRowPos1 th
{
    background-color: #22415F;
    height: 25px;
    text-align: center;
    border-right: solid 1px #4E5F68;
    border-top: solid 1px #4E5F68;
    border-collapse: collapse;   
    padding: 5px 4px;
}
table.formTable thead tr.headerRowPos1 th.header
{
    border-right: dashed 1px #d8d8d8;
    border-left: dashed 1px #d8d8d8;
}

table.formTable tr.headerRowPos2 th,table.formTable tr.headerRowPos2 td
{
    background-color: #63798F;
    border: solid 1px #22415F;
    border-collapse: collapse;
    padding: 4px 6px;
    height: 20px;
    text-align: center;
}

/* tbody styles */
table.formTable tbody tr{  background-color: #fff; }
table.formTable tbody tr.altRow{ background-color: #f8f8f8; }
table.formTable tbody td
{
    border: solid 1px #d8d8d8;
    border-style: outset;
    border-collapse: collapse;
    padding: 2px 4px;
    white-space: nowrap;   
    vertical-align: middle; 
    height: 26px;
}
table.formTable tbody tr:hover td{ color: #000; }
table.formTable tbody tr:hover td a{ color: #22415F; }
table.formTable tbody ul{ list-style-position: inside; margin-left: 10px; }

/* custom table classes */
td.currency, td.percent, td.date, td.right{ text-align: right;}
td.positiveCurrency{ text-align: right; }
td.negativeCurrency{ text-align: right; }
img.directionImg{ margin-left: 5px; }
div.tableActions{ float: right; position: relative; bottom: -1px; margin-top: 20px; }
div.tableButtonContainer{ float: right;  clear: both;}

/* filter styles */
.filterHeader{ background-color: #637990 !important; }
.tableHeaderSorted{background-color: #d8d8d8 !important;}
.tableFilterBar
{
    height: 35px;
    line-height: 35px;
    background-color: #d8d8d8;
}
.tableFilterBar div{ height: 35px; line-height: 35px;}
.tableFilterBar select,.tableFilterBar span,.tableFilterBar input{  margin-left: 10px; }
.tableFilterBar select{  margin-top: 5px; }
.tableFilterLinkColumn
{
    background: #d8d8d8 url('/content/img/filterBarBG.png') repeat-x top left;
    border-top: solid 1px #D8D8D8;
    text-align: center;
}
.filterLink
{
    display: block;
    height: 15px;
    background: #22415F url('/content/img/filterBG.png') no-repeat bottom left;
    width: 50px;
    margin: auto;
}

/* tfoot styles */
table.formTable tfoot tr td
{
    background-color: #63798F;
    border: outset 1px #22415F;
    padding: 4px 6px;  
}
.pageSizeDropdown
{
    float: right;
    margin-right: 10px;
}
select.pageSizeDropdown
{
    margin-right: 4px;
}


.footerControl
{
	width:100%;
}
.footerPager
{
	float:left;
	width: 250px;
	text-align:left;
}
.footerPageSize
{
	float:left;
	width: 150px;
	text-align:left;
}
.footerRecordTotals
{
	float:right;
	text-align:right;
	margin-left: 30px;
}

.footerPageCount
{
	float:right;
	text-align:center;
	margin-left: 30px;
}


ul.pager
{
    display: block;
    margin-bottom: 30px;
}
ul.pager li
{
    display: block;
    float: left;
    overflow: auto;
    height: 25px;
    line-height: 25px;
    margin-left: 4px;
}

ul.pager li a
{
    display: block;
    border: solid 1px black;
    height: 20px;
    line-height: 20px;
    min-width: 20px;
    padding: 0 2px;
    text-align: center;
    text-decoration: none;
    background: #22415F url('/Content/Img/buttonbg.jpg') repeat-x top left;
}

ul.pager li.currentPage
{
	display: block;
    border: solid 1px black;
    height: 20px;
    line-height: 20px;
    min-width: 20px;
    padding: 0 2px;
    text-align: center;
    text-decoration: none;
}

ul.pager li a:hover
{
    background: #22415F url('/Content/Img/buttonbg.jpg') repeat-x bottom left;
}

ul.pager li.pagerTotals
{
	display: inline;
}