:root{
    -webkit-print-color-adjust:exact;
}

.dg_background {
    display: block;
    background-color: lightgrey;
    white-space: nowrap;
    border: #242424 1px solid; 
    overflow: hidden; 
    margin-left: 4px; /* same for dg_options_footer */
}

.cd_dg_background {
    display: block;
    background-color: silver;
    white-space: nowrap;
    border: #842000 1px solid; 
    overflow-x: hidden; 
}

.dg_print_background { 
    display: block;
    background-color: silver;
    white-space: nowrap;
    border: #842000 1px solid; 
}

.dg_print {
    display: block;
    padding: 10px;
}

.dg_options_header {
    height: 22px;
    background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #FFBF74 100%);
    background-color: rgb(189,81,0);
    border-bottom: #242424 1px solid; 
    line-height: 22px;
    text-align: center;

    position: relative;
}

.dg_options_header span {
    position: inherit;
}

.dg_options_footer {
    height: 20px;
    /*background-image: -webkit-linear-gradient(bottom, #FFFFFF 0%, #FFBF74 100%);*/
    background-color: #FFBF74;
    border: #242424 1px solid; 
    line-height: 20px;
    margin-left: 4px; /* same for dg_background */
    text-align: center;
}

.dg_page_info {
    color: #242424;
    margin: 0px;
    height: 19px;
    float: left;
    /* padding-top: 2px;*/
    padding-left: 6px; 
}

.dg_title {
    font-weight: bold;
    font-size: 20px;
    color: #242424;
    font-family: Calibri, Georgia;

    position: absolute !important;
    top: 0px;
    left: 0px;
    width: 100%;
    text-align: center;
}

.dg_no_data {
    font-weight: bold;
    font-size: 20px;
    padding-left: 10px;
    font-family: Calibri, Georgia;
}

.dg_options {
    margin: 0px;
    height: 17px;
    padding-top: 2px;
    padding-right: 20px;
    float: right;
}

.dg_columns_filter_option {
    border: 0px;
}

.dg_maximize_height_img_option {
    border: 0px;
}

.dg_print_option {
    border: 0px;
    height: 15px;
}

.dg_mod_columns_option {
    border: 0px;
}

.dg_pdf_output_option {
    border: 0px;
}

.dg_excel_output_option {
    border: 0px;
}

.dg_reset_option {
    border: 0px;
}

.dg_navigation {
    margin: 0px;
    height: 19px;
    padding-top: 2px;
    padding-right: 6px;
    float: right;
    margin-left: 10px;
}

.dg_group_navigation {
    margin: 0px;
    padding-top: 1px;
    padding-right: 35px;
    float: right;
}

.dg_group_navigation_info {
    margin: 0px;
    padding-top: 1px;
    padding-right: 35px;
}

.dg_current_nav_lnk {
    color: #242424;
    font-weight: bold;
    text-decoration: none;
    border: #242424 1px solid; 
    padding-left: 4px;
    padding-right: 4px;
}

.dg_current_nav_group_lnk {
    color: #242424;
    font-weight: bold;
    text-decoration: none;
    font-size: 10px;
    border: #242424 1px solid; 
    padding-left: 4px;
    padding-right: 4px;
}

.dg_nav_lnk {
    color: #242424;
    font-weight: bold;
    text-decoration: none;
}

.dg_nav_group_lnk {
    color: #242424;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
}

.dg_desactivate_nav_lnk {
    color: silver;
    font-size: 10px;
    font-weight: bold;
}

.dg_desactivate_nav_group_lnk {
    color: silver;
    font-weight: bold;
}

.dg_main {
    z-index: 50;
}

.dg_main .dg_col_head a:visited {
    color: #000;
}

.dg_body {
    padding:0px;
    margin:0px;
}

.dg_header img{
    vertical-align: middle;
}

.dg_header {
    width:100% !important;
    position:relative;
    /*height: 25px;*/
    line-height: 24px;
    background-color: #FFBF74;
    font-size: 0px;
    table-layout:fixed;
    text-align:left;
    border-bottom: #242424 1px solid; 
    border-collapse:collapse;
}

.dg_col_head { 
    height: 22px;
    font-size: 13px;
    color: #242424;
    border-right: #242424 1px solid; 
    border-bottom: #242424 1px solid; 
    background-color: #FFBF74;
    text-align: center;
    margin: 0px;	
    display: inline-block;
    white-space: normal;
    /* float: left; */
    overflow: hidden;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
    line-height: 22px;
    font-family: Calibri, Arial, Georgia;
}


.dg_col_head:last-child {  
    float: unset; 	 
}

.dg_col_head_without_options {
    padding-top: 0px; 
    line-height: 20px;
    height: 20px;
    background-image: -webkit-linear-gradient(top, #FFCF96, #FF8A00 100%);
}

.dg_col_head_hovered {
    background-color: rgb(200,81,0);
}

.dg_col_head_drag {
    cursor: move;
}

.dg_column_order {
    margin: 0px;
    padding: 0px;
    #vertical-align: -4px;
}

.dg_column_order_lnk {
    color: #242424;
    font-weight: bold;
    text-decoration: none;
}

.dg_content_container{
    position: relative;
}

.dg_content {
    font-size: 0px;
    text-align: left;
    overflow-y: auto;
    overflow-x: hidden;
    /*-webkit-overflow-scrolling: touch;*/
    border-spacing:0;
    border-collapse:collapse;
    will-change: transform; /*improve scrolling perfomance*/
}

.dg_content img{
    text-align: center;
    height: 14px;
    width: 14px;
}

.dg_print_content {
    font-size: 0px;
}

.dg_row {
    background-color: white;
    font-size: 0px;
    display: table-row;
}

.dg_total_row {
    font-size: 0px;
    display: table-row;
    background-color: #fde6ca;
    white-space: normal;
}

.dg_row_odd {
    background-color: #F1F1F1;
    white-space: normal;
}

.dg_row_even {
    background-color: white;
    white-space: normal;
}

.dg_row_seperator {
    font-size: 13px;
    font-weight: bold;
    color: #842000;
    background-color: #FFBF74;
    height: 20px;
    padding-left: 5px;
    border-bottom: #842000 1px solid; 
    border-right: #842000 1px solid; 
    display: block;
    padding-top: 2px;
}

.dg_group_row {

}

.dg_group {
    font-size: 15px;
    font-weight: bold;
    color: #242424;
    background-image: -webkit-linear-gradient(left, #D5BEA3 0%,#FFFFFF 100%);
    background-color: #CACACA;
    height: 20px;
    padding-left: 5px;
    border-bottom: #242424 1px solid; 
    border-right: #242424 1px solid; 
    font-family: Calibri, Arial, Georgia;
}

.dg_sep_img {
    border: 0px;
}

.dg_group_img {
    border: 0px;
}

.dg_sep_img_collapse {
    border: 0px;
    /*-webkit-transform: rotate(90deg);*/
    /*-moz-transform: rotate(90deg);*/
}

span.dg_cell {
    font-size: 11px;
    color: black;
    border-bottom: #242424 1px solid; 
    border-right: #242424 1px solid; 
    /*display: table-cell;*/
    display: inline-block;
    overflow: hidden;
    margin:0px;	
    padding: 2px; 
    white-space: normal;
    height: 20px;
    line-height: 20px;
    font-family: Calibri, Arial, Georgia;
    vertical-align: middle;
    /*vertical-align: bottom;*/
    position: relative;
    overflow: visible !important;
}
  
.dg_cell_total_row {
    font-size: 11px;
    color: black;
    border-bottom: #242424 1px solid; 
    border-right: #242424 1px solid; 
    /*display: table-cell;*/
    display: inline-block;
    overflow: hidden;
    margin:0px;	
    padding: 2px; 
    white-space: normal;
    height: 20px;
    line-height: 20px;
    font-family: Calibri, Arial, Georgia;
    font-weight: bold;
    vertical-align: middle;
    text-align: right;
    /*vertical-align: bottom;*/
    position: relative;
    overflow: visible !important;
}

span.dg_cell.editable {
    background: #fff;
    box-shadow: inset 0 0 5px yellow;
}

/* fb ... try it! */
/* the icon of the date field */
span.dg_cell input[type=date].dg_editable { 
	display: flex;
}
 

span.dg_cell a {
    text-decoration: underline;
    cursor: pointer;
}

div.dg_cell {
    font-size: 11px;
    color: black;
    border-bottom: #242424 1px solid; 
    border-right: #242424 1px solid; 
    display: inline;
    margin:0px;	
    padding: 2px; 
    white-space: normal;
    font-family: Calibri, Arial, Georgia;
}

td.dg_cell {
    font-size: 11px;
    color: black;
    height: 16px;
    border-bottom: #242424 1px solid; 
    border-right: #242424 1px solid; 
    margin:0px;	
    padding: 2px; 
    white-space: normal;
    overflow: hidden;
    font-family: Calibri, Arial, Georgia;
}

.data_grid_filter {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 5px;
    border-bottom: #242424 1px solid; 
    /* border-right: #242424 1px solid; */
}

input.checkbox.dg_field {
    margin:0px; 
    padding:0px;
    vertical-align: middle;
    width: 1em;
    height: 1em;
}

.dg_tooltip {
    background-color: #FFE7C7;
    padding: 5px;
    border: #242424 5px solid; 
    z-index: 100;
    display: none;
    float: right;
    position: absolute;
}

.dg_cell_ap_invoices_list_po_approvers .po_approvers_tooltip , 
.dg_cell_ap_invoices_list_approvers .approvers_tooltip {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    text-align: left;
    display: none;
}

.dg_cell_ap_invoices_list_po_approvers:hover .po_approvers_tooltip  , 
.dg_cell_ap_invoices_list_approvers:hover .approvers_tooltip {
    display: block;
}

/* Tree class */
.tree_expand_icons {
    /*margin-top: -3px; */
    padding:0px;
}

.dg_tree_folder_name {
    font-size: 14px;
    font-family: Calibri, Verdana, Georgia;
}

.dg_tree_file_name {
    font-size: 14px;
    font-family: Calibri, Verdana, Georgia;
}

/* From JQuery */
.ui-dialog-titlebar {
    color: #842000;
}

.dg_context_help_option {
    border: 0px;
}

.dg_context_help_title {
    font-weight: bold; 
    color: #242424; 
}

.dg_context_help {
    padding: 8px;
}

.dg_ch_box {
    border: #242424 1px solid; 
    background-color: #FFBF74;
    margin-top: 3px;
}

.dg_ch_title {
    color: #242424;
    padding: 5px;
    font-weight: bold;
}

.dg_ch_txt {
    padding: 5px;
    background-color: #fff7eb;
}

.dg_group_process {
    color: silver;
    vertical-align: -2px;
}

.dg_change_limit {
    float: left;
}

.dg_change_limit_lnk {
    color: #242424;
    font-weight: bold;
    font-size: 13px;
    font-family: Calibri, Verdana, Georgia;
}

.dg_change_limit_current {
    color: #242424;
    font-size: 13px;
    font-family: Calibri, Verdana, Georgia;
}

.dg_generic_filter {
    height: 28px;
    border-bottom: #242424 1px solid; 
    text-align: left;
}

.dg_generic_filter_section {
    #height: 28px;
}

.dg_generic_filter_column {
    position: relative;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
    padding-bottom: 4px;
    line-height: 22px;
    margin: 0px;
    display: inline-block;
    border-right: #242424 1px solid; 
    height: 22px;
}

.dg_generic_filter_options_container {
    display: none;
    margin-top: 11px;
    background-color: #FFB65E;
    border: 1px black solid;
    position: absolute;
    padding: 5px;
    z-index: 105;
    border-radius: 5px;
}

.dg_generic_filter_options_container:after, 
.dg_generic_filter_options_container:before {
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    z-index: 101;
}

.dg_generic_filter_options_container:before {
    left: 8px;
    top: -18px;
    width: 0px;
    height: 0px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid black;
}

.dg_generic_filter_options_container:after {
    left: 8px;
    top: -16px;
    width: 0px;
    height: 0px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #FFB65E;
}

.dg_generic_filter_options_window {
    background-color: #FDE6CA;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 4px;
}

.dg_generic_filter_options_button {
    text-align: right;
}

input[type=text].dg_generic_filter_input_txt {
    height: 16px;
}

.dg_img_generic_filter_options {
    position: absolute;
    top: 6px;
    right: 5px;
    cursor: pointer;
}

.dg_img_process_filter {
    display: block;
    position: relative;
    float: right;
    right: 3px;
    top: -1px;
    /*top: -23px;*/
    border: 0px;
    margin: 0px;
    padding: 0px;
}

.dg_blank_generic_filter {
    height: 22px;
    margin: 0px;
    padding: 0px;
    line-height: 22px;
    display: block;
}

.dg_sortable_placeholder {
    background-color: #F8DFC1;
    border: 1px dotted #242424;
}

.dg_maximize_height_option {
    display: inline-block;
    margin-top: 5px;
    margin-left: -185px;
}

.dg-dropdown-menu-container {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    cursor: pointer;
}

.dg-option-column-menu-container {
    display: none;
    position: absolute;
    top: 0px;
    left: 30px;
    z-index: 100;
}

.dg-option-column-menu-container.dropup {
    top: auto;
    bottom: calc(100% - 20px);
}

.dg-option-column-menu-container:after, 
.dg-option-column-menu-container:before {
    right: 151px;
    top: 10px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    z-index: 101;
}

.dg-option-column-menu-container.dropup:before {
    top: auto;
    bottom: 3px;
}

.dg-option-column-menu-container.dropup:after {
    top: auto;
    bottom: 5px;
}

.dg-option-column-menu-container:after {
    border-color: rgba(136, 183, 213, 0);
    border-right-color: #fff;
    border-width: 7px;
    margin-top: -7px;
}
.dg-option-column-menu-container:before {
    border-color: rgba(194, 225, 245, 0);
    border-right-color: #FE8B25;
    border-width: 9px;
    margin-top: -9px;
}

.dg-dropdown-menu,
.dg-option-column-menu,
.dg-dropdown-submenu {
    background: #fff;
    width: 150px;
    border: 1px solid #FE8B25;
    box-shadow: 3px 3px 3px #333;
    padding: 0;
    list-style: none;
    margin: 0;
}

.dg-dropdown-menu,
.dg-dropdown-submenu {
    position: absolute;
    visibility: hidden;
    right: 0;
    top: 0;
    width: 150px;
    z-index: 100;
}

.dg-dropdown-submenu.dropup {
    top: auto;
    bottom: 0;
}

.dg-dropdown-menu {
    right: 0;
    top: 0;
}

.dg-dropdown-submenu {
    left: 100%;
    top: -1px;
}

.dg-dropdown-indicator {
    position: absolute;
}

.dg-dropdown-indicator:before,
.dg-dropdown-indicator:after {
    content: '';
    display: block;
    right: 14px;
    bottom: 14px;
    opacity: 0.4;
    position: relative;
}

.dg-dropdown-indicator:before {
    border-top: 0px solid inherit;
    border-right: 0px solid transparent;
}

.dg-dropdown-indicator:after {
    border-bottom: 14px solid #FE8B25;
    border-left: 14px solid transparent;
}

.dg-dropdown-menu-container:hover .dg-dropdown-menu,
.dg-dropdown-submenu-option:hover .dg-dropdown-submenu {
    visibility: visible;
}

.dg-dropdown-menu-container:hover .dg-dropdown-indicator:after {
    opacity: 1;
}

.dg-dropdown-menu-option,
.dg-dropdown-submenu-option {
    position: relative;
    font-size: 10px;
    font-family: arial;
    color: #444;
    padding: 0px 15px;
    text-align: left;
}

.dg-dropdown-submenu-option_tablet {
    line-height: 30px;
}

.dg-dropdown-menu-option:hover,
.dg-dropdown-submenu-option:not(.disabled):hover {
    background: #F7D4AA;
    color: darkblue;
    cursor: pointer;
}

.dg-dropdown-menu-option:not(:last-child),
.dg-dropdown-submenu-option:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

.dg-dropdown-submenu-option:not(.disabled):after {
    content: '';
    position: absolute;
    left: 140px;
    top: calc(50% - 4px);
    width: 0; 
    height: 0; 
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #555;
}

.dg-dropdown-submenu-option.disabled {
    opacity: 0.5;
    cursor: default;
}

.dg_content .dg-selector-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #eee;
    opacity: 0.8;	
}

.dg_content .dg-selector-loading .spinner {
    margin-top: 50%;	
}


.dg_spinner_container {
    position: absolute;    
    z-index: 1003;    
    width: 100%;    
    height: 100%;
    opacity: 0.7;
    background: #eee;
}

.dg_spinner {
    height: 100px;
    width: 100px;
    margin: auto;
    position: relative;
    -webkit-animation: rotation .6s infinite linear;
    border-left: 8px solid rgba(189,81,0,.15);
    border-right: 8px solid rgba(189,81,0,.15);
    border-bottom: 8px solid rgba(189,81,0,.15);
    border-top: 8px solid rgba(189,81,0,.9);
    border-radius: 100%;
    top: calc(50% - 50px);

    animation-name: dg-spinner;
    animation-duration: 800ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes dg-spinner {
    from { transform:rotate(0deg); }
    to { transform:rotate(360deg); }
}

.dg_main .link_visited {
    color: gray;
}

.dg_content.dg_content_selectable .dg_row {
    cursor: pointer;
}

.dg_row_selected .dg_row_even {
    background-color: #F7D4AA;
}

.dg_row_selected .dg_row_odd {
    background-color: #F0C189;
}

.dg_row_lock.dg_row_even {
    background-color: #D9D0B4;
}

.dg_row_lock.dg_row_odd {
    background-color: #B9B197;
}

.dg_content.dg_content_selectable .dg_row:not(.dg_row_selected):hover .dg_row_odd:not(.dg_row_lock) {
    background-color: #F5ECE1;
}

.dg_content.dg_content_selectable .dg_row:not(.dg_row_selected):hover .dg_row_even:not(.dg_row_lock) {
    background-color: #FAF4ED;
}

.dg_content.dg_content_selectable .dg_row.dg_row_selected:hover .dg_row_even,
.dg_content.dg_content_selectable .dg_row.dg_row_selected:hover .dg_row_odd{
    background-color: #E3A964;
}

.dg-context-menu,
.dg-context-menu-submenu {
    list-style: none;
    padding: 3px 0;
    display: none;
    position: absolute;
    background: #fff;
    box-shadow: 3px 3px 3px #888;
    border: 1px solid #ccc;
    font-family: arial;
    min-width: 200px;
    background: linear-gradient(to right, #fbeddd , white);
    z-index: 1000;
}

.dg-context-menu-submenu {
    left: 98%;
    top: -4px;
}

.dg-context-menu.dg-context-menu-dropup .dg-context-menu-submenu {
    top: auto;
    bottom: -4px;
}

.dg-context-menu.dg-context-menu-left .dg-context-menu-submenu {
    left: auto;
    right: 98%;
}

.dg-context-menu-submenu-option:hover > .dg-context-menu-submenu,
.dg-context-menu-submenu:hover {
    display: block;
}

.dg-context-menu .dg-context-menu-option {
    position: relative;
    text-align: left;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 13px;
    border-bottom: 1px dotted #ffe5c5;
}

.dg-context-menu .dg-context-menu-option:last-child {
    border-bottom: none;
}

.dg-context-menu .dg-context-menu-option:not(.dg-context-menu-option-disabled):hover {
    background: #F7D4AA;
}

.dg-context-menu-submenu-option:after {
    content: '';
    position: absolute;
    left: calc(100% - 15px);
    top: calc(50% - 4px);
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #555;
}

.dg-context-menu.dg-context-menu-left .dg-context-menu-submenu-option:after {
    left: 8px;
    border-left: 0;
    border-right: 6px solid #555;
}

.dg-context-menu-option-disabled {
    pointer-events: none;
    cursor: default;
    color: #aaa;
}

.dg-context-menu hr {
    border: 0;
    border-top: 1px solid #ccc;	
    margin-top: 3px;
    padding-bottom: 3px;
}

.dg_row .filtering_select_input {
    height: 16px;
}

.dg_row .filtering_select {
    height: 20px;
}

.dg-drag-over {
    background-color: lightgreen !important;
}

.dg-drag-over-impossible {
    background-color: red !important;
}
