nav[role="navigation"] {
    text-align: center;
}

.cd-pagination {
    width: 90%;
    max-width: 768px;
    margin: 1em auto 1em;
    text-align: center;
}

.cd-pagination li {
    display: none;
    margin: 0 0.2em;
}

.cd-pagination li.button {
    display: inline-block;
}

.cd-pagination a,
.cd-pagination span {
    display: inline-block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0.6em 0.8em;
    font-size: 1rem;
}

.cd-pagination a {
    border: 1px solid #e6e6e6;
    border-radius: 0.25em;
    text-decoration: none;
    color: #327a81;
}

.no-touch .cd-pagination a:hover {
    background-color: #f2f2f2;
    color: #286368;
}

.cd-pagination a:active {
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9);
}

.cd-pagination a.disabled {
    color: rgba(46, 64, 87, 0.4);
    pointer-events: none;
}

.cd-pagination a.disabled::before,
.cd-pagination a.disabled::after {
    opacity: .4;
}

.cd-pagination .nav_btn:first-of-type a::before {
    content: '\00ab';
}

.cd-pagination .nav_btn:last-of-type a::after {
    content: ' \00bb';
}

.cd-pagination .current {
    background-color: #64a2a0;
    border-color: #64a2a0;
    color: #ffffff;
    pointer-events: none;
}

@media only screen and (min-width: 768px) {
    .cd-pagination li {
        display: inline-block;
    }
}

@media only screen and (min-width: 1170px) {
    .cd-pagination {
        margin: 1em auto 1em;
    }
}

.cd-pagination.custom-buttons .nav_btn a {
    width: 40px;
    overflow: hidden;
    white-space: nowrap;
    text-indent: 100%;
    color: transparent;
    background-image: url("../img/cd-icon-arrow.svg");
    background-repeat: no-repeat;
    background-position: center center;
}

.cd-pagination.custom-buttons .nav_btn:last-of-type a {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}