@import url("../../plugs/layui-v2.x/css/layui.css");
@import url("../../plugs/font-awesome-6.x/css/all.min.css");
@import url("../css/color.css");
@import url("../css/themes/index.css");
@import url("../css/iconfont.css");

:root {
    --ea8-theme-main-color: #16b777;
}

html,
body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.ws-header-theme .layui-form-switch {
    vertical-align: baseline;
}

.ws-header-theme .layui-form-onswitch {
    background: #333333;
    border: 1px solid rgba(255, 255, 255, .7);
}

.layuimini-container {
    min-height: 250px;
    padding: 15px;
    margin: 0 auto;
}

.layuimini-main {
    position: relative;
    padding: 15px 15px;
    background-color: #ffffff;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
}

.dark .layuimini-main {
    position: relative;
    padding: 15px 15px;
    background-color: var(--lay-color-bg-1);
    border: 1px solid #363636;
    border-radius: 5px;
}

.layuimini-form .layui-form-item {
    position: relative;
    padding: 0 60px 0 0;
    line-height: 24px;
}

.text-center {
    text-align: center;
}

.layuimini-form {
    margin-top: 10px;
}

.easy-bg-white {
    background-color: #ffffff;
    height: auto;
}

.hr-line {
    height: 1px;
    margin: 30px 0;
    border-top: 1px dashed #e7eaec;
}

.dark .hr-line {
    color: #363636;
    height: 1px;
    margin: 30px 0;
    background-color: #363636;
    border-top: 1px dashed #363636;
}

/**重写layui表格自适应*/
.layuimini-container .layui-table-cell {
    height: auto;
    line-height: 30px;
}

/**数据表格-搜索表单样式*/
.layuimini-container .table-search-fieldset {
    margin: 0;
    border: 1px solid #e6e6e6;
    padding: 10px 20px 5px 20px;
}

/**数据表格-搜索表单样式*/
.dark .layuimini-container .table-search-fieldset {
    margin: 0;
    border: 1px solid #363636;
    padding: 10px 20px 5px 20px;
    color: #bdbdbd;
}

.layuimini-container .table-search-fieldset input::-webkit-input-placeholder {
    color: #a9a9a9;
}

.layuimini-container .table-search-fieldset input:-ms-input-placeholder {
    color: #a9a9a9;
}

.layuimini-container .table-search-fieldset input::-ms-input-placeholder {
    color: #a9a9a9;
}

/**图标选择器*/
.layui-iconpicker-body.layui-iconpicker-body-page .hide {
    display: none;
}

/**必填红点 */
.layuimini-form > .layui-form-item .required:after {
    content: '*';
    color: red;
    position: absolute;
    margin-left: 4px;
    font-weight: bold;
    line-height: 1.8em;
    top: 6px;
    right: 5px;
}

/*.layuimini-form>.layui-form-item>.layui-form-label {width:120px !important;}*/
/*.layuimini-form>.layui-form-item>.layui-input-block {margin-left:150px !important;}*/
.layuimini-form > .layui-form-item > .layui-input-block tip, .layuimini-form > .layui-form-item > .layui-inline tip {
    display: inline-block;
    margin-top: 10px;
    line-height: 15px;
    font-size: 10px;
    color: #a29c9c;
}

.tableSearch-xmSelect xm-select {
    min-height: 30px !important;
    line-height: 30px !important;
    margin: 0 !important;
    background-color: var(--lay-color-fill-2);
}

.elem-style-dark .tableSearch-xmSelect xm-select {
    background-color: var(--lay-color-fill-2);
    color: var(--lay-color-text-2);
    border-color: var(--lay-color-border-1) !important;
}

/** 按钮背景色 */
.layuimini-container .layuimini-btn-primary {
    color: #fff;
    background-color: #2c3e50;
}

.layuimini-container .layui-btn-sm i {
    font-size: 12px !important;
}

/**文件上传样式*/
.layuimini-upload {
    position: relative;
}

.layuimini-upload .layuimini-upload-btn {
    display: inline-block;
    position: absolute;
    right: 0px;
    background-color: #fff;
}

.dark .layuimini-upload .layuimini-upload-btn {
    display: inline-block;
    position: absolute;
    right: 0px;
    background-color: #363636;
}

.layuimini-upload-show {
    margin-top: 10px;
    margin-bottom: 0;
}

.layuimini-upload-show li {
    position: relative;
    display: inline-block;
    padding: 5px 0 5px 0;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid #e2e2e2;
}

.layuimini-upload-show a img {
    height: 80px;
    object-fit: cover;
}

.layuimini-upload-show .uploads-delete-tip {
    position: absolute;
    right: 10px;
    font-size: 12px;
}

.bg-red {
    background-color: #e74c3c !important;
}

.color-red {
    color: #e74c3c !important;
}

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    background-color: #777777;
    border-radius: 10px;
}

/**vue隐藏样式*/
[v-cloak] {
    display: none;
}

/**表格url样式*/
.layuimini-table-url {
    color: #1497f3;
    border-radius: 3px;
    size: 8px !important;
    padding: 2px
}

.layuimini-table-url:hover {
    color: #1497f3;
    border-radius: 3px;
    size: 8px !important;
    padding: 2px
}

/**后台权限隐藏*/
/*[auth] { display: none; }*/

.layui-form-label {
    width: 100px;
}

.layui-input-block {
    margin-left: 130px;
    min-height: 36px
}

/**
table样式
 */
.layuimini-container .layui-laypage .layui-laypage-curr .layui-laypage-em {
    border-radius: 30px !important;
    background-color: #1e9fff !important;
}

.layuimini-container .layui-table-tool {
    background-color: #ffffff;
    padding: 10px;
    padding-bottom: 15px !important;
}

.layuimini-container .layui-table-box .layui-table-header th {
    font-weight: bold !important;
}

/**
搜索
 */
.form-search .layui-btn {
    height: 32px;
    line-height: 28px;
    font-size: 12px;
    padding: 0 10px;
}

.form-search .layui-form-label {
    padding: 0 8px;
    height: 32px;
    line-height: 30px;
}

.form-search .layui-input-inline {
    min-width: 170px;
    max-width: 300px;
    width: auto;
}

.form-search .layui-input-inline input,
.form-search .layui-input-inline select {
    width: 100%;
    height: 32px;
    padding: 2px 8px;
    line-height: 1em;
}

.layui-form-select dl {
    border: 1px var(--ea8-theme-main-color) solid;
    border-top: none;
    z-index: 99999;
    padding: 0;
    border-radius: 0;
}

.layui-form-select dl dd.layui-this {
    background-color: var(--ea8-theme-main-color);
    border-top: none;
    color: #ffffff;
}

.form-search .layui-form-select dl {
    top: 31px;
    padding: 0;
}

.layuimini-container .layui-btn-success {
    color: #fff;
    background-color: #4bb368;
    border-color: #4bb368;
}

.layuimini-container .layui-btn-danger {
    color: #fff;
    background-color: #f56c6c;
    border-color: #f56c6c;
}

.layuimini-container .layui-table-tool .layui-btn + .layui-btn {
    margin-left: 5px;
}

.layuimini-container .layui-table-tool .layui-inline[lay-event] {
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0px;
}

.layuimini-container .layui-table-tool .layui-inline .layui-icon {
    font-size: 16px;
}

/**
弹出层样式
 */
.layui-layer-easy .layui-layer-title {
    background: var(--lay-color-bg-5);
    color: #fff !important;
    border-bottom: none;
}

.layui-layer-easy.layui-layer-border {
    border: none !important;
    box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.3) !important;
}

.layui-layer-easy.layui-layer-iframe {
    overflow: visible;
}

.layui-layer-easy .layui-layer-moves {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.layui-layer-easy .layui-layer-btn {
    text-align: center !important;
    padding: 10px !important;
    overflow: hidden;
}

.layui-layer-easy .layui-layer-btn a {
    background-color: #95a5a6;
    color: #fff !important;
    height: 31px;
    margin-top: 0;
    border: 1px solid #95a5a6;
}

.layui-layer-easy .layui-layer-btn .layui-layer-btn0 {
    background-color: #1E9FFF;
    border-color: #1E9FFF;
}

.layui-layer-easy .layui-layer-footer {
    padding: 8px 20px;
    background-color: #ecf0f1;
    height: auto;
    text-align: inherit !important;
}

.layui-layer-easy .layui-layer-setwin > a {
    background: none !important;
}

.layui-layer-easy .layui-layer-setwin > a cite {
    display: none;
}

.layui-layer-easy .layui-layer-setwin > a:after {
    content: "\e625";
    font-family: iconfont;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    font-size: 18px;
    color: #fff;
    margin: 0;
    z-index: 1;
}

.layui-layer-easy .layui-layer-setwin > a:hover {
    text-decoration: none !important;
    background: none !important;
}

.layui-layer-easy .layui-layer-setwin > a:focus {
    text-decoration: none !important;
}

.layui-layer-easy .layui-layer-setwin .layui-layer-min:before,
.layui-layer-easy .layui-layer-setwin .layui-layer-min:after {
    border-color: #FFFFFF;
}

.layui-layer-easy .layui-layer-setwin .layui-layer-max:before,
.layui-layer-easy .layui-layer-setwin .layui-layer-max:after {
    border-color: #FFFFFF;
}


.layui-layer-easy .layui-layer-setwin .layui-layer-close1,
.layui-layer-easy .layui-layer-setwin .layui-layer-close1:hover {
    color: #FFFFFF;
}

.layui-layer-easy .layui-layer-setwin .layui-layer-close1:after,
.layui-layer-easy .layui-layer-setwin .layui-layer-close1:hover:after {
    display: none;
}

.layui-layer-easy .layui-layer-setwin .layui-layer-close2,
.layui-layer-easy .layui-layer-setwin .layui-layer-close2:hover {
    color: #FFFFFF;
}

.layui-layer-easy .layui-layer-setwin .layui-layer-close2:after,
.layui-layer-easy .layui-layer-setwin .layui-layer-close2:hover:after {
    display: none;
}

.layui-layer-content {
    clear: both;
}

.layui-layer-easy-msg {
    min-width: 100px;
}

.layui-layer-easy-tab .layui-layer-title .layui-this {
    color: #333;
}

.layui-layer-easy-tab .layui-layer-content .layui-layer-tabmain {
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 1024px) {
    .layuimini-form .layui-form-item {
        position: relative;
        padding: 0 30px 0 0;
        line-height: 24px;
    }
}

@media screen and (max-width: 768px) {
    .easyadmin-export-btn {
        display: none;
    }

    .form-search .layui-input-inline input, .form-search .layui-input-inline select {
        width: 100% !important;
    }

    .tableSelect {
        margin: 5px !important;
        min-width: auto !important;
        left: 1px !important;
        right: 1px !important;
    }

    .tableSelect img {
        object-fit: cover;
        height: 100%;
    }
}

/**
资源加载锁
 */
.easy-load-lock {
    cursor: not-allowed;
}

.line-limit-length {
    width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    background: goldenrod;
    white-space: nowrap;
}

.wangEditor_div {
    z-index: 99999;
    border: 1px solid var(--w-e-textarea-slight-border-color);
}

.layui-input:focus, .layui-textarea:focus {
    border-color: var(--ea8-theme-main-color) !important;
}

.layui-tabs-item {
    height: 100%;
}