
.item:not(.home){
    .bar{
      padding-left: 50px;

    }
    .item .bar{
      padding-left: 100px;
    }
    .item .item .bar{
      padding-left: 150px;
    }
    .item .item .item .bar{
      padding-left: 200px;
    }

    .item .item .item .item .bar{
      padding-left: 250px;
    }
 }



.item {
  .bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 0;
    border-bottom: #E0E0E0 solid 1px;
    .left {
      flex-shrink: 0;
      width: 40px;
      height: 24px;
      cursor: pointer;
      .toggle {
        border:none;
        width: 100%;
        height: 100%;
        background: transparent url("~src/assets/images/icons/expand_less_20.svg") 50% 50% no-repeat;
        transform: rotate(90deg);
        transition: transform .3s;
      }
    }
    .mid {
      flex-grow: 1;
      padding: 0 16px;
      .info {
        display: flex;
        flex-direction: row;
        align-items: center;
        .logo {
          display: flex;
          align-items: center;
          justify-content: center;
          position: relative;
          flex-shrink: 0;
          width: 40px;
          height: 40px;
          margin-right: 16px;
          border-radius: 100px;
          background-color: var(--prime);
          color: #ffffff;
          span{
            display: none;

          }
          &::before {
            content: "";
            display: block;
            background: transparent url("~src/assets/images/icons/web_page_24dp.svg")no-repeat;
            width: 24px;
            height: 24px;
          }
          &.orphan::before{
            background-image: url('~src/assets/images/icons/home_page_24dp.svg');
          }
          img {
            width: 100%;
            height: 100%;
            border-radius: 100px;
            object-fit: cover;
            background-color: #ffffff;
          }
        }
        .name {
          p {
            margin: 0;
            a {
              color: var(--grey-7);
            }
            &.sub {
              font-size: 0.875rem;
              color: #7f7f7f;
            }
          }
        }
      }
    }
    .right {
      display: flex;
      flex-direction: row;
      align-items: center;
      flex-shrink: 1;
      button {
        margin-left: 24px;
        &.edit {
          background-image: url('~src/assets/images/icons/edit_24dp.svg');
        }
        &.add {
          background-image: url('~src/assets/images/icons/add_library_dark_24.svg');
        }
        &.delete {
          background-image: url('~src/assets/images/icons/close_24dp.svg');
        }
        &.move {
          background-image: url('~src/assets/images/icons/drag-n-drop_24.svg');
          cursor: move;
        }
      }
      .orphan{
        margin-right: 48px;
      }
    }
    .right-home {
      width: 144px;
    }
  }
  .items {
    display: none;

  }
  &.active {
    >.bar {
      .left {
        .toggle {
          transform: rotate(180deg);
        }
      }
    }
    >.items {
      display: block;
    }
  }
}


@media screen and (max-width: 1330px) {
  .item {
    .bar {
      .mid {
        padding: 0 12px;
        .info .logo {
          display: none;
        }
      }
      .right {
        display: none;
      }
    }
    .items {
      padding-left: 16px;
    }
    &.company {
      .items {
        padding-left: 40px;
      }
    }
  }
}
