/* Shared by the admin editor AND the public pages,
   so what the admin sees is what visitors see. */
/* Fonts available in the admin editor's font menu */
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&family=Roboto:ital,wght@0,400;0,700;1,400&family=Lato:ital,wght@0,400;0,700;1,400&family=Montserrat:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:ital,wght@0,400;0,600;0,700;1,400&family=Nunito:ital,wght@0,400;0,700;1,400&family=Raleway:ital,wght@0,400;0,700;1,400&family=Oswald:wght@400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Merriweather:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400;0,700;1,400&family=EB+Garamond:ital,wght@0,400;0,700;1,400&family=Crimson+Text:ital,wght@0,400;0,700;1,400&family=Cinzel:wght@400;700&family=Cormorant+Garamond:ital,wght@0,400;0,700;1,400&family=Great+Vibes:wght@400&family=Dancing+Script:wght@400;700&family=Pacifico:wght@400&family=Caveat:wght@400;700&family=Bebas+Neue:wght@400&family=Abril+Fatface:wght@400&family=UnifrakturMaguntia:wght@400&display=swap");

.rich-content {
  font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  overflow-wrap: break-word;
}
body.rich-content { padding: 16px 24px; background: #fff; }   /* inside the editor */

.rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4 {
  font-family: "Libre Baskerville", Georgia, serif;
  margin: 1em 0 .5em;
  line-height: 1.3;
}
.rich-content p { margin: 0 0 1em; }
.rich-content ul, .rich-content ol { margin: 0 0 1em 1.5em; padding: 0; }
.rich-content ul { list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content a { color: #05339e; text-decoration: underline; }
.rich-content img { max-width: 100%; height: auto; }
.rich-content figure.image { display: inline-block; margin: 0 0 1em; }
.rich-content figure.image figcaption { font-size: .9em; color: #666; text-align: center; }
.rich-content iframe, .rich-content video { max-width: 100%; }
.rich-content hr { border: 0; border-top: 2px solid #ddd; margin: 1.5em 0; }

/* Tables: keep the admin's own colours and borders */
.rich-content .table-scroll, .rich-content table { max-width: 100%; }
.rich-content table { border-collapse: collapse; margin: 0 0 1em; }
.rich-content table td, .rich-content table th {
  border: 1px solid #bbb;
  padding: 6px 10px;
  vertical-align: top;
}
.rich-content table th { background: #f2f2f2; font-weight: 700; }
@media (max-width: 700px) {
  .rich-content table { display: block; overflow-x: auto; }
}

/* Text boxes */
.rich-content .tdac-textbox {
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 0 0 1.2em;
  background: #fff;
}
.rich-content .tdac-blue  { border-color: #05339e; background: #eef3ff; }
.rich-content .tdac-gold  { border-color: #c9a227; background: #fff8e1; }
.rich-content .tdac-green { border-color: #2e7d32; background: #edf7ee; }
.rich-content .tdac-scripture {
  border: 0;
  border-left: 5px solid #05339e;
  border-radius: 0;
  background: #f7f7f7;
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
}

/* Coloured "page" sections */
.rich-content .tdac-section { padding: 28px 24px; margin: 0 0 1.2em; border-radius: 4px; }
.rich-content .tdac-cream     { background: #fdf6e3; }
.rich-content .tdac-lightblue { background: #e8f0fe; }
.rich-content .tdac-grey      { background: #f1f1f1; }
.rich-content .tdac-darkblue  { background: #05339e; color: #fff; }
.rich-content .tdac-darkblue a { color: #ffd54f; }

/* Page breaks are for printing only */
.rich-content .mce-pagebreak { display: none; }
@media print { .rich-content .mce-pagebreak { display: block; page-break-after: always; border: 0; } }