html, body {
    --primary-color: #0653b6;
    --primary-hover-color: #0542a5;
    --secondary-color: #666;
    --secondary-hover-color: #555;
    --tertiary-color: #666;
    --tertiary-hover-color: #555;
    --font-color: #444444;
    --font-grey-color: #a3a3a3;
    --bg-white-color: #fff;
    --white-color: #fff;
    --bg-grey-color: #f2f2f2;
    --border-grey-color: #b2b2b2;
    --success-color: #0653b6;
    --error-color: red;
    --warning-color: #ff9100;
    --warning-hover-color: #ee8000;
}

.custom-container-table {
    position: relative;
    display: flex;
    flex-direction: column;
    border: none;
}

.custom-container-table .custom-table {
    position: relative;
    flex: auto 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border-collapse: collapse;
    overflow: auto;
    min-height: 81px;
}

.custom-container-table .custom-table .custom-thead {
    box-shadow: unset;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    user-select: none;
}

.custom-container-table .custom-table .custom-thead .custom-tr {
    text-align: center;
}

.custom-container-table .custom-table .custom-tr {
    display: inline-flex;
}

.custom-container-table .custom-table .custom-thead .custom-th,
.custom-container-table .custom-table .custom-thead .custom-td {
    border: none;
    padding: 5px 5px 5px 47px;
    line-height: normal;
    position: relative;
    transition: box-shadow .3s cubic-bezier(.175, .885, .32, 1.275);
    box-shadow: inset 0 0 0 0 transparent;
}

.custom-container-table .custom-table .custom-thead .custom-th.wrap {
    white-space: pre-wrap;
}

.custom-container-table .custom-table .custom-thead .custom-th:last-child,
.custom-container-table .custom-table .custom-thead .custom-td:last-child {
    padding-right: 53px;
}

.custom-container-table .custom-table .custom-th,
.custom-container-table .custom-table .custom-td {
    flex: 1 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 7px 5px;
    overflow: hidden;
    transition: .3s ease;
    transition-property: width, min-width, padding, opacity;
    cursor: pointer;
}

.custom-container-table .custom-table .custom-thead .custom-th .custom-content,
.custom-container-table .custom-table .custom-thead .custom-td .custom-content {
    padding-bottom: 10px;
    text-align: left;
    text-transform: uppercase;
    font-weight: 500;
    font-size: .8em;
    color: var(--font-grey-color);
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-container-table .custom-table .custom-tbody {
    flex: 99999 1 auto;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.custom-container-table .custom-table .custom-tr-group {
    border: none;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    cursor: pointer;
}

.custom-container-table.reporting-table.horizontal .custom-table .custom-tr-group {
    min-width: 150px;
}

.custom-container-table .custom-table .custom-tr-group:hover {
    color: var(--primary-color);
}
.custom-container-table .custom-table .custom-tr-group.total-tr:hover {
    color: inherit;
}

.custom-container-table .custom-table.striped .custom-tbody .custom-tr-group:nth-child(odd) .custom-td {
    background: rgba(0, 0, 0, .03);
}

.custom-container-table .custom-table .custom-tbody .custom-td {
    border: none;
    padding: 15px 0 15px 50px;
    font-size: .8em;
    font-weight: 500;
}

.custom-container-table .custom-table .custom-tr-group.no-pointer .custom-td {
    cursor: default;
}

.custom-container-table .custom-table .custom-tbody .custom-td i {
    color: var(--primary-color);
}

.custom-container-table .custom-table .custom-tbody .custom-td:last-child {
    padding-right: 50px;
}

.custom-container-table .custom-table .custom-tbody .custom-th .custom-content,
.custom-container-table .custom-table .custom-tbody .custom-td .custom-content {
    display: flex;
    align-items: center;
    height: 100%;
}

.custom-container-table .custom-table .custom-thead .custom-th:not(.action):not(.asc):before,
.custom-container-table .custom-table .custom-thead .custom-th:not(.action):not(.desc):after {
    position: absolute;
    content: '';
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23a3a3a3%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-size: 11px auto, 100%;
}

.custom-container-table .custom-table .custom-thead .custom-th.not-sortable:before,
.custom-container-table .custom-table .custom-thead .custom-th.not-sortable:after {
    display: none;
}

.custom-container-table .custom-table .custom-thead .custom-th:not(.action):before {
    background-position: left 20px top 50%;
}

.custom-container-table .custom-table .custom-thead .custom-th:not(.action).desc:before {
    background-position: left 20px top 30%;
}

.custom-container-table .custom-table .custom-thead .custom-th:not(.action):after {
    transform: rotate(180deg);
    background-position: right 20px top 90%;
}

.custom-container-table .custom-table .custom-thead .custom-th:not(.action).asc:after {
    background-position: right 20px top 70%;
}

.pagination {
    display: flex;
    justify-content: center;
    position: relative;
    margin: 2rem;
    font-weight: bold;
}

.pagination .pages {
    margin: auto 2rem;
    display: flex;
}

.pagination .pages .page {
    display: flex;
    font-size: 12px;
    padding: 0.5rem;
    min-width: 32px;
    height: 32px;
    text-align: center;
    border-radius: 20px;
    user-select: none;
    cursor: pointer;
}

.pagination .pages .page.active {
    background-color: var(--primary-color);
    color: white;
}

.pagination .pages .page.disabled {
    cursor: not-allowed;
}

.pagination .pages .page .number {
    margin: auto;
    white-space: nowrap;
}

.pagination .previous, .pagination .next {
    margin: auto 0;
}


.custom-container-table.horizontal .custom-table {
    flex-direction: row;
}
.custom-container-table.horizontal .custom-table .custom-thead {
    max-width: 40%;
    min-width: 300px;
}
.custom-container-table.horizontal .custom-table .custom-tr {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.custom-container-table.horizontal .custom-table .custom-thead .custom-th{
    display: flex;
    align-items: center;
    padding: 5px 15px 5px 47px;
}
.custom-container-table.horizontal .custom-table .custom-tbody{
    flex-direction: row;
}
.custom-container-table.horizontal .custom-table .custom-tbody .custom-td,
.custom-container-table.horizontal .custom-table .custom-tbody .custom-td:last-child{
    padding: 15px;
}
.custom-container-table.horizontal .custom-table .custom-tbody .custom-td .custom-content{
    justify-content: center;
}


.custom-container-table.reporting-table .custom-table {
    width: max-content;
}

.custom-container-table.reporting-table .custom-table .custom-thead .custom-th.not-sortable {
    padding: 5px 26px 5px 26px;
}
.custom-container-table.reporting-table.horizontal .custom-table .custom-thead .custom-th.not-sortable{
    padding: 5px 15px 5px 47px;
}
.custom-container-table.reporting-table .custom-table .custom-thead .custom-th .custom-content,
.custom-container-table.reporting-table .custom-table .custom-thead .custom-td .custom-content {
    padding-top: 10px;
}

.custom-container-table.reporting-table .custom-table .custom-thead .custom-th:not(.action):before {
    background-position: left 20px top 65%;
}

.custom-container-table.reporting-table .custom-table .custom-thead .custom-th:not(.action).desc:before {
    background-position: left 20px top 50%;
}

.custom-container-table.reporting-table .custom-table .custom-thead .custom-th:not(.action):after {
    background-position: right 20px top 65%;
}

.custom-container-table.reporting-table .custom-table .custom-thead .custom-th:not(.action).asc:after {
    background-position: right 20px top 50%;
}
.custom-container-table.reporting-table .custom-table .custom-thead .custom-th.not-sortable .custom-content {
    text-align: center;
}
.custom-container-table.reporting-table .custom-table .custom-tbody .custom-td{
    padding: 15px;
}
.custom-container-table.reporting-table .custom-table .custom-tbody .custom-th .custom-content,
.custom-container-table.reporting-table .custom-table .custom-tbody .custom-td .custom-content{
    justify-content: center;
}


.custom-container-table .custom-table .custom-thead .custom-th.custom-bg-blue,
.custom-container-table .custom-table .custom-thead .custom-td.custom-bg-blue{
    background-color: #e6edf7;
}
.custom-container-table .custom-table .custom-tbody .custom-tr-group .custom-td.custom-bg-blue {
    background-color: #e6edf7;
}
.custom-container-table .custom-table.striped .custom-tbody .custom-tr-group:nth-child(odd) .custom-td.custom-bg-blue {
    background-color: #cddcf0;
}
