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

/*.tree-node-frame {
  li {
    .path {
      .horizontal-line {
        display: none;
      }
    }
  }
  .mat-tree-node {
    min-height: 30px;
    font-size: 13px;
    padding-left: 20px;
    margin-top: 4px;
    &:hover {
      background-color: #f4f4f4;
      border: 1px solid #cccccc;
      border-radius: 4px;
      box-shadow: 0 1px 4px rgba(32, 33, 36, 0.1);
    }
  }
}*/
.organization-tree {
  .tree-node-frame {
    height: 40px;
    min-height: 40px;
    li {
      display: flex;
      align-items: center;
      cursor: pointer;
      width: 100%;
    }
  }
  .mat-tree-last-node {
    height: 40px;
    min-height: 30px;
    font-size: 13px;
    li {
      display: flex;
      align-items: center;
      width: 100%;
      height: 100%;
      padding-left: 10px;
      cursor: pointer;
      &:hover {
        background-color: #f4f4f4;
        border: 1px solid #cccccc;
        border-radius: 4px;
        box-shadow: 0 1px 4px rgba(32, 33, 36, 0.1);
      }
    }
  }
}

ul .tree-node-frame li .path > .horizontal-line {
  display: inline-block;
}

.boxnone {
  position: relative;
  .vertical-line {
    background: rgba(189, 189, 189, 0.4);
    bottom: 6px;
    display: block;
    position: absolute;
    top: 0px;
    width: 2px;
  }
  .mat-tree-node:last-child {
    padding-bottom: 10px;
  }
}

.path {
  padding: 6px 4px;
  + 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;
  }
  .mat-icon-button {
    padding: 0;
    min-width: 0;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    line-height: 20px;
    .mat-icon-rtl-mirror {
      border: 1px solid #dddddd;
      padding: 2px;
      font-size: 14px;
      min-width: 14px;
      min-height: 14px;
      line-height: 14px;
      width: 20px;
      height: 20px;
      box-shadow: 0 2px 1px rgba(48, 48, 48, 0.2);
      border-radius: 50%;
    }
  }
  .dept-name {
    padding-left: 10px;
  }
}
