.dxvgControl_MBT,
.dxvgDisabled_MBT
{
    border: 1px Solid #c0c0c0;
    font: 12px 'Segoe UI', Helvetica, 'Droid Sans', Tahoma, Geneva, sans-serif;
    background-color: White;
    color: #333333;
    cursor: default;
}
.dxvgDisabled_MBT
{
    color: #b8b8b8;
}
.dxvgControl_MBT a
{
    color: #0072C6;
}
.dxvgDisabled_MBT a
{
    color: #b8b8b8;
}

.dxvgTable_MBT
{
    background-color: White;
    border-width: 0;
    border-collapse: separate!important;
    overflow: hidden;
    table-layout: fixed;
}
.dxvgTable_MBT .dxvgHEC
{
    background-color: White;
    border-width: 0;
    overflow: hidden;
}

.dxvgHeader_MBT
{
    cursor: pointer;
    font-weight: normal;
    text-align: left;
    background-color: white;
    padding: 4px 6px 5px;
    border: 1px Solid #c0c0c0;
    border-width: 0 1px 1px 0;
    overflow: hidden;
    white-space: nowrap;
}
.dxvgCategory_MBT
{
    font-weight: bold;
    background-color: white;
    padding: 9px 6px;
    border-bottom: 1px solid #cacbd3;
    overflow: hidden;
    white-space: nowrap;
}
.dxvgCSD .dxvgCategory_MBT:not(.dxvg__I) 
{
    border-right: 1px solid #cacbd3;
}
.dxvgCategoryRow_MBT.dxvgER .dxvgCategory_MBT,
.dxvgCategoryRow_MBT.dxvgCR .dxvgCategory_MBT 
{
    cursor: pointer;
}
.dxvgCategoryRow_MBT.dxvgER .dxvgCategory_MBT.dxvg__I,
.dxvgCategoryRow_MBT.dxvgCR .dxvgCategory_MBT.dxvg__I 
{
    cursor: default;
} 

.dxvgRecord_MBT
{
    padding: 3px 6px 4px;
    border: 1px Solid #c0c0c0;
    border-width: 0 1px 1px 0;
    background: White;
    overflow: hidden;
}
.dxvgRecord_MBT:last-child 
{
    border-right-width: 0;
}
.dxvgRPFC .dxvgRecord_MBT
{
    border-bottom: 1px Solid #cacbd3;
}
.dxvgGLNV .dxvgRecord_MBT {
	border-right-width: 0;
 }
.dxvgGLNH .dxvgRecord_MBT {
	border-bottom-width: 0;
}
.dxvgGLNH .dxvgRPFC .dxvgRecord_MBT {
	border-bottom-width: 1px;
}
.dxvgGLNH .dxvgRPFC.dxvgER .dxvgRecord_MBT {
	border-bottom-width: 0;
}
.dxvgFC .dxvgGLNH tr:last-child .dxvgRecord_MBT {
    border-bottom-width: 1px;
}

.dxvgControl_MBT .dxvgFCSD 
{
    border-top: 1px solid #cacbd3;
}

.dxvgRecordAlt_MBT
{
    background-color: WhiteSmoke;
}

/* Select, Hover */
.dxvgSelectedRecord_MBT
{
    background-color: #e0e0e0;
    color: #333333;
}
.dxvgSelectedRecord_MBT a
{
    color: #0072C6;
}
.dxvgDataRowHover_MBT .dxvgRecord_MBT
{
    background-color: #f0f0f0;
    color: #333333;
}
.dxvgDataRowHover_MBT a
{
    color: #0072C6!important;
}


/* Command Items */
.dxvgCommandCell_MBT a,
.dxvgHeader_MBT a.dxvgCommandItem_MBT
{
    margin: 0 3px 0 0;
}
.dxvgHeader_MBT a,
.dxvgCommandCell_MBT a
{
    color: #0072C6;
}
.dxbButton_MBT[class~="dxvgCommandItem_MBT"]
{
    margin: 0px 2px -1px;
}
.dxbButton_MBT[class~="dxvgCommandItem_MBT"] .dxb
{
    padding-top: 0;
    padding-bottom: 0;
}

/* Indents */
.dxvgControl_MBT .dxvg__I
{
    border-style: solid;
    border-color: #cacbd3;
    border-width: 0 1px 0 0;
    cursor: default;
}
.dxvgControl_MBT .dxvg__I.dxvg__BB 
{
    border-bottom-width: 1px;
}
.dxvgControl_MBT .dxvgER .dxvg__I.dxvg__BB 
{
    border-bottom-width: 0;
}
.dxvgControl_MBT .dxvgMHI .dxvg__I 
{
    border-right-width: 0;
}
.dxvgControl_MBT .dxvgMHI .dxvgER .dxvg__I.dxvg__BB 
{
    border-bottom-width: 1px;
}

/* Title Panel, Status bar, Summary Panel */
.dxvgTitlePanel_MBT, 
.dxvgTable_MBT caption
{
    font-size: 1.25em;
    font-weight: normal;
    padding: 3px 3px 5px;
    text-align: center;
    color: #999999;
    border-bottom: 1px Solid #c0c0c0;
}
.dxvgStatusBar_MBT
{
    border-top: 1px Solid #c0c0c0;
}
.dxvgStatusBar_MBT tr.dxvg
{
    height: 20px;
}
.dxvgStatusBar_MBT tr.dxvg > td
{
    padding: 4px;
}
.dxvgStatusBar_MBT tr.dxvg span .dxbButtonSys:first-child
{
    margin-left: 20px;
}
.dxvgSummaryPanel_MBT
{
    border-top: 1px solid #c0c0c0;
    padding: 8px 21px;
}
.dxvgSummaryItem_MBT
{
    display: inline-block;
    margin: 5px 8px 5px 0;
}

/* Pager */
.dxvgPagerTopPanel_MBT,
.dxvgPagerBottomPanel_MBT
{
    padding: 4px 0;
}
.dxvgPagerTopPanel_MBT
{
    border-bottom: 1px Solid #c0c0c0;
}
.dxvgPagerBottomPanel_MBT
{
    border-top: 1px Solid #c0c0c0;
}
.dxvgControl_MBT .dxpLite_MBT,
.dxvgDisabled_MBT .dxpLite_MBT
{
    padding-top: 4px;
}

/* Filter Builder, Filter Bar */
.dxvgFilterBar_MBT
{
    border-top: 1px Solid #c0c0c0;
}
.dxvgFilterBar_MBT a
{
    color: #0072C6;
    text-decoration: underline;
}
.dxvgFilterBarCheckBoxCell_MBT
{
    padding: 0 7px;
}
.dxvgFilterBarImageCell_MBT
{
    padding: 0 1px 0 3px;
    cursor: pointer;
}
.dxvgFilterBarExpressionCell_MBT
{
    padding: 5px 5px 8px 0;
    white-space: nowrap;
}
.dxvgFilterBarClearButtonCell_MBT
{
    padding: 5px 6px 8px;
}
.dxvgFilterBuilderMainArea_MBT
{
    background: white none;
    padding: 6px 2px;
} 
.dxvgFilterBuilderButtonArea_MBT
{
    border-top: 1px solid #c0c0c0;
    padding: 6px;
    white-space: nowrap;
}

/* Header Filter */
.dxvgControl_MBT .dxvgHFSAC
{
    padding: 9px 0 0 4px;
}
.dxvgControl_MBT .dxvgHFC
{
    padding-left: 4px;
}
.dxvgControl_MBT .dxvgHFC .dxeCalendar_MBT
{
    margin-top: 3px;
    margin-left: 7px;
}
.dxvgControl_MBT .dxvgHFSC
{
    padding: 9px 0 6px;
}
.dxvgControl_MBT .dxvgHFSC div
{
    height: 1px;
    background: #c0c0c0;
}
.dxvgControl_MBT div[id$='DXEPLPC']
{
    height: 53px;
}

.dxvgControl_MBT .dxvgHFSD
{
    height: 1px;
    margin: 2px 0;
}
.dxvgControl_MBT .dxvgHFDRC
{
    margin: 15px 15px 25px;
}
.dxvgControl_MBT .dxvgHFDRP
{
    margin-left: 15px;
    margin-right: 15px;
    padding: 9px 0 6px;
}
.dxvgControl_MBT .dxvgHFDRP[id*="HFFDE"]
{
    margin-top: 15px;
    margin-bottom: 5px;
}
.dxvgControl_MBT .dxvgHFDRP[id*="HFTDE"]
{
    margin-bottom: 25px;
}

/* Batch Edit */
.dxvgControl_MBT td.dxvgBatchEditCell_MBT
{
    padding: 0 2px;
}
.dxvgControl_MBT td.dxvgBatchEditModifiedCell_MBT
{
    background: #d7f9c7;
}
.dxvgBatchEditDeletedItem_MBT,
.dxvgBatchEditNewItem_MBT.dxvgBatchEditDeletedItem_MBT
{
    background: #EFEFEF;
}
td.dxvgBatchEditDeletedItem_MBT:not(.dxvgCommandColumn_MBT)
{
    color: rgba(0, 0, 0, 0.5);
}
.dxvgBatchEditDeletedItem_MBT.dxvgBatchEditModifiedCell_MBT
{
    background: #eefbe7!important;
}
.dxvgBatchEditNewItem_MBT
{
    background: #F0FAEA;
}
.dxvgControl_MBT .dxvgErrorCell
{
    padding-left: 5px;
    width: 1px;
}
.dxvgControl_MBT .dxvgErrorCell img
{
    margin: -3px 0;
}
.dxvgStatusBar_MBT .dxbButton_MBT
{
    margin-right: 10px;
}
.dxvgControl_MBT td.dxvgBatchEditCell_MBT .dxichCellSys
{
    padding-left: 0;
}
.dxvgRecordError_MBT
{
    background-color: #FFC8C8;
    color: #FF0000;
    padding: 6px 10px;
    height: 100%;
}
.dxvgERV .dxvgRecord_MBT {
	display: none;
}
.dxvgEmptyRecord_MBT {
	display: none;
	text-align: center;
}
.dxvgERV .dxvgEmptyRecord_MBT {
	display: table-cell;
}

/* LoadingPanel */
.dxvgLoadingPanel_MBT
{
    border: 1px solid #C3C3C3;
    background-color: white;
    font: 12px 'Segoe UI', Helvetica, 'Droid Sans', Tahoma, Geneva, sans-serif;
    color: #333333;
}
.dxvgLoadingPanel_MBT td.dx
{
    font-size: 1.17em;
    white-space: nowrap;
    text-align: center;
    padding: 10px 14px;
}
.dxvgLoadingPanel_MBT .dxlp-loadingImage
{
    background-image: url('../Web/Loading.gif');
    height: 32px;
    width: 32px;
}
.dxvgLoadingPanelStatusBar_MBT .dxlp-loadingImage 
{
    background-image: url('../GridView/gvLoadingOnStatusBar.gif');
    height: 16px;
    width: 16px;
}
.dxvgLoadingPanelStatusBar_MBT
{
    background-color: Transparent;
}
.dxvgLoadingPanelStatusBar_MBT td
{
    white-space: nowrap;
    text-align: center;
    padding: 0px 2px;
}

/* Search Panel */
.dxvgSearchPanel_MBT
{
    padding: 7px 4px 7px 6px;
    border-bottom: 1px solid #c0c0c0;
}
.dxvgSearchPanel_MBT > table 
{
    width: 70%;
    max-width: 450px;
}
.dxvgControl_MBT .dxvgSearchPanel_MBT .dxbButton_MBT
{
    margin-left: 7px;
    margin-right: 0;
}
*[dir="rtl"].dxvgControl_MBT .dxvgSearchPanel_MBT .dxbButton_MBT {
    margin-left: 0;
    margin-right: 7px;
}
.dxvgControl_MBT .dxvgHL
{
    background: #ffd83a;
    color: #333333;
    font-weight: bold;
    font-style: normal;
}

/* TODO remove (replace to command button style) */
.dxvgControl_MBT .dxvgSearchPanel_MBT .dxbButton_MBT
{
    font-size: 0.9em;
    margin-top: -2px;
    margin-bottom: -2px;
}
.dxvgControl_MBT .dxvgSearchPanel_MBT .dxbButton_MBT .dxb
{
    padding-top: 0;
    padding-bottom: 0;
}

/* Removes flicking in iOS Safari*/
.dxvgTable_MBT
{
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.dxvgFocusedCell_MBT
{
    box-shadow: inset 2px 2px 0 #dfdfdf, inset -2px -2px 0 #dfdfdf;    
    -webkit-box-shadow: inset 2px 2px 0 #dfdfdf, inset -2px -2px 0 #dfdfdf;
    -moz-box-shadow: inset 2px 2px 0 #dfdfdf, inset -2px -2px 0 #dfdfdf;
}

