/* =========================================================
   HISTORY PAGINATION
========================================================= */

.history-pagination {
    display: flex;
    justify-content: flex-start;
    margin-top: 22px;
}


/* jw-pagination output */

.history-pagination ul {
    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;

    list-style: none;

    border-radius: 9px;
    overflow: hidden;

    border: 1px solid #dce3ea;
}


.history-pagination li {
    margin: 0 !important;
}


.history-pagination li a,
.history-pagination li span {
    min-width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 10px;

    border: 0 !important;
    border-right: 1px solid #dce3ea !important;

    background: #ffffff;

    color: #1674e8;

    font-size: 11px;

    text-decoration: none;

    cursor: pointer;
}


.history-pagination li:last-child a,
.history-pagination li:last-child span {
    border-right: 0 !important;
}


/* Active page */

.history-pagination li.active a,
.history-pagination li.active span {
    color: #ffffff !important;

    background: #20a548 !important;
}


/* Disabled */

.history-pagination li.disabled a,
.history-pagination li.disabled span {
    color: #9da6b2 !important;

    background: #f1f3f5 !important;

    cursor: not-allowed;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .history-pagination {
        justify-content: center;

        margin-top: 18px;

        overflow-x: auto;

        padding-bottom: 3px;
    }

    .history-pagination ul {
        flex-shrink: 0;
    }

    .history-pagination li a,
    .history-pagination li span {
        min-width: 34px;
        height: 34px;

        font-size: 10px;
    }

}