/* TABLE */
table {
    width: 100%;
    border-spacing: 0;
}

/* TABLE ROW */
tr {
    height: 3em;
}

tbody tr:hover {
    background: #00adef;
    color: #fff;
}

tr.odd {
    background: #fff;
}

tr[data-ready="true"] {
    background: #9bc63d;
    color: #fff;
}

tr[data-top="true"] {
    background: #eb3e97;
    color: #fff;
}

tr[data-orange="true"] {
    background: orange;
}

tr[data-green="true"] {
    background: #9bc63d;
}

tr[data-red="true"],
tr.inactive {
    background: #eb3e97;
    color: #fff;
}

tr[data-selected="true"] {
    background: #333;
    color: #fff;
}

tr[data-selected="true"][data-red="true"],
tr[data-selected="true"].inactive {
    color: #eb3e97;
}

tr[data-selected="true"][data-red="true"]:hover,
tr[data-selected="true"].inactive:hover {
    color: #fff;
}

tr[font-red="true"] {
    color: #eb3e97;
}

tr.disabled {
    background: red !important;
}

/* TABLE HEADER */
th {
    padding: 0 5px;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    text-align: center;
    white-space: nowrap;
}

.dataTables_scrollHead {
    border-bottom: 1px solid #000 !important;
}

.dataTables_scrollHeadInner {
    width: 100% !important;
}

.dataTables_scrollHeadInner .sorting:after,
.dataTables_scrollHeadInner .sorting_asc:after,
.dataTables_scrollHeadInner .sorting_desc:after {
    position: absolute;
    right: 0.5em;
    top: 50%;
    margin-top: -0.5em;
    font: 1em manager_icons;
}

.dataTables_scrollHeadInner .sorting_asc:after {
    content: "u";
}

.dataTables_scrollHeadInner .sorting_desc:after {
    content: "d";
}

.dataTables_scrollHeadInner .sorting:hover:after {
    content: "d";
    color: #b2b2b2;
}

/* TABLE BODY CELL */
td {
    padding: 0 5px;
    word-wrap: break-word;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

td[data-active="0"],
td[data-active="1"],
td[data-active="2"],
td[data-active="3"],
td[data-active="4"],
td[data-active="5"],
td.status {
    text-align: center;
}

td[data-active="0"]:before,
td[data-active="1"]:before,
td[data-active="2"]:before,
td[data-active="3"]:before,
td span.active_0,
td span.active_1,
td span.active_2,
td span.active_3 {
    display: inline-block;
    width: 1em;
    height: 1em;
    border-radius: 0.5em;
    content: "";
    background: #7ab230;
}

td[data-active="0"]:before,
td span.active_0 {
    background: #e22e72;
}

td[data-active="2"]:before,
td span.active_2 {
    background: #ffa500;
}

td[data-active="3"]:before,
td span.active_3 {
    background: #4c4c4c;
}

td[data-active="4"]:before,
td[data-active="5"]:before,
td span.active_4,
td span.active_5 {
    display: inline-block;
    font-family: manager_icons;
    font-weight: 600;
    width: 1em;
    height: 1em;
    border-radius: 0.5em;
    content: "r";
}

td[data-active="4"]:before,
td span.active_4 {
    color: #7ab230;
}

td[data-active="5"]:before,
td span.active_5 {
    color: #e22e72;
}

td .color {
    display: inline-block;
    width: 1.8em;
    height: 1.8em;
    margin-right: 5px;
    vertical-align: middle;
    border-radius: 3px;
}

td.currency {
    text-align: right;
}

td.bold {
    font-weight: 800;
}

td.dataTables_empty {
    text-align: left !important;
    line-height: 3em;
    background: #ccc;
    color: #000;
}

td.detail_view {
    white-space: normal;
}

td.update_available:before {
    content: "!";
    color: #ff0000;
    font-weight: 500;
    padding-right: .2em;
}

td input {
    border: 1px solid #000;
    line-height: 1.6em;
    padding: 0 .5em;
    box-sizing: border-box;
}

.dataTables_filter {
    display: none;
}

.dataTables_scrollBody {
    border-bottom: 1px solid #000 !important;
}

.manager_content.code_tables_HAPPY_HOURS table tbody tr td span.red,
.manager_content.code_tables_HAPPY_HOURS table tbody tr td span.green,
.manager_content.code_tables_HAPPY_HOURS table tbody tr td span.blue {
    display: inline-block;
    background: red;
    width: 30px;
    margin: 0 2px;
    border: 1px solid #000;
    text-align: center;
    border-radius: 3px;
    padding: 3px;
    color: #ffff;
}

.manager_content.code_tables_HAPPY_HOURS table tbody tr td span.green {
    background: green;
}

.manager_content.code_tables_HAPPY_HOURS table tbody tr td span.blue {
    background: blue;
}

.PURCHASE_ITEM_datatables .summary,
.financial_reports_CUMULATIVE_OVERVIEW_OF_PURCHASE_ITEMS .summary {
    width: 100%;
    margin-bottom: 1em;
}

.PURCHASE_ITEM_datatables .summary td:first-child,
.financial_reports_CUMULATIVE_OVERVIEW_OF_PURCHASE_ITEMS .summary td:first-child {
    text-align: left;
}

.PURCHASE_ITEM_datatables .summary tr,
.financial_reports_CUMULATIVE_OVERVIEW_OF_PURCHASE_ITEMS .summary tr {
    height: 2em;
    text-align: right;
}

.PURCHASE_ITEM_datatables .summary tr:first-child,
.financial_reports_CUMULATIVE_OVERVIEW_OF_PURCHASE_ITEMS .summary tr:first-child {
    font-weight: 500;
}

.PURCHASE_ITEM_datatables .summary .odd:hover,
.financial_reports_CUMULATIVE_OVERVIEW_OF_PURCHASE_ITEMS .summary .odd:hover {
    background: #ccc;
    color: #000;
}

.PURCHASE_ITEM_datatables .summary .even:hover,
.financial_reports_CUMULATIVE_OVERVIEW_OF_PURCHASE_ITEMS .summary .even:hover {
    background: none;
    color: #000;
}

.program_LOGS_tab_pos .ajax_table td:nth-child(3),
.program_LOGS_tab_pos .ajax_table td:nth-child(4) {
    width: 10%;
}

hover {
    background: #ccc;
    color: #000;
}

.data_table_edit {
    width: 5em;
    text-align: right;
    float: right;
}

.selected_document tr *:nth-child(1) {
    width: 5em;
}

table.dataTable thead th.dt-colresizable-hover {
    cursor: ew-resize;
}

.informative_tax_calculation_tables {
    position: absolute;
    top: 90px;
    bottom: 60px;
    right: 0;
    left: 0;
}

.informative_tax_calculation_tables>div {
    height: 35%;
    padding-bottom: 10px;
    box-sizing: border-box;
}

.informative_tax_calculation_tables .manager_content_datagrid {
    height: 100%;
}

.informative_tax_calculation_tables .manager_content_datagrid table {
    overflow-y: scroll;
    width: 100%;
}

.informative_tax_calculation_tables .manager_content_datagrid table th {
    border-bottom: 1px solid #000;
}

.informative_tax_calculation_tables .manager_content_datagrid table th,
.informative_tax_calculation_tables .manager_content_datagrid table td {
    width: 25%;
}