.dxgvControl_MBT,
.dxgvDisabled_MBT
{
	border: 1px Solid #c0c0c0;
	font: 12px 'Segoe UI', Helvetica, 'Droid Sans', Tahoma, Geneva, sans-serif;
	background-color: White;
	color: #333333;
	cursor: default;
}
.dxgvDisabled_MBT
{
	color: #b8b8b8;
}
.dxgvControl_MBT a
{
	color: #0072C6;
}
.dxgvDisabled_MBT a
{
	color: #b8b8b8;
}

.dxgvEmptyDataRow_MBT.dxgvLVR > td.dxgv,
.dxgvDataRow_MBT.dxgvLVR > td.dxgv,
.dxgvGroupRow_MBT.dxgvLVR > td.dxgv
{
    border-bottom-width: 0;
}

.dxgvRBB .dxgvEmptyDataRow_MBT.dxgvLVR > td.dxgv,
.dxgvRBB .dxgvDataRow_MBT.dxgvLVR > td.dxgv,
.dxgvRBB .dxgvGroupRow_MBT.dxgvLVR > td.dxgv
{
    border-bottom-width: 1px !important;
}

.dxgvGroupRow_MBT td.dxgv.dxgvPHEC, .dxgvPreviewRow_MBT td.dxgv.dxgvPHEC,
.dxgvDetailRow_MBT td.dxgv.dxgvPHEC, .dxgvGroupFooter_MBT td.dxgv.dxgvPHEC,
.dxgvDataRow_MBT td.dxgvPHEC {
    border-right: 1px Solid #c0c0c0;
}

.dxgvLoadingPanel_MBT
{
	border: 1px solid #C3C3C3;
	background-color: white;
	font: 12px 'Segoe UI', Helvetica, 'Droid Sans', Tahoma, Geneva, sans-serif;
	color: #333333;
}
.dxgvLoadingPanel_MBT td.dx
{
	font-size: 1.17em;
	white-space: nowrap;
	text-align: center;
	padding: 10px 14px;
}
.dxgvLoadingPanel_MBT .dxlp-loadingImage
{
	background-image: url('../Web/Loading.gif');
	height: 32px;
	width: 32px;
}
.dxgvLoadingPanelStatusBar_MBT .dxlp-loadingImage 
{
	background-image: url('gvLoadingOnStatusBar.gif');
	height: 16px;
	width: 16px;
}
.dxgvLoadingPanelStatusBar_MBT
{
	background-color: Transparent;
}
.dxgvLoadingPanelStatusBar_MBT td
{
	white-space: nowrap;
	text-align: center;
	padding: 0px 2px;
}

.dxgvTable_MBT
{
	background-color: White;
	border-width: 0;
	border-collapse: separate!important;
	overflow: hidden;
}
.dxgvTable_MBT .dxgvHEC
{
	background-color: White;
	border-width: 0;
	overflow: hidden;
}
.dxgvControl_MBT .dxgvFSDC .dxgvFooter_MBT td.dxgv
{
    border-bottom-width: 0;
}
.dxgvControl_MBT .dxgvFGI
{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}
.dxgvControl_MBT .dxgvFGI
{
    right: 5px;
    left: auto;
}
*[dir="rtl"].dxgvControl_MBT .dxgvFGI
{
    right: auto;
    left: 5px;
}
.dxgvInlineEditRow_MBT,
.dxgvDataRow_MBT
{
}
.dxgvInlineEditRow_MBT td.dxgv
{
	border-bottom: 1px Solid #D3D3D3;
	border-right: 1px Solid #D3D3D3;
}
.dxgvInlineEditRow_MBT td.dxgvIndentCell
{
	background-color: white;
}
.dxgvDataRowAlt_MBT
{
	background-color: WhiteSmoke;
}
.dxgvFilterRow_MBT
{
	border-top: 1px Solid #c0c0c0;
}
.dxgvEditForm_MBT
{
}
.dxgvEditForm_MBT td.dxgv
{
	border-bottom: 1px Solid #D3D3D3;
	padding: 8px 10px 10px;
}
.dxgvEditForm_MBT td.dxgvIndentCell
{
	border-right: 1px Solid #CFCFCF;
	border-left: 1px Solid #CFCFCF;
	border-top-width: 0px;
}
.dxgvSelectedRow_MBT
{
	background-color: #e0e0e0;
	color: #333333;
}
.dxgvFocusedRow_MBT
{
	background-color: #0072C6;
	color: White;
}
.dxgvFocusedRow_MBT a,
.dxgvFocusedRow_MBT span,
.dxgvFocusedRow_MBT .dxgvCommandColumn_MBT a,
.dxgvFocusedRow_MBT .dxgvAIC a
{
	color: White;
}
.dxgvFocusedRow_MBT .dxbButton_MBT:not(a) span 
{
    color: #333333;
}
.dxgvFocusedRow_MBT .dxeCalendarHeader_MBT span
{
    color: #0072C6;
}
.dxgvFocusedRow_MBT .dxgvADSB > img
{
    opacity: 1;
}
.dxgvSelectedRow_MBT .dxgvCommandColumn_MBT a,
.dxgvSelectedRow_MBT .dxgvAIC a
{
	color: #0072C6;
}
.dxgvPreviewRow_MBT
{
	color: #999999;
}
.dxgvDetailRow_MBT td.dxgv,
.dxgvPreviewRow_MBT td.dxgv,
.dxgvEmptyDataRow_MBT td.dxgv
{
	padding: 20px 2px 20px 4px;
	border-bottom: 1px Solid #D3D3D3;
	border-top-width: 0;
	border-left-width: 0;
	border-right-width: 0;
}
.dxgvPreviewRow_MBT td.dxgv
{
	padding: 10px 10px 10px 15px;
}
.dxgvDetailRow_MBT td.dxgvDetailCell_MBT
{
	padding: 16px 18px;
}
.dxgvDetailRow_MBT td.dxgvIndentCell
{
	padding-right: 0px;
	border-bottom: 1px Solid #D3D3D3;
}
.dxgvDetailRow_MBT.dxgvADR .dxgvADT > tbody > tr > td
{
    padding: 5px 6px 4px 0;
}
.dxgvDetailRow_MBT.dxgvADR .dxgvADT > tbody > tr > td .dxeTextBoxSys,
.dxgvDetailRow_MBT.dxgvADR .dxgvADT > tbody > tr > td .dxichCellSys
{
    margin: -2px 0 -5px 0;
}
.dxgvDetailRow_MBT.dxgvADR .dxgvADCC
{
    color: #7F7F7F;
}
.dxgvDetailRow_MBT.dxgvADR.dxgvFocusedRow_MBT .dxgvADCC,
.dxgvDetailRow_MBT.dxgvADR.dxgvFocusedRow_MBT .dxgvADDC,
.dxgvDetailRow_MBT.dxgvADR.dxgvFocusedRow_MBT .dxgvADCMDC a
{
    color: white;
}
.dxgvEmptyDataRow_MBT
{
	color: Gray;
}
.dxgvEmptyDataRow_MBT td.dxgv
{
	border-bottom: 1px Solid #CFCFCF;
	text-align: center;
}

.dxgvEditFormDisplayRow_MBT td.dxgv,
.dxgvDetailCell_MBT td.dxgv,
.dxgvDataRow_MBT td.dxgv,
.dxgvDetailRow_MBT.dxgvADR td.dxgvAIC
{
	overflow: hidden;
	border-bottom: 1px Solid #c0c0c0;
	border-right: 1px Solid #c0c0c0;
	border-top-width: 0;
	border-left-width: 0;
	padding: 3px 6px 4px;
}
.dxgvDataRow_MBT td.dxgvAIC,
.dxgvInlineEditRow_MBT td.dxgvAIC
{
    padding: 0 4px;
}
.dxgvDetailRow_MBT.dxgvADR td.dxgvAIC
{
    padding: 6px 4px;
}
.dxgvEditFormDisplayRow_MBT
{
}
.dxgvEditFormDisplayRow_MBT td.dxgv
{
}
.dxgvEditFormDisplayRow_MBT td.dxgvIndentCell
{
	background: #EDEDED none;
	border-right: 1px Solid #CFCFCF;
	border-left: 1px Solid #CFCFCF;
	border-top-width: 0px;
}

.dxgvEditingErrorRow_MBT
{
	background-color: #FFC8C8;
	color: #FF0000;
}
.dxgvEditingErrorRow_MBT td.dxgv
{
	white-space: pre-wrap;
	border-bottom: 1px Solid #D3D3D3;
	border-right-width: 0;
	border-top-width: 0;
	border-left-width: 0;
	padding: 6px 10px;
}

.dxgvFilterRow_MBT td.dxgv
{
	border-bottom: 1px Solid #c0c0c0;
	border-right: 1px Solid #c0c0c0;
	border-top-width: 0;
	border-left-width: 0;
	padding: 2px;
	overflow: hidden;
}
.dxgvGroupRow_MBT
{
    background-color: white;
}
.dxgvFocusedGroupRow_MBT
{
	background-color: #0072C6;
	color: White;
}
.dxgvGroupRow_MBT td.dxgv,
.dxgvFocusedGroupRow_MBT td.dxgv
{
	border: 0 none;
	vertical-align: middle;
	border-bottom: 1px Solid #D3D3D3;
	padding: 3px 6px 4px;
    background-color: inherit;
}
.dxgvFocusedRow_MBT td.dxgvIndentCell,
.dxgvFocusedGroupRow_MBT td.dxgvIndentCell,
.dxgvSelectedRow_MBT td.dxgvIndentCell
{
	background-color: white!important;
	border-right: 1px solid #CFCFCF;
	border-left: 1px solid #CFCFCF;
	border-top-width: 0px;
}
.dxgvHeaderPanel_MBT
{
	background-color: #F9F9F9;
	padding: 8px 6px;
	border-bottom: 1px Solid #9F9F9F;
}

.dxIE .dxgvMSDraggable .dxgvHeader_MBT,
.dxIE .dxgvMSDraggable.dxgvGroupPanel_MBT
{
    -ms-touch-action: pinch-zoom;
}
.dxEdge .dxgvMSDraggable .dxgvHeader_MBT,
.dxEdge .dxgvMSDraggable.dxgvGroupPanel_MBT
{
    touch-action: pinch-zoom;
}
.dxgvHeader_MBT
{
	cursor: pointer;
	white-space: nowrap;
	padding: 4px 6px 5px;
	border: 1px Solid #c0c0c0;
	background: LightGrey;
	overflow: hidden;
	font-weight: normal;
	text-align: left;
}
.dxgvHeader_MBT,
.dxgvHeader_MBT table
{
}
.dxgvHeader_MBT td
{
	white-space: nowrap;
}
.dxgvHeader_MBT a
{
	color: #0072C6;
}
.dxgvHeader_MBT a.dxgvCommandColumnItem_MBT
{
	margin: 0 3px 0 0;
	color: #0072C6;
}
.dxgvPopupEditForm_MBT
{
	padding: 4px;
	margin: 0;
}
.dxgvCustomization_MBT
{
	margin: 0;
	padding: 10px;
	min-width: 220px;
}
.dxgvAdaptiveGroupPanel_MBT,
.dxgvGroupPanel_MBT
{
	border-bottom: 1px Solid #c0c0c0;
}
.dxgvGroupPanel_MBT
{
	padding: 7px 4px 8px 6px;
    white-space: nowrap;
}
.dxgvAdaptiveGroupPanel_MBT
{
    padding-left: 6px;
    padding-top: 7px;
}
.dxgvAdaptiveGroupPanel_MBT div.dxgvADH
{
    margin-right: 4px;
    margin-bottom: 5px;
}
.dxgvAdaptiveGroupPanel_MBT.dxgvEAHP
{
    padding-bottom: 8px;
}
.dxgvAdaptiveHeaderPanel_MBT
{
	border-bottom: 1px Solid #c0c0c0;
    padding-top: 10px;
}
.dxgvAdaptiveHeaderPanel_MBT.dxgvEAHP
{
    padding: 10px 7px;
}
.dxgvAdaptiveFooterPanel_MBT
{
    padding-top: 6px;
}
.dxgvAdaptiveHeaderPanel_MBT,
.dxgvAdaptiveFooterPanel_MBT
{
    padding-left: 24px;
}
.dxgvFooter_MBT
{
	white-space: nowrap;
}
.dxgvFooter_MBT td.dxgv
{
	padding: 5px 6px 6px;
	border-bottom: 1px Solid #c0c0c0;
	border-right-width: 0;
}
.dxgvABV .dxgvFooter_MBT td.dxgv,
.dxgvABV .dxgvGroupFooter_MBT td.dxgv
{
    border-right: 1px Solid #c0c0c0;
}
.dxgvGroupFooter_MBT
{
}
.dxgvGroupFooter_MBT td.dxgv
{
	padding: 5px 4px 6px 6px;
	border-bottom: 1px Solid #c0c0c0;
	border-right-width: 0;
}
.dxgvDataRow_MBT td.dxgvIndentCell,
.dxgvDetailRow_MBT td.dxgvIndentCell,
.dxgvPreviewRow_MBT td.dxgvIndentCell,
.dxgvGroupRow_MBT td.dxgvIndentCell,
.dxgvGroupFooter_MBT td.dxgvIndentCell
{
	background-color: white;
	border-right: 1px Solid #CFCFCF;
	border-left: 1px Solid #CFCFCF;
	border-top-width: 0px;
}

.dxgvTitlePanel_MBT, 
.dxgvTable_MBT caption
{
	font-size: 1.25em;
	font-weight: normal;
	padding: 3px 3px 5px;
	text-align: center;
	color: #999999;
	border-bottom: 1px Solid #c0c0c0;
}
.dxgvStatusBar_MBT
{
	border-top: 1px Solid #c0c0c0;
}
.dxgvStatusBar_MBT tr.dxgv
{
	height: 20px;
}
.dxgvStatusBar_MBT tr.dxgv > td
{
	padding: 4px;
}
.dxgvStatusBar_MBT tr.dxgv span .dxbButtonSys:first-child
{
	margin-left: 20px;
}
.dxgvCommandColumn_MBT
{
	padding: 8px 4px;
    white-space: nowrap;
}
.dxgvCommandColumn_MBT a
{
	margin: 0 3px 0 0;
	color: #0072C6;
}
.dxgvCommandColumn_MBT a:hover
{
}

.dxgvCommandColumnItem_MBT
{
}
.dxbButton_MBT[class~="dxgvCommandColumnItem_MBT"],
.dxgvEditFormTable_MBT div.dxbButton_MBT
{
	margin: 0px 2px -1px;
}
.dxbButton_MBT[class~="dxgvCommandColumnItem_MBT"] .dxb
{
	padding-top: 0;
    padding-bottom: 0;
}
.dxgvEditFormTable_MBT
{
	padding: 2px 6px 6px 4px;
	min-width: 300px;
}
.dxgvEditFormTable_MBT a
{
	color: #0072C6;
}
.dxgvEditFormTable_MBT a:hover
{
}

.dxgvEditFormCaption_MBT
{
	padding: 4px 4px 4px 10px;
	white-space: nowrap;
}

.dxgvInlineEditCell_MBT
{
	padding: 1px;
}

.dxgvEditFormCell_MBT
{
	padding: 4px;
	border-width: 0;
}

.dxgvPagerTopPanel_MBT,
.dxgvPagerBottomPanel_MBT
{
	padding: 4px 0;
}
.dxgvPagerTopPanel_MBT
{
	border-bottom: 1px Solid #c0c0c0;
}

.dxgvDetailButton_MBT
{
}

.dxgvFilterBar_MBT
{
	border-top: 1px Solid #c0c0c0;
}
.dxgvFilterBar_MBT a
{
	color: #0072C6;
	text-decoration: underline;
}
.dxgvFilterBarCheckBoxCell_MBT
{
	padding: 0 7px;
}
.dxgvFilterBarImageCell_MBT
{
	padding: 0 1px 0 3px;
	cursor: pointer;
}
.dxgvFilterBarExpressionCell_MBT
{
	padding: 5px 5px 8px 0;
	white-space: nowrap;
}
.dxgvFilterBarClearButtonCell_MBT
{
	padding: 5px 6px 8px;
}
.dxgvFilterBuilderMainArea_MBT
{
	background: white none;
	padding: 6px 2px;
} 
.dxgvFilterBuilderButtonArea_MBT
{
	border-top: 1px solid #c0c0c0;
	padding: 6px;
	white-space: nowrap;
}

.dxgvDataRowHover_MBT
{
	background-color: #f0f0f0;
	color: #333333;
}
.dxgvDataRowHover_MBT a
{
	color: #0072C6!important;
}

.dxgvControl_MBT .dxpLite_MBT,
.dxgvDisabled_MBT .dxpLite_MBT
{
	padding-top: 4px;
}

.dxgvControl_MBT .dxgvHFSAC
{
    padding: 9px 0 0 4px;
}
.dxgvControl_MBT .dxgvHFC
{
    padding-left: 4px;
}
.dxgvControl_MBT .dxgvHFC .dxeCalendar_MBT
{
    margin-top: 3px;
    margin-left: 7px;
}
.dxgvControl_MBT .dxgvHFSC
{
    padding: 9px 0 6px;
}
.dxgvControl_MBT .dxgvHFSC div
{
    height: 1px;
    background: #c0c0c0;
}
.dxgvControl_MBT div[id$='DXEPLPC']
{
    height: 53px;
}

.dxgvControl_MBT .dxgvHFSD
{
    height: 1px;
    margin: 2px 0;
}
.dxgvControl_MBT .dxgvHFDRC
{
    margin: 15px 15px 25px;
}
.dxgvControl_MBT .dxgvHFDRP
{
    margin-left: 15px;
    margin-right: 15px;
    padding: 9px 0 6px;
}
.dxgvControl_MBT .dxgvHFDRP[id*="HFFDE"]
{
    margin-top: 15px;
    margin-bottom: 5px;
}
.dxgvControl_MBT .dxgvHFDRP[id*="HFTDE"]
{
    margin-bottom: 25px;
}

/* Removes flicking in iOS Safari*/
.dxgvTable_MBT
{
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

.dxgvControl_MBT td.dxgvBatchEditCell_MBT
{
    padding: 0 2px;
}
.dxgvControl_MBT td.dxgvBatchEditModifiedCell_MBT
{
    background: #d7f9c7;
}
.dxgvBatchEditDeletedItem_MBT,
.dxgvBatchEditNewItem_MBT.dxgvBatchEditDeletedItem_MBT
{
    background: #EFEFEF;
}
.dxgvBatchEditDeletedItem_MBT > td:not(.dxgvCommandColumn_MBT)
{
    color: rgba(0, 0, 0, 0.5);
}
.dxgvBatchEditDeletedItem_MBT td.dxgvBatchEditModifiedCell_MBT
{
    background: #eefbe7;
}
.dxgvBatchEditNewItem_MBT
{
    background: #F0FAEA;
}
.dxgvControl_MBT .dxgvErrorCell
{
    padding-left: 5px;
    width: 1px;
}
.dxgvControl_MBT .dxgvErrorCell img
{
    margin: -3px 0;
}
.dxgvStatusBar_MBT .dxgvCommandColumn_MBT a
{
    margin-right: 10px;
}
.dxgvControl_MBT td.dxgvBatchEditCell_MBT .dxichCellSys
{
    padding-left: 0;
}

.dxgvSearchPanel_MBT
{
    padding: 7px 4px 7px 6px;
    border-bottom: 1px solid #c0c0c0;
}
.dxgvSearchPanel_MBT > table 
{
    width: 70%;
    max-width: 450px;
}
.dxgvControl_MBT .dxgvSearchPanel_MBT .dxbButton_MBT
{
    margin-left: 7px;
    margin-right: 0;
}
*[dir="rtl"].dxgvControl_MBT .dxgvSearchPanel_MBT .dxbButton_MBT {
    margin-left: 0;
    margin-right: 7px;
}
.dxgvControl_MBT .dxgvHL
{
    background: #ffd83a;
	color: #333333;
	font-weight: bold;
	font-style: normal;
}

/* TODO remove (replace to command button style) */
.dxgvControl_MBT .dxgvSearchPanel_MBT .dxbButton_MBT
{
    font-size: 0.9em;
    margin-top: -2px;
    margin-bottom: -2px;
}
.dxgvControl_MBT .dxgvSearchPanel_MBT .dxbButton_MBT .dxb
{
    padding-top: 0;
    padding-bottom: 0;
}

.dxgvFocusedCell_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;
}

