.tree-widget__content {
  position: relative;

  overflow: auto;
  display: grid;
  grid-auto-rows: 34px;
  grid-template-rows: 70px;
  flex: 1;
}

.header-wrapper {
  display: contents;
}

.header-wrapper:hover {
  .header {
    border-right: 1px solid var(--color-gray-ddd);
  }
}

.header-wrapper {
  .header {
    border-right: 1px solid white;
  }
}

.header:hover {
  background-color: var(--color-gray-eee) !important;
}

:host ::ng-deep .mat-progress-spinner circle {
  stroke: var(--accent-color-bg);
}

.not-child {
  margin-left: 21px;
}

.tree-widget__item {
  box-sizing: border-box;
  height: 34px;
  min-height: 34px;
  padding: 7px;

  border-bottom: 1px solid var(--color-gray-eee);

  &:not(.name) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &.header {
    position: sticky;
    z-index: 1;
    top: 0;

    display: flex;
    align-items: center;

    height: 70px;

    font-weight: 600;
    color: var(--color-gray-888);

    background: var(--color-gray-fff);

    &.status {
      padding-left: 17px;
    }

    &.name {
      cursor: pointer;
    }
  }

  &.actions {
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 37px;

    app-cmf-icon {
      display: flex;
    }
  }
}

.tree-widget__column {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bolder {
  font-weight: 600;
}

.arrow-icon {
  display: flex;
  align-items: center;
  padding-bottom: 2px;
}

.tree_widget__column__icon {
  display: inline-block;
  width: 20px;
  height: 14px;
}

.mat-button-icon {
  cursor: pointer;
  padding-right: 7px;
}

.col {
  padding-left: 7px;
}

.bolder {
  font-weight: 600;
}

.status-icon,
.node-logic-type {
  display: inline-block;

  width: 10px;
  height: 10px;
  margin-right: 0;

  border-radius: 2px;
}

.span.node-logic-type {
  margin-left: 2px;
}

.column-shop {
  overflow-y: auto;
  display: flex;
  flex-direction: column;

  max-height: 300px;
  padding: 20px;

  background: var(--color-gray-fff);
  border: 1px solid var(--color-gray-eee);
  box-shadow: 0 0 5px 4px #f3f3f3;
}

.last {
  position: relative;
  padding-right: 29px;
}

.resize {
  position: absolute;
  right: 0;

  width: 10px;
  height: 100%;
  margin-left: auto;

  &:hover {
    cursor: col-resize;
    border-right: dashed 1px rgb(161 154 154);
  }
}

.column-name {
  cursor: pointer;
}

.tree-buttons {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;

  height: 34px;
  min-height: 34px;

  border-top: 1px solid var(--color-gray-eee);
}

.icon {
  margin-right: 7px;
  border: 1px solid white;

  &:hover {
    cursor: pointer;
    border: 1px solid var(--color-gray-eee);
    border-radius: 4px;
  }
}

.view {
  cursor: pointer;

  position: relative;
  top: -2px;

  margin-right: 5px;

  font-size: 15px;
}

.margin-right-15 {
  margin-right: 15px;
}

.icon-disabled {
  pointer-events: none;
}

.add-columns {
  position: relative;
  z-index: 9999;
  top: 51px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 25px;
  height: 25px;

  background: var(--color-gray-fff);
}

.grid-row {
  display: contents;
}

.grid-row:hover > div {
  cursor: pointer;
}

.selected-row > div {
  background-color: #f4f8ff !important;
}

.lists-row {
  position: sticky;
  z-index: 1;

  grid-column: 1/-1;

  height: 34px;

  background: var(--color-gray-fff);
  border-bottom: 1px solid var(--color-gray-eee);
}

.lists-row-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  height: 100%;

  color: var(--gantt-sticky-row-name);
}

.sticky-row-wrapper {
  display: contents;
}

.sticky-rows-menu-wrapper {
  margin-right: 10px;
  margin-left: 10px;

  font-size: 11px;
  font-weight: 400;
  color: var(--gantt-sticky-rows-color);
}

.sticky-rows-header {
  font-size: 14px;
  font-weight: 600;
  color: var(--gantt-sticky-rows-header);
}

.sticky-rows-line {
  border-bottom: 1px solid var(--color-gray-eee);
}

.sticky-rows-checkbox {
  font-size: 14px;
  color: var(--gantt-sticky-rows-checkbox);
}

.margin-bottom-10 {
  margin-bottom: 10px;
}

.list-menu-button {
  display: flex;
}

.add-to-mass-edit-checkbox {
  margin-right: 5px;
  margin-left: 10px;
}

.content-search-icon {
  padding: 5px 5px 2px;
}

.content-search-visible {
  background-color: lightgray;
}

.gant-column-wrapper {
  display: flex;
}
