/*pagebar可改为自定义名称*/

/*公共样式 字体，行高，字体颜色等*/
.pagebar {
    font-size: 14px;
    font-family: Microsoft YaHei, SimSun, sans-serif;
    line-height: 40px;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px auto 0;
    padding: 20px 0;
    /* border-top: 1px solid #f0f0f0; */
    width: 100%;
}

/*去掉a链接的下划线*/
.pagebar a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/*消掉最左侧页码区margin-left的5个像素*/
.pagebar .p_pages {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
}

/*按钮和页码的外观*/
.pagebar .p_fun_d, .pagebar .p_no_d, .pagebar .p_fun a, .pagebar .p_no a {
    border: 1px solid #e0e0e0;
    padding: 0 15px;
    margin: 0;
    height: 40px;
    min-width: 40px;
    line-height: 40px;
    box-sizing: border-box;
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: white;
    color: #333;
    font-size: 14px;
}

/*文字对齐样式*/
.pagebar .p_t {
    line-height: 40px;
    margin: 0;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    color: #333;
}

/*无链接的字体颜色*/
.pagebar .p_fun_d, .pagebar .p_no_d {
    color: #ccc;
    border-color: #e0e0e0;
}

/*链接字体颜色*/
.pagebar .p_fun a, .pagebar .p_no a {
    color: #333;
}

/*鼠标移上时有链接按钮的外观*/
.pagebar .p_no a:hover, .pagebar .p_fun a:hover, .pagebar .p_goto a:hover {
    background-color: #f5f5f5;
    border-color: #0a539b;
    color: #0a539b;
    transform: translateY(-2px);
}


/*页码省略号...的外观*/
.pagebar .p_dot {
    margin: 0;
    color: #333;
    font-size: 14px;
    padding: 0 5px;
}

/*当前页码的外观*/
.pagebar .p_no_d {
    border: 1px solid #0a539b;
    color: #fff;
    background: linear-gradient(135deg, #0a539b 0%, #1a73e8 100%);
    border-color: #0a539b;
}

/*按钮控制*/

/*控制是否显示 "首页" "尾页" */
.pagebar .p_first,.pagebar .p_first_d,.pagebar .p_last,.pagebar .p_last_d{
    display:none;
}

/*控制是否显示 "上页" "下页"*/
.pagebar .p_prev,.pagebar .p_prev_d,.pagebar .p_next,.pagebar .p_next_d{
    /*display:none;*/
}

/*控制是否显示无链接的 "首页" "上页" "下页" "尾页"*/
.pagebar .p_first_d,.pagebar .p_prev_d,.pagebar .p_next_d,.pagebar .p_last_d{
    /*display:none;*/
}

/*控制是否显示页码*/
.pagebar .p_no,.pagebar .p_no_d,.pagebar .p_dot{
    /*display:none;*/
}

/*跳转到页码输入框的外观*/
.pagebar .p_goto input {
    font-family: Microsoft YaHei, SimSun, sans-serif;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
    vertical-align: middle;
    outline-width: thin;
    outline-color: #0a539b;
    margin: 0 5px;
    padding: 0;
    width: 50px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/*跳转到页码输入框  鼠标移上及输入时的外框颜色*/
.pagebar .p_goto input:hover, .pagebar .p_goto input:focus {
    border: 1px solid #0a539b;
}

/*跳转按钮的外观*/
.pagebar .p_goto a {
    border: 1px solid #e0e0e0;
    padding: 0 15px;
    color: #333;
    margin: 0;
    height: 40px;
    min-width: 40px;
    line-height: 40px;
    display: inline-flex;
    box-sizing: border-box;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: white;
    font-size: 14px;
}