.page {
    position: relative;
    width: 815px;
    height: 50px;
    margin-top: 50px;
    text-align: center;
}

.page .custom-pagination,
.page.custom-pagination ul,
.page .custom-pagination ul li,
.page .custom-pagination .page-to input {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box
}

.page .custom-pagination {
    height: 30px;
    color: #666;
    text-align: center;
    font-size: 14px;
    position: absolute;
    top: 0;
    left: 50%
}

.page .custom-pagination ul {
    float: left;
    height: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0;
    overflow: hidden;
    white-space: no-wrap
}

.page_b a {
    display: inline-block;
    font-size: 12px;
    min-width: 30px;
    padding: 0 10px;
    height: 30px;
    line-height: 28px;
    margin-left: 10px;
    color: #A3A2A7;
    background-color: #fff;
    border: 1px solid #D2D2D2;
    cursor: pointer;
    vertical-align: top;
    border:none;
    /*border-radius: 4px;*/
}

.page .custom-pagination ul li:first-child {
    margin-left: 0
}

.page_b .num_select {
    background-color:#CE2121;
    color: #fff;
    border: 0;
    line-height: 30px
}

.page_b a:hover {
    background-color: #CE2121 ;
    color: #fff
}

.page .page_b a.pre,
.page .page_b a.next {
    /*display: block;*/
    /*!*float: left;*!*/
    width: 60px;
    height: 30px;
    line-height: 28px;
    cursor: pointer;
    vertical-align: middle;
    color: #757575 ;
    text-decoration: none;
    /*border-radius:4px;*/
    border-none;
}

.page .page_b a.pre {
    margin-right: 10px
}

.page .page_b a.next {
    margin-left: 10px
}

.page .page_b a.pre:hover,
.page .page_b a.next:hover {
    background-color: #fff ;
    color:#CE2121;
}

.page .custom-pagination ul li.ellipsis {
    background-color: transparent;
    border: 0;
    cursor: default;
    line-height: 18px;
    font-size: 20px
}

.page .custom-pagination ul li.ellipsis:hover {
    background-color: transparent;
    border: 0;
    cursor: default;
    line-height: 18px;
    font-size: 20px;
    color: #666
}

.page .custom-pagination .page-to {
    width: 166px;
    height: 30px;
    line-height: 30px;
    float: left;
    margin-left: 20px;
    display: none;
}

.page .custom-pagination .page-to input {
    display: inline-block;
    width: 64px;
    height: 30px;
    line-height: 28px;
    border: 0;
    vertical-align: middle;
    margin: 0 10px;
    padding: 0 5px;
    background: #FFFFFF;
    border: 1px solid #D2D2D2;
    border-radius: 4px;
    color: #1A7AFF;
    text-align: center;
}

.page .custom-pagination .page-to input:focus {
    outline: 0
}

.page .custom-pagination .page-to span {
    vertical-align: middle;
    display: inline-block;
    width: 40px;
    height: 30px;
    line-height: 28px;
    background-color: #fafafa;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    margin-left: 10px;
    opacity: 0;
}

.page .custom-pagination .page-to span:hover {
    background-color: #4596ce;
    color: #fff
}
/*新增*/
