﻿.grid-view {
    width: 100%;
}

.MinGridSize {
    width: 350px;
    width: 100%;
}

.grid-scroll {
    height: max(215px, calc(85vh - 215px));
    overflow-y: scroll;
    overflow: auto;
    width: 100%;
    min-width: 350px;
}

.grid-scroll-min-height {
    height: max(215px, calc(85vh - 215px));
    overflow-y: scroll;
    overflow: auto;
    width: 100%;
    min-width: 350px;
}

.grid-view-cell {
    font-size: 0.65rem;
    font-weight: normal;
    border-color: #DEBA84;
    border-width:1px;
}

    .grid-view-cell th {
        padding: 1px 3px 1px 3px !important;
        border-color: #DEBA84;
        border-width: 1px;
    }

    .grid-view-cell td {
        padding: 1px 3px 1px 3px !important;
        border-color: #DEBA84;
        border-width: 1px;
    }

.grid-view-cell-center {
    font-size: 0.65rem;
    text-align: center;
    font-weight: normal;
    border-color: #DEBA84;
    border-width: 1px;
}

    .grid-view-cell-center td {
        padding: 1px 3px 1px 3px !important;
        border-color: #DEBA84;
        border-width: 1px;
    }

.grid-view-cell-center-sm {
    font-size: 0.65rem;
    text-align: center;
    font-weight: normal;
    border-color: #DEBA84;
    border-width: 1px;
}

.grid-view-cell-center td-sm {
    padding: 1px 3px 1px 3px !important;
    border-color: #DEBA84;
    border-width: 1px;
}

.grid-view-cell-center-link {
    font-size: 0.65rem;
    text-align: center;
    font-weight: normal;
    cursor: pointer;
    color: blue;
    border-color: #DEBA84;
    border-width: 1px;
}

    .grid-view-cell-center-link td {
        padding: 1px 3px 1px 3px !important;
    }

.grid-view-cell-left {
    font-size: 0.65rem;
    text-align: left;
    font-weight: normal;
    border-color: #DEBA84;
    border-width: 1px;
}

    .grid-view-cell-left td {
        padding: 1px 3px 1px 3px !important;
        border-color: #DEBA84;
        border-width: 1px;
    }

.grid-view-cell-left-sm {
    font-size: 0.65rem;
    text-align: left;
    font-weight: normal;
    border-color: #DEBA84;
    border-width: 1px;
}

    .grid-view-cell-left-sm td {
        padding: 1px 3px 1px 3px !important;
        border-color: #DEBA84;
        border-width: 1px;
    }

.grid-view-cell-right {
    font-size: 0.65rem;
    text-align: right;
    font-weight: normal;
    border-color: #DEBA84;
    border-width: 1px;
}

    .grid-view-cell-right td {
        padding: 1px 3px 1px 3px !important;
        border-color: #DEBA84;
        border-width: 1px;
    }

.grid-view-cell-totales {
    font-size: 0.70rem;
    text-align: center;
    font-weight: normal;
    background-color: #23D2B5;
}

    .grid-view-cell-totales td {
        padding: 1px 3px 1px 3px !important;
        border-color: #DEBA84;
        border-width: 1px;
    }

    .grid-view-cell-totales a {
        padding: 1px 5px 1px 5px !important;
        background-color: #23D2B5 !important;
        color: white !important;
        font-size: 0.70rem !important;
        font-weight: bold !important;
        text-decoration: underline !important;
        border-color: #DEBA84;
        border-width: 1px;
    }


.grid-view-cell-right-sm {
    font-size: 0.65rem;
    text-align: right;
    font-weight: normal;
}

    .grid-view-cell-right-sm td {
        padding: 1px 2px 1px 2px !important;
        border-color: #DEBA84;
        border-width: 1px;
    }

.grid-view-header {
    font-size: 0.68rem;
    font-weight: bold;
    background-color: #093821;
    color: white;
}

    .grid-view-header th {
        padding: 2px 3px 2px 3px !important;
        border-color: #DEBA84;
        border-width: 1px;
    }

.GridPager a, .GridPager span {
    display: block;
    height: 25px;
    width: 25px;
    font-size: 0.78rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.GridPager a {
    background-color: #f5f5f5;
    color: #969696;
    border: 1px solid #969696;
    font-size: 0.65rem;
}

.GridPager span {
    background-color: #A1DCF2;
    color: #000;
    border: 1px solid #3AC0F2;
    font-size: 0.8rem;
}

.fixedHeader {
    padding: 5px;
    font-size: 0.75rem;
    font-weight: bold;
    background-color: steelblue;
    color: white;
    font-weight: bold;
    position: absolute;
    height: 25px;
    top: expression(Sys.UI.DomElement.getBounds(document.getElementById("panelContainer")).y-25);
}

// Estilo param los grids
.SistoleGrid td {
    padding: 2px;
    border: solid 1px #efcbb8;
    color: #717171;
    font-size: 0.6rem;
    font-weight: normal;
    background: #f3f2f2;
}

.SistoleGrid tr {
    font-size: 0.7rem;
    font-weight: normal;
    background: #f3f1f1;
}

.SistoleGrid th {
    padding: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    background-color: steelblue;
    color: white;
    border-left: solid 1px white;
}

.SistoleGrid .alt {
    background: #fcfcfc url(grd_alt.png) repeat-x top;
}

.SistoleGrid .pgr {
    background: #424242 url(grd_pgr.png) repeat-x top;
}

    .SistoleGrid .pgr table {
        margin: 5px 0;
    }

    .SistoleGrid .pgr td {
        border-width: 0;
        padding: 0 6px;
        border-left: solid 1px #666;
        font-weight: bold;
        color: #fff;
        line-height: 12px;
    }

    .SistoleGrid .pgr a {
        color: #666;
        text-decoration: none;
    }

        .SistoleGrid .pgr a:hover {
            color: #000;
            text-decoration: none;
        }

.hover_row {
    background-color: hsl(197, 100%, 85%) !important;
}

    .hover_row a {
        background-color: hsl(197, 100%, 85%) !important;
    }

.selected_row {
    background-color: hsl(197, 100%, 65%) !important;
    color: white !important;
    font-weight: bolder !important;
}

    .selected_row a {
        background-color: hsl(197, 100%, 65%) !important;
        color: white !important;
        font-weight: bolder !important;
    }

td.hover_cell {
    background-color: hsl(197, 100%, 85%) !important;
}

    td.hover_cell a {
        background-color: hsl(197, 100%, 85%) !important;
    }

.selected_cell {
    background-color: #0087BEBF !important;
    color: white !important;
}

