.page_custom {
    width: 100%;
    padding: 46px 0 10px;
    text-align: center;
    clear: both;
    box-sizing: border-box;
}

.page_custom .page_son {
    display: inline-block;
    max-width: 100%;
    margin: 0 auto;
    vertical-align: top;
}

.page_custom .pagination {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    list-style: none;
}

.page_custom .pagination > li,
.page_custom .pagination .animatedslow {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    list-style: none;
}

.page_custom .pagination > li > a,
.page_custom .pagination > li > span,
.page_custom .pagination .animatedslow > a,
.page_custom .pagination .animatedslow > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    margin: 0;
    border: 1px solid #e4e7e2;
    border-radius: 20px;
    background: #fff;
    color: #555;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    transition: all .2s ease;
}

.page_custom .pagination > li > a:hover,
.page_custom .pagination .animatedslow > a:hover {
    border-color: #8dc21f;
    color: #8dc21f;
    background: #fbfff4;
}

.page_custom .pagination > .active > a,
.page_custom .pagination > .active > span,
.page_custom .pagination .active > a,
.page_custom .pagination .active > span {
    border-color: #8dc21f !important;
    background: #8dc21f !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(141, 194, 31, .2);
}

.page_custom .pagination > li.active,
.page_custom .pagination .animatedslow.active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.page_custom .pagination > .disabled > span,
.page_custom .pagination > .disabled > a,
.page_custom .pagination > li.disabled > span,
.page_custom .pagination > li.disabled > a {
    cursor: not-allowed;
    border-color: #edf0ea;
    background: #f8f8f8;
    color: #bbb;
    box-shadow: none;
}

@media (max-width: 768px) {
    .page_custom {
        padding: 28px 12px 6px;
    }

    .page_custom .pagination {
        gap: 6px;
    }

    .page_custom .pagination > li > a,
    .page_custom .pagination > li > span,
    .page_custom .pagination .animatedslow > a,
    .page_custom .pagination .animatedslow > span {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        border-radius: 17px;
        font-size: 13px;
    }
}
