.lm-drawer-container.ant-drawer .ant-drawer-wrapper-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.lm-drawer-container.ant-drawer .ant-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  color: inherit;
  height: var(--drawer-title-height);
  background-color: var(--drawer-title-bg);
  border-bottom-color: var(--drawer-divider-color);
}
.lm-drawer-container.ant-drawer .ant-drawer-header .ant-drawer-title {
  color: inherit;
  font-size: var(--fs-large);
}
.lm-drawer-container.ant-drawer .ant-drawer-header .ant-drawer-close {
  padding: 0;
  position: unset;
  color: inherit;
}
.lm-drawer-container.ant-drawer .ant-drawer-body {
  background: var(--drawer-content-bg);
  flex: 1;
  overflow: auto;
}
.lm-drawer-container.ant-drawer .ant-drawer-footer {
  height: var(--drawer-footer-height);
  overflow: hidden;
  padding: 0 24px;
  line-height: var(--drawer-footer-height);
  background: var(--drawer-footer-bg);
  border-top-color: var(--drawer-divider-color);
}


.lm-c-normol-box {
  width: 100%;
  height: 100%;
}

.lm-c-search-input input.ant-input {
  font-weight: normal;
}
.lm-c-search-input .ant-input-prefix > i,
.lm-c-search-input .ant-input-suffix > i {
  color: var(--icon);
  font-size: 16px;
}
.lm-c-search-input.c-search-12 input {
  height: 28px;
  font-size: var(--fs-small);
  padding: 7px 11px;
}
.lm-c-search-input.c-search-14 input {
  height: 32px;
  font-size: var(--fs-default);
  padding: 8px 13px;
}

.high-level {
  color: var(--primary-dark);
}

.lm-base-tree-component {
  padding: 10px 0;
  user-select: none;
}
.lm-base-tree-component .ant-tree-switcher {
  position: relative;
  top: -2px;
  left: 8px;
  z-index: 2;
  margin-right: 5px;
}
.lm-base-tree-component .ant-tree-title {
  font-size: var(--fs-small);
  flex: 1 1;
}
.lm-base-tree-component .ant-tree-treenode {
  width: 100%;
  white-space: nowrap;
  font-size: var(--fs-small);
  min-width: max-content;
  position: relative;
  display: inline-flex;
  width: calc(100% - 32px);
  padding-top: 4px;
}
.lm-base-tree-component .ant-tree-treenode span.ant-tree-node-content-wrapper {
  font-size: var(--fs-small);
  min-width: max-content;
  position: relative;
  display: inline-flex;
  width: calc(100% - 32px);
}
.lm-base-tree-component .ant-tree-treenode span.ant-tree-node-content-wrapper:hover,
.lm-base-tree-component .ant-tree-treenode span.ant-tree-node-content-wrapper.ant-tree-node-selected {
  background: transparent;
  color: var(--primary);
  position: relative;
}
.lm-base-tree-component .ant-tree-treenode span.ant-tree-node-content-wrapper:hover:after,
.lm-base-tree-component .ant-tree-treenode span.ant-tree-node-content-wrapper.ant-tree-node-selected:after {
  content: '';
  width: calc(100% - 24px);
  bottom: 0;
  left: 12px;
  position: absolute;
  border-bottom: 1px solid var(--primary);
}
.lm-base-tree-component .ant-tree-treenode span.ant-tree-node-content-wrapper:hover .ant-tree-switcher,
.lm-base-tree-component .ant-tree-treenode span.ant-tree-node-content-wrapper.ant-tree-node-selected .ant-tree-switcher,
.lm-base-tree-component .ant-tree-treenode span.ant-tree-node-content-wrapper:hover .ant-tree-iconEle,
.lm-base-tree-component .ant-tree-treenode span.ant-tree-node-content-wrapper.ant-tree-node-selected .ant-tree-iconEle {
  color: var(--primary);
}
.lm-base-tree-component .ant-tree-treenode span.ant-tree-node-content-wrapper:hover .ant-tree-switcher .anticon,
.lm-base-tree-component .ant-tree-treenode span.ant-tree-node-content-wrapper.ant-tree-node-selected .ant-tree-switcher .anticon,
.lm-base-tree-component .ant-tree-treenode span.ant-tree-node-content-wrapper:hover .ant-tree-iconEle .anticon,
.lm-base-tree-component .ant-tree-treenode span.ant-tree-node-content-wrapper.ant-tree-node-selected .ant-tree-iconEle .anticon {
  color: var(--primary);
}
.lm-base-tree-component .ant-tree-treenode-switcher-open,
.lm-base-tree-component .ant-tree-treenode-switcher-close {
  padding-bottom: 0;
}
.lm-base-tree-component .ant-tree-treenode-switcher-open .ant-tree-switcher,
.lm-base-tree-component .ant-tree-treenode-switcher-close .ant-tree-switcher,
.lm-base-tree-component .ant-tree-treenode-switcher-open .ant-tree-iconEle,
.lm-base-tree-component .ant-tree-treenode-switcher-close .ant-tree-iconEle {
  color: var(--icon);
}
.lm-base-tree-component .ant-tree-treenode-switcher-open .ant-tree-iconEle,
.lm-base-tree-component .ant-tree-treenode-switcher-close .ant-tree-iconEle {
  position: relative;
  top: 0px;
}
.lm-base-tree-component .ant-tree-treenode-switcher-open:first-child,
.lm-base-tree-component .ant-tree-treenode-switcher-close:first-child {
  padding-top: 0;
}
.lm-base-tree-component .ant-tree-treenode-switcher-open:last-child,
.lm-base-tree-component .ant-tree-treenode-switcher-close:last-child {
  padding-bottom: 0;
}

.lm-c-tree-title-part {
  font-size: var(--fs-small);
  height: 42px;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lm-c-tree-title-part .title-text {
  padding-right: 10px;
}
.lm-c-tree-title-part span:last-child {
  cursor: pointer;
}
.lm-c-tree-title-part .input-keword {
  flex: 1 1;
  height: 28px;
  position: relative;
  top: -1px;
}
.lm-c-tree-title-part .input-keword input {
  font-size: var(--fs-small);
}

.lm-c-place-tree {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bd-color);
}
.lm-c-place-tree .lm-c-tree-title-part {
  border-bottom: 1px solid var(--bd-color);
  background-color: var(--form-bg-light);
}
.lm-c-place-tree > .lm-base-tree-component {
  flex: 1;
  overflow: auto;
}
.lm-c-place-tree .ant-tree {
  height: 100%;
  overflow: auto;
}
.lm-c-place-tree .anticon {
  font-size: var(--fs);
}
.lm-c-place-tree .ant-tree-title {
  font-size: var(--fs-small);
  flex: 1;
}
.lm-c-place-tree .ant-tree-title > span {
  min-width: 100%;
  display: inline-flex;
  justify-content: space-between;
}
.lm-c-place-tree .tree-node-suffix {
  padding: 0 10px;
}
.lm-c-place-tree .tree-node-suffix i {
  font-style: normal;
}
.lm-c-place-tree .tree-node-suffix .online-count {
  color: var(--success-light);
}

.lm-organization-tree {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bd-color);
}
.lm-organization-tree .lm-c-tree-title-part {
  border-bottom: 1px solid var(--bd-color);
  background-color: var(--form-bg-light);
}
.lm-organization-tree > .lm-base-tree-component {
  flex: 1;
  overflow: auto;
}
.lm-organization-tree .ant-tree {
  height: 100%;
  overflow: auto;
}
.lm-organization-tree .anticon {
  font-size: var(--fs);
}
.lm-organization-tree .ant-tree-title {
  font-size: var(--fs-small);
  flex: 1;
}
.lm-organization-tree .ant-tree-title > span {
  min-width: 100%;
  display: inline-flex;
  justify-content: space-between;
}
.lm-organization-tree .tree-node-suffix {
  padding: 0 10px;
}
.lm-organization-tree .tree-node-suffix i {
  font-style: normal;
}
.lm-organization-tree .tree-node-suffix .online-count {
  color: var(--success);
}

.lm-organization-tree.lm-org-tree-with-system .system-org-tree-header {
  padding: 20px 20px 0;
  position: relative;
  white-space: nowrap;
}
.lm-organization-tree.lm-org-tree-with-system .system-org-tree-header:after {
  content: "";
  position: absolute;
  width: calc(100% - 40px);
  bottom: 0;
  left: 20px;
  border-bottom: 1px solid var(--bg-color);
}
.lm-organization-tree.lm-org-tree-with-system .system-org-tree-header .ant-checkbox-wrapper {
  font-size: var(--fs-small);
  line-height: 34px;
  color: #000;
}
.lm-organization-tree.lm-org-tree-with-system .system-org-tree-header .system-org-has-include {
  font-size: var(--fs-small);
  line-height: 34px;
}
.lm-organization-tree.lm-org-tree-with-system .system-org-tree-header .system-org-has-include > span:nth-child(1) {
  margin-right: 5px;
  color: #666;
}
.lm-organization-tree.lm-org-tree-with-system .system-org-tree-header .system-org-has-include .ant-radio-wrapper {
  font-size: var(--fs-small);
  color: #000;
}
.lm-organization-tree.lm-org-tree-with-system .lm-base-tree-component.ant-tree {
  padding: 10px 6px 0;
}

.lm-c-device-list-wrapper .list-item label .clear-item {
  display: none;
  cursor: pointer;
  font-size: var(--fs);
}
.lm-c-device-list-wrapper .list-item:hover .clear-item {
  display: inline-block;
}
.lm-c-device-list-wrapper .list-item .an-device-task {
  width: 250px;
  display: flex;
}
.lm-c-device-list-wrapper .list-item .an-device-task .an-device-task-operate {
  margin-right: 8px;
}
.lm-c-device-list-wrapper .list-item .an-device-task .an-device-task-operate .operateitem {
  margin-right: 14px;
  font-size: 14px;
}
.lm-c-device-list-wrapper .list-item .an-device-task .an-device-task-chose {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  margin-left: 46px;
}
.lm-c-device-list-wrapper .list-item .an-device-task .an-device-task-chose .operate-item {
  margin-right: 22px;
}

.lm-c-simple-list-layout {
  width: 100%;
  height: 100%;
}

.lm-c-check-list-wrapper {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  cursor: auto;
  border: 1px solid var(--bd-color);
  /*列表项*/
}
.lm-c-check-list-wrapper .lm-c-tree-title-part {
  border-bottom: 1px solid var(--bd-color);
  background-color: var(--form-bg-light);
}
.lm-c-check-list-wrapper .lm-c-check-list-filter-view {
  width: 100%;
  padding: 0 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.lm-c-check-list-wrapper .lm-c-check-list-filter-view > div {
  margin-top: 8px;
  width: 49%;
}
.lm-c-check-list-wrapper .list-checkall {
  height: 42px;
  line-height: 42px;
  padding: 0 18px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs);
}
.lm-c-check-list-wrapper .list-checkall .anticon {
  font-size: 16px;
  cursor: pointer;
  color: var(--icon);
}
.lm-c-check-list-wrapper .list-checkall:after {
  position: absolute;
  content: '';
  left: 18px;
  bottom: 0;
  width: calc(100% - 32px);
  background-color: var(--bd-color);
  height: 1px;
}
.lm-c-check-list-wrapper .lm-c-base-list-layout {
  flex: 1;
  overflow: hidden;
}
.lm-c-check-list-wrapper .lm-c-virtual-layout {
  width: calc(100% - 5px);
  margin-right: 5px;
}
.lm-c-check-list-wrapper .list-item {
  cursor: pointer;
  height: 30px;
  line-height: 30px;
  color: var(--color);
  font-size: var(--fs-small);
  padding: 0 10px;
  /*有check-box*/
}
.lm-c-check-list-wrapper .list-item > label {
  margin: 0px;
  width: 100%;
  display: flex;
}
.lm-c-check-list-wrapper .list-item .item-info {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
  font-size: var(--fs-small);
}
.lm-c-check-list-wrapper .list-item .item-info > .anticon {
  font-size: 16px;
  margin: 0 4px;
  position: relative;
  top: 2px;
}
.lm-c-check-list-wrapper .list-item:hover > label,
.lm-c-check-list-wrapper .list-item.list-item-active > label {
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
}
.lm-c-check-list-wrapper .list-item.has-check-box {
  padding: 0 10px;
}
.lm-c-check-list-wrapper .list-item.has-check-box label {
  padding: 0 4px;
}
.lm-c-check-list-wrapper .drag-up {
  -webkit-animation: dragup ease 0.2s 1;
  animation: dragup ease 0.2s 1;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
.lm-c-check-list-wrapper .drag-down {
  -webkit-animation: dragdown ease 0.2s 1;
  animation: dragdown ease 0.2s 1;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
@keyframes dragup {
  from {
    margin-top: 0px;
  }
  to {
    margin-top: 30px;
  }
}
@keyframes dragdown {
  from {
    margin-bottom: 0px;
  }
  to {
    margin-bottom: 30px;
  }
}
.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
  background-color: transparent;
}

div .online-device {
  font-size: 16px;
  color: #17bc84;
}
div .offline-device {
  font-size: 16px;
  color: #a7aebc;
}

.lm-c-mode-change-popup div {
  cursor: pointer;
  font-size: var(--fs-small);
}
.lm-c-mode-change-popup div.active-mode {
  color: var(--primary);
}
.lm-c-mode-change-popup div:nth-child(1) {
  margin-bottom: 4px;
}

.lm-c-list-select-drawer-content .lm-base-tree-component {
  background: #fff;
}
