/*pagebar可改为自定义名称*/

/*公共样式 字体，行高，字体颜色等*/
.pagebar {
    font-size: 20px;
    font-family: "微软雅黑";
    line-height:40px;
    margin-top: 40px;
    color: #1f643e;
text-align: center;
}

/*去掉a链接的下划线*/
.pagebar a{
    text-decoration: none;
}

/*消掉最左侧页码区margin-left的5个像素*/
.pagebar .p_pages{
    margin-left: -5px;
}

/*按钮和页码的外观*/
.pagebar .p_fun_d, .pagebar .p_no_d,.pagebar .p_fun a, .pagebar .p_no a{

    width: 40px;
    height: 40px;
    -height:auto;

    line-height:40px;
    text-align: center;
    background: #fff;
   
    border-radius: 50%;
    margin: 0 10px;
    box-sizing:border-box;
    display:inline-block;
    vertical-align:middle;
}

/*文字对齐样式*/
.pagebar .p_t{
       font-size: 0.14rem;
    display:inline-block;
    vertical-align:middle;
}

/*无链接的字体颜色*/
.pagebar .p_fun_d, .pagebar .p_no_d{
    color: #ccc;
}

/*链接字体颜色*/
.pagebar .p_fun a, .pagebar .p_no a{
     color: #1f643e;
}

/*鼠标移上时有链接按钮的外观*/
.pagebar .p_no a:hover{
   background: #1f643e;
    color: #fff;
}
.pagebar .p_fun a:hover, .pagebar .p_goto a:hover{
  
}

/*页码省略号...的外观*/
.pagebar .p_dot {
    margin-left:4px;
    margin-right:-4px;
    color: #1f643e;
}

/*当前页码的外观*/
.pagebar .p_no_d {
 
   background: #1f643e;
   color: #fff;
}

/*按钮控制*/

/*控制是否显示 "首页" "尾页" */
.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{
}
.pagebar .p_prev a{
    background: url(../images/fyleft.png) no-repeat center center;
    display: inline-block;
    color: #fff0;
}

.pagebar .p_next a{
    background: url(../images/fyright.png) no-repeat center center;
    display: inline-block;
    color: #fff0;
}

/*控制是否显示无链接的 "首页" "上页" "下页" "尾页"*/
.pagebar .p_first_d,.pagebar .p_prev_d,.pagebar .p_next_d,.pagebar .p_last_d{
   
}
.pagebar .p_prev_d{
    background: url(../images/fyleft.png) no-repeat center center;
    display: inline-block;
    color: #fff0;
}
 .pagebar .p_next_d{
    background: url(../images/fyright.png) no-repeat center center;
    display: inline-block;
    color: #fff0;
}

/*控制是否显示页码*/
.pagebar .p_no,.pagebar .p_no_d,.pagebar .p_dot{
    /*display:none;*/
}

/*跳转到页码输入框的外观*/
.pagebar .p_goto input {
    font-family: SimSun;
    font-size:12px;

    border: 1px solid #aaa;
    height:22px;
    line-height:20px;
    box-sizing:border-box;
    vertical-align:middle;

    outline-width:thin;
    outline-color:#258CFF;
    
    margin:0px 2px;
    padding:0px 1px;

    width:22px;
    text-align:center;
}

/*跳转到页码输入框  鼠标移上及输入时的外框颜色*/
.pagebar .p_goto input:hover, .pagebar .p_goto input:focus{
    border: 1px solid #258CFF;
}

/*跳转按钮的外观*/
.pagebar .p_goto a{
    border: 1px solid #ccc;
    padding: 5px 6px;
    color: #222;

    margin:0px;
    font-size: 0.14rem;
    height:24px;
    -height:auto;
    
    line-height:12px;
    display:inline-block;
    box-sizing:border-box;
    vertical-align:middle;
}