.gj-cursor-pointer {
    cursor: pointer;
}

DIV.gj-grid-wrapper {
    margin: auto;
    position: relative;
    clear: both;
}

TABLE.gj-grid-table {
    
    border-collapse: collapse;
    table-layout: fixed;
    
}

    TABLE.gj-grid-table THEAD TH #checkAllBoxes {
        margin: auto;
    }

    TABLE.gj-grid-table > tbody > tr > td {
        overflow: hidden;
    }

    TABLE.gj-grid-table DIV[data-role="display"],
    TABLE.gj-grid-table DIV[data-role="display"] DIV {
        vertical-align: middle;
        text-indent: 0;
        display: inline-block;
        white-space: pre-wrap;
        -ms-word-break: break-word;
        word-break: break-word;
    }

DIV.gj-grid-wrapper DIV.gj-grid-loading-cover {
    background: #BBBBBB;
    opacity: 0.5;
    position: absolute;
    vertical-align: middle;
}

DIV.gj-grid-wrapper DIV.gj-grid-loading-text {
    position: absolute;
    font-weight: bold;
}

.gj-dirty {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px;
    border-color: #f00 transparent transparent #f00;
    padding: 0;
    overflow: hidden;
    vertical-align: top;
}

/* Base Theme */
.gj-grid-base-table {
    border: 1px solid #ddd;
    
    font-size: 12px;
}

    .gj-grid-base-table thead tr th {
        background-color: #466baf ;
        border: 1px solid #ddd;
        padding: 2px 1px 2px 1px;
        text-align:center;
        color:#FFF;
    }

    .gj-grid-base-table tbody tr:hover {
        background-color: #f5f5f5;
    }

    .gj-grid-base-table tbody tr td {
        border: 1px solid #466baf ;
    }

        .gj-grid-base-table tbody tr td div[data-role="display"] {
            padding: 3px;
        }

    .gj-grid-base-table thead tr th div {
        padding: 3px;
    }

div.gj-grid-wrapper div.gj-grid-base-toolbar {
    background-color: #f5f5f5;
    padding: 5px;
    font-weight: bold;
    border: 1px solid #ddd;
}

.gj-grid-base-active {
    background-color: #f5f5f5;
}

.gj-content {
    border: 1px solid #999;
    background-color: #fff;
    border-radius: 6px;
    outline: 0;
}

/* Bootstrap Theme */
div.gj-grid-wrapper div.gj-grid-bootstrap-toolbar {
    background-color: #f5f5f5;
    padding: 8px;
    font-weight: bold;
    border: 1px solid #ddd;
}

TABLE.gj-grid-table thead tr th.gj-grid-bootstrap-thead-cell {
    background-color: #f5f5f5;
    vertical-align: middle;
    color: #3d3535;
    line-height: 1.8;
}

/* jQuery UI Theme */
div.gj-grid-wrapper div.gj-grid-ui-toolbar {
    border-top: 1px solid menutext;
    border-left: 1px solid menutext;
    border-right: 1px solid menutext;
    border-bottom: 0px;
    padding: 2px;
    font: 11px Verdana;
}

TABLE.gj-grid-ui-table {
    font: 11px Verdana;
    border-left: 1px solid;
    border-top: 0px;
    border-right: 1px solid;
    border-bottom: 0px;
    padding: 0px;
    border-spacing: 0px;
}

    table.gj-grid-ui-table thead tr th.gj-grid-ui-thead-th {
        height: 20px;
        padding: 0px;
        /*cursor: default;*/
        white-space: normal;
        vertical-align: middle;
        border: 1px solid;
        border-spacing: 0px;
        border-collapse: collapse;
        border-color: menutext;
        text-align: center;
        -moz-user-select: none;
        -khtml-user-select: none;
    }

    table.gj-grid-ui-table thead tr th:first-child {
        border-left: 0px;
    }

    table.gj-grid-ui-table thead tr th div {
        padding: 2px;
        vertical-align: middle;
        display: inline-block;
    }

    table.gj-grid-ui-table thead tr th span.gj-grid-ui-thead-th-sort-icon {
        vertical-align: middle;
        display: inline-block;
    }

    table.gj-grid-ui-table tbody tr.ui-state-hover {
        border: 0px;
    }

    TABLE.gj-grid-ui-table > tbody > tr > td {
        padding: 0px;
        border-left: 1px solid;
        border-top: 0px;
        border-right: 0px;
        border-bottom: 1px solid;
        border-color: menutext;
    }

        TABLE.gj-grid-ui-table > tbody > tr > td:first-child {
            border-left: 0px;
        }

TABLE.gj-grid-table > tbody > tr > td > div {
    padding: 2px;
    overflow: hidden;
}
/* Hide all prioritized columns by default */
@media only all {
    th.display-1120,
    td.display-1120,
    th.display-960,
    td.display-960,
    th.display-800,
    td.display-800,
    th.display-640,
    td.display-640,
    th.display-480,
    td.display-480,
    th.display-320,
    td.display-320 {
        display: none;
    }
}

/* Show at 320px (20em x 16px) */
@media screen and (min-width: 20em) {
    TABLE.gj-grid-table th.display-320,
    TABLE.gj-grid-table td.display-320 {
        display: table-cell;
    }
}
/* Show at 480px (30em x 16px) */
@media screen and (min-width: 30em) {
    TABLE.gj-grid-table th.display-480,
    TABLE.gj-grid-table td.display-480 {
        display: table-cell;
    }
}
/* Show at 640px (40em x 16px) */
@media screen and (min-width: 40em) {
    TABLE.gj-grid-table th.display-640,
    TABLE.gj-grid-table td.display-640 {
        display: table-cell;
    }
}
/* Show at 800px (50em x 16px) */
@media screen and (min-width: 50em) {
    TABLE.gj-grid-table th.display-800,
    TABLE.gj-grid-table td.display-800 {
        display: table-cell;
    }
}
/* Show at 960px (60em x 16px) */
@media screen and (min-width: 60em) {
    TABLE.gj-grid-table th.display-960,
    TABLE.gj-grid-table td.display-960 {
        display: table-cell;
    }
}
/* Show at 1,120px (70em x 16px) */
@media screen and (min-width: 70em) {
    TABLE.gj-grid-table th.display-1120,
    TABLE.gj-grid-table td.display-1120 {
        display: table-cell;
    }
}

/* Base Theme */
.gj-grid-base-table tfoot th {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 3px;
    font-weight: normal;
    line-height: 29px;
}

    .gj-grid-base-table tfoot th button {
        margin: 0 3px 0 3px;
        background-color: #f5f5f5;
        border-radius: 4px;
        text-decoration: none;
        padding: 6px 12px;
        border: 1px solid #ddd;
        color: #337ab7;
        width: 34px;
        outline: 0;
    }

        .gj-grid-base-table tfoot th button.gj-grid-base-active {
            background-color: #fff;
        }

    .gj-grid-base-table tfoot th input {
        margin: 0 5px 0 5px;
        width: 26px;
        text-align: right;
    }

/* jQuery UI */
TABLE.gj-grid-table TFOOT TH.ui-grid-pager-cell {
    height: 20px;
    padding: 0px;
    cursor: default;
    border: 1px solid menutext;
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

TABLE.gj-grid-table TFOOT DIV.ui-grid-icon {
    margin: 0 2px;
    cursor: pointer;
    overflow: visible;
}

TABLE.gj-grid-table TFOOT DIV.ui-grid-pager {
    overflow: hidden;
}

TABLE.gj-grid-table TFOOT INPUT.ui-grid-pager {
    padding: 1px;
    width: 26px;
    height: 17px;
    font: bold 11px Verdana;
    margin: 0 5px;
    text-align: right;
}

TABLE.gj-grid-table TFOOT SELECT.ui-grid-page-sizer {
    padding: 0px;
    height: 17px;
    font: bold 11px Verdana;
    margin: 0 5px;
    text-align: right;
    width: 50px;
}

/* Bootstrap */
TABLE.gj-grid-table tfoot tr th.gj-grid-bootstrap-tfoot-cell {
    line-height: 22px;
    background-color: #E5E5E5;
    color: #3d3535;
}

.gj-grid-base-table thead tr th div.gj-grid-base-column-resizer-wrapper {
    position: relative;
    width: 100%;
    height: 0px;
    top: 0px;
    left: 0px;
    padding: 0px;
}

span.gj-grid-base-column-resizer {
    position: absolute;
    margin-right: -4px;
    right: 0px;
    width: 5px;
    top: -100px;
    height: 300px;
    z-index: 100;
    cursor: e-resize;
}

.gj-grid-resize-cursor {
    cursor: e-resize;
}

.gj-grid-unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.gj-grid-base-bottom-border td {
    border: 1px solid #ff0000;
}
