:root {
    --main-background-color: #EEF6FB
}
.page-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    box-sizing: border-box;
    justify-content: space-between;
}
#headerArea {
    flex: 0;
    border-left: solid 2px #E0E0E0;
    border-right: solid 2px #E0E0E0;
}
#headerArea .main-toolbar {
    position: relative;
    background-color: var(--main-background-color);
    border-bottom: solid 1px #F0F0F0;
    height: 56px;
    user-select: none;
    display: flex;
    align-items: center;
}
#headerArea .labelFileStatus {
    display: flex;
    align-items: center;
    margin-right: 10px;
    visibility: hidden;
}
#mainArea {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    border-left: solid 2px #E0E0E0;
    border-right: solid 2px #E0E0E0;
}
#logo>span {
    display: none;
    font-size: 20px;
    font-weight: 600;
    margin-left: 20px;
    max-width: calc(100% - 130px);
}
#toolbarSearch {
    position: absolute;
    right: 0px;
    display: flex;
    align-items: center;
}
@media (min-width: 1301px) {
    #logo {
        display: flex;
        align-items: center;
        position: absolute;
        left: 20px;
        padding: 8px;
    }
    #toolbarFileMenu {
        position: absolute;
        left: 180px;
    }
    #toolbarFile {
        position: absolute;
        left: 250px;
    }
}
@media (max-width: 1300px) {
    #logo {
        padding: 8px;
        display: none;
        align-items: center;
    }
    #toolbarFileMenu {
        position: absolute;
        display: flex;
        left: 0px;
    }
    #toolbarFile {
        position: absolute;
        left: 70px;
    }
}
@media (max-width: 800px) {
    #toolbarFileMenu {
        display: inline-flex;
        position: absolute;
        left: 0px;
    }
    #toolbarFileMenu button:nth-of-type(1) {
        display: none;
    }
    #toolbarFile {
        display: none;
    }
}
@media (max-width: 600px) {
    #toolbarMain {
        position: absolute;
        left: 210px;
    }
    #toolbarMain i {
        display: none;
    }
    #toolbarMain button:nth-child(-n+8) {
        display: none;
    }
    #toolbarFileMenu {
        display: inline-flex;
        position: absolute;
        left: 160px;
    }
    #toolbarFileMenu button:nth-of-type(1) {
        display: none;
    }
    #toolbarFile {
        display: none;
    }
    #logo {
        display: flex;
        position: absolute;
        left: 0px;
        padding: 8px;
        display: flex;
        align-items: center;
        max-width: 100%
    }
}
@media (min-width: 601px) and (max-width: 1200px) {
    #toolbarMain {
        position: absolute;
        right: 10px;
    }
}
@media (max-width: 1000px) {
    #labelFileStatus {
        display: none;
    }
}
@media (max-width: 1200px) {
    #toolbarSearch button:not(:last-child) {
        display: none;
    }
    #workArea {
        position: absolute;
        left: 0px;
        width: 100%;
        top: 0px;
        bottom: 0px;
        z-index: 8;
    }
    #graphArea {
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        width: 100%;
        background-color: white;
        box-shadow: 0px 4px 8px 4px var(--main-background-color);
    }
    #moreArea {
        display: none;
        position: absolute;
        top: 0px;
        bottom: 0px;
        right: 0px;
        width: 256px;
        border-left: solid 1px #CCC;
        border-bottom: solid 1px #CCC;
        background-color: white;
        box-shadow: -2px 2px 8px rgb(218, 208, 208);
        z-index: 10;
    }
}
@media (max-width: 800px) {
    #toolbarRight {
        display: none;
    }
    #toolbarLeft {
        display: none;
    }
    #moreArea {
        display: none;
    }
}
@media (min-width: 801px) {
    #toolbarRight {
        right: 10px;
        top: 20px;
    }
}
@media (min-width: 1201px) {
    #workArea {
        position: absolute;
        left: 0px;
        width: calc(100% - 256px);
        top: 0px;
        bottom: 0px;
        z-index: 8;
    }
    #graphArea {
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 2px;
        width: 100%;
        background-color: white;
    }
    #moreArea {
        position: absolute;
        top: 0px;
        bottom: 0px;
        right: 0px;
        width: 256px;
        border-left: solid 1px #CCC;
        border-bottom: solid 1px #CCC;
        background-color: white;
        box-shadow: -2px 2px 8px var(--main-background-color);
        z-index: 10;
    }
    #toolbarRight {
        top: 20px;
    }
    #toolbarMain {
        position: absolute;
        left: 420px;
    }
}
@media (min-width: 1300px) {
    #toolbarMain {
        position: absolute;
        left: 480px;
    }
}
@media (min-width: 1500px) {
    #toolbarMain {
        position: absolute;
        left: 560px;
    }
}
@media (min-width: 1700px) {
    #toolbarMain {
        position: absolute;
        left: 660px;
    }
}
#toolbarLeft {
    left: 4px;
    top: 20px;
}
#dataArea {
    display: none;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    width: 316px;
    border-right: solid 1px #ccc;
    background-color: white;
    box-shadow: 2px 2px 8px rgb(218, 208, 208);
    z-index: 10;
}
.button-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.node-popup-toolbar {
    position: absolute;
    left: 60px;
    top: 10px;
}
@media (max-width: 800px) {
    .node-popup-toolbar {
        left: 10px;
    }
}
@media print {
    #graphArea {
        box-shadow: none !important;
        left: 0px !important;
        max-width: 1200px;
        max-height: 900px;
    }
}
.dataArea-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 4px;
    user-select: none;
}
.dataArea-header .header {
    display: flex;
    align-items: center;
    height: 40px;
}
.dataArea-header .header span {
    font: 14px bold;
    font-weight: 600;
    height: 24px;
}
.dataArea-header .toolbar {
    display: flex;
    align-items: center;
}
.dataArea-header .toolbar .ag-outline-button {
    height: 24px;
    line-height: 24px;
    display: flex;
    align-items: center;
    background-color: white;
    cursor: pointer;
}
.dataArea-header .toolbar .ag-outline-button svg {
    padding: 4px;
    border-radius: 4px;
}
.dataArea-header .toolbar .ag-outline-button svg:hover {
    background-color: #E7E7E7;
}
#dataArea .content {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 40px;
    bottom: 0px;
    background-color: #F3F3F3;
}
#dataArea .content textarea {
    height: 100%;
    width: 100%;
    padding: 10px 5px;
    line-height: 24px;
    resize: none;
    border: none;
    outline: solid 0px #CCC;
}
#dataArea .content .content-inner {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    overflow: auto;
}
#footerArea {
    position: absolute;
    display: none;
    height: 22px;
    bottom: 0;
    left: 0;
    right: 0;
    background: #eee;
    border: solid 1px #ccc;
    z-index: 30;
}
.statusToolbar {
    position: absolute;
    z-index: 15;
    user-select: none;
    display: flex;
    align-items: center;
}
.statusToolbarLeft {
    left: 10px;
    bottom: 10px;
    color: #454545;
}
.statusToolbarRight {
    right: 10px;
    bottom: 10px;
}
.statusToolbar .bar {
    border-radius: 6px;
    border: #CCC solid 1px;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    padding: 2px 10px;
}
.statusToolbar .bar .ag-image-button {
    background-color: transparent;
}
.statusToolbar .bar .ag-image-button:hover {
    background-color: #E7E7E7;
}
.statusToolbar checkbox {
    margin: 2px 2px;
    border-radius: 2px;
}
.statusToolbar checkbox label {
    margin-bottom: 0px;
    padding: 2px;
    display: block;
}
.statusToolbar checkbox label svg,
.statusToolbar checkbox label img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}
.cu-checkbox:hover {
    background-color: #E7E7E7;
}
.statusToolbar .textMessage {
    font-size: 12px;
    font-family: sans-serif, 'Courier New', Courier, monospace;
    color: #333333;
    font-weight: 600;
    background-color: white;
    border-radius: 4px;
    border: solid 1px #E7E7E7;
    padding: 8px 20px;
    opacity: 0.7;
    margin-left: 10px;
}
@media (max-width: 600px) {
    .statusToolbarRight {
        display: none;
    }
    .statusToolbarLeft {
        display: none;
    }
}
.ag-slider-panel {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    background-color: #fff;
    user-select: none;
    transition: right .2s ease-out;
    box-shadow: 0 8px 20px 1px rgba(0, 0, 0, .1);
    right: 0px;
}
.ag-slider-panel .title {
    padding-left: 18px;
    height: 42px;
    line-height: 42px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    font-weight: 600;
}
.ag-slider-panel .toolbar {
    padding: 10px 16px;
}
.ag-slider-panel .toolbar [attr=exit] {
    float: right;
    line-height: 22px;
}
.ag-slider-panel .toolbar>div {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    position: relative;
    cursor: pointer;
    padding: 4px 15px;
    border-radius: 4px;
    display: inline-block;
}
.ag-slider-panel .toolbar>div.primary {
    color: #fff;
    background-color: #067bef;
    border: 1px solid #067bef;
    margin-left: 0px;
}
.ag-slider-panel .toolbar>div.primary:hover {
    background-color: #1f88f1;
}
.ag-slider-panel .play-list {
    height: 100%;
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
    padding: 0 10px;
}
.ag-slider-panel .play-list>li {
    width: 100%;
    min-height: 110px;
    border: 1px solid #e9edf2;
    border-radius: 4px;
    margin-bottom: 8px;
    font-size: 12px;
    position: relative;
    background: #fff;
}
.ag-slider-panel .play-list>li .img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    border-radius: 6px;
    background-position: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}
.ag-slider-panel .play-list>li .preview-btn {
    position: absolute;
    right: 10px;
    bottom: 6px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}
.ag-slider-panel .play-list>li .number {
    position: absolute;
    left: 6px;
    bottom: 6px;
    width: 18px;
    height: 18px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    background: #F0F0F0;
    border: solid 1px #CCCCCC;
    color: #333333;
}
.pane-item {
    margin: 8px 4px;
    padding: 0px;
    border: none;
}
.pane-item label.checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.pane-item label.checkbox2 {
    margin: 10px 5px 2px;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.pane-item label input[type=checkbox] {
    margin: 2px 5px;
}
.ag-tooltips-parent .ag-tooltips .content span.hyperlink {
    color: #1927FF;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    min-width: 50px;
    pointer-events: all;
    display: block;
    margin: 12px;
    max-width: 400px;
    text-wrap: wrap;
}
.ag-tooltips-parent .ag-tooltips .content .f1101 i {
    margin-left: 6px;
    margin-right: 6px;
    border-radius: 2px;
    pointer-events: all;
    cursor: pointer;
    width: 14px;
    height: 14px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("./toolbar-imgs/remove_item.svg");
}
.ag-tooltips-parent .ag-tooltips .content span.mdtext,
.ag-tooltips-parent .ag-tooltips .content span.text {
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    pointer-events: all;
    user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    display: block;
    margin: 2px;
    padding: 10px;
    overflow-y: auto;
    text-wrap: wrap;
    line-height: 1.2;
}
.ag-tooltips-parent .ag-tooltips .content span.text {
    min-width: 50px;
    max-width: 400px;
    max-height: 300px;
}
.ag-tooltips-parent .ag-tooltips .content span.mdtext {
    min-width: 200px;
    max-width: 800px;
    max-height: 600px;
}
.ag-tooltips-parent .ag-tooltips .content span * {
    pointer-events: none;
}
.ag-tooltips-parent .ag-tooltips .content p {
    margin: 2px 0px;
    line-height: 1.4;
    white-space: pre-wrap;
}
.ag-tooltips-parent .ag-tooltips .link-list {
    padding: 4px;
    pointer-events: all;
}
.ag-tooltips-parent .ag-tooltips .link-item {
    padding: 4px;
    height: 24px;
}
.ag-tooltips-parent .ag-tooltips .link-item:hover {
    background-color: #E7E7E7;
}
.ag-tooltips-parent .ag-tooltips .link-item svg {
    margin-right: 4px;
}
.ag-tooltips-parent .ag-tooltips .link-item span {
    color: #333;
    text-decoration: none;
    width: 100%;
}
.ag-tooltips-parent .ag-tooltips .link-item span:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #2878FF;
}
.btn-widget-left-001 {
    margin-right: 230px !important;
}
.msg-container {
    width: 450px;
}
.msg-container .msg-title {
    margin: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}
.msg-container .msg-title-aux {
    margin: 10px;
    text-align: center;
    font-size: 14px;
    color: #a2a2a2;
}
.msg-container .msg-text {
    text-align: left;
    margin-top: 20px; 
    padding-left: 16px;
    line-height: 2;
    font-size: 14px;
    border-left: 4px solid var(--info-text);
    border-radius: 8px
}
.msg-container .link-button {
    margin: 20px 0px;
    text-align: center;
}
.msg-container .link-button a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    font-size: 14px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}
.msg-container .link-button a:hover {
    background-color: #0056b3; /* 鼠标悬停时的深蓝色 */
}
.msg-container .link-button .link-icon {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    fill: white;
}
.ztree * {
    padding:0; 
    margin:0; 
    font-size:16px; 
    font-family: Helvetica Neue,Helvetica,PingFang SC,tahoma,hiragino sans GB,arial,Microsoft YaHei,sans-serif
}
.ztree .level0 span {font-size:18px; font-weight: 600; }
.ztree ul.level0 {margin-top: 4px;}
.ztree .level1 span {font-size:16px; font-weight: 400; }
.ztree ul.level1 {margin-top: 2px;}
.ztree .level2 span {font-size:14px; font-weight: 400; }
.ztree ul.level2 {margin-top: 2px;}
.ztree .level3 span {font-size:14px; font-weight: 400; }
.ztree .level4 span {font-size:14px; font-weight: 400; }
.ztree .level5 span {font-size:14px; font-weight: 400; }
.ztree .level6 span {font-size:14px; font-weight: 400; }
.ztree .level7 span {font-size:14px; font-weight: 400; }
.ztree .level8 span {font-size:14px; font-weight: 400; }
.ztree .level9 span {font-size:14px; font-weight: 400; }
.ztree .level10 span {font-size:14px; font-weight: 400; }
.ztree {margin:0; padding:5px; color:#333}
.ztree li{padding:0; margin:0; list-style:none; line-height:26px; text-align:left; white-space:nowrap; outline:0}
.ztree li ul{ margin:0; padding:0 0 0 18px}
.ztree li ul.line{ background:url(./tree-imgs/line_conn.png) 0 0 repeat-y;}
.ztree li a {padding-right:3px; margin:0; cursor:pointer; height:26px; color:#333; background-color: transparent; text-decoration:none; vertical-align:top; display: inline-block}
.ztree li a:hover {text-decoration:underline}
.ztree li a.curSelectedNode {padding-top:0px; background-color:#e5e5e5; color:black; height:26px; opacity:0.8;}
.ztree li a.curSelectedNode_Edit {padding-top:0px; background-color:#e5e5e5; color:black; height:26px; border:1px #666 solid; opacity:0.8;}
.ztree li a.tmpTargetNode_inner {padding-top:0px; background-color:#aaa; color:white; height:26px; border:1px #666 solid;  opacity:0.8; filter:alpha(opacity=80)}
.ztree li a input.rename {height:14px; width:80px; padding:0; margin:0; font-size:12px; border:1px #585956 solid; }
.ztree li span {line-height:26px; margin-right:2px}
.ztree li span.button {
    line-height:0; margin:0; padding: 0; 
    width:20px; 
    height:20px; 
    display: inline-block; 
    vertical-align:middle;
    border:0 none; cursor: pointer;outline:none;
    background-color:transparent; 
    background-repeat:no-repeat; 
    background-attachment: scroll;
    background-image:url("./tree-imgs/metro.png"); 
}
.ztree li span.button.chk {width:13px; height:13px; margin:0px 6px 0px 2px; cursor: auto;}
.ztree li span.button.chk.checkbox_false_full {background-position: -5px -5px;}
.ztree li span.button.chk.checkbox_false_full_focus {background-position: -5px -26px;}
.ztree li span.button.chk.checkbox_false_part {background-position: -5px -48px;}
.ztree li span.button.chk.checkbox_false_part_focus {background-position: -5px -68px;}
.ztree li span.button.chk.checkbox_false_disable {background-position: -5px -89px;}
.ztree li span.button.chk.checkbox_true_full {background-position: -26px -5px;}
.ztree li span.button.chk.checkbox_true_full_focus {background-position: -26px -26px;}
.ztree li span.button.chk.checkbox_true_part {background-position: -26px -48px;}
.ztree li span.button.chk.checkbox_true_part_focus {background-position: -26px -68px;}
.ztree li span.button.chk.checkbox_true_disable {background-position: -26px -89px;}
.ztree li span.button.chk.radio_false_full {background-position: -47px -5px;}
.ztree li span.button.chk.radio_false_full_focus {background-position: -47px -26px;}
.ztree li span.button.chk.radio_false_part {background-position: -47px -47px;}
.ztree li span.button.chk.radio_false_part_focus {background-position: -47px -68px;}
.ztree li span.button.chk.radio_false_disable {background-position: -47px -89px;}
.ztree li span.button.chk.radio_true_full {background-position: -68px -5px;}
.ztree li span.button.chk.radio_true_full_focus {background-position: -68px -26px;}
.ztree li span.button.chk.radio_true_part {background-position: -68px -47px;}
.ztree li span.button.chk.radio_true_part_focus {background-position: -68px -68px;}
.ztree li span.button.chk.radio_true_disable {background-position: -68px -89px;}
.ztree li span.button.switch {width:21px; height:21px}
.ztree li span.button.root_open{background-position:-105px -63px}
.ztree li span.button.root_close{background-position:-126px -63px}
.ztree li span.button.roots_open{background-position: -105px 0;}
.ztree li span.button.roots_close{background-position: -126px 0;}
.ztree li span.button.center_open{background-position: -105px -21px;}
.ztree li span.button.center_close{background-position: -126px -21px;}
.ztree li span.button.bottom_open{background-position: -105px -42px;}
.ztree li span.button.bottom_close{background-position: -126px -42px;}
.ztree li span.button.root_docu{ background:none;}
.ztree li span.button.roots_docu{background-position: -84px 0;}
.ztree li span.button.center_docu{background-position: -84px -21px;}
.ztree li span.button.bottom_docu{background-position: -84px -42px;}
.ztree li span.button.noline_docu{ background:none;}
.ztree li span.button.ico_open{margin-right:2px; margin-top:4px; background-position: -147px -21px; vertical-align:top; height:22px}
.ztree li span.button.ico_close{margin-right:2px; margin-top:4px; background-position: -147px 0; vertical-align:top; height:22px}
.ztree li span.button.noline_open, 
.ztree li span.button.noline_close { background-image:url("./tree-imgs/icon-tree-folder.svg"); background-size: 100%; width:14px; height:14px; margin-right: 4px; margin-bottom:2px;}
.ztree li span.button.noline_close{ transform: rotate(180deg); }
.ztree li span.button.ico_docu{background-image:url("./tree-imgs/icon-tree-item.svg"); background-size: 100%; width:16px; height:16px; margin-right: 4px;}
.ztree li span.button.edit {margin-left:2px; margin-right: -1px; background-position: -189px -21px; vertical-align:top; height:22px}
.ztree li span.button.edit:hover {
  background-position: -168px -21px;
}
.ztree li span.button.remove {margin-left:2px; margin-right: -1px; background-position: -189px -42px; vertical-align:top; height:22px}
.ztree li span.button.remove:hover {
  background-position: -168px -42px;
}
.ztree li span.button.add {margin-left:2px; margin-right: -1px; background-position: -189px 0; vertical-align:top; height:22px}
.ztree li span.button.add:hover {
  background-position: -168px 0;
}
.ztree li span.button.ico_loading{margin-right:2px; background:url(./tree-imgs/loading.gif) no-repeat scroll 0 0 transparent; vertical-align:top; }
.ztree .message {
    display: flex;
    flex-direction: column;
}
.ztree .message  h3 {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.ztree .message  h3 svg {
    margin-right: 4px;
    width: 16px;
    height: 16px;
}
.ztree .message p {
    line-height: 28px;
    font-weight: 600;
    color: #404040;
    font-size: 14px;
}
.ztree .message ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none
}
.ztree .message li {
    list-style: disc;
    font-family: inherit;
    color: #404040;
    font-size: 12px;
}
