.pipeline-body.settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -20px;

  .cmf-pipeline-toolbar {
    padding-right: 20px;
  }

  .pipeline-head {
    width: 240px;
    background-color: var(--color-gray-eee);
  }
}

.add-pipeline.main-pipeline {
  padding: 0 16px;
}

.filter-button {
  padding: 0;

  span {
    padding: 10px 0;

    &:first-child {
      padding-left: 5px;
    }

    &:last-child {
      padding-right: 10px;
    }
  }
}

.pipeline-persons-filter-icon {
  display: flex;
  align-items: center;
}

.check-icon {
  cursor: pointer;
}

.left-wrap {
  display: flex;
  align-items: center;
}

.total-sum {
  display: flex;
  margin-right: 10px;

  .value {
    margin-left: 5px;
    font-weight: 400;
    white-space: nowrap;
  }

  .caption {
    white-space: nowrap;
  }
}

.placeholder {
  position: fixed;
  z-index: 999;
  inset: 0;

  background-color: rgb(0 0 0 / 13%);
}

.clear-filter {
  cursor: pointer;
  display: flex;
  align-self: center;

  .mat-icon {
    width: 15px;
    height: 15px;
    font-size: 15px;
  }
}

.change-pipeline-head {
  position: relative;
  z-index: 1001;

  min-width: 225px;
  margin-left: -10px;
  padding: 10px 10px 10px 20px;

  .p-name {
    cursor: pointer;
  }

  .example-full-width {
    width: 100%;
  }

  &.actived {
    background-color: var(--color-gray-fff);
  }

  .custom-menu {
    position: absolute;
    z-index: 1002;

    display: block;

    width: 240px;
    height: calc(100vh - 103px);
    margin-left: -10px;
    padding: 10px;
    padding-top: 25px;

    background-color: var(--color-gray-fff);
    box-shadow:
      0 3px 1px -2px rgb(0 0 0 / 20%),
      0 2px 2px 0 rgb(0 0 0 / 14%),
      0 1px 5px 0 rgb(0 0 0 / 12%);
  }

  .add-pipeline {
    cursor: pointer;

    display: flex;
    align-items: center;

    width: 80%;
    padding-left: 15px;

    font-size: 14px;
    font-weight: 400;

    .example-full-width {
      margin-right: 10px;
    }
  }
}

.mat-button-toggle-label-content {
}

.cmf-pipeline-toolbar {
  display: flex;
  justify-content: space-between;
}

.cmf-pipeline-toolbar-filter {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;

  .filter-wrapper {
    position: relative;
    display: flex;

    .close-filter {
      cursor: pointer;
      display: flex;
      align-self: center;
      margin-left: 10px;

      .mat-icon {
        width: 15px;
        height: 15px;
        font-size: 15px;
      }
    }
  }

  &:first-child {
    .toolbar-actions-buttons {
      margin-left: 0;
    }
  }
}

.cmf-pipeline-toolbar-left {
  display: flex;
  align-items: center;
}

.cmf-pipeline-toolbar-right {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.triggers-label {
  margin-top: 13px;
  margin-bottom: 13px;
  font-size: 24px;
}

.close-triggers-button {
  width: max-content;
  margin-right: 15px;
  border-radius: 7px;

  &.save-triggers {
    margin-right: 1.5vw;
    font-weight: 400;
    color: #fff;
    background-color: #22d429;
  }
}

.triggers-close-icon {
  position: relative;
  top: 5px;
  margin-right: 15px;
}

.pipeline-toolbar-item {
  cursor: pointer;
  user-select: none;

  padding: 0 8px 0 0;

  line-height: 48px;
  color: #3e3d3d;
  white-space: nowrap;

  &.img {
    line-height: unset;
  }
}

.toolbar-actions-buttons {
  margin-left: 10px;
  font-size: 15px;
  font-weight: 400;
  color: #3e3d3d;

  &.add-deal {
    margin-top: 10px;
    margin-bottom: 10px;

    font-size: 14px;
    font-weight: 600;
    color: #e3561b;

    background-color: var(--color-gray-fff);
    border-radius: 7px;
  }

  &.active {
    background-color: var(--color-gray-eee);
  }
}

.toolbar-item-wrapper {
  margin-left: 10px;
}

#saveBtn {
  background-color: #27ae60;
}

#cancelBtn {
  background-color: #7f8c8d;
}

#saveBtn,
#cancelBtn {
  margin-left: 10px;
}

.toolbar-item:focus {
  outline: none;
}

.pipeline-tool-grp {
  display: flex;
  flex-direction: row;
  margin-right: 10px;
}

.pipeline-head-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-right: 20px;
}

.toolbar-item-wrapper,
.actions-buttons {
  cursor: pointer;
  display: flex;
  align-items: center;
}

::ng-deep .cmf-pipeline-main {
  .search .mat-icon {
    width: 21px;
    height: 21px;
    font-size: 21px;
  }

  .mat-button.cdk-program-focused .mat-button-focus-overlay {
    opacity: 0;
  }
}

::ng-deep .cmf-pipeline-main-import-menu {
  cursor: pointer;

  .mat-menu-panel {
    max-width: none;
  }
}
