/**
 * by charming   用于datatable.repososive.js在小屏时，icon图标的样式
 */
/*table.has-columns-hidden > tbody > tr > td > span.responsiveExpander{*/
	/*background: url(../../img/plus.png) no-repeat 5px center;*/
	/*padding-left: 32px;*/
	/*cursor: pointer;*/
/*}*/
/*table.has-columns-hidden > tbody > tr.detail-show > td > span.responsiveExpander{*/
	/*background: url(../../img/minus.png) no-repeat 5px center;*/
/*}*/
table.has-columns-hidden > tbody > tr.row-detail > td > ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
table.has-columns-hidden > tbody > tr.row-detail > td > ul > li > span.columnTitle{
	font-weight: 700;
}
/**
 * by charming  用于datatable搜索命中颜色
 */
table .highlight{
	color:#efb700;
}

/**
 * 用于解决datatable，搜索、分页、页数显示等控件的长度不占满的情况 by charming
 */
.dataTables_wrapper > .row {
    margin: 0;
    width: 100%;
}
/**
 * datatable无数据时，提示居中 by charming
 */
.dataTables_wrapper .dataTables_empty{
	text-align: center;
}

/**
 * 用于解决datatable，表格上方操作按钮和分页控件的样式调整 by charming
 */
.dataTables_wrapper .table-header-button{
	margin-left: 20px;
	cursor: pointer;
}
.dataTables_wrapper .dataTables_length{
	float: left;
}
.dataTables_wrapper #table-actions{
	float: left;
	margin-top: 5px;
}
.table>thead>tr>th {
    /*text-align: center;*/
    white-space: nowrap !important;
}

/**
 * 全局多个列按钮样式 by charming
 */
.btn + .btn{
	margin-left: 10px;
}


/**
 * 处理layui中所有form表单的操作按钮的样式，例如Close、Submit  by charming
 */
.layui-form .layer-action-btn{
	text-align: right;
	padding-right: 16px;
	margin-top: 50px;
	margin-bottom: 10px;
	display: none;
}
.box-header{
	border-bottom:1px solid #EEEFF0;
}
.table-headerbox{
	border-top:1px solid #EEEFF0;
}

/* 全局datatabe样式 by charming */
.table td{
	padding: .65rem;
	vertical-align: middle;
}
table.dataTable{
	border-bottom: 1px solid #E0E0E0;
}
.table-striped thead tr{
	background-color:#F2F4F8;
}
.table-striped > tbody > tr:nth-child(2n){
	background-color:#F2F4F8;
	background-clip: border-box;
}
.table-striped > tbody > tr:nth-child(2n+1){
	background-color:#ffffff;
	background-clip: border-box;
}

/**
 * 自定义文字颜色 by charming
 */
 .text-self-primary{
	color: #0CC2AA;
}
.text-self-danger{
	color: #f44455;
}
.text-self-accent{
	color: #a88add;
}
.text-self-info{
	color: #6887ff;
}
/**
 * layui 单选框颜色   by charming
 */
.layui-form-radio > i:hover, .layui-form-radioed > i{
	color: #0cc2aa;
}


/**
 * 此class用于做页面编辑、新增功能的容器，不需要看到
 */
.layer-html{
	display: none;
}



/**
 * [media 增加1200px到1500px的class，用于小屏笔记本的适应]
 * @Author   charming
 * @DateTime 2020-07-15
 * @param    {[type]}   min-width: 1200px)       and (max-width: 1500px [description]
 * @return   {[type]}              [description]
 */
@media (min-width: 1200px) and (max-width: 1500px){
	.col-de-12{
		-webkit-box-flex: 0;
		-webkit-flex: 0 0 100%;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	.col-de-6{
		-webkit-box-flex: 0;
		-webkit-flex: 0 0 50%;
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.col-de-4{
		-webkit-box-flex: 0;
		-webkit-flex: 0 0 33.33333%;
		-ms-flex: 0 0 33.33333%;
		flex: 0 0 33.33333%;
		max-width: 33.33333%;
	}
}

/**
 * 禁用颜色 背景为灰色
 */
.allrowgrey{
	background-color: #c1c1c1 !important;
}



/* 解决layui的form间隔过大 by charming */
.layui-form-item{
	margin-bottom: 5px;
}
.layui-form-item label{
	margin-bottom: 0px;
}
/* 50%透明度 */
.opacity50{
	filter:alpha(opacity=50); /*IE*/
    -moz-opacity:0.5;  /*firefox */
    opacity: 0.5;   /*Chrome*/
}

.primary {
    color: rgba(255, 255, 255);
    background-color: #4C84FF;
}
.primary:hover{
	color:white !important;
}

form em.invalid {
    display: block;
    margin-top: 6px;
    padding: 0 1px;
    font-style: normal;
    font-size: 11px;
    line-height: 15px;
    color: #D56161;
}

.dropdown-item.active, .dropdown-item:active{
	background-color: #fff !important;
}
table .handle_tr{
	white-space: nowrap;
}


.esunbtn-blue,
.esunbtn-blue.disabled {
	color:white;
  	background: #4C84FF;
  	border: 1px solid #4C84FF;
  	-webkit-box-shadow: 0 2px 2px 0 rgba(182, 221, 244, 0.14), 0 3px 1px -2px rgba(182, 221, 244, 0.2), 0 1px 5px 0 rgba(182, 221, 244, 0.12);
  	box-shadow: 0 2px 2px 0 rgba(182, 221, 244, 0.14), 0 3px 1px -2px rgba(182, 221, 244, 0.2), 0 1px 5px 0 rgba(182, 221, 244, 0.12);
  	-webkit-transition: 0.2s ease-in;
  	-o-transition: 0.2s ease-in;
  	transition: 0.2s ease-in;
}
.esunbtn-blue:hover {

    -webkit-box-shadow: 0 14px 26px -12px rgba(69, 127, 247, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(69, 127, 247, 0.2);
    box-shadow: 0 14px 26px -12px rgba(69, 127, 247, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(69, 127, 247, 0.2);
}
.esunbtn-blue.active, .esunbtn-blue:active, .esunbtn-blue:focus,
  .esunbtn-blue.disabled.active,
  .esunbtn-blue.disabled:active,
  .esunbtn-blue.disabled:focus {
	box-shadow: 0 0px 0px !important;

}

.esunbtn-red,
.esunbtn-red.disabled {
	color:white;
  	background: #EF5350;
  	border: 1px solid #EF5350;
  	-webkit-box-shadow: 0 2px 2px 0 rgba(239, 83, 80, 1), 0 3px 1px -2px rgba(239, 83, 80, 0.2), 0 1px 5px 0 rgba(239, 83, 80, 0.12);
  	box-shadow: 0 2px 2px 0 rgba(239, 83, 80, 0.14), 0 3px 1px -2px rgba(182, 221, 244, 0.2), 0 1px 5px 0 rgba(239, 83, 80, 0.12);
  	-webkit-transition: 0.2s ease-in;
  	-o-transition: 0.2s ease-in;
  	transition: 0.2s ease-in;
}
.esunbtn-red:hover {

    -webkit-box-shadow: 0 14px 26px -12px rgba(225, 76, 73, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(225, 76, 73, 0.2);
    box-shadow: 0 14px 26px -12px rgba(225, 76, 73, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(225, 76, 73, 0.2);
}

.esunbtn-red.active, .esunbtn-red:active, .esunbtn-red:focus,
  .esunbtn-red.disabled.active,
  .esunbtn-red.disabled:active,
  .esunbtn-red.disabled:focus {
	box-shadow: 0 0px 0px !important;

}

.esunbtn-green,
.esunbtn-green.disabled {
	color:white;
  	background: #25BD95;
  	border: 1px solid #25BD95;
  	-webkit-box-shadow: 0 2px 2px 0 rgba(37, 189, 149, 1), 0 3px 1px -2px rgba(37, 189, 149, 0.2), 0 1px 5px 0 rgba(37, 189, 149, 0.12);
  	box-shadow: 0 2px 2px 0 rgba(37, 189, 149, 0.14), 0 3px 1px -2px rgba(37, 189, 149, 0.2), 0 1px 5px 0 rgba(37, 189, 149, 0.12);
  	-webkit-transition: 0.2s ease-in;
  	-o-transition: 0.2s ease-in;
  	transition: 0.2s ease-in;
}
.esunbtn-green:hover {

    -webkit-box-shadow: 0 14px 26px -12px rgba(32, 174, 136, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(32, 174, 136, 0.2);
    box-shadow: 0 14px 26px -12px rgba(32, 174, 136, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(32, 174, 136, 0.2);
}
.esunbtn-green.active, .esunbtn-green:active, .esunbtn-green:focus,
  .esunbtn-green.disabled.active,
  .esunbtn-green.disabled:active,
  .esunbtn-green.disabled:focus {
	box-shadow: 0 0px 0px !important;

}
/* select选择框的颜色更改 */
.bootstrap-select .dropdown-menu li a:hover, .bootstrap-select .dropdown-menu li a:focus {
	color: #4C84FF;
}
/* datatable表格的搜索、页数样式更改 */
.dataTables_length select:focus,.dataTables_filter input:focus {
	background-image: -webkit-gradient(linear, left top, left bottom, from(#1976d2), to(#1976d2)), -webkit-gradient(linear, left top, left bottom, from(#b1b8bb), to(#b1b8bb));
	background-image: -webkit-linear-gradient(#4C84FF, #4C84FF), -webkit-linear-gradient(#b1b8bb, #b1b8bb);
	background-image: -o-linear-gradient(#4C84FF, #4C84FF), -o-linear-gradient(#b1b8bb, #b1b8bb);
	background-image: linear-gradient(#4C84FF, #4C84FF), linear-gradient(#b1b8bb, #b1b8bb);
}