﻿.gridtable-header-column {
    white-space: nowrap;
}

.gridtable {
    border: 1px solid #dcc17c;
    border-collapse: separate;
    border-spacing: 0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.gridtable th, .gridtable td {
    border-width: 1px;
}

.gridtable tr > td {
    vertical-align: middle;
}

.gridtable tr.row-selected > td {
    color: White;
    background-color: black;
}

.gridtable td.grid-row-buttons {
    white-space: nowrap;
}

/* Grid colum visibility styles */
body.is-not-touch-device .gridtable-column-visibility:hover {
    background-color: #b1a08b !important;
}

.gridtable-column-visibility {
    color: #fff;
    border-bottom: 1px solid #4E5975 !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .gridtable-column-visibility:first-child {
        border-top: 1px solid #4E5975 !important;
    }

.gridtable-column-visibility-icon {
    padding-left: 20px;
    width: 22px;
}

.gridtable-column-visible {
    display: table-cell !important;
}

.gridtable-column-hide {
    display: none !important;
}

/* Grid full screen styles */
.gridtable-wrapper-fullscreen {
    position: fixed !important;
    z-index: 9999999999;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh !important;
    max-height: 100vh !important;
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 0;
    border: 0;
}

/* Grid move column styles */
.gridtable-drag-column-header {
    background-color: #ffffff;
    position: absolute;
    z-index: 1030;
}

.gridtable-frozen-column {
    z-index: 1030;
}

@media only screen and (max-width: 760px) {
    .gridtable-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    ::-webkit-scrollbar {
        display: unset;
    }
}

@media (max-width: 1024px) {
    .gridtable-wrapper {
        overflow-x: auto;
    }
}