/* 分页样式 开始 */
.page-box {
    position: relative;
    text-align: center;
    /* background-color: pink; */
    font-size: 14px;
    color: #7F7F7F;
    line-height: 30px;
    overflow: hidden;

    margin: 50px 0 80px;
}


.page-current-total {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    line-height: 36px;
    margin: 5px 0;
    font-size: 14px;
    color: #7F7F7F;
    text-align: left;
}

.page-box a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 1px solid #DCDCDC;
    font-size: 14px;
    color: #7F7F7F;
    line-height: 40px;
    text-align: center;

    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    margin: 0 2px;
    /* 鼠标图案 */
    cursor: pointer;
}

.page-box a:hover {
    /* transform: scale(1.1); */
}

.page-box .prev,
.page-box .next {
    width: 40px;
}

.page-box .current,
.page-box .elp {
    background-color: #fff;
    border: none;
}

.page-box .current {
    background-color: #AB1F24;
    border: 1px solid #AB1F24;
}

.page-box .go {
    margin-left: 10px;
}

.page-box input {
    outline: none;
    text-align: center;
    font-size: 14px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 4px;
    border: 1px solid #E4E6E9;
}

.page-box button {
    width: 60px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #E4E6E9;
    margin-left: 5px;
    font-size: 14px;
    color: #7F7F7F;
    line-height: 40px;
    cursor: pointer;
    background-color: white;
}


@media screen and (max-width:980px) {

    .page-box{
        margin: 20px 0;
    }
    .page-box span,
    .page-box button,
    .page-box input {
        display: none;
    }
    /* .page-box a:nth-child(n+3):not(:last-child):not(.next) {
        display: none;
    } */
    .page-box a:nth-child(n+3):not(:last-of-type) {
        display: none;
      }
}

/* 分页样式 结束 */