.page {
    position: relative;
    margin: 10px 0;
    height: 30px;
}

.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;
    right: 0
}

.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 .custom-pagination ul li {
    display: inline-block;
    font-size: 14px;
    min-width: 30px;
    padding: 0 10px;
    height: 30px;
    line-height: 28px;
    margin-left: 10px;
    background-color: #fafafa;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    vertical-align: top
}

.page .custom-pagination ul li:first-child {
    margin-left: 0
}

.page .custom-pagination ul li.current-page {
    background-color: #FF7800;
    color: #fff;
    border: 0;
    line-height: 30px
}

.page .custom-pagination ul li:hover {
    background-color: #FF7800;
    color: #fff
}

.page .custom-pagination a.prev-page,.custom-pagination a.next-page {
    display: block;
    float: left;
    width: 80px;
    height: 30px;
    line-height: 28px;
    background-color: #fafafa;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    vertical-align: middle;
    color: #666;
    text-decoration: none
 }

.page .custom-pagination a.prev-page {
    margin-right: 10px
}

.page .custom-pagination a.next-page {
    margin-left: 10px
}

.page .custom-pagination a.prev-page:hover,.page .custom-pagination a.next-page:hover {
    background-color: #FF7800;
    color: #fff
}

.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
}

.page .custom-pagination .page-to input {
    display: inline-block;
    width: 40px;
    height: 30px;
    line-height: 28px;
    background-color: #fafafa;
    border: 0;
    border: 1px solid #f0f0f0;
    vertical-align: middle;
    margin: 0 10px;
    padding: 0 5px
}

.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
}

.page .custom-pagination .page-to span:hover {
    background-color: #FF7800;
    color: #fff
}
