.app-mat-dialog-wrapper {
  position: absolute;
  right: 0;

  &.dnone {
    display: none;
  }
}

.mat-dialog-content {
  max-height: unset !important;
}

.cmf-task-popup-dialog__background {
  position: fixed;
  top: 0;
  right: 0;

  display: none;

  width: 100vw;
  height: 100vh;

  background-color: rgb(34 34 34 / 25.3%);
}

.cmf-task-popup-dialog__dialog {
  position: fixed;
  top: 58px;
  bottom: 0;
  left: 0;

  overflow: auto;

  width: 100vw;
  padding: 8px;

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

.publish {
  position: absolute;
  z-index: 1;
  top: 3px;
  right: 81px;
}

::ng-deep .cmf-task-popup-dialog__dialog {
  .app-cmf-feed-edit {
    .cmf-feed-edit {
      min-height: 100%;
    }
  }

  &.pfeed .cmf-feed-edit .right {
    display: none;
  }

  &.small-style-window {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
  }
}
