/*
 * This CSS defines a common styling for TinyMCE content that is not otherwise styled by the display context,
 * for example an event description. It is defined as a Java resource because the content must be loaded in standard
 * server code (for example to include in event emails), but it will also be made available as a web resource so
 * that it can be used to apply the same styling to content in the web.
 *
 * The copying of the resource to the web resource is handled by the Gradle build scripts.
 */

body.tinyMceContent {
  background: white !important;
  color: #1a1a1a;
  padding: 0;
  margin: 5px 10px;
}

.tinyMceContent {
  padding: 0;
  line-height: 1.3;
  white-space: normal !important;
}

.tinyMceContent ul, .tinyMceContent ol, .tinyMceContent p,
.tinyMceContent h1, .tinyMceContent h2, .tinyMceContent h3, .tinyMceContent h4, .tinyMceContent h5, .tinyMceContent h6 {
  margin: 0 0 0.5em 0;
}

.tinyMceContent h1 {
  font-size: 150%;
  font-weight: bold;
}

.tinyMceContent ul ul, .tinyMceContent ul li, .tinyMceContent li li, .tinyMceContent li ul {
  margin-bottom: 0.2em;
}

.tinyMceContent ul {
  list-style: disc outside;
  padding-left: 1.5em;
}

.tinyMceContent ol {
  list-style: decimal outside;
  padding-left: 1.5em;
}

.tinyMceContent li {
  margin: 0 0 0.2em 0.8em;
}

.tinyMceContent th, .tinyMceContent td {
  padding: 4px;
}

.tinyMceContent strong, .tinyMceContent b {
  font-style: inherit;
  font-weight: bold;
}

.tinyMceContent em {
  font-style: italic;
  font-weight: inherit;
}

.tinyMceContent h2 {
  font-size: 130%;
  font-weight: bold;
}

.tinyMceContent h3 {
  font-size: 115%;
  font-weight: bold;
}

.tinyMceContent h4 {
  font-size: 100%;
  font-weight: bold;
}

.tinyMceContent h5 {
  font-size: 100%;
  font-style: italic;
  font-weight: normal;
}

.tinyMceContent h6 {
  font-size: 100%;
  font-weight: normal;
}

.tinyMceContent blockquote {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 40px;
  margin-inline-end: 40px;
}