/*合并单元格边框*/
table{
	border-collapse: collapse;
	border: none;
}
/*设置默认tr的宽高*/
tr{
	width: 100%;
	height: 30px;
}
/*设置默认td,th的宽高
 
 * td为表内容的每一项
 * th为表头部的每一项
 * */
td,th{
	height: 30px;
	width:100px;
	border-color: #d8d8d8;
	box-sizing: border-box;
}

label{
	font-weight:bold;
	text-align: right;
	width: 72px;
	height: 30px;
	line-height: 30px;
	float: left;
	padding:0 10px;
	cursor: pointer;
}
button{
	cursor: pointer;
}
/*左浮动*/
.l-float{float: left;}
/*右浮动*/
.r-float{float: right;}
/*清除左右浮动*/
.clear-f{
	clear: both;
}
/*默认的按钮样式*/
.ctr-btn{
	/*边框*/
	border: 1px solid #D8D8D8;
	/*圆角*/
	-webkit-border-radius:10px;  
	-moz-border-radius:10px;  
	-ms-border-radius:10px;  
	-o-border-radius:10px;  
	border-radius: 10px; 
	/*上下左右的边距*/
	padding: 5px 20px;
	/*背景颜色*/
	background: #FFF;
}
/*分页按钮样式*/
.btn-sortpage{
	/*边框*/
	border: 1px solid #D8D8D8;
	/*圆角*/
	-webkit-border-top-right-radius:10px;  
	-moz-border-top-right-radius:10px;  
	-ms-border-top-right-radius:10px;  
	-o-border-top-right-radius:10px;  
	border-top-right-radius: 10px; 
	/*背景颜色*/
	background: #FFF;
	/*上下左右的边距*/
	padding: 5px 20px;
}
/*按钮点击选中*/
.btn-selected{
	background: #CCC;
}

/*设置工作区域*/
.workSpace{
	/*假设宽度100%*/
	width: 100%;
	/*背景颜色*/
	background-color: #eee;
	height: 100%;
	box-sizing: border-box;
	padding: 20px;
	overflow: auto;
}
/*设置标题*/
.bh-title{
	/*字号*/
	font-size: 14px;
	/*加粗*/
	font-weight: bold;
	/*颜色*/
	color: #000;
	/*水平居中*/
	text-align: center;
}
/*对table是否编辑以及保存退出的样式编辑*/
.bh-table-action div{
	height: 35px;
	line-height:35px;
	margin-right: 20px;
}

/*.table-action button{*/
	/*清除按钮边框重新设置*/
	/*border: none;*/
	/*设置按钮边框*/
	/*border: 1px solid #D8D8D8;*/
	/*设置圆角*/
	/*-webkit-border-radius:3px;  
	-moz-border-radius:3px;  
	-ms-border-radius:3px;  
	-o-border-radius:3px;  
	border-radius:3px; */
	/*背景颜色*/
	/*background-color:#fff;*/
	/*display:block;之后元素变块状 加浮动使其排成一行*/
	/*float: left;*/
	/*把按钮顶下来*/
	
/*}*/
/*保存 退出按钮*/
.bh-save,.bh-out{display: none;}
/*table 样式*/
.bh-table{
	/*清除上方浮动带来的影响*/
	clear: both;
	/*宽度100%*/	
	width: 100%;
	/*高度自适应*/
	height: auto;
	/*大边框去掉*/	
	border: none;
}

/*table tbody下面所有的tr下面的td里面的input*/
.bh-table tbody>tr>td>input{
	/*宽高为父元素的宽高*/
	width: 100%;
	height: 31px;
	/*text-align:start;*/
	box-sizing:border-box ;
	border: none;
}
/*设置距离边框的距离*/
.bh-table tbody>tr>td>input{
	text-indent: 5px;
}
/*所有行第一列居中显示*/
.bh-table tbody>tr>td:nth-child(1) input{
	text-align: center; /*IE*/
	text-align: -moz-center; /*Firefox*/
	text-align: -webkit-center; /*Chrome*/
	background: skyblue;
}



/*thead变色*/
thead{
	font-size: 14px;
	background: #ccc;
}