s
/*
 * basic styles for data tables
 *
 */

.chart.vis-data-table.chart {
    overflow: visible !important;
}

.chart.vis-data-table #footer {
    position: relative;
    top: auto;
    left: auto;
}

.chart.vis-data-table #datatable_wrapper {
    margin: 10px 6px 10px 2px;
}

.chart.vis-data-table .datatable-default {
    width: 100%;
    border: 0;
    border-spacing:0;
    margin: 10px 0 5px;
    border-collapse:collapse;
    clear: both;
}

.chart.vis-data-table .datatable-default td,
.chart.vis-data-table .datatable-default th {
    text-align: left;
    padding: 6px 11px!important;
    border: 0;
}

.chart.vis-data-table .datatable-default thead tr {
    border-bottom: 2px solid #777;
}

.chart.vis-data-table .datatable-default tr.highlight {
    background: #E3E7F6;
}

.chart.vis-data-table .datatable-default th.highlight {
    background: #CFD9EF;
}

.chart.vis-data-table .datatable-default tr td.highlight {
    background: #E6EaF9;
}

.chart.vis-data-table .datatable-default td span.raw-sortable {
    display: none;
}

.chart.vis-data-table .datatable-default tr.even td.highlight {
    background: #E0E3F3;
}

.chart.vis-data-table .datatable-default tr.odd td {
    /* background: #f9f9f9; */
}

.chart.vis-data-table .datatable-default thead th {
    padding: 6px 20px 6px;
    border-left: 1px solid transparent;
    font-weight: bold;
}

.chart.vis-data-table .datatable-default tbody th {
    background: none;
    font-weight: normal;
}

.chart.vis-data-table .datatable-default tbody td {
    text-align: left;
    border-left: 1px solid #bbb;
}

.chart.vis-data-table .datatable-default tbody td:last-child {
    border-right: 1px solid #bbb;
}

.chart.vis-data-table .datatable-default tbody tr:last-child
 {
    border-bottom: 1px solid #aaa;
}

.chart.vis-data-table .datatable-default tbody tr:hover {
    background: #eee;
}
.chart.vis-data-table .datatable-default tbody tr.even:hover {
    background: #e9e9e9;
}


.chart.vis-data-table .datatable-default tbody tr:hover td.highlight {
    background: #CFD9EF;
}


.chart.vis-data-table #datatable_info, #datatable_length {
    float: left;
}

.chart.vis-data-table #datatable_length, #datatable_filter {
    margin-bottom: 10px;
}

.chart.vis-data-table #datatable_paginate, #datatable_filter {
    float: right;
}

.chart.vis-data-table #datatable_paginate a {
    padding-left: 20px;
    cursor: pointer;
}

.chart.vis-data-table #datatable_next:after {
    content: ' ►';
    color: #777;
}

.chart.vis-data-table #datatable_previous:before {
    content: '◀ ';
    color: #777;
}

.chart.vis-data-table .paginate_disabled_next,
.chart.vis-data-table .paginate_disabled_previous {
    color: #777;
    cursor: default;
}

.chart.vis-data-table .datatable-default th.sorting,
.chart.vis-data-table .datatable-default th.sorting_desc,
.chart.vis-data-table .datatable-default th.sorting_asc
{
    cursor: pointer;
}

.chart.vis-data-table .datatable-default th.sorting:hover,
.chart.vis-data-table .datatable-default th.sorting_desc:hover,
.chart.vis-data-table .datatable-default th.sorting_asc:hover
{
    text-decoration: underline;
}

.chart.vis-data-table .datatable-default th.sorting_asc:after {
    content: '▼';
    color: #777;
    white-space: nowrap;
}

.chart.vis-data-table .datatable-default th.sorting_desc:after {
    content: '▲';
    white-space: nowrap;
    color: #777;
}

.chart.vis-data-table .datatable-default tbody tr .unit {
    opacity: 0;
}

.chart.vis-data-table .datatable-default tbody tr.even {
    background: #f3f3f3;
}

.chart.vis-data-table .datatable-default tbody tr:first-child .unit {
    opacity: 1;
}

.chart.vis-data-table .datatable-default td {
    text-align: left;
}

.chart.vis-data-table .datatable-default td.not-available,
.chart.vis-data-table .datatable-default td.number,
.chart.vis-data-table .datatable-default td.number-decimal,
.chart.vis-data-table .datatable-default td.number-small {
    text-align: right;
}

/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media
only screen and (max-width: 560px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

    /* Force table to not be like tables anymore */
    table.responsive, .responsive thead, .responsive tbody, .responsive th, .responsive td, .responsive tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .responsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .responsive tr { border: 1px solid #ccc; }

    .responsive td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    .responsive td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    /*
    Label the data
    */
    .responsive td:nth-of-type(1):before { content: attr(title); }
    .responsive td:nth-of-type(2):before { content: attr(title); }
    .responsive td:nth-of-type(3):before { content: attr(title); }
    .responsive td:nth-of-type(4):before { content: attr(title); }
    .responsive td:nth-of-type(5):before { content: attr(title); }
    .responsive td:nth-of-type(6):before { content: attr(title); }
    .responsive td:nth-of-type(7):before { content: attr(title); }
    .responsive td:nth-of-type(8):before { content: attr(title); }
    .responsive td:nth-of-type(9):before { content: attr(title); }
    .responsive td:nth-of-type(10):before { content: attr(title); }
    .responsive td:nth-of-type(11):before { content: attr(title); }
    .responsive td:nth-of-type(12):before { content: attr(title); }
}

.dataTable td {
    border: 1px solid #e6e6e6 !important;
}

.chart.vis-data-table .datatable-default td,
.chart.vis-data-table .datatable-default th {
    padding: 10px !important;
}

.chart.vis-data-table .datatable-default th {
    background: #08c;
    color: #fff;
    border: none;
}

.chart.vis-data-table .datatable-default th.sorting_desc:after,
.chart.vis-data-table .datatable-default th.sorting_asc:after {
    color: #fff;
    margin-left: 10px;
}

.chart.vis-data-table .datatable-default thead tr {
    border-bottom: 1px solid #e6e6e6 !important;
}

.chart.vis-data-table .datatable-default tbody tr.even {
    background: #fafafa !important;
}

.chart.vis-data-table .datatable-default th.sorting:hover, .chart.vis-data-table .datatable-default th.sorting_desc:hover, .chart.vis-data-table .datatable-default th.sorting_asc:hover {
    text-decoration: none;
}

.chart.vis-data-table #datatable_previous:before {
    content: '← ';
    color: #777;
}

.chart.vis-data-table #datatable_next:after {
    content: ' →';
    color: #777;
}

.chart.vis-data-table #datatable_length, #datatable_filter {
    margin-bottom: 20px !important;
}

.chart.vis-data-table #datatable_info,
.chart.vis-data-table #datatable_paginate {
    margin-bottom: 10px;
    margin-top: 10px;
}
