#main_content a {
  color: #006b3b; 
  text-decoration: none; 
}
#main_content a:hover {
  text-decoration: underline !important;
}

#main_content,
.note-editor {
  font-family: sans-serif;
  line-height: 2rem;
}

#main_content span,
#main_content p,
.note-editor span,
.note-editor p {
  line-height: 1.5rem;
}

.note-editor ul,
#main_content ul {
  list-style-type:disc;
  padding-left: 1.2rem;
}

.note-editor ol, 
#main_content ol {
  list-style-type:decimal;
  padding-left: 1.2rem;
}

/*
 * Rich content tables / spacers / HR
 * Keep in sync with resources/sass/shared/_rich_content.scss
 * (!important beats Bootstrap reboot border-width: 0 on td/th)
 */
#main_content table,
.note-editor table,
.ol-rich-content table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 0.75rem;
  max-width: 100%;
}

#main_content table td,
#main_content table th,
.note-editor table td,
.note-editor table th,
.ol-rich-content table td,
.ol-rich-content table th {
  border: 1px solid #ced4da !important;
  padding: 6px 8px !important;
  min-width: 60px;
  min-height: 40px;
  height: 40px;
  vertical-align: middle;
}

#main_content table th,
.note-editor table th,
.ol-rich-content table th {
  background-color: #f8f9fa !important;
  font-weight: 600;
}

#main_content table.ol-table-borderless td,
#main_content table.ol-table-borderless th,
#main_content table[data-table-style='borderless'] td,
#main_content table[data-table-style='borderless'] th,
.note-editor table.ol-table-borderless td,
.note-editor table.ol-table-borderless th,
.ol-rich-content table.ol-table-borderless td,
.ol-rich-content table.ol-table-borderless th,
.ol-rich-content table[data-table-style='borderless'] td,
.ol-rich-content table[data-table-style='borderless'] th {
  border: 0 !important;
}

#main_content table.ol-table-borderless th,
#main_content table[data-table-style='borderless'] th,
.ol-rich-content table.ol-table-borderless th,
.ol-rich-content table[data-table-style='borderless'] th {
  background-color: transparent !important;
}

#main_content table.ol-table-border-compact td,
#main_content table.ol-table-border-compact th,
#main_content table[data-table-style='border-compact'] td,
#main_content table[data-table-style='border-compact'] th,
.note-editor table.ol-table-border-compact td,
.note-editor table.ol-table-border-compact th,
.ol-rich-content table.ol-table-border-compact td,
.ol-rich-content table.ol-table-border-compact th,
.ol-rich-content table[data-table-style='border-compact'] td,
.ol-rich-content table[data-table-style='border-compact'] th {
  border: 1px solid #ced4da !important;
  padding: 2px 6px !important;
  min-height: 28px;
  height: 28px;
}

#main_content table.ol-table-striped tbody tr:nth-child(even) td,
#main_content table[data-table-style='striped'] tbody tr:nth-child(even) td,
.ol-rich-content table.ol-table-striped tbody tr:nth-child(even) td,
.ol-rich-content table[data-table-style='striped'] tbody tr:nth-child(even) td {
  background-color: #f8f9fa;
}

#main_content table td > p,
#main_content table th > p,
.note-editor table td > p,
.note-editor table th > p,
.ol-rich-content table td > p,
.ol-rich-content table th > p {
  margin-bottom: 0;
  min-height: 1.5em;
}

#main_content table td[data-format='number'],
#main_content table td[data-format='currency'],
#main_content table td[data-format='percent'],
#main_content table th[data-format='number'],
#main_content table th[data-format='currency'],
#main_content table th[data-format='percent'],
.note-editor table td[data-format='number'],
.note-editor table td[data-format='currency'],
.note-editor table td[data-format='percent'],
.note-editor table th[data-format='number'],
.note-editor table th[data-format='currency'],
.note-editor table th[data-format='percent'],
.ol-rich-content table td[data-format='number'],
.ol-rich-content table td[data-format='currency'],
.ol-rich-content table td[data-format='percent'],
.ol-rich-content table th[data-format='number'],
.ol-rich-content table th[data-format='currency'],
.ol-rich-content table th[data-format='percent'] {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

#main_content table td[data-format='text'],
#main_content table th[data-format='text'],
.note-editor table td[data-format='text'],
.note-editor table th[data-format='text'],
.ol-rich-content table td[data-format='text'],
.ol-rich-content table th[data-format='text'] {
  text-align: left;
}

#main_content .table-responsive,
.note-editor .table-responsive,
.ol-rich-content .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#main_content .ol-spacer,
.note-editor .ol-spacer,
.ol-rich-content .ol-spacer {
  display: block;
  width: 100%;
  min-height: 8px;
}

#main_content hr,
.note-editor hr,
.ol-rich-content hr {
  border: 0;
  border-top: 1px solid #dee2e6;
}

#main_content .ol-content-block,
#main_content section[data-ol-block],
#main_content div[data-ol-block],
.ol-rich-content .ol-content-block,
.ol-rich-content section[data-ol-block],
.ol-rich-content div[data-ol-block],
.html-editor-prose .ol-content-block,
.html-editor-prose section[data-ol-block],
.html-editor-prose div[data-ol-block] {
  display: flex;
  box-sizing: border-box;
}

#main_content .ol-content-block > *,
#main_content section[data-ol-block] > *,
#main_content div[data-ol-block] > *,
.ol-rich-content .ol-content-block > *,
.ol-rich-content section[data-ol-block] > *,
.ol-rich-content div[data-ol-block] > *,
.html-editor-prose .ol-content-block > *,
.html-editor-prose section[data-ol-block] > *,
.html-editor-prose div[data-ol-block] > * {
  margin-top: 0;
  margin-bottom: 0;
}

#main_content .ol-flex-dir-row,
.ol-rich-content .ol-flex-dir-row,
.html-editor-prose .ol-flex-dir-row {
  flex-direction: row;
  flex-wrap: wrap;
}

#main_content .ol-flex-dir-column,
.ol-rich-content .ol-flex-dir-column,
.html-editor-prose .ol-flex-dir-column {
  flex-direction: column;
}

#main_content .ol-flex-justify-start,
.ol-rich-content .ol-flex-justify-start,
.html-editor-prose .ol-flex-justify-start {
  justify-content: flex-start;
}

#main_content .ol-flex-justify-center,
.ol-rich-content .ol-flex-justify-center,
.html-editor-prose .ol-flex-justify-center {
  justify-content: center;
}

#main_content .ol-flex-justify-end,
.ol-rich-content .ol-flex-justify-end,
.html-editor-prose .ol-flex-justify-end {
  justify-content: flex-end;
}

#main_content .ol-flex-justify-between,
.ol-rich-content .ol-flex-justify-between,
.html-editor-prose .ol-flex-justify-between {
  justify-content: space-between;
}

#main_content .ol-flex-justify-around,
.ol-rich-content .ol-flex-justify-around,
.html-editor-prose .ol-flex-justify-around {
  justify-content: space-around;
}

#main_content .ol-flex-align-start,
.ol-rich-content .ol-flex-align-start,
.html-editor-prose .ol-flex-align-start {
  align-items: flex-start;
}

#main_content .ol-flex-align-center,
.ol-rich-content .ol-flex-align-center,
.html-editor-prose .ol-flex-align-center {
  align-items: center;
}

#main_content .ol-flex-align-end,
.ol-rich-content .ol-flex-align-end,
.html-editor-prose .ol-flex-align-end {
  align-items: flex-end;
}

#main_content .ol-flex-align-stretch,
.ol-rich-content .ol-flex-align-stretch,
.html-editor-prose .ol-flex-align-stretch {
  align-items: stretch;
}

#main_content .ol-flex-gap-s,
.ol-rich-content .ol-flex-gap-s,
.html-editor-prose .ol-flex-gap-s {
  gap: 0.5rem;
}

#main_content .ol-flex-gap-m,
.ol-rich-content .ol-flex-gap-m,
.html-editor-prose .ol-flex-gap-m {
  gap: 1rem;
}

#main_content .ol-flex-gap-l,
.ol-rich-content .ol-flex-gap-l,
.html-editor-prose .ol-flex-gap-l {
  gap: 1.5rem;
}

#main_content .ol-flex-pad-none,
.ol-rich-content .ol-flex-pad-none,
.html-editor-prose .ol-flex-pad-none {
  padding: 0;
}

#main_content .ol-flex-pad-s,
.ol-rich-content .ol-flex-pad-s,
.html-editor-prose .ol-flex-pad-s {
  padding: 0.75rem;
}

#main_content .ol-flex-pad-m,
.ol-rich-content .ol-flex-pad-m,
.html-editor-prose .ol-flex-pad-m {
  padding: 1.25rem;
}

#main_content .ol-flex-pad-l,
.ol-rich-content .ol-flex-pad-l,
.html-editor-prose .ol-flex-pad-l {
  padding: 2rem;
}

#main_content .ol-flex-margin-none,
.ol-rich-content .ol-flex-margin-none,
.html-editor-prose .ol-flex-margin-none {
  margin: 0;
}

#main_content .ol-flex-margin-s,
.ol-rich-content .ol-flex-margin-s,
.html-editor-prose .ol-flex-margin-s {
  margin: 0.75rem 0;
}

#main_content .ol-flex-margin-m,
.ol-rich-content .ol-flex-margin-m,
.html-editor-prose .ol-flex-margin-m {
  margin: 1.25rem 0;
}

#main_content .ol-flex-margin-l,
.ol-rich-content .ol-flex-margin-l,
.html-editor-prose .ol-flex-margin-l {
  margin: 2rem 0;
}

#main_content .ol-carousel,
.ol-rich-content .ol-carousel,
.html-editor-prose .ol-carousel {
  position: relative;
  margin: 0.75rem 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: transparent;
  isolation: isolate;
  transform: translateZ(0);
}

#main_content .ol-carousel .carousel-inner,
#main_content .ol-carousel .carousel-item,
.ol-rich-content .ol-carousel .carousel-inner,
.ol-rich-content .ol-carousel .carousel-item,
.html-editor-prose .ol-carousel .carousel-inner,
.html-editor-prose .ol-carousel .carousel-item {
  height: 100%;
  background: transparent;
}

#main_content .ol-carousel .ol-carousel-img,
.ol-rich-content .ol-carousel .ol-carousel-img,
.html-editor-prose .ol-carousel .ol-carousel-img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
}

#main_content .ol-carousel .ol-carousel-placeholder,
#main_content .ol-carousel .ol-carousel-empty,
.ol-rich-content .ol-carousel .ol-carousel-placeholder,
.ol-rich-content .ol-carousel .ol-carousel-empty,
.html-editor-prose .ol-carousel .ol-carousel-placeholder,
.html-editor-prose .ol-carousel .ol-carousel-empty {
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: #f1f5f9;
}

#main_content .ol-carousel .carousel-control-prev,
#main_content .ol-carousel .carousel-control-next,
.ol-rich-content .ol-carousel .carousel-control-prev,
.ol-rich-content .ol-carousel .carousel-control-next,
.html-editor-prose .ol-carousel .carousel-control-prev,
.html-editor-prose .ol-carousel .carousel-control-next {
  width: 12%;
}

#main_content .ol-icon-wrap,
#main_content .ol-icon-inline,
.ol-rich-content .ol-icon-wrap,
.ol-rich-content .ol-icon-inline,
.html-editor-prose .ol-icon-wrap,
.html-editor-prose .ol-icon-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
  margin: 0 0.2em;
}

#main_content .ol-icon-wrap .ol-icon,
#main_content .ol-icon-inline .ol-icon,
.ol-rich-content .ol-icon-wrap .ol-icon,
.ol-rich-content .ol-icon-inline .ol-icon,
.html-editor-prose .ol-icon-wrap .ol-icon,
.html-editor-prose .ol-icon-inline .ol-icon {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

#main_content .ol-countdown,
.ol-rich-content .ol-countdown,
.html-editor-prose .ol-countdown {
  margin: 1rem 0;
  text-align: center;
  --ol-countdown-color: #16836f;
}

#main_content .ol-countdown-title,
.ol-rich-content .ol-countdown-title,
.html-editor-prose .ol-countdown-title {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
}

#main_content .ol-countdown-units,
.ol-rich-content .ol-countdown-units,
.html-editor-prose .ol-countdown-units {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

#main_content .ol-countdown-unit,
.ol-rich-content .ol-countdown-unit,
.html-editor-prose .ol-countdown-unit {
  min-width: 4.25rem;
  padding: 0.65rem 0.5rem;
  border-radius: 0.75rem;
  background: rgba(22, 131, 111, 0.1);
  border: 1px solid rgba(22, 131, 111, 0.28);
}

#main_content .ol-countdown-value,
.ol-rich-content .ol-countdown-value,
.html-editor-prose .ol-countdown-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ol-countdown-color, #16836f);
  font-variant-numeric: tabular-nums;
}

#main_content .ol-countdown-label,
.ol-rich-content .ol-countdown-label,
.html-editor-prose .ol-countdown-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

#main_content .ol-countdown-ended,
.ol-rich-content .ol-countdown-ended,
.html-editor-prose .ol-countdown-ended {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #9ca3af;
}

#main_content a.ol-content-btn,
#main_content a.btn.ol-content-btn,
.ol-rich-content a.ol-content-btn,
.ol-rich-content a.btn.ol-content-btn,
.html-editor-prose a.ol-content-btn,
.html-editor-prose a.btn.ol-content-btn {
  display: inline-block;
  padding: 0.625rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.25;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  vertical-align: middle;
  transition: opacity 0.15s ease;
}

#main_content a.ol-content-btn .ol-btn-icon,
#main_content a.btn.ol-content-btn .ol-btn-icon,
.ol-rich-content a.ol-content-btn .ol-btn-icon,
.ol-rich-content a.btn.ol-content-btn .ol-btn-icon,
.html-editor-prose a.ol-content-btn .ol-btn-icon,
.html-editor-prose a.btn.ol-content-btn .ol-btn-icon {
  display: inline-block;
  line-height: 1;
  vertical-align: -0.1em;
  margin: 0 0.15em;
}

#main_content a.ol-content-btn:hover,
.ol-rich-content a.ol-content-btn:hover,
.html-editor-prose a.ol-content-btn:hover {
  opacity: 0.92;
}

#main_content a.ol-content-btn.w-100,
.ol-rich-content a.ol-content-btn.w-100,
.html-editor-prose a.ol-content-btn.w-100 {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box;
}

#main_content p:has(> a.ol-content-btn.w-100),
.ol-rich-content p:has(> a.ol-content-btn.w-100),
.html-editor-prose p:has(> a.ol-content-btn.w-100) {
  display: block;
  width: 100%;
  max-width: 100%;
}

#main_content .ol-content-block p:has(> a.ol-content-btn.w-100),
.ol-rich-content .ol-content-block p:has(> a.ol-content-btn.w-100),
.html-editor-prose .ol-content-block p:has(> a.ol-content-btn.w-100),
.html-editor-prose .ol-content-block-inner p:has(> a.ol-content-btn.w-100) {
  flex: 1 1 100%;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
}

#main_content a.ol-content-btn.ol-btn-fs-s,
.ol-rich-content a.ol-content-btn.ol-btn-fs-s,
.html-editor-prose a.ol-content-btn.ol-btn-fs-s {
  font-size: 0.875rem;
  padding: 0.45rem 0.9rem;
}

#main_content a.ol-content-btn.ol-btn-fs-m,
.ol-rich-content a.ol-content-btn.ol-btn-fs-m,
.html-editor-prose a.ol-content-btn.ol-btn-fs-m {
  font-size: 1rem;
}

#main_content a.ol-content-btn.ol-btn-fs-l,
.ol-rich-content a.ol-content-btn.ol-btn-fs-l,
.html-editor-prose a.ol-content-btn.ol-btn-fs-l {
  font-size: 1.125rem;
  padding: 0.7rem 1.25rem;
}

#main_content a.ol-content-btn.ol-btn-fs-xl,
.ol-rich-content a.ol-content-btn.ol-btn-fs-xl,
.html-editor-prose a.ol-content-btn.ol-btn-fs-xl {
  font-size: 1.25rem;
  padding: 0.8rem 1.35rem;
}

#main_content a.ol-content-btn.ol-btn-fs-xxl,
.ol-rich-content a.ol-content-btn.ol-btn-fs-xxl,
.html-editor-prose a.ol-content-btn.ol-btn-fs-xxl {
  font-size: 1.5rem;
  padding: 0.9rem 1.5rem;
}

#main_content a.ol-content-btn.ol-btn-r-none,
.ol-rich-content a.ol-content-btn.ol-btn-r-none,
.html-editor-prose a.ol-content-btn.ol-btn-r-none {
  border-radius: 0;
}

#main_content a.ol-content-btn.ol-btn-r-s,
.ol-rich-content a.ol-content-btn.ol-btn-r-s,
.html-editor-prose a.ol-content-btn.ol-btn-r-s {
  border-radius: 0.25rem;
}

#main_content a.ol-content-btn.ol-btn-r-m,
.ol-rich-content a.ol-content-btn.ol-btn-r-m,
.html-editor-prose a.ol-content-btn.ol-btn-r-m {
  border-radius: 0.5rem;
}

#main_content a.ol-content-btn.ol-btn-r-l,
.ol-rich-content a.ol-content-btn.ol-btn-r-l,
.html-editor-prose a.ol-content-btn.ol-btn-r-l {
  border-radius: 0.85rem;
}

#main_content a.ol-content-btn.ol-btn-r-full,
.ol-rich-content a.ol-content-btn.ol-btn-r-full,
.html-editor-prose a.ol-content-btn.ol-btn-r-full {
  border-radius: 9999px;
}

#main_content a.ol-content-btn.ol-btn-preset-primary,
#main_content a.btn-primary.ol-content-btn,
.ol-rich-content a.ol-content-btn.ol-btn-preset-primary,
.ol-rich-content a.btn-primary.ol-content-btn,
.html-editor-prose a.ol-content-btn.ol-btn-preset-primary,
.html-editor-prose a.btn-primary.ol-content-btn {
  background-color: #16836f;
  color: #fff;
  border-color: #16836f;
}

#main_content a.ol-content-btn.ol-btn-preset-secondary,
#main_content a.btn-secondary.ol-content-btn,
.ol-rich-content a.ol-content-btn.ol-btn-preset-secondary,
.ol-rich-content a.btn-secondary.ol-content-btn,
.html-editor-prose a.ol-content-btn.ol-btn-preset-secondary,
.html-editor-prose a.btn-secondary.ol-content-btn {
  background-color: #e5e7eb;
  color: #111827;
  border-color: #e5e7eb;
}

#main_content a.ol-content-btn.ol-btn-preset-outline,
#main_content a.btn-outline-primary.ol-content-btn,
#main_content a.btn-outline-secondary.ol-content-btn,
.ol-rich-content a.ol-content-btn.ol-btn-preset-outline,
.ol-rich-content a.btn-outline-primary.ol-content-btn,
.ol-rich-content a.btn-outline-secondary.ol-content-btn,
.html-editor-prose a.ol-content-btn.ol-btn-preset-outline,
.html-editor-prose a.btn-outline-primary.ol-content-btn,
.html-editor-prose a.btn-outline-secondary.ol-content-btn {
  background-color: transparent;
  color: #16836f;
  border-color: #16836f;
}
