.mat-card-header {
  .mat-card-header-text {
    margin: 0;
  }
  .btn-dialog-close {
    font-size: 20px;
    display: flex;
    margin-left: auto;
    align-self: flex-start;
    color: #444444;
  }
}

.confirm-card {
  min-width: 500px;
  .mat-card-content {
  }
  .button-farm {
    text-align: right;
    .mat-primary {
      margin-left: 4px;
    }
  }
}

::ng-deep .mat-mini-fab .mat-button-wrapper {
  padding: 0;
}

.contents {
  height: 380px;
  .message-contents {
    padding: 10px 0;
    pre {
      word-wrap: break-word;
      white-space: pre-wrap;
      word-break: break-word;
      font-size: 0.98em;
      color: #444444;
    }
  }

  .thumbnail {
    max-width: 250px;
    max-height: 250px;
  }
}

::ng-deep .message-container {
  background-color: #ffffff !important;
  .message-info {
    /*.profile {
      display: flex;
      flex-flow: row;
      align-items: center;
      width: 100%;
      padding-bottom: 20px;
      border-bottom: 1px solid #dddddd;
      .profile-img-mask {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
        border: 1px solid #dddddd;
      }
      .people {
        display: flex;
        flex-flow: row;
        align-items: center;
        margin-left: -10px;
        width: 20px;
        height: 20px;
        text-indent: -1000000px;
        align-self: flex-end;
        border-radius: 50%;
        &.receiver,
        &.sender {
          svg {
            stroke: #ffffff;
          }
        }
        &.sender {
        }
      }
      .name {
        font-size: 16px;
        margin-left: 20px;
      }
    }*/
    .title {
      display: flex;
      flex-flow: row;
      align-items: center;
      font-size: 18px;
      font-weight: 600;
      padding: 10px 0 6px;
      line-height: 24px;
      color: #222222;
      border-bottom: 1px solid #dddddd;
      .btn-menu {
        margin-left: auto;
        color: #333333;
      }
    }
    .people {
      display: flex;
      flex-flow: row;
      align-items: center;
      padding-top: 10px;
      padding-bottom: 14px;
      font-size: 1em;
      .label {
        display: inline-flex;
        flex: 0 0 auto;
        border-radius: 14px;
        padding: 2px 10px;
        margin-right: 10px;
        color: #ffffff;
        line-height: 20px;
        width: 120px;
        justify-content: center;
      }
      .name {
        display: inline-flex;
        flex: 1 1 auto;
      }
    }
    .date {
      border-bottom: 1px solid #dddddd;
      padding-bottom: 10px;
      font-size: 1em;
      .label {
        display: inline-block;
        border-radius: 14px;
        padding: 2px 10px;
        margin-right: 10px;
        color: #ffffff;
        line-height: 20px;
        width: 120px;
        text-align: center;
      }
    }
    .ps {
      align-items: flex-start;
    }
    .attachFile {
      border-top: 1px solid #dddddd;
      li {
        display: flex;
        flex-flow: row;
        line-height: 2em;
        flex: 1 1 auto;
        .file-name {
          display: inline-flex;
          flex-flow: row;
          flex: 1 1 auto;
          border: 1px solid red;
          white-space: nowrap;
          word-wrap: normal;
          overflow: hidden;
          margin-right: 10px;
          span:last-child {
            overflow: hidden;
            text-overflow: ellipsis;
            display: block;
            width: calc(100% - 40px);
          }
        }
        .file-size {
          display: flex;
          margin-left: auto;
          align-self: flex-end;
          flex: 0 0 auto;
        }
        a {
          display: inline-block;
          width: 20px;
          height: 100%;
          margin-left: 10px;
        }
      }
    }
  }
}
