.jPages {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: center;
}

.jPages a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgb(0, 0, 0);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    border: 1px solid rgb(190, 190, 190);
    border-radius: 4px;
    margin: 5px 5px 0;
    transition: all.3s;
}

.jPages a:hover {
    background-color: var(--primary);
    color: #fff;
}

.jPages a.jp-current,
a.jp-current:hover {
    background-color: var(--primary);
    color: #fff;
    font-weight: bold;
}

.jPages a.jp-disabled,
a.jp-disabled:hover {
    color: #bbb;
}

.jPages a.jp-current,
a.jp-current:hover,
.jPages a.jp-disabled,
a.jp-disabled:hover {
    cursor: default;

}

.jPages span {
    margin: 0 5px;
}




@media only screen and (max-width: 768px) {
    .jPages a {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 500px) {
    .table_page {
        justify-content: center;
    }
}