.dxtlControl_MexTheme {
    background: white none;
    border: 4px solid #d3d3d3;
    color: black;
    cursor: default;
    font: 12px Tahoma;
}

.dxtlControl_MexTheme caption {
    background: #ACACAC none;
    border: 4px solid #d3d3d3;
    border-bottom: 0 solid #d3d3d3;
    color: white;
    font-size: 15px;
    font-weight: normal;
    padding: 4px 3px;
    text-align: center;
}

/* Indent cells */

.dxtlIndent_MexTheme,
.dxtlIndentWithButton_MexTheme {
    background: white none no-repeat top center;
    vertical-align: top;
}

.dxtlIndent_MexTheme { padding: 0 11px; }

.dxtlIndentWithButton_MexTheme { padding: 4px 5px; }

.dxtlSelectionCell_MexTheme { border: 1px solid #c5c5c5; }

/* Tree-lines cells */

.dxtlLineRoot_MexTheme { background: White url('CssImages/TreeLineRoot.gif') repeat-y top center; }

.dxtlLineFirst_MexTheme { background-image: url('CssImages/TreeLineFirst.gif'); }

.dxtlLineMiddle_MexTheme { background-image: url('CssImages/TreeLineMiddle.gif'); }

.dxtlLineLast_MexTheme { background-image: url('CssImages/TreeLineLast.gif'); }

.dxtlLineFirstRtl_MexTheme { background-image: url('CssImages/TreeLineFirstRtl.gif'); }

.dxtlLineMiddleRtl_MexTheme { background-image: url('CssImages/TreeLineMiddleRtl.gif'); }

.dxtlLineLastRtl_MexTheme { background-image: url('CssImages/TreeLineLastRtl.gif'); }


/* Headers */

.dxtlHeader_MexTheme,
.dxtlControl_MexTheme .dxtlHSDC { background: #969696 none; }

.dxtlHeader_MexTheme {
    border: 1px dotted #5c5c5c;
    font-weight: normal;
    padding: 5px 8px 6px;
}

.dxtlHeader_MexTheme table.dxtl {
    border-collapse: collapse;
    width: 100%;
}

.dxtlHeader_MexTheme td.dxtl { padding: 0; }

.dxtlHeader_MexTheme,
.dxtlHeader_MexTheme td.dxtl {
    color: white;
    overflow: hidden;
    text-align: left;
    white-space: nowrap;
}

/* Nodes */

.dxtlNode_MexTheme { background: white none; }

.dxtlAltNode_MexTheme { background: #f0f0f0 none; }

.dxtlSelectedNode_MexTheme { background: #D3D3D3 none; }

.dxtlFocusedNode_MexTheme {
    background: #1d73ae none;
    color: white;
}

.dxtlInlineEditNode_MexTheme { background: #f8f8f8 none; }

.dxtlEditFormDisplayNode_MexTheme { background: white none; }

.dxtlNode_MexTheme td.dxtl,
.dxtlAltNode_MexTheme td.dxtl,
.dxtlSelectedNode_MexTheme td.dxtl,
.dxtlFocusedNode_MexTheme td.dxtl,
.dxtlEditFormDisplayNode_MexTheme td.dxtl,
.dxtlCommandCell_MexTheme {
    border: 1px solid #c5c5c5;
    overflow: hidden;
    padding: 3px 8px 4px;
    white-space: nowrap;
}

.dxtlInlineEditNode_MexTheme td.dxtl {
    border: 1px solid #c5c5c5;
    padding: 1px;
}

/* Preview */

.dxtlPreview_MexTheme {
    background: white none;
    border: 1px solid #c5c5c5;
    color: black;
    overflow: hidden;
    padding: 14px;
}

/* Footers */

.dxtlGroupFooter_MexTheme { background-color: #E0E0E0; }

.dxtlFooter_MexTheme,
.dxtlControl_MexTheme .dxtlFSDC { background-color: #dddddd; }

.dxtlGroupFooter_MexTheme td.dxtl,
.dxtlFooter_MexTheme td.dxtl {
    border: 1px solid #c5c5c5;
    overflow: hidden;
    padding: 4px 8px 5px;
    white-space: nowrap;
}

/* Pagers */

.dxtlPagerTopPanel_MexTheme { border-bottom: 1px solid #c5c5c5; }

.dxtlPagerBottomPanel_MexTheme { border-top: 1px solid #c5c5c5; }

.dxtlPagerTopPanel_MexTheme,
.dxtlPagerBottomPanel_MexTheme {
    background: #f9f9f9 none;
    padding: 1px 2px;
}

/* Editing */

.dxtlEditForm_MexTheme {
    background: #FCFCFC none;
    border: 1px solid #c5c5c5;
    padding: 8px 10px 10px;
}

.dxtlEditFormCaption_MexTheme,
.dxtlEditFormEditCell_MexTheme { padding: 4px; }

.dxtlEditFormCaption_MexTheme {
    padding-left: 10px;
    white-space: nowrap;
}

.dxtlError_MexTheme {
    background: #8dd1ff none;
    border: 1px solid #cfcfcf;
    color: #008bea;
    padding: 6px 10px;
}

.dxtlPopupEditForm_MexTheme { padding: 12px; }

/* Links */

.dxtlControl_MexTheme a,
.dxtlCommandCell_MexTheme a { color: #365d79; }

.dxtlControl_MexTheme a:hover { color: #3c8dc7; }

.dxtlHeader_MexTheme a,
.dxtlHeader_MexTheme a:hover,
.dxtlFocusedNode_MexTheme a,
.dxtlFocusedNode_MexTheme a:hover,
.dxtlSelectedNode_MexTheme a,
.dxtlSelectedNode_MexTheme a:hover { color: White; }

.dxtlCommandCell_MexTheme a { margin-right: 3px; }

.dxtlPopupEditForm_MexTheme .dxtlCommandCell_MexTheme a { color: #235b85; }

/* Loading panel */

.dxtlLoadingPanel_MexTheme {
    background-color: White;
    border: 1px solid #3485be;
    color: #3c8dc7;
    font: 12px Tahoma;
}

.dxtlLoadingPanel_MexTheme td.dx {
    padding: 10px 20px 6px;
    text-align: center;
    white-space: nowrap;
}

.dxtlLoadingDiv_MexTheme {
    background: white none;
    filter: alpha(opacity=1);
    opacity: 0.01;
}

/* Disabled */

.dxtlDisabled_MexTheme,
.dxtlDisabled_MexTheme .dxtl_MexTheme {
    color: #808080;
    cursor: default;
}