@mixin ellipsis($row) {
  overflow: hidden;
  text-overflow: ellipsis;
  @if $row == 1 {
    display: block;
    white-space: nowrap;
    word-wrap: normal;
  } @else if $row >= 2 {
    display: -webkit-box;
    -webkit-line-clamp: $row;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
  }
}

::ng-deep .mat-card-header-text {
  margin: 0;
  .title {
    width: 480px;
    @include ellipsis(1);
  }
  .btn-dialog-close {
    font-size: 20px;
    display: flex;
    margin-left: auto;
    align-self: flex-start;
    color: #444444;
  }
}
.confirm-card {
  min-width: 500px;
  .mat-card-header {
    margin-bottom: 20px;
    .mat-card-header-text {
      .mat-card-title {
        margin: 0 -16px;
      }
    }
  }
  .button-farm {
    text-align: right;
    .mat-primary {
      margin-left: 4px;
    }
  }
}

.contnets {
  max-height: 500px;
  min-height: 400px;
  word-break: break-word;
}
