/*!
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
* apex-builder-app_ui v23.1.0
* https://apex.oracle.com/
*//* ==========================================================================
   Oracle APEX - Rich Text Editor Content
   ========================================================================== */
html {
  font-style: 1em;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  font-family: var(--a-base-font-family);
  font-size: var(--a-field-input-font-size);
  font-weight: normal;
  line-height: var(--a-field-input-line-height);
  color: var(--a-field-input-text-color);
  background-color: var(--a-field-input-background-color);
  margin: 0;
  padding-block: calc(var(--a-field-input-padding-y, 4px) - var(--a-field-input-border-width, 1px)) !important;
  padding-inline: calc(var(--a-field-input-padding-x, 4px) - var(--a-field-input-border-width, 1px)) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: var(--a-field-input-transition);
  overflow-wrap: break-word;
  word-wrap: break-word;
  --a-rte-resize-handle-color: var(--a-field-input-focus-background-color);
  --a-rte-resize-handle-size: 10px;
  --a-rte-resize-clone-z-index: 10000;
}
body .mce-visual-caret {
  background-color: black;
  background-color: currentColor;
  position: absolute;
}
body .mce-visual-caret-hidden {
  display: none;
}
body *[data-mce-caret] {
  left: -1000px;
  margin: 0;
  padding: 0;
  position: absolute;
  right: auto;
  top: 0;
}
body .mce-offscreen-selection {
  left: -2000000px;
  max-width: 1000000px;
  position: absolute;
}
body *[contentEditable=false] {
  cursor: default;
}
body *[contentEditable=true] {
  cursor: text;
}
body div.mce-resizehandle {
  background-color: var(--a-rte-resize-handle-color);
  border-color: var(--a-rte-resize-handle-color);
  border-style: solid;
  border-width: 1px;
  box-sizing: border-box;
  height: var(--a-rte-resize-handle-size);
  position: absolute;
  width: var(--a-rte-resize-handle-size);
  z-index: 1298;
}
body div.mce-resizehandle:hover {
  background-color: var(--a-rte-resize-handle-color);
}
body div.mce-resizehandle:nth-of-type(1) {
  cursor: nwse-resize;
}
body div.mce-resizehandle:nth-of-type(2) {
  cursor: nesw-resize;
}
body div.mce-resizehandle:nth-of-type(3) {
  cursor: nwse-resize;
}
body div.mce-resizehandle:nth-of-type(4) {
  cursor: nesw-resize;
}
body .mce-resize-backdrop {
  z-index: var(--a-rte-resize-clone-z-index);
}
body .mce-clonedresizable {
  cursor: default;
  opacity: 0.5;
  outline: 1px dashed black;
  position: absolute;
  z-index: var(--a-rte-resize-clone-z-index)1;
}
body .mce-clonedresizable.mce-resizetable-columns th, body .mce-clonedresizable.mce-resizetable-columns td {
  border: 0;
}
body .mce-resize-helper {
  background-color: rgba(199, 199, 199, 0.5);
  border: 1px;
  border-radius: 2px;
  color: white;
  display: none;
  font-family: sans-serif;
  font-size: 12px;
  line-height: 14px;
  margin: 4px 10px;
  padding: 4px;
  position: absolute;
  white-space: nowrap;
  z-index: var(--a-rte-resize-clone-z-index)2;
}

html:hover body {
  color: var(--a-field-input-hover-text-color, var(--a-field-input-text-color));
  background-color: var(--a-field-input-hover-background-color, var(--a-field-input-background-color));
}

html:focus-within body {
  color: var(--a-field-input-focus-text-color, var(--a-field-input-text-color));
  background-color: var(--a-field-input-focus-background-color, var(--a-field-input-background-color));
}

table {
  border-collapse: collapse;
}

/* Apply a default padding if legacy cellpadding attribute is missing */
table:not([cellpadding]) th,
table:not([cellpadding]) td {
  padding: 4px 8px;
}

/* Set default table styles if a table has a positive border attribute
   and no inline css */
table[border]:not([border="0"]):not([style*=border-width]) th,
table[border]:not([border="0"]):not([style*=border-width]) td {
  border-width: 1px;
}

/* Set default table styles if a table has a positive border attribute
   and no inline css */
table[border]:not([border="0"]):not([style*=border-style]) th,
table[border]:not([border="0"]):not([style*=border-style]) td {
  border-style: solid;
}

/* Set default table styles if a table has a positive border attribute
   and no inline css */
table[border]:not([border="0"]):not([style*=border-color]) th,
table[border]:not([border="0"]):not([style*=border-color]) td {
  border-color: var(--a-gv-border-color, #E8E8E8);
}

figure {
  display: table;
  margin: 16px auto;
}
figure figcaption {
  color: #999;
  display: block;
  margin-top: 4px;
  text-align: center;
}

hr {
  border-color: var(--a-gv-border-color, #E8E8E8);
  border-style: solid;
  border-width: 1px 0 0 0;
}

blockquote {
  border-color: var(--a-gv-border-color, #E8E8E8);
  -webkit-border-start: 2px solid;
          border-inline-start: 2px solid;
  -webkit-margin-start: 18px;
          margin-inline-start: 18px;
  -webkit-padding-start: 16px;
          padding-inline-start: 16px;
}

/* ==========================================================================
  RTE Content
  from _rich-text-editor.scss .is-rte
  ========================================================================== */
a {
  word-wrap: break-word;
  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto;
  overflow-wrap: break-word;
}
a:hover, a:focus {
  -webkit-text-decoration: var(--a-base-link-hover-decoration, underline);
          text-decoration: var(--a-base-link-hover-decoration, underline);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 8px;
  font-weight: var(--a-base-font-weight-semibold, 500);
  color: inherit;
}

p + h1, p + h2, p + h3, p + h4, p + h5, p + h6,
pre + h1,
pre + h2,
pre + h3,
pre + h4,
pre + h5,
pre + h6,
table + h1,
table + h2,
table + h3,
table + h4,
table + h5,
table + h6 {
  -webkit-margin-before: 24px;
          margin-block-start: 24px;
}

h1 {
  font-size: var(--a-rte-h1-font-size, 40px);
  line-height: var(--a-rte-h1-line-height, 1.2);
  font-weight: var(--a-rte-h1-font-weight, var(--a-base-font-weight-semibold, 500));
}

h2 {
  font-size: var(--a-rte-h2-font-size, 32px);
  line-height: var(--a-rte-h2-line-height, 1.2);
  font-weight: var(--a-rte-h2-font-weight, var(--a-base-font-weight-semibold, 500));
}

h3 {
  font-size: var(--a-rte-h3-font-size, 28px);
  line-height: var(--a-rte-h3-line-height, 1.2);
  font-weight: var(--a-rte-h3-font-weight, var(--a-base-font-weight-semibold, 500));
}

h4 {
  font-size: var(--a-rte-h4-font-size, 24px);
  line-height: var(--a-rte-h4-line-height, 1.2);
  font-weight: var(--a-rte-h4-font-weight, var(--a-base-font-weight-bold, 700));
}

h5 {
  font-size: var(--a-rte-h5-font-size, 20px);
  line-height: var(--a-rte-h5-line-height, 1.2);
  font-weight: var(--a-rte-h5-font-weight, var(--a-base-font-weight-bold, 700));
}

h6 {
  font-size: var(--a-rte-h6-font-size, 16px);
  line-height: var(--a-rte-h6-line-height, 1.2);
  font-weight: var(--a-rte-h6-font-weight, var(--a-base-font-weight-bold, 700));
}

strong,
b {
  font-weight: var(--a-base-font-weight-bold, 700);
}
strong,
b {
  font-weight: var(--a-base-font-weight-heavy, 900);
}

em,
i {
  font-style: italic;
}

ul,
ol {
  -webkit-margin-before: 8px;
          margin-block-start: 8px;
  -webkit-margin-after: 16px;
          margin-block-end: 16px;
  -webkit-margin-start: 32px;
          margin-inline-start: 32px;
  -webkit-margin-end: 0;
          margin-inline-end: 0;
}
ul li,
ol li {
  font-size: inherit;
  line-height: inherit;
}
ul li:not(:last-child),
ol li:not(:last-child) {
  -webkit-margin-after: 4px;
          margin-block-end: 4px;
}
ul ul,
ul ol,
ol ul,
ol ol {
  -webkit-margin-before: 0;
          margin-block-start: 0;
  -webkit-margin-after: 12px;
          margin-block-end: 12px;
}
ul p + ul, ul p + ol,
ol p + ul,
ol p + ol {
  -webkit-margin-before: -8px;
          margin-block-start: -8px;
}

hr {
  clear: both;
  background-color: transparent;
  margin: var(--a-rte-hr-margin-y, 20px) var(--a-rte-hr-margin-x, 0);
  border: 0;
  border-top-style: solid;
  border-top-color: var(--a-rte-hr-border-color, rgba(0, 0, 0, 0.1));
  border-top-width: var(--a-rte-hr-border-width, 1px);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

blockquote {
  margin: var(--a-rte-blockquote-margin-y, 20px) var(--a-rte-blockquote-margin-x, 20px);
  padding: var(--a-rte-blockquote-padding-y, 4px) var(--a-rte-blockquote-padding-x, 20px);
  font-size: var(--a-rte-blockquote-font-size, 18px);
  line-height: var(--a-rte-blockquote-line-height, 1.425);
  border: 0;
  border-left-width: var(--a-rte-blockquote-border-width, 4px);
  border-left-style: solid;
  border-left-color: var(--a-rte-blockquote-border-color, rgba(0, 0, 0, 0.1));
}
.u-RTL blockquote {
  border-left: 0;
  border-right: var(--a-rte-blockquote-border-width, 4px) solid var(--a-rte-blockquote-border-color, rgba(0, 0, 0, 0.1));
}

code {
  padding: var(--a-rte-code-padding-y, 2px) var(--a-rte-code-padding-x, 4px);
  font-size: var(--a-rte-code-font-size, 14px);
  font-family: var(--a-base-font-family-mono, monospace);
  border-radius: var(--a-rte-code-border-color, 2px);
  background-color: var(--a-rte-code-background-color, rgba(199, 199, 199, 0.5));
  border-style: solid;
  border-width: var(--a-rte-code-border-width, 1px);
  border-color: var(--a-rte-code-border-color, rgba(0, 0, 0, 0.1));
}

pre {
  -webkit-margin-after: 16px;
          margin-block-end: 16px;
  padding: var(--a-rte-pre-padding, 8px);
  font-size: var(--a-rte-pre-font-size, 14px);
  font-family: var(--a-base-font-family-mono, monospace);
  border-radius: var(--a-rte-pre-border-color, 4px);
  max-width: 100%;
  overflow: auto;
  background-color: var(--a-rte-pre-background-color, rgba(199, 199, 199, 0.1));
  border-style: solid;
  border-width: var(--a-rte-pre-border-width, 1px);
  border-color: var(--a-rte-pre-border-color, rgba(0, 0, 0, 0.1));
}
pre code {
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  border-width: 0;
}

table {
  -webkit-margin-before: 8px;
          margin-block-start: 8px;
  -webkit-margin-after: 20px;
          margin-block-end: 20px;
  font-size: var(--a-rte-table-font-size, 13px);
  border-style: solid;
  border-width: var(--a-rte-table-border-width, 1px);
  border-color: var(--a-rte-table-border-color, rgba(0, 0, 0, 0.1));
  border-spacing: 0;
  border-collapse: separate;
  border-radius: var(--a-rte-table-border-color, 2px);
  background-color: var(--a-rte-table-background-color, transparent);
}
table:last-child {
  -webkit-margin-after: 8px;
          margin-block-end: 8px;
}
table th {
  background-color: var(--a-rte-table-heading-background-color, rgba(0, 0, 0, 0.015));
  font-weight: var(--a-base-font-weight-semibold, 500);
}
table th,
table td {
  padding: var(--a-rte-table-cell-padding-y, 6px) var(--a-rte-table-cell-padding-x, 8px);
  border-bottom-width: var(--a-rte-table-cell-border-width, 1px);
  border-bottom-style: solid;
  border-bottom-color: var(--a-rte-table-cell-border-color, rgba(0, 0, 0, 0.05));
}
table tr:last-child td {
  border-bottom-width: 0;
}

table[style*="border-width: 0px"],
.mce-item-table:not([border]),
.mce-item-table[border="0"],
table[style*="border-width: 0px"] td,
.mce-item-table:not([border]) td,
.mce-item-table[border="0"] td,
table[style*="border-width: 0px"] th,
.mce-item-table:not([border]) th,
.mce-item-table[border="0"] th,
table[style*="border-width: 0px"] caption,
.mce-item-table:not([border]) caption,
.mce-item-table[border="0"] caption {
  border: 1px dashed var(--a-rte-table-cell-border-color, rgba(199, 199, 199, 0.5)) !important;
}

/* ==========================================================================
   PrismJS
   ========================================================================== */
.token.comment, .token.prolog, .token.doctype, .token.cdata {
  color: var(--prism-comment);
}
.token.namespace {
  color: var(--prism-namespace);
}
.token.interpolation {
  color: var(--prism-interpolation);
}
.token.string {
  color: var(--prism-string);
}
.token.keyword.module, .token.keyword.control-flow {
  color: var(--prism-keyword-control);
}
.token.url, .token.symbol, .token.inserted {
  color: var(--prism-symbol);
}
.token.constant {
  color: var(--prism-constant);
}
.token.boolean, .token.language-json .boolean {
  color: var(--prism-boolean);
}
.token.number, .token.language-json .number {
  color: var(--prism-number);
}
.token.variable {
  color: var(--prism-variable);
}
.token.keyword {
  color: var(--prism-keyword);
}
.token.atrule, .token.attr-value, .token.selector {
  color: var(--prism-selector);
}
.token.function {
  color: var(--prism-function);
}
.token.deleted {
  color: var(--prism-deleted);
}
.token.important, .token.bold {
  font-weight: var(--a-base-font-weight-bold, 700);
}
.token.italic {
  font-style: italic;
}
.token.class-name {
  color: var(--prism-class);
}
.token.tag, .token.builtin {
  color: var(--prism-builtin);
}
.token.attr-name, .token.property, .token.entity {
  color: var(--prism-property);
}
.token.language-json .property {
  color: var(--prism-json-property);
}
.token.regex {
  color: var(--prism-regex);
}
.token.decorator, .token.annotation {
  color: var(--prism-decorator);
}

.mce-content-body[data-mce-placeholder] {
  position: relative;
}
.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
  color: var(--a-field-input-text-color);
  content: attr(data-mce-placeholder);
  position: absolute;
}

.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before {
  left: 1px;
}

.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before {
  right: 1px;
}

.tox-cursor-format-painter {
  cursor: url("data:image/svg;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTE1LDYgQzE1LDUuNDUgMTQuNTUsNSAxNCw1IEw2LDUgQzUuNDUsNSA1LDUuNDUgNSw2IEw1LDEwIEM1LDEwLjU1IDUuNDUsMTEgNiwxMSBMMTQsMTEgQzE0LjU1LDExIDE1LDEwLjU1IDE1LDEwIEwxNSw5IEwxNiw5IEwxNiwxMiBMOSwxMiBMOSwxOSBDOSwxOS41NSA5LjQ1LDIwIDEwLDIwIEwxMSwyMCBDMTEuNTUsMjAgMTIsMTkuNTUgMTIsMTkgTDEyLDE0IEwxOCwxNCBMMTgsNyBMMTUsNyBMMTUsNiBaIi8+CiAgICA8cGF0aCBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0xLDEgTDguMjUsMSBDOC42NjQyMTM1NiwxIDksMS4zMzU3ODY0NCA5LDEuNzUgTDksMS43NSBDOSwyLjE2NDIxMzU2IDguNjY0MjEzNTYsMi41IDguMjUsMi41IEwyLjUsMi41IEwyLjUsOC4yNSBDMi41LDguNjY0MjEzNTYgMi4xNjQyMTM1Niw5IDEuNzUsOSBMMS43NSw5IEMxLjMzNTc4NjQ0LDkgMSw4LjY2NDIxMzU2IDEsOC4yNSBMMSwxIFoiLz4KICA8L2c+Cjwvc3ZnPgo="), default;
}