.dxvgControl,
.dxvgDisabled
{
    border: 1px Solid #9F9F9F;
    font: 12px Tahoma, Geneva, sans-serif;
    background-color: #F2F2F2;
    color: Black;
    cursor: default;
}
.dxvgDisabled
{
    color: Gray;
}
.dxvgControl a
{
    color: #5555FF;
}
.dxvgDisabled a
{
    color: Gray;
}

.dxvgTable
{
    background-color: White;
    border-width: 0;
    border-collapse: separate!important;
    overflow: hidden;
    table-layout: fixed;
}
.dxvgTable .dxvgHEC
{
    background-color: White;
    border-width: 0;
    overflow: hidden;
}

.dxvgHeader
{
    cursor: pointer;
    color: Black;
    font-weight: normal;
    text-align: left;
    background-color: #DCDCDC;
    padding: 4px 6px;
    border: 1px Solid #9F9F9F;
    border-width: 0 1px 1px 0;
    overflow: hidden;
    white-space: nowrap;
}
.dxvgCategory
{
    color: Black;
    font-weight: bold;
    background-color: #ededed;
    padding: 9px 6px;
    border-bottom: 1px solid #9f9f9f;
    overflow: hidden;
    white-space: nowrap;
}
.dxvgCSD .dxvgCategory:not(.dxvg__I) 
{
    border-right: 1px solid #9f9f9f;
}
.dxvgCategoryRow.dxvgER .dxvgCategory,
.dxvgCategoryRow.dxvgCR .dxvgCategory 
{
    cursor: pointer;
}
.dxvgCategoryRow.dxvgER .dxvgCategory.dxvg__I,
.dxvgCategoryRow.dxvgCR .dxvgCategory.dxvg__I 
{
    cursor: default;
}

.dxvgRecord
{
    padding: 3px 6px 4px;
    border: 1px Solid #CFCFCF;
    border-width: 0 1px 1px 0;
    overflow: hidden;
}
.dxvgRecord:last-child 
{
    border-right-width: 0;
}
.dxvgRPFC .dxvgRecord 
{
    border-bottom: 1px Solid #9F9F9F;
}

.dxvgRPFC.dxvgER .dxvgRecord
{
	border-bottom-color: #CFCFCF;
}

.dxvgGLNV .dxvgRecord {
	border-right-width: 0;
 }
.dxvgGLNH .dxvgRecord {
	border-bottom-width: 0;
}
.dxvgGLNH .dxvgRPFC .dxvgRecord {
	border-bottom-width: 1px;
}
.dxvgGLNH .dxvgRPFC.dxvgER .dxvgRecord {
	border-bottom-width: 0;
}
.dxvgFC .dxvgGLNH tr:last-child .dxvgRecord {
    border-bottom-width: 1px;
}

.dxvgControl .dxvgFCSD 
{
    border-top: 1px solid #9f9f9f;
}

.dxvgRecordAlt
{
    background-color: #EDEDEB;
}

/* Select, Hover */
.dxvgSelectedRecord 
{
    background-color: #A0A0A0;
    color: White;
}
.dxvgSelectedRecord a
{
    color: White;
}
.dxvgSelectedRecord a:hover
{
    color: #F0F0F0;
}
.dxvgDataRowHover
{
    background: #cfcfcf none;
    color: Black;
}

/* Command Items */
.dxvgCommandCell a,
.dxvgHeader a.dxvgCommandItem
{
    margin: 0 3px 0 0;
}
.dxvgCommandCell a,
.dxvgHeader a 
{
    color: #0d45b7;
}
.dxvgCommandCell a:hover,
.dxvgHeader a.dxvgCommandItem:hover
{
    color: #5494ea;
}
.dxvgCommandCell a:hover.dxbDisabled
{
    color: #808080;
}
.dxbButton[class~="dxvgCommandItem"]
{
    margin: 0px 2px -1px 2px;
}
.dxbButton[class~="dxgvCommandItem"] .dxb
{
    padding-top: 0;
    padding-bottom: 0;
}

/* Indents */
.dxvgControl .dxvg__I
{
    border-style: solid;
    border-color: #9f9f9f;
    border-width: 0 1px 0 0;
    cursor: default;
}
.dxvgControl .dxvg__I.dxvg__BB 
{
    border-bottom-width: 1px;
}
.dxvgControl .dxvgER .dxvg__I.dxvg__BB 
{
    border-bottom-width: 0;
}
.dxvgControl .dxvgMHI .dxvg__I 
{
    border-right-width: 0;
}
.dxvgControl .dxvgMHI .dxvgER .dxvg__I.dxvg__BB 
{
    border-bottom-width: 1px;
}

/* Title Panel, Status bar, Summary Panel */
.dxvgTitlePanel, 
.dxvgTable caption
{
    font-size: 1.25em;
    font-weight: normal;
    padding: 3px 3px 5px;
    text-align: center;
    background-color: #ACACAC;
    color: White;
    border-bottom: 1px Solid #9F9F9F;
}
.dxvgStatusBar
{
    border-top: 1px Solid #9F9F9F;
}
.dxvgStatusBar tr.dxvg
{
    height: 20px;
}
.dxvgStatusBar tr.dxvg > td
{
    padding: 4px;
}
.dxvgStatusBar tr.dxvg span .dxbButtonSys:first-child
{
    margin-left: 2px;
}
.dxvgSummaryPanel 
{
    background-color: #D7D7D7;
    border-top: 1px solid #9F9F9F;
    padding: 8px 20px;
}
.dxvgSummaryItem 
{
    display: inline-block;
    margin: 5px 8px 5px 0;
}

/* Pager */
.dxvgPagerTopPanel,
.dxvgPagerBottomPanel
{
    padding-top: 4px;
    padding-bottom: 4px;
}
.dxvgPagerTopPanel
{
    border-bottom: 1px solid #9F9F9F;
}
.dxvgPagerBottomPanel
{
    border-top: 1px solid #9F9F9F;
}


.dxvgControl .dxpLite,
.dxvgDisabled .dxpLite
{
    padding-top: 4px;
}

/* Filter Builder, Filter Bar */
.dxvgFilterBar
{
    border-top: 1px solid #9F9F9F;
    background: #d4d4d4 none;
}
.dxvgFilterBar a
{
    color: #394ea2;
    text-decoration: underline;
}
.dxvgFilterBarCheckBoxCell
{
    padding: 0 7px 0 3px;
}
.dxvgFilterBarImageCell
{
    padding: 0 1px 0 3px;
    cursor: pointer;
}
.dxvgFilterBarExpressionCell
{
    padding: 5px 5px 8px 0;
    white-space: nowrap;
}
.dxvgFilterBarClearButtonCell
{
    padding: 5px 6px 8px;
}
.dxvgFilterBuilderMainArea
{
    background: white none;
    padding: 6px 2px;
} 
.dxvgFilterBuilderButtonArea
{
    background: #ededed none;
    border-top: 1px solid #cfcfcf;
    padding: 6px;
    white-space: nowrap;
}

/* Header Filter */
.dxvgControl .dxvgHFSAC
{
    padding: 9px 0 0 4px;
}
.dxvgControl .dxvgHFSC
{
    padding: 9px 0 6px;
}
.dxvgControl .dxvgHFSC div
{
    height: 1px;
    background: #8b8b8b;
}
.dxvgControl .dxvgHFSD
{
    height: 1px;
    margin: 2px 0;
}
.dxvgControl .dxvgHFDRC
{
    margin: 15px 15px 25px;
}
.dxvgControl .dxvgHFDRP
{
    margin-left: 15px;
    margin-right: 15px;
    padding: 9px 0 6px;
}
.dxvgControl .dxvgHFDRP[id*="HFFDE"]
{
    margin-top: 15px;
    margin-bottom: 5px;
}
.dxvgControl .dxvgHFDRP[id*="HFTDE"]
{
    margin-bottom: 25px;
}

/* Batch Edit */
.dxvgControl td.dxvgBatchEditCell
{
    padding: 0 2px;
}
.dxvgControl td.dxvgBatchEditModifiedCell
{
    background: #d7f9c7;
}
.dxvgBatchEditDeletedItem,
.dxvgBatchEditNewItem.dxvgBatchEditDeletedItem
{
    background: #EFEFEF;
}
td.dxvgBatchEditDeletedItem:not(.dxvgCommandColumn)
{
    color: rgba(0, 0, 0, 0.5);
}
.dxvgBatchEditDeletedItem.dxvgBatchEditModifiedCell
{
    background: #eefbe7!important;
}
.dxvgBatchEditNewItem
{
    background: #F0FAEA;
}

.dxvgControl .dxvgErrorCell
{
    padding-left: 5px;
    width: 1px;
}
.dxvgControl .dxvgErrorCell img
{
    margin: -3px 0;
}
.dxvgStatusBar .dxbButton
{
    margin-right: 10px;
}
.dxvgControl td.dxvgBatchEditCell .dxichCellSys 
{
    padding-left: 0;
}
.dxvgRecordError
{
    background-color: #FFC8C8;
    color: #FF0000;
    padding: 6px 10px;
    height: 100%;
}

.dxvgERV .dxvgRecord {
	display: none;
}

.dxvgEmptyRecord {
	display: none;
	text-align: center;
}

.dxvgERV .dxvgEmptyRecord {
	display: table-cell;
}

/* LoadingPanel */
.dxvgLoadingPanel
{
    font: 12px Tahoma, Geneva, sans-serif;
    color: #303030;
    background-color: white;
    border: 1px solid #9F9F9F;
}
.dxvgLoadingPanel td.dx
{
    white-space: nowrap;
    text-align: center;
    padding: 12px;
}
.dxvgLoadingPanel .dxlp-loadingImage,
.dxvgLoadingPanelStatusBar .dxlp-loadingImage
{
    background: url('/DXR.axd?r=1_98-xJ3Vs');
    height: 16px;
    width: 16px;
}
.dxvgLoadingPanelStatusBar
{
    background-color: Transparent;
}
.dxvgLoadingPanelStatusBar td
{
    white-space: nowrap;
    text-align: center;
    padding: 0px 2px;
}

/* Search Panel */
.dxvgSearchPanel 
{
    padding: 7px;
    border-bottom: 1px solid #9F9F9F;
}
.dxvgSearchPanel > table 
{
    width: 70%;
    max-width: 450px;
}
.dxvgControl .dxvgSearchPanel .dxbButton 
{
    margin-left: 7px;
    margin-right: 0;
}
*[dir="rtl"].dxvgControl .dxvgSearchPanel .dxbButton {
    margin-left: 0;
    margin-right: 7px;
}
.dxvgControl .dxvgHL
{
    background: #ffd83a;
    color: #333333;
    font-weight: bold;
    font-style: normal;
}

/* TODO remove (replace to command button style) */
.dxvgControl .dxvgSearchPanel .dxbButton
{
    font-size: 0.9em;
    margin-top: -2px;
    margin-bottom: -2px;
}
.dxvgControl .dxvgSearchPanel .dxbButton .dxb
{
    padding-top: 0;
    padding-bottom: 0;
}

/* Removes flicking in iOS Safari*/
.dxvgTable
{
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}


.dxvgFocusedCell
{
    box-shadow: inset 2px 2px 0 #2292B1, inset -2px -2px 0 #2292B1;
    -webkit-box-shadow: inset 2px 2px 0 #2292B1, inset -2px -2px 0 #2292B1;
    -moz-box-shadow: inset 2px 2px 0 #2292B1, inset -2px -2px 0 #2292B1;
}
