﻿.gridtable > thead > tr > th, .gridtable > thead > tr > td {
    position: relative;
}

.gridtable {
    border-spacing: 0;
    width: 100%;
    border: solid #101010 1px;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Open Sans';
    color: #444;
    margin: auto;
}

    .gridtable.breakpoint > tbody > tr > td.expand {
        background: url(img/plus.png) no-repeat 5px center;
        padding-left: 40px;
    }

    .gridtable.breakpoint > tbody > tr.gridtable-detail-show > td.expand {
        background: url(img/minus.png) no-repeat 5px center;
    }

    .gridtable.breakpoint > tbody > tr.gridtable-row-detail {
        background: #eee;
    }

    .gridtable > tbody > tr:hover {
        background: #fbf8e9;
    }

      /*.gridtable > tbody > tr > th:hover {
        background: black;
    }*/
    .gridtable.breakpoint > tbody > tr:hover:not(.gridtable-row-detail) {
        cursor: pointer;
    }

    .gridtable > tbody > tr > td, .gridtable > thead > tr > th {
        border-left: 1px solid #ccc;
        border-top: 1px solid #ccc;
        padding: 1px;/*6px*/
         }

    .gridtable > thead > tr > th, .gridtable > thead > tr > td {
        background-color: #dce9f9;
        background-image: -webkit-gradient(linear,left top,left bottom,from(#ebf3fc),to(#dce9f9));
        background-image: -webkit-linear-gradient(top,#ebf3fc,#dce9f9);
        background-image: -moz-linear-gradient(top,#ebf3fc,#dce9f9);
        background-image: -ms-linear-gradient(top,#ebf3fc,#dce9f9);
        background-image: -o-linear-gradient(top,#ebf3fc,#dce9f9);
        background-image: linear-gradient(to bottom,#ebf3fc,#dce9f9);
        -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
        -moz-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
        box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
        border-top: 0;
        text-shadow: 0 1px 0 rgba(255,255,255,.5);
    }

        .gridtable > thead > tr > th:first-child, .gridtable > thead > tr > td:first-child {
            -moz-border-radius: 6px 0 0;
            -webkit-border-radius: 6px 0 0;
            border-radius: 6px 0 0;
        }

        .gridtable > thead > tr > th:last-child, .gridtable > thead > tr > td:last-child {
            -moz-border-radius: 0 6px 0 0;
            -webkit-border-radius: 0 6px 0 0;
            border-radius: 0 6px 0 0;
        }

        .gridtable > thead > tr > th:only-child, .gridtable > thead > tr > td:only-child {
            -moz-border-radius: 6px 6px 0 0;
            -webkit-border-radius: 6px 6px 0 0;
            border-radius: 6px 6px 0 0;
        }

    .gridtable > tbody > tr:last-child > td:first-child {
        -moz-border-radius: 0 0 0 6px;
        -webkit-border-radius: 0 0 0 6px;
        border-radius: 0 0 0 6px;
    }

    .gridtable > tbody > tr:last-child > td:last-child {
        -moz-border-radius: 0 0 6px;
        -webkit-border-radius: 0 0 6px;
        border-radius: 0 0 6px;
    }

    .gridtable > tbody img {
        vertical-align: middle;
    }

.GridPager a, .GridPager span {
    display: block;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.GridPager a {
    background-color: #f5f5f5;
    color: #969696;
    border: 1px solid #969696;
}

.GridPager span {
    background-color: #A1DCF2;
    color: #000;
    border: 1px solid #3AC0F2;
}

.gridview-container {
    max-height: 800px; /* Set a maximum height for your GridView container */
    overflow-y: auto; /* Enable vertical scrolling if needed */
    position: relative; /* Ensure relative positioning for sticky header */
}