.table-wrapper::-webkit-scrollbar {
    display: none !important;
}

.accordion-button h4 {
    color: var(--text-primary);
    font-weight: var(--fw-lg);
}

/* List */
.listtable {
    padding: 10px !important;
    border-radius: .25rem;
    background-color: var(--secondary);
    box-shadow: 0 0 .875rem 0 rgba(33, 37, 41, .05);
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.filter-container-start {
    display: grid;
    grid-template-columns: 30% 70%;
    align-items: center;
    justify-content: start;
}

.filter-container-start input,
.filter-container-start select {
    margin-left: 0px;
    padding: 5px 10px;
    border: 1px solid var(--input-border);
    background-color: var(--secondary);
}

.filter-container-start input {
    border-radius: 0px 5px 5px 0px;
}

.filter-container-start select {
    border-radius: 5px 0px 0px 5px;
}

.table thead th {
    background-color: var(--bg);
}

.dataTables_length {
    font-size: 12px;
}

.dataTables_length label {
    font-weight: var(--fw-lg) !important;
}

.dataTables_filter {
    display: none;
}

.filter-container-end {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
}

.table-wrapper {
    width: 100%;
    overflow-x: scroll;
}

.table thead th {
    color: var(--text-secondary);
    font-weight: var(--fw-lg);
    text-transform: uppercase;
}

.table tbody td,
.table tfoot td {
    color: var(--text-primary);
    font-weight: var(--fw-sm);
}

.table tbody tr .active {
    color: #55A330;
    text-decoration: none;
}

.table tbody tr .inactive {
    color: #FF0000;
    text-decoration: none;
}

.table tbody tr td i {
    color: var(--text-primary);
    cursor: pointer;
}

.page-link {
    color: var(--text-primary);
}

.active>.page-link,
.page-link.active {
    background-color: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--secondary);
}

.bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#export {
    font-size: 20px;
    color: #FF0000;
}

#import {
    font-size: 20px;
    color: #55A330;
}

#excel,
#print {
    font-size: 20px;
    color: #576D7E;
}

.maxdesp {
    width: 250px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media screen and (min-width: 1140px) {
    .accordion-button h4 {
        font-size: 16px;
    }

    .filter-container-start input,
    .filter-container-start select {
        font-size: 12px;
    }

    .dataTables_wrapper {
        width: 100% !important;
        overflow: auto;
    }

    #longTable {
        width: 200% !important;
        overflow: auto;
    }

    .table thead th,
    .table tbody td,
    .table tfoot td,
    .page-link {
        font-size: 12px;
    }

    .table tbody i {
        font-size: 14px;
    }

}

@media screen and (min-width: 767px) and (max-width: 1140px) {

    .accordion-button h4 {
        font-size: 16px;
    }

    .filter-container-start input,
    .filter-container-start select {
        font-size: 12px;
    }

    .dataTables_wrapper {
        width: 150% !important;
        overflow: auto;
    }
    
    #longTable {
        width: 250% !important;
        overflow: auto;
    }

    .table thead th,
    .table tbody td,
    .table tfoot td,
    .page-link {
        font-size: 12px;
    }

    .table tbody i {
        font-size: 14px;
    }

}

@media screen and (max-width: 767px) {

    .accordion-button h4 {
        font-size: 14px;
    }

    .filter-container-start input,
    .filter-container-start select {
        font-size: 12px;
    }

    .dataTables_wrapper {
        width: 250% !important;
        overflow: auto;
    }
    
    #longTable {
        width: 500% !important;
        overflow: auto;
    }

    .table thead th,
    .table tbody td,
    .table tfoot td,
    .page-link {
        font-size: 12px;
    }

    .table tbody i {
        font-size: 14px;
    }

    .filter-container-end img {
        height: 30px !important;
    }

}