@import 'modules/app/viewports';

.project-module {
  width: 100vw;
  height: 100%;
  transition: width 0.2s ease;

  &.closed {
    width: 0;
  }
}

.project-module-sidenav {
  z-index: 4;

  width: 90vw;
  max-width: 320px;

  background-color: var(--color-gray-fff);
  background-image: var(--app-bg-image);

  transition: width 0.2s ease;
}

.project-content {
  margin: 0;
}

.tree-container {
  width: 0;
  transition: width 0.2s ease;

  &.opened {
    width: 100vw;
  }
}

.active-list-item {
  text-decoration: dashed underline;
}

.buttons-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  margin: 15px 0;
  padding-right: 30px;

  .button-left {
    height: 24px !important;
    line-height: 24px !important;
  }
}

.mat-drawer-container {
  height: 100%;
  background-color: transparent;
}

.mat-sidenav-content {
  // fix overflow для всплывающих окон типа будильника
  // padding-bottom: 100px;
  height: 100%;
}

.mat-drawer-content {
  z-index: 3;
  overflow: hidden;
}

.mat-sidenav {
  // border-right: solid 4px #555;
}

.mat-sidenav ngx-simplebar {
  // height: calc(100vh - 81px);
  width: 350px;
}

.mat-sidenav-content {
  .mat-drawer {
    z-index: 10;
  }
}

.item-desk {
  overflow: auto;
  height: 100%;
}

// .router-wrapp {
//     padding: 20px;
// }

.root-tree {
  position: absolute;
  top: calc(50% - 110px);
  left: calc(50% - 100px);

  display: flex;
  flex-direction: column;

  .root-tree-text {
    margin-top: -25px;
    color: #bcbcbc;
  }
}

::ng-deep {
  .mat-drawer-backdrop {
    z-index: 4 !important;
  }
}
