@charset "utf-8";

/* 改写Layui样式 */
.layui-table img{
	max-width: 100px !important;
	max-height: 80px !important;
}
.layui-table-cell{
	height:auto;
}



/* 登陆 */
.login_body{
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-image: url(../images/1.jpg);
}
.login{
	position: absolute;
	left:50%;
	top:50%;
	z-index: 3;
	transform: translate(-50%, -50%);
	padding:30px 40px;
	background-color: rgba(255,255,255,.2);
	border-radius: 8px;
	border:1px solid #fff;
	font-size: 16px;
	color:#fff;
}
.login .showModal{
	width:420px;
	padding-top:15px;
}
.login .modalTit{
	text-align: center;
	padding-bottom: 20px;
}
.login .modalTit h2{
	font-size: 30px;
	letter-spacing: 3px;
}
.login .modalTit h2 small{
	font-style: italic;
}
.login .modalTit img{
    max-width: 250px;
}
.login .showModal .li{
	padding-bottom: 15px;
	position: relative;
}
.login .showModal .li label{
	width:36px;
	height:40px;
	display:inline-block;
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto 30px;
	position: absolute;
	left:0;
	top:0;
	z-index: 3;
}
.login .showModal .li label.user{
	background-image: url(../images/user.svg);
}
.login .showModal .li label.lock{
	background-image: url(../images/lock.svg);
}
.login .showModal .li label.verify{
	background-image: url(../images/verify.svg);
	background-size: auto 28px;
}
.login .showModal .li input.text{
	width:100%;
	height:40px;
	line-height: 40px;
	box-sizing: border-box;
	font-size: 16px;
	color:#333;
	padding-left:45px;
}
.login .showModal .li .captcha{
	width:120px;
	height:38px;
	position: absolute;
	right:1px;
	top:1px;
	z-index: 3;
	cursor: pointer;
}
.login .showModal .li.btn{
	padding-top:10px;
	display: block;
}
.login .showModal .li button{
	width:100%;
	height:40px;
	font-size: 16px;
}
.login .showModal .tips{
	font-size: 13px;
	text-align: center;
}

@media (max-width:640px){
	.login{
		padding:25px;
	}
	.login .showModal{
		width:300px;
	}
	.login .modalTit h2{
		font-size: 26px;
	}
}

@media (max-width:480px){
	.login .showModal{
		width:260px;
	}
}


/* 框架调整 */
.layui-side{
	border-right:3px solid #16b777;
	box-sizing: border-box;
}
.layui-footer{
	text-align: center;
}

.layui-layout-admin .layui-body .itemx{
	height:100%;
	padding:15px;
	box-sizing: border-box;
}
.layui-layout-admin .layui-body .itemx .layui-tabs{
	height:100%;
}
.layui-layout-admin .layui-body .itemx .layui-tabs .layui-tabs-body{
	height:calc(100% - 40px);
	box-sizing: border-box;
}
.layui-layout-admin .layui-body .itemx .layui-tabs .layui-tabs-body .layui-tabs-item{
	height:100%;
}

.layui-layout-admin .layui-side,
.layui-layout-admin .layui-body,
.layui-layout-admin .layui-footer{
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.layui-layout-admin .layui-logo,
.layui-layout-admin .layui-side{
	width:200px;
	overflow: hidden;
}
.layui-layout-admin .layui-layout-left,
.layui-layout-admin .layui-body,
.layui-layout-admin .layui-footer{
	left:200px;
}

@media (max-width:768px){
	.layui-layout-admin .layui-logo,
	.layui-layout-admin .layui-side{
		width:0;
	}
	.layui-layout-admin .layui-layout-left,
	.layui-layout-admin .layui-body,
	.layui-layout-admin .layui-footer{
		left:0;
	}
	
	.layui-layout-admin.exp .layui-side{
		width:200px !important;
	}
	.layui-layout-admin.exp .layui-body,
	.layui-layout-admin.exp .layui-footer{
		left:200px !important;
	}
}


/*表格*/
.table_tree{
	text-align: center;
}
.table_tree .toleft{
	text-align: left;
	padding:0 5px !important;
}
.table_tree thead tr{
	background-color: #f5f5f5;
}
.table_tree thead th{
	height:40px;
	line-height: 40px;
	padding:0 5px !important;
	text-align: center;
}
.table_tree tbody tr:hover{
	background-color: #f5f5f5;
}
.table_tree tbody td{
	padding:5px !important;
}
.table_tree .tree2 td:nth-child(2){
	padding-left:30px !important;
}
.table_tree .tree3 td:nth-child(2){
	padding-left:60px !important;
}
.table_tree .layui-form-switch{
	margin:0;
}
.table_tree input[type=text]{
	width: 60px;
	height: 25px;
	display: inline-block;
}
.table_tree .line{
	height:3px;
	background-color: #eee;
}
.table_tree .line:hover{
	background-color: #eee;
}
.table_tree .line td{
	padding:0 !important;
}


/* 表单 */
.form_box{
	padding:15px;
	box-sizing: border-box;
}
.form_box textarea{
	height:0;
}
.editor{
	width:100%;
	height:800px;
	border:1px solid #c9d8db;
	box-sizing: border-box;
}
.ediframe{
	display:block;
	width:100%;
	height:100%;
}
#toolbar{
	border-bottom:1px solid #c9d8db;
}
#editor{
	height:100%;
}
.editor textarea{
	font-size: 0;
}
.toolbar_batch{
	margin-top:15px;
	margin-bottom: 15px;
}



.upiframe{
	display:inline-block;
	width:250px;
	height:105px;
}
.uploadbox{
	float:left;
	width:140px;
	height:100px;
	overflow: hidden;
	position: relative;
	margin:0 10px;
	background:#eee;
	border:1px solid #ddd;
	border-radius: 4px;
}
.uploadbox img{
	position: absolute;
	left:50%;
	top:50%;
	transform: translate(-50%, -50%);
}
.tip{
	display:inline-block;
	line-height:24px;
	font-size:12px;
	color:red;
	padding-left:10px;
}


.editor{
	width:100%;
	height:800px;
	border:1px solid #c9d8db;
	box-sizing: border-box;
}
.ediframe{
	display:block;
	width:100%;
	height:100%;
}
.editor textarea{
	font-size: 0;
}

.callback{
	display:none;
}



/* 批量上传 */
.batch{
	width:890px;
	padding:15px;
	background:#ebf1f0;
	border-radius: 8px;
}
.batch .filelist{
	border:1px solid #ccc;
	background:#fff;
	width:100%;
	height:470px;
	border-radius: 5px;
	padding:12px;
	box-sizing: border-box;
	overflow: hidden;
	overflow-x:hidden;
	overflow-y:scroll;
}
.batch .filelist .list{
	width:130px;
	display:inline-block;
	float:left;
	border:1px solid #ccc;
	position: relative;
	margin-right:10px;
	margin-bottom:8px;
	overflow: hidden;
	border-radius: 5px;
	background:#f6f6f6;
}
.batch .filelist .list:nth-child(6n){
	margin-right:0;
}
.batch .filelist .list .img{
	width:100%;
	height:100px;
}
.batch .filelist .list .img img{
	width:100%;
	height:100%;
	object-fit: cover;
}
.batch .filelist .list p{
	position: absolute;
	left:0;
	bottom:0;
	width:100%;
	height:22px;
	line-height:22px;
	text-align: center;
	font-size:12px;
	color:#fff;
	background:rgba(0,0,0,.4);
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}

.batch .filelist .list .tip{
	display: inline-block;
	width:100%;
	height:22px;
	font-size:12px;
	line-height:22px;
	text-align: center;
	position: absolute;
	left:0;
	top:0;
	color:#fff;
	z-index: 32;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	padding:0;
	display:none;
}
.batch .filelist .list .tip.error{
	background:rgba(255,87,34,.6);
}
.batch .filelist .list .tip.on{
	display:block;
}
.batch .filelist .progress{
	position: absolute;
	left:0;
	top:0;
	width:0%;
	height:22px;
	background:rgba(95,184,120,.7);
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	z-index: 30;
}

.batch .filelist .reload{
	width:26px;
	height:26px;
	background-color: rgba(0,0,0,.5);
	background-repeat: no-repeat;
	background-position: center;
	background-image: url(../images/reload.svg);
	background-size:auto 80%;
	position: absolute;
	right:5px;
	top:25px;
	opacity: 0;
	z-index: 33;
	border-radius: 4px;
	cursor: pointer;
}
.batch .filelist .delete{
	width:26px;
	height:26px;
	background-color: rgba(0,0,0,.5);
	background-repeat: no-repeat;
	background-position: center;
	background-image: url(../images/delete.svg);
	background-size:auto 65%;
	position: absolute;
	left:5px;
	top:25px;
	opacity: 0;
	z-index: 33;
	border-radius: 4px;
	cursor: pointer;
}
.batch .filelist .list:hover .reload,
.batch .filelist .list:hover .delete{
	opacity: 1;
}
.batch .layui-btn-container{
	padding:15px 0;
}
.batch .layui-btn-container button{
	position: relative;
}
.batch .file{
	position: absolute;
	width:100%;
	height:100%;
	left:0;
	top:0;
	opacity: 0;
	overflow: hidden;
	cursor: pointer;
}

.batch .alldone{
	padding:5px 0;
	font-size:14px;
	color:#333;
}
.batch .alldone span{
	display:inline-block;
	margin-right:15px;
}
.batch .alldone i{
	font-weight: bold;
}
.batch .alldone i.success{
	color:darkgreen;
}
.batch .alldone i.error{
	color:firebrick;
}