/* =========================================================
   TinyMCE Editor Stylesheet
   - Loads the site CSS
   - Applies editor-friendly overrides so content is easy to edit
   ========================================================= */

/* 1) Pull in the main site styles so fonts / colors match */
@import url('/include/style.css');

/* 2) Base editor canvas ----------------------------------- */

/* TinyMCE puts your content inside .mce-content-body */
.mce-content-body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #30393e;

  /* mimic the page width, but keep it centered */
  max-width: 948px;
  margin: 0 auto;
  padding: 20px;

  background: #ffffff;
  box-sizing: border-box;
}

/* Make sure editor HTML/body don’t add weird padding */
html, body {
  margin: 0;
  padding: 0;
  background: #ffffff;
}

/* 3) Images inside the editor ----------------------------- */

.mce-content-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 0 10px 0;
  border: 0;
}

/* 4) Typography inside editor ----------------------------- */

.mce-content-body h1,
.mce-content-body h2,
.mce-content-body h3,
.mce-content-body h4 {
  margin: 0 0 10px 0;
  font-weight: normal;
}

.mce-content-body h1 {
  font-size: 1.6em;
  color: #006849;
}

.mce-content-body h2 {
  font-size: 1.3em;
  color: #006849;
}

.mce-content-body h3 {
  font-size: 1.0em;
  text-transform: uppercase;
  color: #30393e;
}

.mce-content-body p {
  margin: 0 0 15px 0;
  font-size: 0.9em;
}

/* 5) Lists ------------------------------------------------ */

.mce-content-body ul,
.mce-content-body ol {
  margin: 0 0 15px 20px;
  padding: 0;
}

.mce-content-body li {
  margin: 0 0 5px 0;
  font-size: 0.9em;
}

/* 6) Links ------------------------------------------------ */

.mce-content-body a {
  color: #056c4f;
  font-weight: bold;
  text-decoration: none;
}

.mce-content-body a:hover {
  color: #2f8666;
  text-decoration: underline;
}

/* 7) Tables (for the fees table on sessions.html, etc.) --- */

.mce-content-body table {
  border-collapse: collapse;
  margin: 10px 0 15px 0;
  width: auto;
  max-width: 100%;
}

.mce-content-body th,
.mce-content-body td {
  border: 1px solid #000;
  padding: 4px 6px;
  font-size: 0.8em;
}

/* 8) Home-page specific bits when editing index.html ------ */

/* Prevent the big home image/content area from being squashed
   when editing – keep its original size visual */
.mce-content-body #home-box-top {
  min-height: 300px;
  background-position: left top;
  background-repeat: no-repeat;
}

/* Keep nav links readable in the editor even if the floats
   from style.css don’t apply cleanly */
.mce-content-body #navigation ul {
  list-style: none;
  margin: 10px 0 20px 0;
  padding: 0;
}

.mce-content-body #navigation ul li {
  display: inline-block;
  margin-right: 10px;
  float: none;        /* override site float, easier to see in editor */
}

/* 9) “Wrapper” tweaks so borders don’t show in the editor -- */

.mce-content-body #wrapper {
  margin: 0 auto;
  max-width: 948px;
  border: 0;          /* don’t show the outer black border in editor */
  background: #ffffff;
}

/* 10) Misc small cleanups --------------------------------- */

.mce-content-body hr {
  border: 0;
  height: 2px;
  background: #338b7a;
  margin: 10px 0 10px 0;
}

.mce-content-body .clear {
  clear: both;
}

.mce-content-body .left {
  float: left;
  margin-right: 10px;
}

.mce-content-body .right {
  float: right;
  margin-left: 10px;
}