/* Gemeinsame Darstellung der CKEditor-Inhalte in Editor, Vorschau und Website. */
:is(.book-page.fd-rich-content, .fd-page.fd-rich-content, .rich-text-editor--book .ck-content, .flatdiaries-book-fullscreen .ck-content) { font-size: 16px; }
:is(.book-page.fd-rich-content, .fd-page.fd-rich-content, .rich-text-editor--book .ck-content, .flatdiaries-book-fullscreen .ck-content) p {
  margin: 1em 0;
  text-indent: 18px;
  line-height: 22px;
}
:is(.book-page.fd-rich-content, .fd-page.fd-rich-content, .rich-text-editor--book .ck-content, .flatdiaries-book-fullscreen .ck-content) h1 {
  font-family: "Stempel-Garamond-W01-Roman";
  font-size: 38px;
  font-weight: lighter;
  margin: 20px 0;
  color: #333;
}
:is(.book-page.fd-rich-content, .fd-page.fd-rich-content, .rich-text-editor--book .ck-content, .flatdiaries-book-fullscreen .ck-content) h2 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #444;
}
:is(.fd-rich-content, .ck-content, .rich-text-content) .image {
  display: table;
  clear: both;
  max-width: 100%;
  margin: 1em auto;
}
:is(.fd-rich-content, .ck-content, .rich-text-content) .image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
:is(.fd-rich-content, .ck-content, .rich-text-content) .image-inline {
  display: inline-flex;
  max-width: 100%;
  vertical-align: middle;
}
:is(.fd-rich-content, .ck-content, .rich-text-content) .image-inline img { max-width: 100%; }
:is(.fd-rich-content, .ck-content, .rich-text-content) .image-style-align-left,
:is(.fd-rich-content, .ck-content, .rich-text-content) .image-style-block-align-left {
  float: left;
  clear: none;
  margin: 0 1em 1em 0;
}
:is(.fd-rich-content, .ck-content, .rich-text-content) .image-style-align-right,
:is(.fd-rich-content, .ck-content, .rich-text-content) .image-style-block-align-right,
:is(.fd-rich-content, .ck-content, .rich-text-content) .image-style-side {
  float: right;
  clear: none;
  margin: 0 0 1em 1em;
}
:is(.fd-rich-content, .ck-content, .rich-text-content) .image-style-side { max-width: 50%; }
:is(.fd-rich-content, .ck-content, .rich-text-content) .image.image_resized { display: block; }
:is(.fd-rich-content, .ck-content, .rich-text-content) .image.image_resized img { width: 100%; }
:is(.fd-rich-content, .ck-content, .rich-text-content) figcaption {
  padding: .5em;
  text-align: center;
  font-size: .85em;
  background: #f4f2ec;
}
:is(.fd-rich-content, .ck-content, .rich-text-content) figure.table {
  display: table;
  max-width: 100%;
  margin: 1em auto;
}
:is(.fd-rich-content, .ck-content, .rich-text-content) figure.table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #aaa;
}
:is(.fd-rich-content, .ck-content, .rich-text-content) figure.table :is(td, th) {
  min-width: 1em;
  padding: .4em;
  border: 1px solid #aaa;
  vertical-align: top;
}
:is(.fd-rich-content, .ck-content, .rich-text-content) figure.table th { background: #f4f2ec; }
:is(.fd-rich-content, .ck-content, .rich-text-content) .flatdiaries-layout-table,
:is(.fd-rich-content, .ck-content, .rich-text-content) figure.table.flatdiaries-layout-table :is(table, td, th),
:is(.fd-rich-content, .ck-content, .rich-text-content) figure.table table.flatdiaries-layout-table :is(td, th),
:is(.fd-rich-content, .ck-content, .rich-text-content) figure.table table.flatdiaries-layout-table { border: 0; }
:is(.fd-rich-content, .ck-content, .rich-text-content) .flatdiaries-layout-table table,
:is(.fd-rich-content, .ck-content, .rich-text-content) table.flatdiaries-layout-table { table-layout: fixed; }
.ck-content.ck-editor__editable figure.table table.flatdiaries-layout-table :is(td, th) { border: 0; }
:is(.fd-rich-content, .ck-content, .rich-text-content) .flatdiaries-layout-table td { padding: .6em; }
:is(.fd-rich-content, .ck-content, .rich-text-content) .flatdiaries-image-placeholder {
  padding: 1em;
  border: 1px dashed #aaa;
  color: #666;
  text-align: center;
}
:is(.fd-rich-content, .ck-content, .rich-text-content) .flatdiaries-lead { font-size: 1.2em; }
:is(.fd-rich-content, .ck-content, .rich-text-content) .flatdiaries-note {
  padding: .75em;
  border-left: 3px solid #526b48;
  background: #f4f2ec;
}
/* Buchvorlagen folgen den zentrierten, vertikalen Layouts des vorhandenen Bestands. */
:is(.fd-rich-content, .ck-content, .rich-text-content) .flatdiaries-template { text-align: center; }
:is(.fd-rich-content, .ck-content, .rich-text-content) .flatdiaries-template p {
  margin: 0 0 12px;
  text-indent: 0;
  line-height: 1.4;
}
:is(.fd-rich-content, .ck-content, .rich-text-content) .flatdiaries-template h2 {
  margin: 0 0 16px;
  font: bold 20px/1.3 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
  letter-spacing: 0;
}
:is(.fd-rich-content, .ck-content, .rich-text-content) .flatdiaries-template figure.image { margin: 12px auto; max-width: 100%; }
:is(.fd-rich-content, .ck-content, .rich-text-content) .flatdiaries-template figure.image img { width: auto; max-width: 100%; max-height: 270px; }
:is(.fd-rich-content, .ck-content, .rich-text-content) .flatdiaries-template figcaption { padding: 4px 0; background: transparent; font-size: 14px; }
:is(.fd-rich-content, .ck-content, .rich-text-content) .flatdiaries-template-photo-pair figure.image img { max-height: 200px; }
:is(.fd-rich-content, .ck-content, .rich-text-content) .flatdiaries-template-full-photo figure.image img { max-height: 430px; }
