/*html,body,*{font-size:12px !important;}*/
/*::selection {*/
/*    color: #fff !important;*/
/*    background-color: #038703 !important*/
/*}*/
body{background-color:#f2f2f2}
.layui-layout{margin:10px; padding:5px; background-color:#fff}
.layui-table-view{background-color:#fff}

.text-center{text-align: center}
.help-block{color:#999; font-size:12px}
.frmTopBar, .frmSearch{padding-bottom:5px}
.frmSearch .layui-form-label{width:auto}
.hr-line-dashed{width: 100%;border-top: 1px dashed #efefef;margin: 10px 0;}

.layui-card{box-shadow: 0 0 2px 0 rgb(0 0 0 / 15%);}
.box-shadow-unset{box-shadow:unset}
.box-shadow-unset .layui-card-header{position: fixed; height: 38px; line-height: 40px; top: 0;left:0;width:100%;
    background-color:#f3f3f3;box-shadow: 0 0 4px 4px rgba(0,0,0,.05);}
.box-shadow-unset .layui-card-body{margin-top:35px}

.layui-layer .layui-layer-title{height: 40px; line-height: 40px;}
.layui-layer-setwin .layui-layer-close1{width:20px;height:20px;line-height:20px;top:-5px;border-radius: 50%;color:#fff;background-color:#3888f6;}
.layui-layer-setwin .layui-layer-close2{top:2px;right:8px;background-color: #3888f6;}
.layui-layer-setwin .layui-layer-close1:hover, .layui-layer-setwin .layui-layer-close2:hover{background-color: #ff0000;}

.layui-elem-quote{padding: 5px 10px !important; line-height:23px; border-radius: 5px;max-height:200px; overflow-y: auto}
.layui-elem-quote::-webkit-scrollbar {width: 5px;}
.layui-elem-quote::-webkit-scrollbar-track {background:transparent;}
.layui-elem-quote::-webkit-scrollbar-thumb {background: #898989;}
.layui-elem-quote-all{max-height:unset}

.layui-table-header th{background-color:#f7f7f7}
.layui-table-tool{min-height: 38px;line-height: 20px;padding: 3px 5px;}
.layui-table-tool .layui-table-tool-temp{padding-right:10px;}
.layui-table-tool .layui-table-tool-self{top: 6px;}

.layui-table-tool-temp .layui-btn, .layui-table-cell .layui-btn, .layui-btn-container .layui-btn{margin:0 2px 0 0;}
.layui-form-item{margin-bottom:10px}
.label-required-prev:before{color:red;width:.5em;content:'*';margin:-2px 0 0 -.55em;display:inline-block;position:absolute;font-size:14px;text-align:left;font-weight:700;line-height:1.6em}
.label-required-next:after,.label-required:after{top:6px;right:5px;color:red;content:'*';position:absolute;margin-left:4px;font-weight:700;line-height:1.8em}
.label-required-null:before{content:none!important}
.layui-form-switch{line-height:24px}
.layui-input-span{line-height:36px}
.layui-label-gray{margin-right:0;background: #e6e6e6;padding: 9px 9px !important;}

/*--文件上传组件--*/
.uploadimage, .uploadvideo {
    position: relative; width: 76px; height: 76px; cursor: pointer;
    display: inline-block; border-radius: 3px; box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.20);
}
.uploadimage{background-image: url("../../images/upimg.png"); background-size:contain;background-repeat: no-repeat;}
.uploadvideo{ background-color: #223;background-image: url('../../images/upvideo.png');}
.uploadimage span:first-child, .uploadvideo span:first-child {
    position: absolute;z-index: 3; left: 50%; margin-left: -33px; bottom: 4px; display: none; padding: 2px 1px;
    background-color: #636363c2; border-radius: 5px; box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.20);
}
.uploadimage:hover span:first-child{display:block}
.uploadimage span:first-child a, .uploadimage span:first-child i{padding:3px; color:#fff}
.uploadimage span:first-child a:hover, .uploadimage span:first-child i:hover{color:#ff9090}
.uploadvideo:hover span:first-child{display:block}
.uploadvideo span:first-child a, .uploadvideo span:first-child i{padding:3px; color:#fff}
.uploadvideo span:first-child a:hover, .uploadvideo span:first-child i:hover{color:#ff9090}
.uploadimage span[data-file], .uploadvideo span[data-file] {
    width: 100%; height: 100%; display: block; position: absolute; z-index: 2; background-size: cover;
}
.uploadimagemtl{float: left; margin-right:5px; position: relative; text-align: right}
.uploadimagemtl .layui-icon{background-color:#000; color:#fff; margin-right:3px;border-radius: 50%;padding: 3px;font-size: 10px;}
.uploadimagemtl .layui-icon:hover{color:#ff0000}
