.pager {
    text-align: center;
	display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    width: 100%;
    margin: auto;
}

.pager a {
    cursor: pointer;
    width: 50px;
    height: 40px;
    border: 1px solid #EBEBEB;
    color: #000;
    display: inline-block;
    line-height: 40px;
    float: left;
    font-size: 15px;
    text-decoration: none;
    margin: 0 2px;
    border-radius: 6px;
    background-color: white; /* 默认背景色 */
}

.pager a:hover {
    border-color: #a12d2d;
    color: #a12d2d;
}

.pager a.active {
    background-color: #D43030;
    color: #fff;
    border-color: #EBEBEB;
}

.pager .page-total {
    color: #8a8a8a;
    font-size: 15px;
    padding-right: 10px;
}

.pager span {
    cursor: default; /* 禁用点击，使用默认鼠标箭头 */
    width: 50px;
    height: 40px;
    border: 1px solid #EBEBEB;
    color: #8a8a8a;
    display: inline-block;
    line-height: 40px;
    float: left;
    font-size: 15px;
    text-decoration: none;
    margin: 0 2px;
    border-radius: 6px;
    background-color: white;
    text-align: center; /* 让文本居中显示 */
} 

.pager span.disabled {
    color: #ccc; /* 灰色表示禁用状态 */
    cursor: default; /* 鼠标变为默认箭头 */
}

.pager .first,
.pager .prev,
.pager .next,
.pager .last {
    background-color: #f0f0f0; /* 按钮的默认背景色 */
}

.pager .first:hover,
.pager .prev:hover,
.pager .next:hover,
.pager .last:hover {
    background-color: #e0e0e0; /* 按钮的悬停背景色 */
}

.pager .first {
    /* 首页按钮的特殊样式 */
}

.pager .prev {
    /* 上一页按钮的特殊样式 */
}

.pager .next {
    /* 下一页按钮的特殊样式 */
}

.pager .last {
    /* 尾页按钮的特殊样式 */
}

.pager .first[disabled='true'],
.pager .prev[disabled='true'],
.pager .next[disabled='true'],
.pager .last[disabled='true'] {
    cursor: default;
    background-color: #e0e0e0; /* 禁用状态的背景色 */
    border-color: #eeeeee;
    color: #b0b0b0;
}

.pager span.ellipsis {
    display: inline-block;
    width: 50px;
    height: 40px;
    line-height: 40px;
    float: left;
    color: #8a8a8a;
    font-size: 15px;
}

.pagerHtmlWrap {
    width: 800px;
    margin: 30px auto;
}

.pagerHtmlWrap .cc_cells {
    width: 100%;
    height: 35px;
    padding: 5px 0;
    border-bottom: 1px #cccccc solid;
}

.pagerHtmlWrap .cc_cells a {
    color: #454545;
    font-size: 14px;
    line-height: 35px;
    text-decoration: none;
}

.pagerHtmlWrap .cc_cells a span {
    display: inline-block;
    width: 25%;
    text-align: left;
    margin: 0;
}


/* 只在移动端应用 */
@media screen and (max-width: 768px) {
    .pager .page, /* 隐藏所有页码按钮 */
    .pager .first, /* 隐藏首页按钮 */
    .pager .last { /* 隐藏尾页按钮 */
        display: none;
    }

    .pager .ellipsis { /* 隐藏省略号 */
        display: none;
    }
    
    .pager .prev, /* 保留上一页按钮 */
    .pager .next { /* 保留下一页按钮 */
        display: inline-block;
    }
    
    /* 如果需要的话，可以设置上一页和下一页按钮的样式 */
    .pager .prev, 
    .pager .next {
        width: 60px; /* 根据需要调整宽度 */
        font-size: 14px; /* 根据需要调整字体大小 */
		margin: 0 20px;
    }
}
