/*!
 * cms-tables — tables inside CMS page content.
 *
 * The page template styles headings, paragraphs and lists but nothing else, so
 * a table written in the editor rendered as unstyled browser default. This
 * covers every CMS page rather than one, because the next table someone writes
 * should not need another stylesheet.
 *
 * A comparison table is wide by nature, so it scrolls inside its own container
 * and never pushes the page sideways.
 */

.cms-body .table-scroll,
.cms-body table {
  margin: 26px 0;
}

/* Wrapper the author adds around a wide table. */
.cms-body .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e0e9ed;
  border-radius: 14px;
}
.cms-body .table-scroll table {
  margin: 0;
  border: 0;
  border-radius: 0;
}

.cms-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.55;
  background: #fff;
  border: 1px solid #e0e9ed;
  border-radius: 14px;
  overflow: hidden;
}

.cms-body thead th {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: #0f5c4a;
  white-space: nowrap;
}
.cms-body thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #0f5c4a;
}

.cms-body tbody th {
  padding: 13px 16px;
  text-align: left;
  font-weight: 650;
  color: #10283b;
  background: #f6faf9;
  white-space: nowrap;
  border-top: 1px solid #e6eef1;
}
/* The row label stays visible while a wide table scrolls. */
.cms-body tbody th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
}

.cms-body tbody td {
  padding: 13px 16px;
  vertical-align: top;
  color: #4a5f70;
  border-top: 1px solid #e6eef1;
}

.cms-body tbody tr:hover td { background: #fbfdfc; }

/* A cell that is just a marker reads better centred. */
.cms-body td.mark,
.cms-body td[data-mark] {
  text-align: center;
  font-weight: 700;
  color: #0f5c4a;
}

.cms-body caption {
  caption-side: bottom;
  padding-top: 12px;
  font-size: 14px;
  color: #71889a;
  text-align: left;
}

/* -- a highlighted note inside body copy ----------------------------------- */
.cms-body .note {
  margin: 26px 0;
  padding: 20px 24px;
  background: #f4faf8;
  border-left: 4px solid #0f5c4a;
  border-radius: 0 14px 14px 0;
  font-size: 16px;
}
.cms-body .note strong { color: #0f5c4a; }

@media (max-width: 640px) {
  .cms-body table { font-size: 14.5px; }
  .cms-body thead th, .cms-body tbody th, .cms-body tbody td { padding: 11px 13px; }
}
