﻿.GridViewHeader th {
    text-align: center;
    background-color: #f5f5f5 !important;
}


.table .ImageGrid {
    align-items: center !important;
    text-align: center;
}

    .table .ImageGrid:hover a {
        text-decoration: none !important;
    }

td.ImageGrid [type="image"],
td.ImageGrid img,
th.ImageGrid [type="image"],
th.ImageGrid img {
    display: inline;
    height: 20px;
    margin: 0 auto 0 auto !important;
    width: auto !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

    td.ImageGrid [type="image"]:disabled,
    td.ImageGrid img:disabled,
    th.ImageGrid [type="image"]:disabled,
    th.ImageGrid img:disabled {
        cursor: not-allowed;
    }


.GridViewStyle {
    font-size: 8pt !important;
    border-collapse: separate !important;
}

    .GridViewStyle td:not(.Nocopy) {
        cursor: copy;
    }

    .GridViewStyle > tbody > tr > td,
    .GridViewHeader > th {
        padding: 3px !important;
    }

    .GridViewStyle > tbody > tr > td,
    .GridViewHeader > th {
        vertical-align: middle !important;
    }

    .GridViewStyle td.tdAction {
        cursor: pointer;
    }

/*.GridViewPagerStyle td:only-child {
        padding-left: 1em !important;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }*/

.GridViewPagerStyle td,
.GridViewPagerStyle:hover {
    padding-left: 0.5em !important;
    padding-right: 0.5em !important;
    cursor: default !important;
    background-color: #fff !important;
}

    .GridViewPagerStyle td span,
    .GridViewPagerStyle td a {
        padding-right: 5px !important;
    }

.GridViewSelectedRowStyle,
.GridViewSelectedRowStyle:hover {
    color: #ffffff !important;
    background-color: #777 !important;
    /*background: rgba(0,0,0,0.1)!important;*/
    border-color: #e7e7e7 !important;
}

.GridView-VerticalLimit {
    overflow-y: auto !important;
    max-height: 510px !important;
}

td.details-control {
    text-align: center;
    background: url('../img/plus.png') no-repeat center center;
    cursor: pointer;
}

tr.details td.details-control {
    text-align: center;
    background: url('../img/minus.png') no-repeat center center;
}

@media screen and (max-height: 26.375em) {
    .GridView-VerticalLimit {
        height: 200px !important;
    }
}
