@charset 'utf-8';
.group-tree {
  ul,
  li {
    margin-top: 0;
    margin-bottom: 0;
    list-style-type: none;
  }
  .group-tree-node-invisible {
    display: none;
  }
}

.tree-node-frame {
  border-bottom: 1px solid #dddddd;
  .tree-node-header {
    position: relative;
    width: 100%;
    .path {
      display: flex;
      width: 100%;
      justify-content: space-between;
      .btn-toggle {
        margin-left: 10px;
      }
      .group-info {
        display: flex;
        flex-flow: row;
        width: calc(100% - 80px);
        .group-name {
          overflow: hidden;
          min-width: 0;
          text-overflow: ellipsis;
          white-space: nowrap;
          flex: 1;
          display: flex;
          .title-name {
            overflow: hidden;
            min-width: 0;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
        }
      }
    }
  }

  .mat-tree-node {
    width: 100%;
    height: 100%;
    &:hover {
      background-color: #f4f4f4;
      border: 1px solid #cccccc;
      border-radius: 4px;
      box-shadow: 0 1px 4px rgba(32, 33, 36, 0.1);
    }
  }
}
.mat-tree-node {
  &[aria-level='1'] {
    position: relative;
    widows: 100px;
    height: 100%;
    li {
      margin-left: 0;
      width: 100%;
      height: 100%;
      .mat-tree-node {
        width: 100%;
        height: 100%;
      }
    }
  }
}

.mat-tree-node[aria-level='0'][node-type='Profile'] {
  position: relative;
  widows: 100px;
  height: 100%;
  li {
    margin-left: 0;
    width: 100%;
    height: 100%;
    .mat-tree-node {
      width: 100%;
      height: 100%;
    }
  }
}

.path {
  display: flex;
  padding: 6px 4px;
  align-items: center;
  .btn-toggle {
    padding: 0;
    min-width: 0;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    line-height: 20px;
    margin-right: 10px;
  }
  .group-check {
    margin-left: auto;
    margin-right: 16px;
  }
  .group-name {
    flex: 1;
  }

  .group-menu {
    margin-left: auto;
    opacity: 0.6;
  }
  + ul {
    li:last-chlid {
      border-bottom: 1px solid #dddddd;
    }
  }
  .horizontal-line {
    width: 10px;
    height: 1px;
    background-color: #dddddd;
    display: inline-block;
    vertical-align: middle;
    margin-left: -10px;
  }

  .dept-name {
    padding-left: 10px;
  }
}
