﻿
.ant-table.ant-table-small .ant-table-footer,
.ant-table.ant-table-small .ant-table-tbody > tr > td,
.ant-table.ant-table-small .ant-table-thead > tr > th,
.ant-table.ant-table-small .ant-table-title,
.ant-table.ant-table-small tfoot > tr > td,
.ant-table.ant-table-small tfoot > tr > th {
    padding: 6px;
}

.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {
    border-top: 1px solid #aaa;
}

.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr > th,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > thead > tr > th,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > thead > tr > th,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > thead > tr > th,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > td,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tbody > tr > td,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tbody > tr > td,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tfoot > tr > th,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tfoot > tr > th,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > th,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tfoot > tr > th,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tfoot > tr > td,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tfoot > tr > td,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > td,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tfoot > tr > td {
    border-right: 1px solid #aaa;
}

.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr:not(:last-child) > th {
    border-bottom: 1px solid #aaa;
}

.ant-table-tbody > tr > td {
    border-bottom: 1px solid #aaa;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ant-table-thead > tr > th {
    border-bottom: 1px solid #c7bbbb;
    border-top: 1px solid #c7bbbb;
    background-color: #FFFFFF;
    color: black;
    height: 38px;
    font-size: 13px;
    font-weight: 700
}

.ant-table-tbody > tr > td > span {
    display: flex;
    width: 100%;
}

.ant-table-tbody .text-center {
    justify-content: center
}

.ant-table-tbody tr td:nth-child(1),
.ant-table-thead tr th:nth-child(1) {
    text-align: center;
}

.ant-table-tbody tr:nth-child(n) td {
    background: #FFFFFF;
    border-bottom: 0.4px solid #e7e7e7;
}

.ant-table-tbody tr:nth-child(2n) td {
    background: #F4F4F4;
}

.ant-table-tbody tr:last-child {
    background-color: #F2F4F8;
}

.ant-table-tbody tr:hover td {
    background-color: #afe5f3;
}

.ant-table-tbody > tr > td {
    padding: 0 10px !important;
    height: 38px;
}

.ant-table-thead > tr > th {
    padding: 8px 10px !important;
    height: 38px;
}

    .ant-table-thead > tr > th.header-cell {
        background-color: #666;
    }

.ant-table.ant-table-bordered > .ant-table-container {
    border-left: 1px solid #aaa;
}

.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > .ant-table-cell-fix-right-first::after,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr > .ant-table-cell-fix-right-first::after {
    border-right: 1px solid #aaa !important;
}
.ant-table.ant-table-small .ant-table-tbody .ant-table-wrapper:only-child .ant-table {
    margin: initial;
}

.ant-table.ant-table-small .ant-table-tbody .item-option-cell {
    background-color: #eaeaea;
    padding: initial;
}

tr.ant-table-expanded-row > td {
    background-color: silver !important;
}

.ant-table-measure-row {
    display: none
}

@media (max-width: 480px) {
    .ant-table {
        width: 100%;
        overflow-x: auto;
    }

    .ant-table-thead > tr > th,
    .ant-table-tbody > tr > th,
    .ant-table-thead > tr > td,
    .ant-table-tbody > tr > td {
        white-space: pre;
    }

    .ant-table-thead > tr > th > span,
    .ant-table-tbody > tr > th > span,
    .ant-table-thead > tr > td > span,
    .ant-table-tbody > tr > td > span {
        display: block;
    }
}
/*custom scroll ant table*/
.ant-common-table-wrapper {
    height: 100%;
    width: 100%;
}

.ant-common-table-wrapper .ant-spin-nested-loading {
    height: 100%;
}

.ant-common-table-wrapper .ant-spin-nested-loading > div {
    height: 100%;
}

.ant-common-table-wrapper .ant-spin-container {
    height: 100%;
}

.ant-table-common {
    height: 100%;
/*    min-height: 65.7vh;*/
    overflow: hidden;
}

.ant-table-common .ant-table-wrapper {
    height: 100%;
}

.ant-table-common .ant-table-wrapper .ant-spin-nested-loading {
    height: 100%;
}

.ant-table-common .ant-table-wrapper .ant-spin-nested-loading > div {
    height: 100%;
}

.ant-table-common .ant-table-wrapper .ant-spin-nested-loading .ant-spin-container {
    height: 100%;
}

.ant-table-common .ant-table-wrapper .ant-spin-nested-loading .ant-spin-container .ant-table-wrapper {
    height: 100%;
}

.ant-table-common .ant-table-wrapper .ant-spin-nested-loading .ant-spin-container .ant-table-wrapper .ant-table {
    height: 100%;
    overflow: hidden;
}

.ant-table-common .ant-table-wrapper .ant-spin-nested-loading .ant-spin-container .ant-table {
    height: 100%;
    overflow: hidden;
}

.ant-table-common .ant-table-wrapper .ant-spin-nested-loading .ant-spin-container .ant-table .ant-table-container {
    height: 100%;
    overflow: auto;
}

.ant-table-common .ant-table-wrapper .ant-spin-nested-loading .ant-spin-container .ant-table .ant-table-thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.ant-table-common .ant-table-wrapper .ant-spin-nested-loading .ant-spin-container .ant-table-wrapper .ant-table .ant-table-container {
    height: 100%;
    overflow: auto;
}

.ant-table-common .ant-table-wrapper .ant-spin-nested-loading .ant-spin-container .ant-table-wrapper .ant-table .ant-table-thead {
    position: sticky;
    top: 0;
    z-index: 10;
}
.ant-table-row{
    cursor: pointer;
}
.no-cursor{
    cursor: default;
}
/*css no select row highlight*/
.un-select-row {
    user-select: contain;
}
.text-align-left {
    text-align: left !important;
}
.text-align-right {
    text-align: right !important;
}
.text-align-center {
    text-align: center !important;
}
.dialog-content .table-container .table-wrapper {
    gap: 9px;
}
/*.table-popup .ant-table-thead > tr > th,
.table-popup .ant-table-tbody > tr > td {
    padding: 8px 15px !important;
}*/