.service-message-dialog {
  max-width: 960px !important;
}

.service-message-dialog .md-toolbar-tools,
.service-message-dialog md-toolbar {
  height: auto !important;
  min-height: auto !important;
  max-height: auto !important;
  background-color: rgba(var(--background-content)) !important;
  box-sizing: border-box;
}

.service-message-dialog .md-toolbar-tools {
  color: rgba(var(--font-color));
  padding: 8px;
}

.service-message-dialog .md-toolbar-tools h2 {
  margin: 16px;
  text-transform: uppercase;
}

.service-message-dialog md-dialog-content {
  padding: 8px;
  background-color: rgba(var(--background-main)) !important;
}

.service-message-dialog.is-readonly md-dialog-content .service-message-content {
  white-space: pre-line;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 8px;
  box-sizing: border-box;
  overflow: auto;
}

.service-message-dialog md-dialog-actions {
  padding: 0 !important;
  background-color: rgba(var(--background-content)) !important;
}

.service-message-dialog md-dialog-actions .action-button-wrapper {
  display: flex;
  flex: 1;
  justify-content: flex-end;
}