/*EDIT GRID */
table[gridcss="editgrid"]
{
    border-collapse: collapse;
    border-spacing: 0;
}
table[gridcss="editgrid"] tr
{
    border-collapse: collapse;
    border-spacing: 0 !important;
}
table[gridcss="editgrid"] .dxgvPagerTopPanel_Metropolis
{
    border-bottom: 0 !important;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
}
table[gridcss="editgrid"] .dxgvDataRow_Metropolis td
{
    padding: 10px !important;
    font-size: 14px;
}
table[gridcss="editgrid"] .dxgvDataRow_Metropolis td.dxgv
{
    border-color: #f3f3f3 !important;
}
table[gridcss="editgrid"] .dxgvSelectedRow_Metropolis td
{
    padding: 10px !important;
    font-size: 14px;
}
table[gridcss="editgrid"] .dxgvSelectedRow_Metropolis td.dxgv
{
    border-color: #f3f3f3 !important;
}
table[gridcss="editgrid"] .dxgvFocusedRow_Metropolis td
{
    padding: 10px !important;
    font-size: 14px;
}
table[gridcss="editgrid"] .dxgvFocusedRow_Metropolis td.dxgv
{
    border-color: #f3f3f3 !important;
}

table[gridcss="editgrid"] .dxgvHeader_Metropolis
{
    padding: 10px !important;
    margin: 0px !important;
    font-size: 14px;
    font-weight: bold;
    background: #f07b17;
    color: #FFF !important;
}
table[gridcss="editgrid"] .dxgvHeader_Metropolis td
{
    color: #FFF !important;
}

table[gridcss="editgrid"] .dxgvPagerBottomPanel_Metropolis
{
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
}
table[gridcss="editgrid"] .dxpLite_Metropolis
{
    font-size: 14px !important;
}
table[gridcss="editgrid"] .dxp-lead
{
}
table[gridcss="editgrid"] .dxp-button
{
    padding-left: 10px !important;
    padding-right: 10px !important;
}
table[gridcss="editgrid"] .dxp-num
{
    padding-left: 10px !important;
    padding-right: 10px !important;
}
table[gridcss="editgrid"] .dxeBase_Metropolis
{
    font-size: 14px;
}
table[gridcss="editgrid"] span.dxeBase_Metropolis
{
    white-space: normal;
    overflow: hidden;
    /* Important for hidding grid overflow, else client auto pageSize on grid wont work when enabled */
    height: 18px;
}
table[gridcss="editgrid"] 
{
    border: 0;
    background: none;
}
table[gridcss="editgrid"] .dxgvTable_Metropolis
{
    background: #FFF;
    overflow: hidden;
    
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
}
table[gridcss="editgrid"] .dxgvTable_Metropolis tr:last-child td
{
    border-bottom: none !important;
}
table[gridcss="editgrid"] .dxgvPagerTopPanel_Metropolis
{
    background: none !important;
    overflow: hidden;
}
table[gridcss="editgrid"] .dxgvPagerTopPanel_Metropolis .dxp-current
{
    background: #f07b17;
}
table[gridcss="editgrid"] .dxgvPagerBottomPanel_Metropolis
{
    background: none !important;
    overflow: hidden;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
}
table[gridcss="editgrid"] .dxgvPagerBottomPanel_Metropolis .dxp-current
{
    background: #f07b17;
}
table[gridcss="editgrid"] .dxp-lead
{
    font-size: 10px !important;
}

table[gridcss="editgrid"] .dxgvDataRow_Metropolis td.dxgv
{
    border-bottom: solid 1px #c3c3c3 !important;
    border-right: solid 1px #c3c3c3 !important;
    overflow: hidden;
}
table[gridcss="editgrid"] .dxgvDataRow_Metropolis td.dxgv:last-child
{
    border-right: 0 !important;
}
table[gridcss="editgrid"] .dxgvSelectedRow_Metropolis td.dxgv
{
    border-bottom: solid 1px #c3c3c3 !important;
    border-right: solid 1px #c3c3c3 !important;
    overflow: hidden;
}
table[gridcss="editgrid"] .dxgvSelectedRow_Metropolis td.dxgv:last-child
{
    border-right: 0 !important;
}
table[gridcss="editgrid"] .dxgvFocusedRow_Metropolis td.dxgv
{
    border-bottom: solid 1px #c3c3c3 !important;
    border-right: solid 1px #c3c3c3 !important;
    overflow: hidden;
}
table[gridcss="editgrid"] .dxgvFocusedRow_Metropolis td.dxgv:last-child
{
    border-right: 0 !important;
}
table[gridcss="editgrid"] 
{
    table-layout:fixed !important;
}
table[gridcss="editgrid"] .dxgvHeader_Metropolis
{
    background: #c3c3c3;
    padding: 0 !important;
}
table[gridcss="editgrid"] .dxgvHeader_Metropolis td span
{
    font-size: 14px;
    font-weight: bold;
    color: #FFF !important;
    white-space: nowrap;
    padding: 10px !important;
    display: inline-block !important;
}
table[gridcss="editgrid"] .dxgvHeader_Metropolis td span .Description
{
    font-size: 10px;
    color: #FFF !important;
    white-space: nowrap;
    padding: 0px !important;
    display: inline-block !important;
    position: relative;
    top: -10px;
}
table[gridcss="editgrid"] .dxgvHeader_Metropolis span[add="true"]
{
    display: inline-block !important;
    width: 30px !important;
    height: 30px !important;
    background: #FFF url('/Content/Themes/Default/Design/Buttons/btn_add_small.png') no-repeat center center !important;
    cursor: pointer;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 0 !important;
    position: relative;
    left: 12px;
    top: 2px;
}

table[gridcss="editgrid"] span[cellalign="left"]
{
    text-align: left;
}
table[gridcss="editgrid"] span[cellalign="center"]
{
    text-align: center;
}
table[gridcss="editgrid"] span[cellalign="right"]
{
    text-align: right;
}
table[gridcss="editgrid"] span
{
    white-space: normal;
}
table[gridcss="editgrid"] .dxgvDataRow_Metropolis td
{
    cursor: pointer;
    white-space: nowrap !important;
    overflow: hidden !important;
}
table[gridcss="editgrid"] .dxgvSelectedRow_Metropolis td
{
    cursor: default;
    white-space: nowrap !important;
    overflow: hidden !important;
    background: #e6e6e6;
}
table[gridcss="editgrid"] .dxgvFocusedRow_Metropolis td
{
    cursor: pointer;
    white-space: nowrap !important;
    overflow: hidden !important;
}
table[gridcss="editgrid"] .dxgvFocusedRow_Metropolis td
{
    cursor: default;
    white-space: nowrap !important;
    overflow: hidden !important;
    background: #e6e6e6;
}

/* EDIT EDIT GRID */
table[gridcss="editgrid"] .dxgvDataRow_Metropolis td:first-child
{
    padding: 0 !important;
    margin: 0;
    overflow: visible;
    text-align: center;
}
table[gridcss="editgrid"] .dxgvDataRow_Metropolis td:first-child > span
{
    display: none !important;
    width: 40px !important;
    height: 100%;
    min-height: 30px;
    cursor: pointer;
    background: url('/Content/Themes/Default/Design/Buttons/btn_edit_small.png') no-repeat center center !important;
    background-size: 16px 16px !important;
}
table[gridcss="editgrid"] .dxgvDataRow_Metropolis td:first-child > span:last-child
{
    display: inline-block !important;
    background: none !important;
}
table[gridcss="editgrid"] .dxgvSelectedRow_Metropolis td:first-child
{
    padding: 0 !important;
    margin: 0;
    overflow: visible;
    text-align: center;
}
table[gridcss="editgrid"] .dxgvSelectedRow_Metropolis td:first-child > span
{
    display: inline-block;
    width: 40px !important;
    height: 100%;
    min-height: 30px;
    cursor: pointer;
    background: url('/Content/Themes/Default/Design/Buttons/btn_edit_small.png') no-repeat center center !important;
    background-size: 16px 16px !important;
}
table[gridcss="editgrid"] .dxgvSelectedRow_Metropolis td:first-child > span:last-child
{
    display: none !important;
    background: none !important;
}
table[gridcss="editgrid"] .dxgvFocusedRow_Metropolis td:first-child
{
    padding: 0 !important;
    margin: 0;
    overflow: visible;
    text-align: center;
}
table[gridcss="editgrid"] .dxgvFocusedRow_Metropolis td:first-child > span
{
    display: inline-block;
    width: 40px !important;
    height: 100%;
    min-height: 30px;
    cursor: pointer;
    background: url('/Content/Themes/Default/Design/Buttons/btn_edit_small.png') no-repeat center center !important;
}
table[gridcss="editgrid"] .dxWeb_edtCheckBoxGrayed_Metropolis
{
    background: none !important;
}
table[gridcss="editgrid"] .dxWeb_edtCheckBoxChecked_Metropolis
{
    background: url('/Content/Themes/Default/Design/Buttons/btn_checked_small.png') no-repeat center center !important;
    background-size: 14px 14px !important;
}
table[gridcss="editgrid"] .dxWeb_edtCheckBoxUnchecked_Metropolis
{
    background: url('/Content/Themes/Default/Design/Buttons/btn_close_red_small.png') no-repeat center center !important;
    background-size: 14px 14px !important;
}

/* EDIT GRID FILTER */
.EditGridFilterContainer
{
    margin-top: 10px;
    background: #c3c3c3;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    width: 100%;
}
.EditGridFilterPanel
{
    white-space: nowrap;
    vertical-align: top;
}
.EditGridFilterPanel > table
{
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
    text-align: left;
}
.EditGridFilterContainer .Refresh
{
    width: 30px;
}
.EditGridFilterContainer .Refresh > span
{
    vertical-align: middle;
    display: block;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-right: 5px;
    background: none !important;
    cursor: pointer;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.EditGridFilterContainer .HideKeyboard
{
    width: 30px;
}
.EditGridFilterContainer .HideKeyboard > input
{
    vertical-align: middle;
    border: 0;
    padding: 0;
    margin: 0;
    display: block;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-right: 5px;
    background: #FFF url('/Content/Themes/Default/Design/Buttons/btn_hidekeybrd_small.png') no-repeat center center !important;
    cursor: pointer;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.EditGridFilterContainer .Clear
{
    width: 30px;
    border-left: solid 1px #efefef;
}
.EditGridFilterContainer .Clear > span
{
    vertical-align: middle;
    display: block;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-right: 5px;
    background: #FFF url('/Content/Themes/Default/Design/Buttons/btn_close_red_small.png') no-repeat center center !important;
    cursor: pointer;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.EditGridFilterPanel > table .Caption
{
    padding-left: 10px;
    white-space: nowrap;
    width: 90px;
    overflow: hidden;
    font-size: 12px;
    color: #FFF;
    border-left: solid 1px #efefef;
    height: 44px;
}
.EditGridFilterPanel > table .Control
{
    text-align: left;
    padding-right: 10px;
}
.EditGridFilterPanel > table .Control > span
{
    width: auto !important;
}

/* TextBox */
.EditGridFilterPanel .dxeTextBox_Metropolis
{
    height: 28px;
    border: 0;
    border: 1px solid #d0d0d0;
}
.EditGridFilterPanel .dxeTextBox_Metropolis input
{
    font-size: 14px !important;
    height: 28px !important;
}
.EditGridFilterPanel .dxeTextBox_Metropolis input:focus
{
    outline: 0;
}

/* DropDown */
.EditGridFilterPanel .dxeButtonEdit_Metropolis
{
    height: 28px !important;
    border: 0;
    border: 1px solid #d0d0d0;
}
.EditGridFilterPanel .dxeButtonEditButton_Metropolis
{
    padding-left: 10px !important;
    padding-right: 10px !important;
}
.EditGridFilterPanel .dxeButtonEdit_Metropolis input
{
    font-size: 14px !important;
    height: 28px !important;
    cursor: pointer !important;
}
.EditGridFilterPanel .dxeListBoxItem_Metropolis
{
    font-size: 14px !important;
}
.EditGridFilterPanel .dxeListBoxItem_Metropolis
{
    font-size: 14px !important;
    height: 28px !important;
}
.EditGridFilterPanel .dxeListBoxItemSelected_Metropolis
{

}

/* CheckBox */
.EditGridFilterPanel .dxichCellSys
{
    padding: 0 !important;
    margin: 0 !important;
    border: 0;
}
.EditGridFilterPanel .dxICheckBox_Metropolis
{
    margin: 0 !important;
    padding: 0 !important;
    width: 30px !important;
    height: 30px !important;
    background: #FFF !important;
    border: none !important;
    cursor: pointer;
}
.EditGridFilterPanel .dxWeb_edtCheckBoxUnchecked_Metropolis
{
    background: #FFF url('/Content/Themes/Default/Design/Buttons/btn_close_red_small.png') no-repeat center center !important;
}
.EditGridFilterPanel .dxWeb_edtCheckBoxChecked_Metropolis
{
    background: #FFF url('/Content/Themes/Default/Design/Buttons/btn_checked_small.png') no-repeat center center !important;
}

/* EDIT GRID DATE FILTER */
.EditGridDateFilter
{
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    border-collapse: collapse;
    margin-top: 10px;
}
.EditGridDateFilter .PrevFilter > div
{
    width: 100px;
    padding-right: 10px;
}
.EditGridDateFilter .PrevFilter > div > input
{
    border: 0;
    width: 100%;
    -moz-border-radius: 5px;
    border-radius: 5px;
    height: 40px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    color: #FFF;
    background: #bf5b73 url('/Content/Themes/Default/Design/Buttons/btn_prev_white.png') no-repeat;
    background-position: 5% center;
    text-indent: 15px;
    cursor: pointer;
}
.EditGridDateFilter .NextFilter > div
{
    width: 100px;
    padding-left: 10px;
}
.EditGridDateFilter .NextFilter > div > input
{
    border: 0;
    width: 100%;
    -moz-border-radius: 5px;
    border-radius: 5px;
    height: 40px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    color: #FFF;
    background: #ab7bb3 url('/Content/Themes/Default/Design/Buttons/btn_next_white.png') no-repeat;
    background-position: 95% center;
    text-indent: -15px;
    cursor: pointer;
}
.EditGridDateFilter .DateFrom
{
    padding-right: 10px;
    display: inline-block;
    min-width: 150px;
    line-height: 40px;
}
.EditGridDateFilter .DateFromInner > span
{
    float: left;
    font-size: 12px;
    padding-right: 5px;
    padding-left: 5px;
}
.EditGridDateFilter .DateFromInner
{
    background: #bf5b73;
    color: #FFF;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    overflow: hidden;
    height: 40px;
}
.EditGridDateFilter .DateFromInner > table
{
    width: 80px !important;
    overflow: hidden;
    height: 40px;
    border: none;
}
.EditGridDateFilter .DateFromInner > table input
{
    width: 70px !important;
    text-align: center;
    padding-left: 10px;
    background: #bf5b73;
    color: #FFF;
}
.EditGridDateFilter .DateFrom .dxeButtonEditButton_Metropolis 
{
    padding-left: 10px;
    padding-right: 10px;
    background: #bf5b73;
}
.EditGridDateFilter .DateFrom .dxic 
{
    background: #bf5b73;
}
.EditGridDateFilter .DateTo
{
    padding-left: 10px;
    display: inline-block;
    min-width: 150px;
    line-height: 40px;
}
.EditGridDateFilter .DateToInner > span
{
    float: left;
    font-size: 12px;
    padding-right: 5px;
    padding-left: 5px;
}
.EditGridDateFilter .DateToInner
{
    background: #ab7bb3;
    color: #FFF;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    overflow: hidden;
    height: 40px;
}
.EditGridDateFilter .DateToInner > table
{
    width: 80px !important;
    overflow: hidden;
    height: 40px;
    border: none;
}
.EditGridDateFilter .DateToInner > table input
{
    width: 70px !important;
    text-align: center;
    padding-left: 10px;
    background: #ab7bb3;
    color: #FFF;
}
.EditGridDateFilter .DateTo .dxeButtonEditButton_Metropolis 
{
    padding-left: 10px;
    padding-right: 10px;
    background: #ab7bb3;
}
.EditGridDateFilter .DateTo .dxic 
{
    background: #ab7bb3;
}
.EditGridDateFilter .CurrentDate
{
    width: 100%;
}
.EditGridDateFilter .CurrentDate > div
{
    width: 100%;
    height: 40px;
    background: #FFF;
    color: #000;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 14px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    text-align: center;
    display: table;
}
.EditGridDateFilter .CurrentDate > div > div
{
    padding-left: 5px;
    padding-right: 5px;
    display: table-cell;
    vertical-align: middle;
    line-height: 12px;
}
.EditGridDateFilter .CurrentDate > div > div > span
{
    display: block;
}

/* EIDT GRID STATES */
table[gridtype="noedit"] .dxgvDataRow_Metropolis td:first-child > span
{
    width: 100% !important;
    height: inherit !important;
    min-height: inherit !important;
    cursor: default !important;
    background: none !important;
    display: inline-block !important;
}
table[gridtype="noaddedit"] .dxgvDataRow_Metropolis td:first-child > span
{
    width: 100% !important;
    height: inherit !important;
    min-height: inherit !important;
    cursor: default !important;
    background: none !important;
    display: inline-block !important;
}
table[gridtype="noedit"] .dxgvDataRow_Metropolis td:first-child
{
    padding: 10px !important;
}
table[gridtype="noaddedit"] .dxgvDataRow_Metropolis td:first-child
{
    padding: 10px !important;
}
table[gridtype="noedit"] .dxgvSelectedRow_Metropolis td:first-child > span
{
    width: 100% !important;
    height: inherit !important;
    min-height: inherit !important;
    cursor: default !important;
    background: none !important;
}
table[gridtype="noaddedit"] .dxgvSelectedRow_Metropolis td:first-child > span
{
    width: 100% !important;
    height: inherit !important;
    min-height: inherit !important;
    cursor: default !important;
    background: none !important;
}
table[gridtype="noedit"] .dxgvSelectedRow_Metropolis td:first-child
{
    padding: 10px !important;
}
table[gridtype="noaddedit"] .dxgvSelectedRow_Metropolis td:first-child
{
    padding: 10px !important;
}
table[gridtype="noaddedit"] .dxgvSelectedRow_Metropolis td:first-child > span:last-child
{
    display: inline-block !important;
}
table[gridtype="noedit"] .dxgvFocusedRow_Metropolis td:first-child > span
{
    width: 100% !important;
    height: auto !important;
    min-height: inherit !important;
    cursor: default !important;
    background: none !important;
}
table[gridtype="noaddedit"] .dxgvFocusedRow_Metropolis td:first-child > span
{
    width: 100% !important;
    height: auto !important;
    min-height: inherit !important;
    cursor: default !important;
    background: none !important;
}
table[gridtype="noedit"] .dxgvFocusedRow_Metropolis td:first-child
{
    padding: 10px !important;
}
table[gridtype="noaddedit"] .dxgvFocusedRow_Metropolis td:first-child
{
    padding: 10px !important;
}

/* EDIT GRID TOOLBAR */
.EditGridToolbar
{
    position: absolute;
    right: 15px;
    height: 30px;
    margin-top: 10px;
}
.EditGridToolbar .DataImport
{
    background: #FFF url('/Content/Themes/Default/Design/Buttons/btn_import_small.png') no-repeat center center !important;
    width: 30px;
    height: 30px;
    border: solid 1px #c3c3c3;
    cursor: pointer;

    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.10);
}

/* GRID COLUMN TEMPLATES */
table[gridcss="editgrid"] .GridProgress div
{
    position: absolute;
    background: #6bef43;
    font-size: 14px;
    padding: 4px;
    margin-top: -4px;
    left: -9px;
    border-right: solid 1px #c3c3c3;
}
table[gridcss="editgrid"] .GridProgress span
{
    font-size: 14px;
}
table[gridcss="editgrid"] .Positive
{
	border-bottom: 5px solid green;
    margin-top: 6px;
    display: inline-block;
    float: left;
    width: 0; 
	height: 0; 
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
}
table[gridcss="editgrid"] .Negative
{
	border-top: 5px solid red;
    margin-top: 6px;
    display: inline-block;
    float: left;
	width: 0; 
	height: 0; 
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
}