﻿.grid {
    width: 99.9%;
    margin-top: 1px;
    margin-bottom: 1px;
}

.emptyDataRow {
    width: auto;
    text-align: center;
    min-height: 20px;
    padding-top: 8px;
    font-weight: bold;
    border: 1px solid red;
    background-color: #758495;
    vertical-align: middle;
    -moz-border-radius: 5px 5px 5px 5px;
}

/* Telerik Grid */
.RadGrid_Default {
    width: 99.8%;
    background-color: #758495 !important;
    border-collapse: collapse !important;
    border-top: solid 1px #758495 !important;
    border-bottom: none !important;
    border-left: solid 1px #758495 !important;
    border-right: none !important;
}

    .RadGrid_Default .rgHeader {
        background: url("../Images/gridbg.gif") repeat-x scroll 0 0 transparent !important;
        height: 15px !important;
        color: #18285b !important;
        font-size: 12px !important;
        font-weight: bold !important;
        text-align: left !important;
        letter-spacing: 0px !important;
    }

        .RadGrid_Default .rgHeader A {
            color: #18285b !important;
            text-decoration: none !important;
        }

            .RadGrid_Default .rgHeader A:hover {
                color: Red !important;
                text-decoration: none !important;
            }



    .RadGrid_Default th, .RadGrid_Default td {
        border-right: 1px solid #758495 !important;
        border-bottom: 1px solid #758495 !important;
    }

.RadGrid .rgArrPart1 img, .RadGrid .rgArrPart2 img {
    margin: 2px !important;
}

.rgAltRow {
    background-color: White !important;
    color: #000 !important;
}

.rgRow {
    background-color: #f7f7f7 !important;
    color: #000 !important;
}

.rgAdvPart {
    display: none;
}

.RadGrid_Default .rgAltRow:hover, .RadGrid_Default .rgRow:hover {
    background-color: #D8D1D8 !important;
    color: #000 !important;
}

.RadGrid .rgMasterTable, .RadGrid .rgDetailTable {
    border-collapse: collapse !important;
}

.RadGrid_Default .rgFooterDiv, .RadGrid_Default .rgFooter {
    background: none repeat scroll 0 0 #CCCCCC !important;
}

.RadGrid .rgFooter td {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

.RowMouseOver td {
    background-color: Red !important;
}

.RadGrid td.rgPagerCell {
    border-top: solid 1px #c7c7c7 !important;
    padding: 0px !important;
    background-color: #fff !important;
    margin: 0px;
}



.RadGrid_Default TD A, .RadGrid TD A, .RadGrid A, .RadGrid_Default .rgEditForm A {
    text-decoration: none !important;
    color: #4C4E54 !important;
    font-size: 11px !important;
    font-weight: bold !important;
}

    .RadGrid_Default TD A:hover {
        text-decoration: none !important;
        color: Red !important;
        font-size: 11px !important;
        font-weight: bold !important;
    }

.RadGrid .rgRow td, .RadGrid .rgAltRow td {
    padding-bottom: 1px !important;
    padding-top: 1px !important;
    height: 18px !important;
}

.RadGrid_Default .rgEditRow {
    background: none !important;
    background-color: #fff !important;
}

.NextPrevAndNumeric  .rgAdvPart { display: none !important;} 
/********* end of telerik grid *******/


/*--------------Hierarchial Grid---------------------*/

.RadGrid_Default .rgMasterTable td.rgGroupCol, .RadGrid_Default .rgMasterTable td.rgExpandCol {
    background: none !important;
    border-bottom: 1px solid #758495 !important;
}

.RadGrid_Default .rgExpand {
    background-position: 1px !important;
    background-image: url('../Images/Actions/descending.gif') !important;
}

.RadGrid_Default .rgCollapse {
    background-position: 1px !important;
    background-image: url('../Images/Actions/ascending.gif') !important;
}

.RadGrid .rgDetailTable {
    border-width: 1px !important;
    border-color: #C7C7C7 !important;
}

.rgDetailTableHdr {
    background-color: #ECECEC;
    color: #333;
    padding-left: 7px;
    text-align: left;
}

.RadGrid .rgArrPart1 {
    padding-right: 5px !important;
    vertical-align: middle !important;
}

/********************End of Hierarchical Grid********************************/




/***********<ComboBox in grid>**************/
.RadGrid .RadComboBox td {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
    border-right: none !important;
}

.RadGrid .RadComboBox table td {
    border-style: none !important;
}
/***********<ComboBox in grid>**************/

