/**
 * æ ‘å½¢è¡¨æ ¼ 2.x
 * date:2019-11-08   License By http://easyweb.vip
 */
/* æœ€å¤–å±‚å®¹å™¨ */
.ew-tree-table {
    margin: 10px 0;
    position: relative;
}

.ew-tree-table .layui-table {
    margin: 0;
    table-layout: fixed;
}

/* è¡¨æ ¼å®¹å™¨ */
.ew-tree-table-group {
    position: relative;
}

/* ä¸»ä½“è¡¨æ ¼å®¹å™¨ */
.ew-tree-table > .ew-tree-table-group > .ew-tree-table-box {
    overflow: auto;
    position: relative;
    box-sizing: border-box;
}

/* è¡¨å¤´è¡¨æ ¼å®¹å™¨ */
.ew-tree-table > .ew-tree-table-group > .ew-tree-table-head {
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    background-color: #f2f2f2;
}

/* å®¹å™¨åŠ è¾¹æ¡† */
.ew-tree-table .ew-tree-table-border {
    position: absolute;
    background-color: #e6e6e6;
}

.ew-tree-table .ew-tree-table-border.top {
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
}

.ew-tree-table .ew-tree-table-border.left {
    top: 0;
    left: 0;
    bottom: 0;
    width: 1px;
}

.ew-tree-table .ew-tree-table-border.right {
    top: 0;
    right: 0;
    bottom: 0;
    width: 0.52px;
}

.ew-tree-table .ew-tree-table-border.bottom {
    left: 0;
    right: 0;
    bottom: 0;
    height: 0.52px;
}

/* tableçš„loading */
.ew-tree-table .ew-tree-table-box > .ew-tree-table-loading {
    padding: 10px 0;
    text-align: center;
}

.ew-tree-table .ew-tree-table-box > .ew-tree-table-loading > i {
    color: #999;
    font-size: 30px;
}

.ew-tree-table .ew-tree-table-box > .ew-tree-table-loading.ew-loading-float {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

/* ç©ºæ•°æ®æç¤º */
.ew-tree-table .ew-tree-table-box > .ew-tree-table-empty {
    color: #666;
    font-size: 14px;
    text-align: center;
}

/* æŠ˜å ç®­å¤´ */
.ew-tree-table .ew-tree-table-arrow {
    margin-right: 5px;
    vertical-align: middle;
}

.ew-tree-table .ew-tree-table-arrow:before {
    content: "\e623";
}

.ew-tree-table .ew-tree-table-open .ew-tree-table-arrow:before {
    content: "\e625";
}

.ew-tree-table .ew-tree-table-arrow.arrow2 {
    font-size: 13px;
    font-weight: 600;
    line-height: 16px;
    height: 16px;
    width: 16px;
    display: inline-block;
    text-align: center;
    color: #888;
}

.ew-tree-table .ew-tree-table-arrow.arrow2:before {
    content: "\e602";
}

.ew-tree-table .ew-tree-table-open .ew-tree-table-arrow.arrow2:before {
    content: "\e61a";
}

/* ç®­å¤´éšè— */
.ew-tree-table-arrow.ew-tree-table-arrow-hide {
    visibility: hidden;
}

/* ç®­å¤´å˜åŠ è½½ä¸­çŠ¶æ€ */
.ew-tree-table .ew-tree-table-loading > td .ew-tree-pack > .ew-tree-table-arrow:before {
    content: "\e63d" !important;
}

.ew-tree-table .ew-tree-table-loading > td .ew-tree-pack > .ew-tree-table-arrow {
    margin-right: 0;
}

.ew-tree-table .ew-tree-table-loading > td .ew-tree-pack > .ew-tree-table-arrow + * {
    margin-left: 5px;
}

/* tråŠ è½½ä¸­ç¦ç”¨äº‹ä»¶ */
.ew-tree-table tr.ew-tree-table-loading > * {
    pointer-events: none !important;
}

/* å›¾æ ‡åˆ— */
.ew-tree-table .ew-tree-pack {
    cursor: pointer;
    line-height: 16px;
    display: inline-block;
    vertical-align: middle;
}

.ew-tree-table .ew-tree-pack > span {
    height: 16px;
    line-height: 16px;
    display: inline-block;
    vertical-align: middle;
}

/* æŠ˜å è¡Œ */
.ew-tree-table .ew-tree-tb-hide {
    display: none;
}

/* ç¼©è¿› */
.ew-tree-table .ew-tree-table-indent {
    margin-right: 5px;
    padding-left: 16px;
}

/* å›¾æ ‡ */
.ew-tree-table .ew-tree-icon {
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
}

.ew-tree-table .ew-tree-icon-folder, .ew-tree-table .ew-tree-icon-file {
    width: 22px;
    height: 16px;
    line-height: 16px;
    position: relative;
}

.ew-tree-table .ew-tree-icon-folder:after, .ew-tree-table .ew-tree-icon-file:after {
    content: "";
    width: 22px;
    height: 22px;
    position: absolute;
    left: 0;
    top: -3px;
    background-size: cover;
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNTc0MDYyMzE3MTQ3IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjIxNTgiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjQiIGhlaWdodD0iNjQiPjxkZWZzPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+PC9zdHlsZT48L2RlZnM+PHBhdGggZD0iTTE4MSA4MjNoLTMxLjFjLTI4LjYgMC01MS45LTIzLjItNTEuOS01MS45VjI1Mi40YzAtMjguNiAyMy4yLTUxLjkgNTEuOS01MS45SDQzMGw4MyA3Ny44aDMzMmM0NS42IDAgODMgMzUgODMgNzcuOHYzODkuMWMwIDQyLjgtMzcuMyA3Ny44LTgzIDc3LjhIMTgxeiIgcC1pZD0iMjE1OSIgZmlsbD0iI0ZGQTUwMCI+PC9wYXRoPjwvc3ZnPg==")
}

.ew-tree-table tr.ew-tree-table-open > td > .ew-tree-pack .ew-tree-icon-folder:after {
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub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LjQgMjguNi0wLjEgMTUuNyAxNS4zIDI4LjYgMzQuNCAyOC42ek02ODAuNiA2NThIMzQzLjRjLTEyLjMgMC0yMi4zIDguNS0yMi4zIDE5LjEgMCAxMC41IDEwIDE5LjEgMjIuMyAxOS4xaDMzNy4yYzEyLjMgMCAyMi4zLTguNiAyMi4zLTE5LjEgMC0xMC42LTEwLTE5LjEtMjIuMy0xOS4xek02ODAuNiAzNTIuNUgzNDMuNGMtMTIuMyAwLTIyLjMgOC42LTIyLjMgMTkuMXMxMCAxOS4xIDIyLjMgMTkuMWgzMzcuMmMxMi4zIDAgMjIuMy04LjYgMjIuMy0xOS4xIDAtMTAuNS0xMC0xOS4xLTIyLjMtMTkuMXoiIHAtaWQ9IjEzNTIwIiBmaWxsPSIjRkZBNTAwIj48L3BhdGg+PC9zdmc+")
}

/* åºå·åˆ—è°ƒæ•´ */
.ew-tree-table td[data-type="numbers"] {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

/* å•å…ƒæ ¼å†…è¡¨å•å…ƒç´ æ ·å¼è°ƒæ•´ */
.ew-tree-table .layui-form-switch {
    margin-top: 0;
}

.ew-tree-table .layui-form-radio {
    margin: 0;
}

/* checkboxå’Œradioåˆ—è°ƒæ•´ */
.ew-tree-table-checkbox + .layui-form-checkbox {
    padding: 0;
}

.ew-tree-table-checkbox + .layui-form-checkbox > .layui-icon {
    color: transparent;
    transition: background-color .1s linear;
}

.ew-tree-table-checkbox + .layui-form-checkbox.layui-form-checked > .layui-icon {
    color: #fff;
}

.ew-tree-table-radio + .layui-form-radio {
    padding: 0;
    height: 20px;
    line-height: 20px;
}

.ew-tree-table-radio + .layui-form-radio > i {
    margin: 0;
    height: 20px;
    font-size: 20px;
    line-height: 20px;
}

/* checkboxåŠé€‰çŠ¶æ€ */
.ew-tree-table .layui-form-checked.ew-form-indeterminate > .layui-icon:before {
    content: "";
    width: 9px;
    height: 2px;
    display: inline-block;
    background-color: #eee;
    vertical-align: middle;
}

.ew-tree-table .layui-form-checked.ew-form-indeterminate > .layui-icon {
    line-height: 14px;
}

/* å•å…ƒæ ¼ç¼–è¾‘ */
.ew-tree-table .layui-table td[data-edit] {
    cursor: text;
}

.ew-tree-table .ew-tree-table-edit {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: 1px 1px 20px rgba(0, 0, 0, .15);
}

.ew-tree-table .ew-tree-table-edit:focus {
    border-color: #5FB878 !important;
}

.ew-tree-table .ew-tree-table-edit.layui-form-danger {
    border-color: #FF5722 !important;
}

/* æœç´¢æ•°æ®éšè—è¡Œ */
.ew-tree-table tr.ew-tree-table-filter-hide {
    display: none !important;
}

/* å•å…ƒæ ¼è¶…å‡ºéšè— */
.ew-tree-table-td-single {
    position: relative;
}

.ew-tree-table-td-single > .ew-tree-tips {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ew-tree-table-td-single > .ew-tree-tips-c {
    position: absolute;
    right: -10px;
    top: -6px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 18px;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    background-color: #666;
    cursor: pointer;
    display: none;
}

.ew-tree-table table tr:first-child .ew-tree-table-td-single > .ew-tree-tips-c {
    top: 2px;
    bottom: auto;
    right: -12px;
}

.ew-tree-table-td-single.ew-tree-tips-open {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    background-color: #fff;
    min-height: 100%;
    box-sizing: border-box;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, .15);
}

.ew-tree-table table thead .ew-tree-table-td-single.ew-tree-tips-open {
    background-color: #f2f2f2;
}

.ew-tree-table-td-single.ew-tree-tips-open.ew-show-left {
    right: 0;
    left: auto;
    box-shadow: -3px 3px 8px rgba(0, 0, 0, .15);
}

.ew-tree-table-td-single.ew-tree-tips-open.ew-show-bottom {
    bottom: 0;
    top: auto;
    box-shadow: 3px -3px 8px rgba(0, 0, 0, .15);
}

.ew-tree-table-td-single.ew-tree-tips-open.ew-show-left.ew-show-bottom {
    box-shadow: -3px -3px 8px rgba(0, 0, 0, .15);
}

.ew-tree-table-td-single.ew-tree-tips-open > .ew-tree-tips {
    padding: 9px 15px;
    overflow: auto;
    max-width: 280px;
    max-height: 100px;
    width: max-content;
    white-space: normal;
}

.ew-tree-table-td-single.ew-tree-tips-open > .ew-tree-tips-c {
    display: block;
}

.ew-tree-table-td-single.ew-tree-tips-open.ew-show-left > .ew-tree-tips-c {
    left: -10px;
    right: auto !important;
}

.ew-tree-table td > .layui-table-grid-down {
    bottom: 0;
    height: auto;
}

/* è¾…åŠ©æ ·å¼ */
.pd-tb-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.break-all {
    word-break: break-all !important;
}

/* åˆ—å®½æ‹–æ‹½è°ƒæ•´ */
/*.ew-tree-table .ew-tb-resize {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    cursor: col-resize;
}*/
