
.pagination {
    margin: 1em 0;
    text-align: center
}

.pagination:before,.pagination:after {
    content: " ";
    display: table
}

.pagination:after {
    clear: both
}

.pagination li {
    display: inline-block
}

.pagination li a {
    background-color: #fff;
    margin-left: .1em;
    margin-right: .1em;
    border: 1px solid #222;
    color: #222;
    float: left;
    line-height: 1.42857143;
    padding: 6px 12px;
    position: relative;
    text-decoration: none;
    margin-bottom: .2em
}

.pagination .active a {
    background-color: #222;
    border-color: #222;
    color: #fff;
    cursor: default;
    z-index: 2
}
.pagination a:hover:not(.active) {
    background-color: #ddd;
}

.pagination .prev,.pagination .next {
    font-weight: 600;
    font-size: 20px;
    font-family: Athelas,STHeiti,Microsoft Yahei,serif;
    transition-property: transform;
    transition-timing-function: ease-out;
    transition-duration: .3s
}

.pagination .prev {
    float: left
}

.pagination .prev:hover {
    color: #c05b4d;
    transform: translateX(-4px)
}

.pagination .next {
    float: right
}

.pagination .next:hover {
    color: #c05b4d;
    transform: translateX(4px)
}

.pagination input {
    box-sizing: border-box;
    font-variant: tabular-nums;
    list-style: none;
    font-feature-settings: "tnum";
    position: relative;
    display: inline-block;
    width: 8%;
    padding: 4px 11px;
    color: rgba(0,0,0,.65);
    font-size: 14px;
    line-height: 1.5;
    background-color: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    transition: all .3s;
}

.pagination button {
    line-height: 1.499;
    position: relative;
    display: inline-block;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 2px 0 rgba(0,0,0,.015);
    cursor: pointer;
    transition: all .3s cubic-bezier(.645,.045,.355,1);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
    height: 32px;
    padding: 0 15px;
    font-size: 16px;
    border-radius: 4px;
    color: rgba(0,0,0,.65);
    background-color: #fff;
    border: 1px solid #d9d9d9;
    margin-left: 5px;
}

.pagination button:hover {
    line-height: 1.499;
    position: relative;
    display: inline-block;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    transition: all .3s cubic-bezier(.645,.045,.355,1);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
    height: 32px;
    padding: 0 15px;
    font-size: 16px;
    border-radius: 4px;
    color: rgba(0,0,0,.65);
    margin-left: 5px;
    color: #fff;
    background-color: #1890ff;
    border-color: #1890ff;
    text-shadow: 0 -1px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 0 rgba(0,0,0,.045)
}

@media screen and (max-width:1080px) {
    .pagination {
        margin: 1em 0
    }
}