.page-item:first-child .page-link, .page-item:last-child .page-link {
    border-radius: 0;
}
.page-link {
    border: none;
    background: rgba(142,187,17,1.0);
    margin-left: 2px;
    margin-right: 2px;
    color: #fff;
    font-weight: 500;
}

.page-item.active .page-link {
    background: rgba(123,161,15,1.0);
    color: #fff;
}
.page-link:hover{
     background: rgba(123,161,15,1.0);
    color: #fff;
}