/*左侧树公共样式*/

/*去除节点虚线*/
/*.ztree li ul.line, .ztree li ul.line {*/
/*background: none !important;*/
/*}*/

.ztree * {
    font-size: 13px;
}


/*左侧树节点选中样式*/
.ztree li a.curSelectedNode, .treeCheckNode {
    background: #FEEDB5 !important;
    border: none !important;
    opacity: 1 !important;
    /*color: #fff !important;*/
    font-weight: bold;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
}

/*左侧树节点未选中*/
.ztree li a {
    height: 20px !important;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    padding: 0 3px 0 0;
}

.ztree li a, .ztree li a.curSelectedNode {
    border-top: 2px solid transparent !important;
    border-bottom: 2px solid transparent !important;
}

/*节点组外边距*/
.ztree li ul {
    /*margin: 5px 0;*/
}

.ztree li span.button.chk {
    margin: 5px 3px 0 0;
}

/*节点图标型号*/
.ztree li span.button.ico_open, .ztree li span.button.ico_docu, .ztree li span.button.ico_close, .ztree li span.button.root_open {
    width: 26px;
    height: 100%;
    background-size: 20px !important;
    background-position: center !important;
}

/*节点展开时的图标图片*/
.ztree li span.button.root_open, .ztree li span.button.noline_open, .ztree li span.button.center_open, .ztree li span.button.bottom_open {
    background-position: unset !important;
    background-image: url("/static/images/tree/tree_open.png");

}

/*节点收缩时的图标图片*/
.ztree li span.button.center_close, .ztree li span.button.noline_close, .ztree li span.button.bottom_close, .ztree li span.button.root_close {
    background-position: unset !important;
    background-image: url("/static/images/tree/tree_close.png");
}

/*节点展开收缩图标*/
.ztree li span.button.switch {
    background-size: 13px !important;
    background-position: 3px 4px !important;
    margin-top: 3px;
    margin-right: 4px;
}

.ztree {
    margin: 0 !important;
    /*padding: 7px 25px !important;*/
}

/*左侧树*/
.treeBox {
    position: relative;
    height: 100%;
    background-color: #fff;
    max-width: 365px;
    width: 275px;
    top: 0;
    left: 0;
    z-index: 1;
    min-width: 0;
    transition: all .3s;
    /*border-right: 7px solid #E4E4E4;*/
    margin-right: 7px;
}

.treeAutoHide {
    position: absolute;
}

.treeAutoHide + #mainContainer {
    margin-left: 7px;
}

/*左侧树-内容*/
.treeBox_content {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/*左侧树-header*/
.treeHeader {
    padding: 7px 0;
    margin: 0 7px;
    border-bottom: 1px solid #e3e3e3;
    display: flex;
    box-sizing: border-box;
    justify-content: space-around;
    align-items: center;
    min-width: 200px;
    height: 42px;
    overflow: hidden;
}

/*【mainTree】暂时隐藏搜索条件*/
/*.treeSearchType {*/
/*margin-right: 10px;*/
/*border-color: #ccc;*/
/*font-size: 12px;*/
/*padding: 3px;*/
/*border-radius: 3px;*/
/*}*/

.treeSearch {
    display: inline-block;
    flex: 1;
    height: 100%;
    transition: width .3s;
    width: 100%;
    position: relative;
}

.treeSearch input {
    background: #fff url(/static/images/tree/tree_search.png) no-repeat 7px;
    background-size: 16px;
    padding-left: 31px;
    height: 100%;
    border-radius: 3px;
    font-size: 13px;
}

.treeSearch span {
    color: #ccc;
}

.treeSearch input:focus + span {
    color: #000;
}

.treeHeadBtn {
    font-size: 12px;
    cursor: pointer;
    min-width: 48px;
    display: none;
}

.treeHeadBtn img {
    height: 36px;
}

.treeHeadBtn_special {
    color: #223651;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*左侧树菜单*/
.treeMenuItem {
    width: 19px;
    height: 19px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 3px;
}

.treeMenuItem:hover {
    background: #ccc;
}

#mainTree_lock p {
    width: 100%;
    height: 100%;
    background: url(/static/images/tree/lock_black.png) center no-repeat;
    background-size: contain;
}

#mainTree_refresh p {
    width: 100%;
    height: 100%;
    background: url(/static/images/tree/refresh_black.png) center no-repeat;
    background-size: contain;
}

#mainTree_setting p {
    width: 100%;
    height: 100%;
    background: url(/static/images/tree/setting_black.png) center no-repeat;
    background-size: contain;
}

.treeLocked #mainTree_lock, .treeSettingOpen #mainTree_setting {
    background: #2492EB;
}

.treeLocked #mainTree_lock p {
    background: url(/static/images/tree/lock_white.png) center no-repeat;
    background-size: contain;
}

.treeSettingOpen #mainTree_setting p {
    background: url(/static/images/tree/setting_white.png) center no-repeat;
    background-size: contain;
}

/*左侧树-搜索结果列表*/

.searchResult {
    display: none;
    position: absolute;
    top: 39px;
    left: 7px;
    padding: 7px 0;
    background: #fff;
    z-index: 10;
    border: 1px solid #ccc;
    width: calc(100% - 17px);
    border-radius: 3px;
    max-height: 300px;
    overflow: overlay;
    box-shadow: 1px 1px 4px #ccc;
}

.searchResult li {
    padding: 0 7px;
    margin: 3px 0;
    cursor: pointer;
}

.searchResult li img {
    height: 20px;
    margin-right: 5px;
}

.searchResult li span {
    font-size: 12px;
}

.searchResult li:hover {
    background: #e8e7e7;
}

/*左侧树-tool*/
.treeTool {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 3px;
    box-shadow: 1px 1px 4px #ccc;
    /*width: 200px;*/
    z-index: 10;
    padding: 15px 20px;
}

.treeTool .layui-form-radio {
    margin: 0;
    padding: 0;
    width: 60px;
}

.treeTool .layui-form-radio > i {
    font-size: 17px;
    margin-right: 4px;
}

.treeTool .layui-form-radio > div,
.treeTool .layui-form-checkbox > div {
    font-size: 12px;
}

.treeTool > p {
    font-weight: bold;

}

.treeTool > div {
    display: flex;
    align-items: center;
}

.treeTool .toolItem span {
    display: block;
    width: 85px;
    font-size: 12px;
}

.treeTool .toolItem + p {
    margin-top: 12px;
}

.treeTool .toolItem > div {
    white-space: nowrap;
}

.treeTool_mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 5;
}

.treeSettingOpen .treeTool {
    display: block;
}

.treeSettingOpen .treeTool_mask {
    display: block;
}

/*左侧树-body*/
.treeBody {
    /*height: calc(100% - 42px) !important;*/
    width: 100%;
    box-sizing: border-box;
    overflow: auto;
    padding: 4px 7px 7px 7px !important;
    flex: 1;
}

/*左侧树-右侧条*/
.treeSide {
    height: 100%;
    width: 7px;
    position: absolute;
    top: 0;
    right: -7px;
    background: #E4E4E4;
    display: flex;
    align-items: center;
    cursor: e-resize;
}

/*左侧树-close*/
.treeClose {
    position: absolute;
    background: #2492EB;
    color: #fff;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1;
    transition: all .3s;
    width: 12px;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}

/*左侧树-移动到目标节点前时，目标节点样式*/
.ztree li a.tmpTargetNode_prev {
    background: #b5d4ed;
    border-top-color: #639fde !important;
}

/*左侧树-移动到目标节点前时，目标节点样式*/
.ztree li a.tmpTargetNode_next {
    background: #b5d4ed;
    border-bottom-color: #639fde !important;
}

/*左侧树排序是的样式*/
.treeSortCss .treeBody {
    background: #ebebeb;
    /*height: calc(100% - 88px) !important;*/
}

.treeSortCss .treeTool_sort img {
    background: #ebebeb;
}

.sortBtnBox {
    display: none;
}

.sortBtnBox button {
    width: calc(50% - 4px);
}

.treeSortCss .sortBtnBox {
    display: flex;
    padding: 7px;
    justify-content: space-around;
}

ul.ztree.zTreeDragUL {
    z-index: 100;
}

.zTreeMask {
    display: none;
}

/*----------小型树*/
.ztree_small li span.button.switch {
    margin-top: 0;
    margin-right: 2px;
}

.ztree_small li span.button.chk {
    margin: 2px 3px 0 0;
}

.ztree_small li a {
    height: 16px !important;
}

.ztree_small * {
    font-size: 11px;
}
