﻿/*
 * Table
 */
table.dataTable {
    clear: both;
    margin: 0 auto;
    width: 100%;
}

table.dataTable thead th {
    border-bottom: 1px solid black;
    cursor: pointer;
    *cursor: hand;
    font-weight: bold;
    padding: 2px 12px 2px 2px;
}

table.dataTable tfoot th {
    border-top: 1px solid black;
    font-weight: bold;
}

table.dataTable td.center,
table.dataTable td.dataTables_empty { text-align: center; }

/*
 * Table wrapper
 */

.dataTables_wrapper {
    clear: both;
    position: relative;
    *zoom: 1;
}


/*
 * Page length menu
 */

.dataTables_length { float: left; }


/*
 * Filter
 */

.dataTables_filter {
    float: right;
    text-align: right;
}


/*
 * Table information
 */

.dataTables_info {
    clear: both;
    float: left;
}


/*
 * Pagination
 */

.dataTables_paginate {
    float: right;
    text-align: right;
}

/* Two button pagination - previous / next */

.paginate_disabled_previous,
.paginate_enabled_previous,
.paginate_disabled_next,
.paginate_enabled_next {
    color: #111 !important;
    cursor: pointer;
    *cursor: hand;
    float: left;
    height: 19px;
}

.paginate_disabled_previous:hover,
.paginate_enabled_previous:hover,
.paginate_disabled_next:hover,
.paginate_enabled_next:hover { text-decoration: none !important; }

.paginate_disabled_previous:active,
.paginate_enabled_previous:active,
.paginate_disabled_next:active,
.paginate_enabled_next:active { outline: none; }

.paginate_disabled_previous,
.paginate_disabled_next { color: #666 !important; }

.paginate_disabled_previous,
.paginate_enabled_previous { padding-left: 23px; }

.paginate_disabled_next,
.paginate_enabled_next {
    margin-left: 10px;
    padding-right: 23px;
}

.paginate_enabled_previous { background: url('../../images/back_enabled.png') no-repeat top left; }

.paginate_enabled_previous:hover { background: url('../../images/back_enabled_hover.png') no-repeat top left; }

.paginate_disabled_previous { background: url('../../images/back_disabled.png') no-repeat top left; }

.paginate_enabled_next { background: url('../../images/forward_enabled.png') no-repeat top right; }

.paginate_enabled_next:hover { background: url('../../images/forward_enabled_hover.png') no-repeat top right; }

.paginate_disabled_next { background: url('../images/forward_disabled.png') no-repeat top right; }

/* Full number pagination */

.paging_full_numbers {
    height: 22px;
    line-height: 22px;
}

.paging_full_numbers a:active { outline: none }

.paging_full_numbers a:hover { text-decoration: none; }

.paging_full_numbers a.paginate_button,
.paging_full_numbers a.paginate_active {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #aaa;
    border-radius: 5px;
    color: #333 !important;
    cursor: pointer;
    *cursor: hand;
    margin: 0 3px;
    padding: 2px 5px;
}

.paging_full_numbers a.paginate_button { background-color: #ddd; }

.paging_full_numbers a.paginate_button:hover {
    background-color: #ccc;
    text-decoration: none !important;
}

.paging_full_numbers a.paginate_active { background-color: #99B3FF; }


/*
 * Processing indicator
 */

.dataTables_processing {
    background-color: white;
    border: 1px solid #ddd;
    color: #999;
    font-size: 14px;
    height: 30px;
    left: 50%;
    margin-left: -125px;
    margin-top: -15px;
    padding: 14px 0 2px 0;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 250px;
}


/*
 * Sorting
 */

.sorting { background: #D2D3D2 url('../images/sort_both.png') no-repeat center right; }

.sorting_asc { background: #D2D3D2 url('../images/sort_asc.png') no-repeat center right; }

.sorting_desc { background: #D2D3D2 url('../images/sort_desc.png') no-repeat center right; }

table.dataTable thead th:active,
table.dataTable thead td:active { outline: none; }


/*
 * Scrolling
 */

.dataTables_scroll { clear: both; }

.dataTables_scrollBody {
    -webkit-overflow-scrolling: touch;
    *margin-top: -1px;
}

