﻿@media only screen and (max-width: 768px) {

    
   
    /* Vertical Stack */

    .table_stack, .thead_stack, .tbody_stack, .th_stack, .td_stack, .tr_stack {
        display: block;
    }

        .thead_stack .tr_stack {
            left: -9999px;
            position: absolute;
            top: -9999px;
        }

    .tr_stack {
        border: 1px solid #ccc;
    }

    .td_stack {
        -moz-border-bottom-colors: none;
        -moz-border-left-colors: none;
        -moz-border-right-colors: none;
        -moz-border-top-colors: none;
        border-color: currentcolor currentcolor #eee;
        border-image: none;
        border-style: none none solid;
        border-width: medium medium 1px;
        padding-left: 50%;
        position: relative;
        text-align: left;
        white-space: normal;
    }

    .th_stack {
        -moz-border-bottom-colors: none;
        -moz-border-left-colors: none;
        -moz-border-right-colors: none;
        -moz-border-top-colors: none;
        border-color: currentcolor currentcolor #eee;
        border-image: none;
        border-style: none none solid;
        border-width: medium medium 1px;
        padding-left: 50%;
        position: relative;
        text-align: left;
        white-space: normal;
    }

        .th_stack::before {
            content: attr(data-title);
        }

        .th_stack::before {
            font-weight: bold;
            left: 6px;
            padding-right: 10px;
            position: absolute;
            text-align: left;
            top: 6px;
            white-space: nowrap;
            width: 45%;
        }

    .td_stack::before {
        font-weight: bold;
        left: 6px;
        padding-right: 10px;
        position: absolute;
        text-align: left;
        top: 6px;
        white-space: nowrap;
        width: 45%;
    }

    .td_stack::before {
        content: attr(data-title);
    }

    .tbody_stack tr_stack {
        border-left: 1px solid #babcbf;
    }

    .tbody_stack tr_stack {
        display: inline-block;
        vertical-align: top;
    }

    .th_custom {
        -moz-border-bottom-colors: none !important;
        -moz-border-left-colors: none !important;
        -moz-border-right-colors: none !important;
        -moz-border-top-colors: none !important;
        border-color: currentcolor currentcolor none !important;
        border-image: none !important;
        border-style: none none solid !important;
        border-width: medium medium 1px !important;
        padding-left: 50% !important;
        position: relative !important;
        text-align: left !important;
        white-space: normal !important;
    }

    .td_custom {
        -moz-border-bottom-colors: none !important;
        -moz-border-left-colors: none !important;
        -moz-border-right-colors: none !important;
        -moz-border-top-colors: none !important;
        border-color: currentcolor currentcolor none !important;
        border-image: none !important;
        border-style: none none solid !important;
        border-width: medium medium 1px !important;
        padding-left: 50% !important;
        position: relative !important;
        text-align: left !important;
        white-space: normal !important;
    }
}

/**************FROM BOOTSTRAP CSS**************************/

 

    /*table width: 100%*/
    .table {
        margin-bottom: 20px;
        max-width: 100%;
        width: 100%;
    }

    .table-responsive {
        min-height: 0.01%;
        overflow-x: auto;
    }

    .table-bordered {
        border: 1px solid #ddd;
    }

    /*makes all th classes go left (x axis column headers and y axis row headers) */
th {
    text-align: left;
}

/*fills in row with color*/
.active {
}

/*makes a thicker grey row between title row and first data row*/

.table-bordered > thead > tr > td, .table-bordered > thead > tr > th {
    border-bottom-width: 2px;
}

/* adds grey shade to every other row */
.table > tbody > tr.active > td, .table > tbody > tr.active > th, .table > tbody > tr > td.active, .table > tbody > tr > th.active, .table > tfoot > tr.active > td, .table > tfoot > tr.active > th, .table > tfoot > tr > td.active, .table > tfoot > tr > th.active, .table > thead > tr.active > td, .table > thead > tr.active > th, .table > thead > tr > td.active, .table > thead > tr > th.active {
    background-color: #f5f5f5;
}

/*top grey row line on chart*/
.table-bordered {
    border: 1px solid #ddd;
}


/*grey lines separating columns*/
.table-bordered > tbody > tr > td, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > td, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > thead > tr > th {
    border: 1px solid #ddd;
}

/*padding in columns (makes columns fatter)*/
.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    border-top: 1px solid #ddd;
    line-height: 1.42857;
    padding: 8px;
    vertical-align: top;
}

/*REMOVE CLASS TO HAVE PROPER GRID SPACING*/
.table-condensed > tbody > tr > td, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > td, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > thead > tr > th {
    padding: 5px;
}

 /*
.grid_hidden_columns > tbody > tr > td, .grid_hidden_columns > tbody > tr > th, .grid_hidden_columns > tfoot > tr > td, .grid_hidden_columns > tfoot > tr > th, .grid_hidden_columns > thead > tr > td, .grid_hidden_columns > thead > tr > th {
    border: 1px solid #ddd;
}
  */


