/* Copied and modified from jquery.dataTables.css, dataTables.colVis.css, and dataTables.tableTools.css */

/* Styles for positioning table controls */
div.cs_dataTables_left { float: left; }
div.cs_dataTables_right { float: right; }

/* Moves filter closer to table */
div.dataTables_filter {padding-top: 3px; padding-left: 5px; padding-right: 5px; }

/* Moves length closer to table */
div.dataTables_length {padding-top: 5px; padding-right: 5px; }

/* Attaches ColVis to the table */
div.ColVis {
    margin-top: 0;
    margin-bottom: 0;
}

/* Same size as pagination */
button.ColVis_Button { height: 25px; }

/* Restores ColVis button font size, eliminates internal gaps */
button.ColVis_Button, ul.ColVis_collection li { font-size: 1em; margin: 0; }

/* Makes ColVis as wide as needed, less transparent */
ul.ColVis_collection {
    width: auto;
    border: 1px solid rgba( 0, 0, 0, 1 );
    background-color: rgba( 255, 255, 255, 0.8 );
}

/* Makes group names bold */
ul.ColVis_collection li.ColVis_Special, ul.ColVis_collection li.ColVis_Special:hover { font-weight: bold; }

/* Display list items horizontally */
ul.ColVis_collection li { display: inline-block; }

/* Attaches info and pagination to the table */
.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate {
    padding-top: 0;
    padding-bottom: 0;
}
/* Promotes info and non-current pagination to grey box, and current pagination to black box */
.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate .paginate_button, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0.5em 1em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    border: 1px solid #cacaca;
    background-color: white;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, gainsboro));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, white 0%, gainsboro 100%);
    /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(top, white 0%, gainsboro 100%);
    /* FF3.6+ */
    background: -ms-linear-gradient(top, white 0%, gainsboro 100%);
    /* IE10+ */
    background: -o-linear-gradient(top, white 0%, gainsboro 100%);
    /* Opera 11.10+ */
    background: linear-gradient(to bottom, white 0%, gainsboro 100%);
    /* W3C */
}
.dataTables_wrapper .dataTables_paginate .paginate_button, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    cursor: pointer;
    *cursor: hand;
}
.dataTables_wrapper .dataTables_paginate .paginate_button { color: #333333 !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    cursor: default;
    color: #666 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover, .dataTables_wrapper .dataTables_paginate .paginate_button:active {
    color: white !important;
    border: 1px solid #111111;
    background-color: #585858;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111111));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #585858 0%, #111111 100%);
    /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(top, #585858 0%, #111111 100%);
    /* FF3.6+ */
    background: -ms-linear-gradient(top, #585858 0%, #111111 100%);
    /* IE10+ */
    background: -o-linear-gradient(top, #585858 0%, #111111 100%);
    /* Opera 11.10+ */
    background: linear-gradient(to bottom, #585858 0%, #111111 100%);
    /* W3C */
}

/* Fixes overlap with tfoot bottom border */
table.dataTable tfoot th,
table.dataTable tfoot td {
    padding: 10px 18px;
}
table.dataTable.compact thead th,
table.dataTable.compact thead td,
table.dataTable.compact tfoot th,
table.dataTable.compact tfoot td,
table.dataTable.compact tbody th,
table.dataTable.compact tbody td {
    padding: 2px;
}
table.dataTable.compact.hover tbody tr:hover {
    background-color: #e6e6e6;
}

/* Fixes overlap with tfoot bottom border */
div.DTTT_container { padding: 1px; }

/* Fixes arrows not appearing */
table.dataTable thead .sorting { background: url("../images/datatables/sort_both.png") no-repeat center right; }
table.dataTable thead .sorting_asc { background: url("../images/datatables/sort_asc.png") no-repeat center right; }
table.dataTable thead .sorting_desc { background: url("../images/datatables/sort_desc.png") no-repeat center right; }
table.dataTable thead .sorting_asc_disabled { background: url("../images/datatables/sort_asc_disabled.png") no-repeat center right; }
table.dataTable thead .sorting_desc_disabled { background: url("../images/datatables/sort_desc_disabled.png") no-repeat center right; }
