﻿.table-dt {
    font-size: 0.8rem;
    padding: 0;
    margin: 0 !important;
    width: 100% !important;
}
.table-dt th, .table-dt td {
    padding: 0.1rem;
    vertical-align: middle;
    white-space: nowrap;
}

table.dataTable.table-sm > thead > tr > th
{
    padding: 0.1rem;
}

.table-dt thead tr, .table-dt thead, .table-dt th, .table-dt {
    background: #fff;
}

#result .card-body {
    padding: 0.2rem;
}

#result .card {
    margin-bottom: 0.2rem;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
    bottom: 0.3rem;
}

.table-responsive .container-fluid {
    padding: 0;
}

.summary .summary-value {
    font-weight: bold;
}

.line, .bar, .pie {
    height: 1.2rem;
    margin-top: -0.3rem;
    margin-bottom: -0.2rem;
}

.sparklines canvas {
    display: block;
}

.btn-table {
    font-size: 0.7rem;
}

.table-dt th {
    font-size: 0.7rem;
}

.dt-buttons {
    float: left!important;
    padding: 0;
    height: 3px;
    width: auto!important;
    margin: 0!important;
}

.dt-buttons > .btn {
    margin-bottom: -6px;
    padding: 0 2px;
    font-size: 0.45rem;
    color: #eee;
    border-width: 0;
    background: rgba(0,0,0,.1);
    box-shadow: none;
    z-index: 1;
}

.has-chart {
    text-align: center !important;
    padding: 0 .1rem !important;
}

.table-dt .btn-table {
    box-shadow: none;
    background: rgba(0,0,0,.1);
    border: none;
    padding: 0 2px;
}

.dt-buttons > .btn:hover, .table-dt .btn-table:hover {
    box-shadow: none;
    background: #999;
    color: #eee;
    border: none;
    padding: 0 2px;
}

.chart-canvas {
    max-width: 100%;
}

.page-link {
    padding: .25rem .5rem;
}

@media print {
    .dt-buttons {
        display: none !important;
    }

    .table-dt {
        margin: 0 !important;
    }

    .card-body {
        padding: 0 !important;
        margin: 0 !important;
    }

    .card {
        border: none;
    }

    .card-header {
        border-bottom: none;
    }

    .chartjs-render-monitor {
        min-height: 100%;
        max-width: 100%;
        max-height: 100%;
        height: auto !important;
        width: auto !important;
    }

    tfoot, thead {
        display: table-row-group;
    }

}
