﻿.grid
{
    width: 99.9%;
    margin-top: 1px;
    margin-bottom: 1px;
}

.emptyDataRow
{
    width: auto;
    text-align: center !important;
    min-height: 20px;
    padding-top: 8px;
    font-weight: bold;
    border: 1px solid red;
    vertical-align: middle;
    -moz-border-radius: 5px 5px 5px 5px;
}

/* Telerik Grid */

/*.RadGrid_Windows7
{
    width: 99.8%;  background-color: #A7C5E8 !important;
    border-collapse: collapse !important;
    border-top: solid 1px #A7C5E8 !important;
    border-bottom: none !important;
    border-left: solid 1px #A7C5E8 !important;
    border-right: none !important;
    border-top-color: #C7C7C7 !important;
    border-right-color: inherit !important;
    border-bottom-color: inherit !important;
    border-left-color: #C7C7C7 !important;
} */

.RadGrid_Windows7 .rgHeader
{
    /*	background: url("../Images/gridbg.gif") repeat-x scroll 0 0 transparent !important;*/
    background-color: #A7C5E8 !important;
    height: 20 !important;
    color: #000000 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-align: left !important;
    letter-spacing: 0px !important;
}
.RadGrid_Windows7 th, .RadGrid_Windows7 td
{
    border-right: 1px solid #A7C5E8 !important;
    border-bottom: 1px solid #A7C5E8 !important;
    border-right-color: #D0DFF2 !important;
    border-bottom-color: #A7C5E8 !important;
}

.RadGrid .rgArrPart1 img, .RadGrid .rgArrPart2 img
{
    margin: 2px !important;
}
.rgAltRow
{
    background-color: #EFEDE7 !important;
    color: #000 !important;
}
.rgRow
{
    background-color: #FFFFFF !important;
    color: #000 !important;
}

.RadGrid_Windows7 .rgAltRow:hover, .RadGrid_Windows7 .rgRow:hover
{
    background-color: #BFDFFF !important;
    color: #000 !important;
}
.RadGrid .rgMasterTable, .RadGrid .rgDetailTable
{
    border-collapse: collapse !important;
}
.RadGrid_Windows7 .rgFooterDiv, .RadGrid_Windows7 .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_Windows7 TD A, .RadGrid TD A, .RadGrid A, .RadGrid_Windows7 .rgEditForm A
{
    text-decoration: none !important;
    color: #336699 !important;
    font-size: 11px !important;
    font-weight: bold !important;
}

.RadGrid_Windows7 TD A:hover
{
    text-decoration: none !important;
    color: Red !important;
    font-size: 11px !important;
    font-weight: bold !important;
    cursor: pointer;
}

.RadGrid .rgRow td, .RadGrid .rgAltRow td
{
    padding-bottom: 1px !important;
    padding-top: 1px !important;
    height: 18px !important;
}

.RadGrid_Windows7 .rgEditRow
{
    background: none !important;
    background-color: #fff !important;
}
/********* end of telerik grid *******/

/*--------------Hierarchial Grid---------------------*/

.RadGrid_Windows7 .rgMasterTable td.rgGroupCol, .RadGrid_Windows7 .rgMasterTable td.rgExpandCol
{
    background: none !important;
    border: 0px !important;
}

.RadGrid_Windows7 .rgExpand
{
    background-position: -9px !important;
    background-image: url('../Images/collapse.png') !important;
}

.RadGrid_Windows7 .rgCollapse
{
    background-position: -1px !important;
    background-image: url('../Images/expand.png') !important;
}
.RadGrid .rgDetailTable
{
    border-width: 1px !important;
    border-color: #C7C7C7 !important;
}

.rgDetailTableHdr
{
    background-color: #ECECEC;
    color: #333;
    padding-left: 7px;
    text-align: left;
}

.rgNoRecords
{
    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>**************/

.rgHeader A, .rgHeader A:visited
{
    color: #000000 !important;
    font-size: 12px !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.NextPrevAndNumeric .rgAdvPart
{
    display: none !important;
}