/*分页 */
.pages {
    margin: 10px 0;
    padding: 10px;
    text-align: center;
}

.pages:before,
.pages:after {
    content: " ";
    display: table;
    clear: both;
}

.pages p {
    font-size: 0;
}

/*清除a之间的间距*/
.pages a, .pages input.pages-btn {
    color: #555;
    text-decoration: none;
    border: 1px #dddddd solid;
}

.pages a, .pages strong {
    padding: 0 12px;
    margin: 0 3px 10px 3px;
    font: 12px/40px "Lantinghei SC", "PingFang SC", "Microsoft Yahei", "Hiragino Sans GB", "Segoe UI", "Lucida Grande", Helvetica, "SimHei", sans-serif;
    min-width: 40px;
    display: inline-block;
    text-align: center;
}

.pages a:hover {
    color: #ff4242;
    border: 1px solid #ff2929;
    background: #fff;
    z-index: 4;
}

.pages a.active, .pages a:hover.active,
.pages strong {
    border: 1px solid #ff2929;
    color: #fff;
    background: #ff4242;
    cursor: default;
}

.pages i {
    padding: 0 8px;
    font-size: 12px;
}

/*省略号*/
.pages span {
    color: #ccc;
    padding-left: 20px;
    font-weight: 600;
}

.pages span form {
    display: inline;
}

.pages input {
    margin: 0 -1px 0 0;
    text-align: center;
    color: #ccc;
    position: relative;
    z-index: 5;
    background: transparent;
}

.pages .pages-btn {
    width: 40px;
    height: 40px;
    padding: 0 5px;
    border-radius: 3px;
    font-weight: 400;
    z-index: 1;
}

.pages .pages-btn:hover {
    background: #eeeeee;
}

.pages .pages-btn:active {
    background: #dddddd;
}

.pages-text {
    width: 50px;
    height: 40px;
    border: 1px #dddddd solid;
    line-height: 25px;
}

.pages p, .pages-small p {
    display: inline;
}

a.pages-select {
    padding-left: 0;
    padding-right: 0;
}

.pages-select {
    position: relative;
}

.pages-select select {
    position: relative;
    opacity: 0;
    padding: 8px 8px;
    z-index: 13;
    cursor: pointer;
}

.pages-select .pages-select-num {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    z-index: 12;
    font-weight: normal;
    text-align: center;
}

/*分页-小*/
.pages-small {
    margin: 5px 0 0 0;
    padding: 0;
}

.pages-small a, .pages-small strong {
    padding: 3px 6px;
    font-size: 12px;
    line-height: 20px;
    min-width: 28px;
}

.pages-small span {
    padding-left: 10px;
}

.pages-small input {
    margin: 0 3px;
}

.pages-small .pages-btn {
    height: 20px;
    font-size: 12px;
}

.pages-small .pages-text {
    width: 20px;
    height: 20px;
    line-height: 20px;
}

.pages-small a:nth-child(1), .pages-small strong:nth-child(1) {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.pages-small a:nth-last-child(1), .pages-small strong:nth-last-child(1) {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

/*分页样式-蓝色*/
.pages-blue a.active, .pages-blue a:hover.active,
.pages-blue strong {
    border-color: #0099e6;
    background: #0af;
}

.pages-blue a:hover {
    color: #0af;
    border-color: #0099e6;
}

/*分页样式-橙色*/
.pages-orange a.active, .pages-orange a:hover.active,
.pages-orange strong {
    border-color: #e27100;
    background: #fb7e00;
}

.pages-orange a:hover, .pages-orange a:active {
    color: #fb7e00;
    border-color: #e27100;
}

/*分页样式-粉红色*/
.pages-pink a.active, .pages-pink a:hover.active,
.pages-pink strong {
    border-color: #f6397c;
    background: #f7518c;
}

.pages-pink a:hover {
    color: #f7518c;
    border-color: #f6397c;
}