:root[data-brand="graide"] {
  --base-letter-spacing: 0px;
  --base-line-height: 1.2;
  --body-font-family: "WorkSansRegular", sans-serif;
  --body-font-size: 16px;
  --body-font-weight: 500;
  --button-border-radius: 8px;
  --button-font-family: "WorkSansRegular", sans-serif;
  --button-font-size: 14px;
  --button-font-weight: 500;
  --button-line-height: 1.2;
  --h1-font-family: "FoundersGroteskMedium", sans-serif;
  --h1-font-size: 48px;
  --h1-font-weight: 500;
  --h1-line-height: 2;
  --h2-font-family: "FoundersGroteskMedium", sans-serif;
  --h2-font-size: 26px;
  --h2-font-weight: 500;
  --h2-line-height: 1.5;
  --h3-font-family: "FoundersGroteskMedium", sans-serif;
  --h3-font-size: 16px;
  --h3-font-weight: 700;
  --h3-line-height: 1.5;
  --heading-font-family: "FoundersGroteskMedium", sans-serif;
  --heading-font-weight: bold;

  --border-radius-main: 8px
}

:root[data-brand="graide"][data-theme="light"] {
  --brand-primary: #2d2d2d;
  --brand-secondary: #ffa877;

  --primary-main: #2d2d2d;
  --primary-light: #4a4a4a;
  --primary-dark: #1a1a1a;

  --secondary-main: #ffa877;
  --secondary-light: #ffb993;
  --secondary-dark: #cc865e;

  --module-100: #ffa877;
  --module-200: #affaa4;
  --module-300: #a3ebfb;
  --module-400: #fcb8b8;
  --module-500: #5fe4a4;
  --module-600: #34c9a9;
  --module-700: #fc9d77;
  --module-800: #e28181;
  --module-900: #4ab0d0;
  --module-1000: #6cd4ff;

  --confirm-main: #347f49;
  --confirm-light: #4faf4f;
  --confirm-dark: #255e2b;

  --success-main: #347f49;
  --success-light: #4faf4f;
  --success-dark: #255e2b;

  --note-main: #f0f000;
  --note-light: #ffff80;
  --note-dark: #b0b000;

  --warning-main: #ff801f;
  --warning-light: #ffa84d;
  --warning-dark: #cc6517;

  --danger-main: #8e1b2d;
  --danger-light: #a03c4f;
  --danger-dark: #660f21;

  --info-main: #5f73b9;
  --info-light: #7f92d1;
  --info-dark: #3e5289;

  --border-main: #dddddd;
  --border-light: #efefef;
  --border-alternate: #acb7bf;
  --border-dark: #222222;

  --background-main: #f3f5f9;
  --background-light: #fbfbfb;
  --background-dark: #c0cbd3;

  --highlight-main: #2d2d2d;
  --highlight-light: #333333;
  --highlight-dark: #111111;

  --text-main: #222222;
  --text-light: #f5f5f7;
  --text-dark: #383838;

  --placeholder-main: #959595;
  --placeholder-light: #aaaaaa;
  --placeholder-dark: #666666;

  --disabled-main: #959595;
  --disabled-light: #dddddd;
  --disabled-dark: #666666;

  --flats-black: #222222;
  --flats-white: #f5f5f7;
  --flats-light-grey: #dbdbdb;
  --flats-dark-grey: #595959;
  --flats-red: #ff7171;
  --flats-amber: #ffa03a;
  --flats-yellow: #f0f000;
  --flats-green: #9cd893;

  --feedback-red-fill: #fd5b5b;
  --feedback-amber-fill: #ff9727;
  --feedback-green-fill: #71c265;
  --feedback-red-line: #fd5b5b;
  --feedback-amber-line: #ff9727;
  --feedback-green-line: #71c265;
  --feedback-red-text: #222222;
  --feedback-amber-text: #222222;
  --feedback-green-text: #222222;
  --feedback-answer-area-background: #fbfbfb;
}

:root[data-brand="graide"][data-theme="dark"] {
  --brand-primary: #2d2d2d;
  --brand-secondary: #ffa877;

  --primary-main: #f5f5f7;
  --primary-light: #ffffff;
  --primary-dark: #dbdbdb;

  --secondary-main: #fcb8b8;
  --secondary-light: #ffc2a3;
  --secondary-dark: #cc865e;

  --module-100: #ffa877;
  --module-200: #affaa4;
  --module-300: #a3ebfb;
  --module-400: #fcb8b8;
  --module-500: #5fe4a4;
  --module-600: #34c9a9;
  --module-700: #fc9d77;
  --module-800: #e28181;
  --module-900: #4ab0d0;
  --module-1000: #6cd4ff;

  --confirm-main: #347f49;
  --confirm-light: #4faf4f;
  --confirm-dark: #255e2b;

  --success-main: #347f49;
  --success-light: #4faf4f;
  --success-dark: #255e2b;

  --note-main: #f0f000;
  --note-light: #ffff80;
  --note-dark: #b0b000;

  --warning-main: #ff801f;
  --warning-light: #ffa84d;
  --warning-dark: #cc6517;

  --danger-main: #a03c4f;
  --danger-light: #a03c4f;
  --danger-dark: #660f21;

  --info-main: #5f73b9;
  --info-light: #7f92d1;
  --info-dark: #3e5289;

  --border-main: #444444;
  --border-light: #666666;
  --border-alternate: #c0cbd3;
  --border-dark: #222222;

  --background-main: #222222;
  --background-light: #333333;
  --background-dark: #111111;

  --highlight-main: #f5f5f7;
  --highlight-light: #ffffff;
  --highlight-dark: #999999;

  --text-main: #dddddd;
  --text-light: #333333;
  --text-dark: #f5f5f7;
  
  --placeholder-main: #aaaaaa;
  --placeholder-light: #888888;
  --placeholder-dark: #cccccc;

  --disabled-main: #666666;
  --disabled-light: #888888;
  --disabled-dark: #444444;

  --flats-black: #222222;
  --flats-white: #f5f5f7;
  --flats-light-grey: #dbdbdb;
  --flats-dark-grey: #595959;
  --flats-red: #8e1b2d;
  --flats-amber: #ff801f;
  --flats-yellow: #f0f000;
  --flats-green: #25ad25;

  --feedback-red-fill: #ff7171;
  --feedback-amber-fill: #ffa03a;
  --feedback-green-fill: #9cd893;
  --feedback-red-line: #ff7171;
  --feedback-amber-line: #ffa03a;
  --feedback-green-line: #9cd893;
  --feedback-red-text: #222222;
  --feedback-amber-text: #222222;
  --feedback-green-text: #222222;
  --feedback-answer-area-background: #222222;
}

:root[data-brand="aptem"] {
  --base-letter-spacing: 0.5px;
  --base-line-height: 1.2;
  --body-font-family: "Granary", sans-serif;
  --body-font-size: 16px;
  --body-font-weight: 400;
  --button-border-radius: 20px;
  --button-font-family: "Granary", sans-serif;
  --button-font-size: 14px;
  --button-font-weight: 500;
  --button-line-height: 1.2;
  --h1-font-family: "GranaryBold", sans-serif;
  --h1-font-size: 28px;
  --h1-font-weight: 700;
  --h1-line-height: 2;
  --h2-font-family: "GranaryBold", sans-serif;
  --h2-font-size: 24px;
  --h2-font-weight: 700;
  --h2-line-height: 1.5;
  --h3-font-family: "GranaryBold", sans-serif;
  --h3-font-size: 16px;
  --h3-font-weight: 700;
  --h3-line-height: 1.5;
  --heading-font-family: "Granary", sans-serif;
  --heading-font-weight: bold;

  --border-radius-main: 8px
}

:root[data-brand="aptem"][data-theme="light"] {
  --brand-primary: #0a2063;
  --brand-secondary: #ffa877;

  --primary-main: #1746dc;
  --primary-light: #c5d1f6;
  --primary-dark: #0a2063;

  --secondary-main: #03304d;
  --secondary-light: #9aacb8;
  --secondary-dark: #011623;

  --module-100: #ffa877;
  --module-200: #affaa4;
  --module-300: #a3ebfb;
  --module-400: #fcb8b8;
  --module-500: #5fe4a4;
  --module-600: #34c9a9;
  --module-700: #fc9d77;
  --module-800: #e28181;
  --module-900: #4ab0d0;
  --module-1000: #6cd4ff;

  --confirm-main: #1746dc;
  --confirm-light: #9aacb8;
  --confirm-dark: #0a2063;

  --success-main: #0c7a3a;
  --success-light: #9ecab0;
  --success-dark: #074923;

  --note-main: #f3ca40;
  --note-light: #fdf4d9;
  --note-dark: #61511a;

  --warning-main: #c63500;
  --warning-light: #e99abf;
  --warning-dark: #500126;

  --danger-main: #c9025f;
  --danger-light: #a03c4f;
  --danger-dark: #660f21;

  --info-main: #5f73b9;
  --info-light: #7f92d1;
  --info-dark: #3e5289;

  --border-main: #ced4e2;
  --border-light: #03304d;
  --border-alternate: #c0cbd3;
  --border-dark: #222222;

  --background-main: #f3f5f9;
  --background-light: #fbfbfb;
  --background-dark: #c0cbd3;

  --highlight-main: #0a2063;
  --highlight-light: #333333;
  --highlight-dark: #011623;

  --text-main: #011623;
  --text-light: #f3f5f9;
  --text-dark: #011623;

  --disabled-main: #9aacb8;
  --disabled-light: #f3f5f9;
  --disabled-dark: #666666;

  --placeholder-main: #959595;
  --placeholder-light: #aaaaaa;
  --placeholder-dark: #666666;

  --flats-black: #222222;
  --flats-white: #fbfbfb;
  --flats-light-grey: #dbdbdb;
  --flats-dark-grey: #595959;
  --flats-red: #ffe3f0;
  --flats-amber: #fff0ed;
  --flats-yellow: #f0f000;
  --flats-green: #eaf7ef;

  --feedback-red-fill: #ffe3f0;
  --feedback-amber-fill: #fff0ed;
  --feedback-green-fill: #eaf7ef;
  --feedback-red-line: #c0cbd3;
  --feedback-amber-line: #c0cbd3;
  --feedback-green-line: #c0cbd3;
  --feedback-red-text: #c9025f;
  --feedback-amber-text: #dd764d;
  --feedback-green-text: #074923;
  --feedback-answer-area-background: #f3f5f9;
}

:root[data-brand="aptem"][data-theme="dark"] {
  --brand-primary: #0a2063;
  --brand-secondary: #ffa877;

  --primary-main: #1746dc;
  --primary-light: #c5d1f6;
  --primary-dark: #0a2063;

  --secondary-main: #03304d;
  --secondary-light: #9aacb8;
  --secondary-dark: #011623;

  --module-100: #ffa877;
  --module-200: #affaa4;
  --module-300: #a3ebfb;
  --module-400: #fcb8b8;
  --module-500: #5fe4a4;
  --module-600: #34c9a9;
  --module-700: #fc9d77;
  --module-800: #e28181;
  --module-900: #4ab0d0;
  --module-1000: #6cd4ff;

  --confirm-main: #03304d;
  --confirm-light: #9aacb8;
  --confirm-dark: #011623;

  --success-main: #0c7a3a;
  --success-light: #9ecab0;
  --success-dark: #074923;

  --note-main: #f3ca40;
  --note-light: #fdf4d9;
  --note-dark: #61511a;

  --warning-main: #c63500;
  --warning-light: #e99abf;
  --warning-dark: #500126;

  --danger-main: #c9025f;
  --danger-light: #a03c4f;
  --danger-dark: #660f21;

  --info-main: #5f73b9;
  --info-light: #7f92d1;
  --info-dark: #3e5289;

  --border-main: #ced4e2;
  --border-light: #03304d;
  --border-alternate: #c0cbd3;
  --border-dark: #222222;

  --background-main: #f3f5f9;
  --background-light: #ffffff;
  --background-dark: #c0cbd3;

  --highlight-main: #011623;
  --highlight-light: #333333;
  --highlight-dark: #011623;

  --text-main: #03304d;
  --text-light: #f3f5f9;
  --text-dark: #011623;

  --placeholder-main: #959595;
  --placeholder-light: #aaaaaa;
  --placeholder-dark: #666666;

  --disabled-main: #9aacb8;
  --disabled-light: #f3f5f9;
  --disabled-dark: #666666;

  --flats-black: #222222;
  --flats-white: #fbfbfb;
  --flats-light-grey: #dbdbdb;
  --flats-dark-grey: #595959;
  --flats-red: #ffe3f0;
  --flats-amber: #fff0ed;
  --flats-yellow: #f0f000;
  --flats-green: #eaf7ef;

  --feedback-red-fill: #ffe3f0;
  --feedback-amber-fill: #fff0ed;
  --feedback-green-fill: #eaf7ef;
  --feedback-red-line: #c0cbd3;
  --feedback-amber-line: #c0cbd3;
  --feedback-green-line: #c0cbd3;
  --feedback-red-text: #c9025f;
  --feedback-amber-text: #dd764d;
  --feedback-green-text: #074923;
  --feedback-answer-area-background: #f3f5f9;
}

@font-face {
    font-family: 'WorkSansRegular';
    src: url(/fonts/WorkSans-Regular.7c5aca8a8c320a8df026.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
    letter-spacing: "-0.01em";
    line-height: "1.32";
}

@font-face {
    font-family: 'FoundersGroteskMedium';
    src: url(/fonts/founders-grotesk-medium.8bd791b51fbccdfb55ae.woff2) format('woff2');
    font-weight: medium;
    font-style: normal;
    letter-spacing: "-0.04em";
    line-height: "0.89";
}

@font-face {
    font-family: 'GranaryRegular';
    src: url(/fonts/granary-regular.a1dc1067a21a1a9d9d01.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GranaryBold';
    src: url(/fonts/granary-bold.6449dbfb4fa6a60e0a40.ttf) format('truetype');
    font-weight: 700;
    font-style: normal;
}

.markdown.singleline.header h1,
.markdown.singleline.header h2,
.markdown.singleline.header h3,
.markdown.singleline.header h4,
.markdown.singleline.header h5,
.markdown.singleline.header h6,
.markdown.singleline div {
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.markdown img {
  width: 98%;
  border-radius: 6px;
  border-style: solid;
  border-width: 2px;
  border-color: grey;
  pointer-events: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

mjx-container[jax="SVG"][display="true"] {
  text-align: left !important;
  padding-left: 3em;
}

.markdown.header h1,
.markdown.header h2,
.markdown.header h3,
.markdown.header h4,
.markdown.header h5,
.markdown.header h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

figure {
  margin: 0;
}

/* TODO: Renderer output has been restructured. This may not do what it was originally intender for */
#setText > :last-child {
  overflow-y: hidden;
}

div#setText error {
  color: red;
  display: inline !important;
}

#preview {
  overflow: hidden !important;
  padding: 0 !important;
}

.math-inline {
  vertical-align: middle;
}

div#preview-content pre,
div#setText pre {
  border: 1px solid #ccc;
  padding: 0.5em;
  overflow: visible;
  font-size: 100%;
  line-height: 1.25;
  border-radius: 0px;
  page-break-inside: avoid;
}

@media print {
  div#preview {
    font-size: unset !important;
  }
}

.markdown.singleline.header h1,
.markdown.singleline.header h2,
.markdown.singleline.header h3,
.markdown.singleline.header h4,
.markdown.singleline.header h5,
.markdown.singleline.header h6,
.markdown.singleline div {
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.markdown img {
    width: 98%;
    border-radius: 6px;
    border-style: solid;
    border-width: 2px;
    border-color: grey;
    pointer-events: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

mjx-container[jax="SVG"][display="true"] {
    text-align: left !important;
    padding-left: 3em;
}

.markdown.header h1,
.markdown.header h2,
.markdown.header h3,
.markdown.header h4,
.markdown.header h5,
.markdown.header h6 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

figure {
    margin: 0;
}

#setText>:last-child {
    overflow-y: hidden;
}

#preview {
    overflow: hidden !important;
    padding: 0 !important;
}

.math-inline {
    vertical-align: middle;
}

mark {
    background-color: #ffff00 !important;
}

.markdown #setText pre {
    margin-left: 1px;
    margin-right: 1px;
}

.markdown #setText > * {
    margin-bottom: 0;
}
.markdown #setText > * + * {
    margin-top: 1em;
}


.tiptap-editor-content * {
  line-height: 1.75 !important;
}

.tiptap-root {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--tiptap-background-color, #ffffff);
  border-radius: 8px;
  border: 1px solid var(--tiptap-border-color);
}

/* Container styles */
.tiptap-editor-container {
  color: var(--tiptap-text-color);
  box-shadow: 0 2px 8px var(--tiptap-box-shadow);
  background-color: var(--tiptap-background-color, #ffffff);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  max-height: 500px;
}

/* Editor content area */
.tiptap-editor-content {
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
  flex: 1 1 auto;
  padding: 0.8rem;
  padding-top: 1.2rem;
}

.tiptap-root > div:nth-child(2) {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  /* For firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--tiptap-border-color, #e0e0e0) transparent;
}

/* Optional: Subtle custom scrollbar styles */
.tiptap-root > div:nth-child(2)::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}
.tiptap-root > div:nth-child(2)::-webkit-scrollbar-thumb {
  background: var(--tiptap-border-color, #e0e0e0);
  border-radius: 4px;
}
.tiptap-root > div:nth-child(2)::-webkit-scrollbar-thumb:hover {
  background: var(--tiptap-toolbar-bg-color, #ccc);
}

/* Editor toolbar */
.tiptap-toolbar {
  padding: 0.8rem;
}

.tiptap-toolbar button {
  color: var(--tiptap-text-color);
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: normal;
}

.tiptap-toolbar button:active,
.tiptap-toolbar button[data-active] {
  background-color: var(--tiptap-toolbar-active-bg-color) !important;
  color: var(--tiptap-toolbar-active-text-color) !important;
  font-weight: bolder;
  border-bottom: 2px solid;
  border-bottom-color: var(--tiptap-toolbar-active-text-color) !important;
}

.tiptap-toolbar-groups > div {
  gap: 2px;
}

/* Editor footer */
.tiptap-footer {
  display: flex;
  flex-direction: row !important;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
  border-top: 1px solid var(--tiptap-border-color);
}

.tiptap-footer p {
  color: var(--tiptap-subtle-text-color);
}

/* List item styling */
.tiptap-editor-content ul,
.tiptap-editor-content ol {
  padding-left: 2em;
  margin-left: 0;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.tiptap-editor-content li {
  margin-bottom: 0.25em;
  padding-left: 0.25em;
}

/* Placeholder styling */
.tiptap-editor-content.is-empty::before {
  content: attr(data-placeholder);
  color: var(--tiptap-subtle-text-color);
  pointer-events: none;
  position: absolute;
}

/* Blocks */
.tiptap-editor-content hr {
  border: none;
  border-top: 1px solid var(--tiptap-divider-bg);
  margin: 1rem 0;
}

.tiptap-editor-content blockquote {
  border-left: 4px solid var(--tiptap-border-color);
  padding: 0.5rem 1rem;
  margin: 0;
  color: var(--tiptap-subtle-text-color);
}

.tiptap-editor-content pre {
  background-color: var(--tiptap-pre-bg-color);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 0.125rem;
}

.tiptap-editor-content code {
  background-color: var(--tiptap-code-bg-color);
  color: var(--tiptap-code-text-color);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

.tiptap-editor-content caption {
  caption-side: bottom;
  padding: 10px;
  font-weight: bold;
}

.tiptap-editor-content tfoot th {
  text-align: right;
}

.tiptap-editor-content tfoot td {
  font-weight: bold;
}

.tiptap-editor-content a {
  color: var(--tiptap-link-text-color) !important;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  position: relative;
  background-color: var(--tiptap-link-bg-color);
}

.tiptap-editor-content a:hover {
  color: var(--tiptap-link-hover-color);
  text-decoration: none;
  cursor: pointer;
  font-weight: 300;
}

.tiptap-editor-content .tiptap-hint-section {
  padding: 0.5rem;
  border: 1px solid var(--tiptap-border-color);
  border-radius: 1rem;
}

.tiptap-editor-content .tiptap-hint-section[open] summary {
  border-bottom: 1px solid var(--tiptap-border-color);
  margin-bottom: 0.5rem;
}

math-field {
  --math-field-button-width: 34px;
  max-width: 100%;
}

math-field::part(virtual-keyboard-toggle),
math-field::part(menu-toggle) {
  display: flex;
  opacity: 0;
  pointer-events: none;
  width: 0;
  transition:
    opacity 0.2s ease,
    width 0.2s ease;
}

math-field:focus-within::part(virtual-keyboard-toggle),
math-field:focus-within::part(menu-toggle) {
  opacity: 1;
  width: var(--math-field-button-width);
  pointer-events: auto;
}

math-field::part(content) {
  overflow-x: auto;
  min-width: 100%;
  transition: min-width 0.2s ease;
}

math-field:focus-within::part(content) {
  min-width: calc(100% - (var(--math-field-button-width) * 4));
}

math-field.tiptap-mathfield-selected::part(container) {
  background: Highlight;
}

.ProseMirror-gapcursor:after {
  width: 1px !important;
  height: 1rem !important;
  background-color: var(--tiptap-text-color, #000);
}

.details {
  display: flex;
  gap: 0.25rem;
  margin: 1.5rem 0;
  border: 1px solid var(--tiptap-border-color);
  border-radius: 0.5rem;
  padding: 0.5rem;

  summary {
    font-weight: 700;
  }

  > button {
    align-items: center;
    background: transparent;
    border-radius: 4px;
    display: flex;
    font-size: 0.625rem;
    height: 1.25rem;
    justify-content: center;
    line-height: 1;
    margin-top: 0.1rem;
    padding: 0;
    width: 1.25rem;

    &:hover {
      background-color: var(--tiptap-border-color);
    }

    &::before {
      content: "\25B6";
    }
  }

  &.is-open > button::before {
    transform: rotate(90deg);
  }

  > div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;

    > [data-type="detailsContent"] > :last-child {
      margin-bottom: 0.5rem;
    }
  }

  .details {
    margin: 0.5rem 0;
  }
}

/* Table styles */
.tiptap-editor-content table {
  border-collapse: collapse;
  margin: 0;
  overflow: hidden;
  table-layout: fixed;
  width: 100%;
}

.tiptap-editor-content table td,
.tiptap-editor-content table th {
  border: 1px solid var(--tiptap-table-border-color);
  box-sizing: border-box;
  min-width: 1em;
  padding: 6px 8px;
  position: relative;
  vertical-align: top;
}

.tiptap-editor-content table td > *,
.tiptap-editor-content table th > * {
  margin-bottom: 0;
}

.tiptap-editor-content table th {
  background-color: var(--tiptap-table-header-bg-color);
  font-weight: bold;
  text-align: left;
}

.tiptap-editor-content table .selectedCell:after {
  background: var(--tiptap-table-selected-bg-color);
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.tiptap-editor-content table .column-resize-handle {
  background-color: var(--tiptap-link-hover-color);
  bottom: -2px;
  pointer-events: none;
  position: absolute;
  right: -1px;
  top: 0;
  width: 4px;
}

/* Table wrapper */
.tiptap-editor-content table {
  margin: 1.5rem 0;
  overflow-x: auto;
}

/* Resize cursor */
.resize-cursor {
  cursor: ew-resize;
  cursor: col-resize;
}

/* When fullHeight is requested (learner input) */
.tiptap-editor-container.is-fullheight {
  height: 100%;
  min-height: 0;
  max-height: none;
}

.tiptap-editor-container.is-fullheight > .tiptap-root {
  height: 100%;
  min-height: 0;
}

.tiptap-editor-container.is-fullheight > .tiptap-root > div:nth-child(2) {
  min-height: 0;
}

/* Ensure that the keyboard is in front of chakra modals */
.ML__keyboard {
  z-index: 2000 !important;
}

body {
    --suggestion-zindex: 99999
}

.guppy_active,
.guppy_inactive {
    border: unset;
    padding: 11px 5px 11px;
}

.guppy_inactive {
    box-shadow: unset;
    background-color: unset;
}

.guppy_inactive .main_cursor {
    visibility: hidden;
}

.guppy_active .main_cursor {
    display: unset;
}

.guppy_active .mtight.main_cursor {
    display: inline-block;
    height: 10px;
}

.markdownEditor .ql-container.ql-snow {
    border: 0px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.markdownEditor .ql-toolbar.ql-snow {
    border: 0px;
}

.ql-container .ql-editor p {
    margin-top: 5px;
    margin-bottom: 5px;
}

.ql-formats,
.ql-help {
    display: flex;
    align-items: center;
}

.ql-formats>span,
.ql-help>span {
    display: inline-block;
}

.ql-formats svg,
.ql-help svg {
    color: inherit;
}

/* disabled button is the active one */
.ql-preview:enabled,
.ql-write:enabled {
    border-color: #c9c9c9;
    /* color: #c9c9c9 ; */
    opacity: 100%;
    border-bottom-width: 1px;
}

.ql-write:enabled {
    border-top-left-radius: 23px;
}

.markdownEditor.focus .ql-preview:enabled,
.markdownEditor.focus .ql-write:enabled,
.markdownEditor.focus .ql-toolbar.ql-snow {
    border-bottom-color: #000;
}

.ql-preview:disabled,
.ql-write:disabled {
    border-color: #c9c9c9;
    font-weight: 500;
    opacity: 100%;
    border-bottom-width: 0;
    margin: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
}

.markdownEditor.focus .ql-preview:disabled,
.markdownEditor.focus .ql-write:disabled,
.markdownEditor.focus .ql-tabLine {
    border-color: #000;
}

/*
 *  require both the disabled & enabled versions here because otherwise the enabled/disabled
 *  versions on this page are more specific and hence overwrite this styling - I think?
*/
.markdownEditor.error .ql-preview:disabled,
.markdownEditor.error .ql-preview:enabled,
.markdownEditor.error .ql-write:disabled,
.markdownEditor.error .ql-write:enabled,
.markdownEditor.error .ql-toolbar.ql-snow {
    border-color: #8e1b2d;
}

.ql-toolbar.ql-snow {
    padding: 0;
}

.ql-toolbar.ql-snow button {
    float: none;
}

.markdownEditor .ql-toolbar button:disabled {
    pointer-events: none;
    opacity: 50%;
}

.markdownEditor .ql-img2tex>div:hover {
    border-color: #06c !important;
}

.markdownEditor textarea {
    outline: none;
}

.markdownEditor .ql-img2tex {
    width: 60px !important;
}

.markdownEditor .ql-tooltip {
    z-index: 9999;
}

.markdownEditor>textarea {
    font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
}

.ql-editor img {
    display: block;
    max-width: 90%;
    border-radius: 15px;
    border-style: solid;
    border-width: 2px;
    border-color: grey;
}

img.loading {
    background: transparent url("data:image/svg+xml;utf8,<svg width=%2738%27 height=%2738%27 viewBox=%270 0 38 38%27 xmlns=%27http://www.w3.org/2000/svg%27 stroke=%27%23000%27> <g fill=%27none%27 fill-rule=%27evenodd%27> <g transform=%27translate%281 1%29%27 stroke-width=%272%27> <circle stroke-opacity=%27.5%27 cx=%2718%27 cy=%2718%27 r=%2718%27/> <path d=%27M36 18c0-9.94-8.06-18-18-18%27> <animateTransform attributeName=%27transform%27 type=%27rotate%27 from=%270 18 18%27 to=%27360 18 18%27 dur=%271s%27 repeatCount=%27indefinite%27/> </path> </g> </g> </svg>") no-repeat scroll center center;
    min-width: 100px;
    min-height: 100px;
}

.markdownEditor .stylus-cursor {
    min-width: 25px;
    box-shadow: 0 0 0 1000px #88888888;
    border-radius: 25px;
    padding-left: 25px;
    padding-right: 25px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 2px solid #55ba74;
    z-index: 99999;
    position: relative;
    min-height: 69px;
}

.quill,
.ql-container {
    flex-grow: 1;
    cursor: text;
}

/* Fix code block colors. Appears to be a mistake in the quill css */
.markdownEditor .ql-snow .ql-editor .ql-code-block-container {
    background-color: darkgrey;
    color: #23241f;
}

.markdownEditor .ql-snow .ql-editor .ql-code-block-container .ql-ui {
    background-color: slategrey;
    color: #23241f;
}


.ql-container {
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    height: 100%;
    margin: 0;
    position: relative
}

.ql-container.ql-disabled .ql-tooltip {
    visibility: hidden
}

.ql-container:not(.ql-disabled) li[data-list=checked]>.ql-ui,
.ql-container:not(.ql-disabled) li[data-list=unchecked]>.ql-ui {
    cursor: pointer
}

.ql-clipboard {
    left: -100000px;
    height: 1px;
    overflow-y: hidden;
    position: absolute;
    top: 50%
}

.ql-clipboard p {
    margin: 0;
    padding: 0
}

.ql-editor {
    box-sizing: border-box;
    counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
    line-height: 1.42;
    height: 100%;
    outline: none;
    overflow-y: auto;
    padding: 12px 15px;
    tab-size: 4;
    -moz-tab-size: 4;
    text-align: left;
    white-space: pre-wrap;
    word-wrap: break-word
}

.ql-editor>* {
    cursor: text
}

.ql-editor p,
.ql-editor ol,
.ql-editor pre,
.ql-editor blockquote,
.ql-editor h1,
.ql-editor h2,
.ql-editor h3,
.ql-editor h4,
.ql-editor h5,
.ql-editor h6 {
    margin: 0;
    padding: 0
}

@supports (counter-set:none) {

    .ql-editor p,
    .ql-editor h1,
    .ql-editor h2,
    .ql-editor h3,
    .ql-editor h4,
    .ql-editor h5,
    .ql-editor h6 {
        counter-set: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {

    .ql-editor p,
    .ql-editor h1,
    .ql-editor h2,
    .ql-editor h3,
    .ql-editor h4,
    .ql-editor h5,
    .ql-editor h6 {
        counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9
    }
}

.ql-editor table {
    border-collapse: collapse
}

.ql-editor td {
    border: 1px solid #000;
    padding: 2px 5px
}

.ql-editor ol {
    padding-left: 1.5em
}

.ql-editor li {
    list-style-type: none;
    padding-left: 1.5em;
    position: relative
}

.ql-editor li>.ql-ui:before {
    display: inline-block;
    margin-left: -1.5em;
    margin-right: .3em;
    text-align: right;
    white-space: nowrap;
    width: 1.2em
}

.ql-editor li[data-list=checked]>.ql-ui,
.ql-editor li[data-list=unchecked]>.ql-ui {
    color: #777
}

.ql-editor li[data-list=bullet]>.ql-ui:before {
    content: '\2022'
}

.ql-editor li[data-list=checked]>.ql-ui:before {
    content: '\2611'
}

.ql-editor li[data-list=unchecked]>.ql-ui:before {
    content: '\2610'
}

@supports (counter-set:none) {
    .ql-editor li[data-list] {
        counter-set: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {
    .ql-editor li[data-list] {
        counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9
    }
}

.ql-editor li[data-list=ordered] {
    counter-increment: list-0
}

.ql-editor li[data-list=ordered]>.ql-ui:before {
    content: counter(list-0, decimal) '. '
}

.ql-editor li[data-list=ordered].ql-indent-1 {
    counter-increment: list-1
}

.ql-editor li[data-list=ordered].ql-indent-1>.ql-ui:before {
    content: counter(list-1, lower-alpha) '. '
}

@supports (counter-set:none) {
    .ql-editor li[data-list].ql-indent-1 {
        counter-set: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {
    .ql-editor li[data-list].ql-indent-1 {
        counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9
    }
}

.ql-editor li[data-list=ordered].ql-indent-2 {
    counter-increment: list-2
}

.ql-editor li[data-list=ordered].ql-indent-2>.ql-ui:before {
    content: counter(list-2, lower-roman) '. '
}

@supports (counter-set:none) {
    .ql-editor li[data-list].ql-indent-2 {
        counter-set: list-3 list-4 list-5 list-6 list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {
    .ql-editor li[data-list].ql-indent-2 {
        counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9
    }
}

.ql-editor li[data-list=ordered].ql-indent-3 {
    counter-increment: list-3
}

.ql-editor li[data-list=ordered].ql-indent-3>.ql-ui:before {
    content: counter(list-3, decimal) '. '
}

@supports (counter-set:none) {
    .ql-editor li[data-list].ql-indent-3 {
        counter-set: list-4 list-5 list-6 list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {
    .ql-editor li[data-list].ql-indent-3 {
        counter-reset: list-4 list-5 list-6 list-7 list-8 list-9
    }
}

.ql-editor li[data-list=ordered].ql-indent-4 {
    counter-increment: list-4
}

.ql-editor li[data-list=ordered].ql-indent-4>.ql-ui:before {
    content: counter(list-4, lower-alpha) '. '
}

@supports (counter-set:none) {
    .ql-editor li[data-list].ql-indent-4 {
        counter-set: list-5 list-6 list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {
    .ql-editor li[data-list].ql-indent-4 {
        counter-reset: list-5 list-6 list-7 list-8 list-9
    }
}

.ql-editor li[data-list=ordered].ql-indent-5 {
    counter-increment: list-5
}

.ql-editor li[data-list=ordered].ql-indent-5>.ql-ui:before {
    content: counter(list-5, lower-roman) '. '
}

@supports (counter-set:none) {
    .ql-editor li[data-list].ql-indent-5 {
        counter-set: list-6 list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {
    .ql-editor li[data-list].ql-indent-5 {
        counter-reset: list-6 list-7 list-8 list-9
    }
}

.ql-editor li[data-list=ordered].ql-indent-6 {
    counter-increment: list-6
}

.ql-editor li[data-list=ordered].ql-indent-6>.ql-ui:before {
    content: counter(list-6, decimal) '. '
}

@supports (counter-set:none) {
    .ql-editor li[data-list].ql-indent-6 {
        counter-set: list-7 list-8 list-9
    }
}

@supports not (counter-set:none) {
    .ql-editor li[data-list].ql-indent-6 {
        counter-reset: list-7 list-8 list-9
    }
}

.ql-editor li[data-list=ordered].ql-indent-7 {
    counter-increment: list-7
}

.ql-editor li[data-list=ordered].ql-indent-7>.ql-ui:before {
    content: counter(list-7, lower-alpha) '. '
}

@supports (counter-set:none) {
    .ql-editor li[data-list].ql-indent-7 {
        counter-set: list-8 list-9
    }
}

@supports not (counter-set:none) {
    .ql-editor li[data-list].ql-indent-7 {
        counter-reset: list-8 list-9
    }
}

.ql-editor li[data-list=ordered].ql-indent-8 {
    counter-increment: list-8
}

.ql-editor li[data-list=ordered].ql-indent-8>.ql-ui:before {
    content: counter(list-8, lower-roman) '. '
}

@supports (counter-set:none) {
    .ql-editor li[data-list].ql-indent-8 {
        counter-set: list-9
    }
}

@supports not (counter-set:none) {
    .ql-editor li[data-list].ql-indent-8 {
        counter-reset: list-9
    }
}

.ql-editor li[data-list=ordered].ql-indent-9 {
    counter-increment: list-9
}

.ql-editor li[data-list=ordered].ql-indent-9>.ql-ui:before {
    content: counter(list-9, decimal) '. '
}

.ql-editor .ql-indent-1:not(.ql-direction-rtl) {
    padding-left: 3em
}

.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {
    padding-left: 4.5em
}

.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {
    padding-right: 3em
}

.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {
    padding-right: 4.5em
}

.ql-editor .ql-indent-2:not(.ql-direction-rtl) {
    padding-left: 6em
}

.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {
    padding-left: 7.5em
}

.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {
    padding-right: 6em
}

.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {
    padding-right: 7.5em
}

.ql-editor .ql-indent-3:not(.ql-direction-rtl) {
    padding-left: 9em
}

.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {
    padding-left: 10.5em
}

.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {
    padding-right: 9em
}

.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {
    padding-right: 10.5em
}

.ql-editor .ql-indent-4:not(.ql-direction-rtl) {
    padding-left: 12em
}

.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {
    padding-left: 13.5em
}

.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {
    padding-right: 12em
}

.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {
    padding-right: 13.5em
}

.ql-editor .ql-indent-5:not(.ql-direction-rtl) {
    padding-left: 15em
}

.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {
    padding-left: 16.5em
}

.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {
    padding-right: 15em
}

.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {
    padding-right: 16.5em
}

.ql-editor .ql-indent-6:not(.ql-direction-rtl) {
    padding-left: 18em
}

.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {
    padding-left: 19.5em
}

.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {
    padding-right: 18em
}

.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {
    padding-right: 19.5em
}

.ql-editor .ql-indent-7:not(.ql-direction-rtl) {
    padding-left: 21em
}

.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {
    padding-left: 22.5em
}

.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {
    padding-right: 21em
}

.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {
    padding-right: 22.5em
}

.ql-editor .ql-indent-8:not(.ql-direction-rtl) {
    padding-left: 24em
}

.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {
    padding-left: 25.5em
}

.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {
    padding-right: 24em
}

.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {
    padding-right: 25.5em
}

.ql-editor .ql-indent-9:not(.ql-direction-rtl) {
    padding-left: 27em
}

.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {
    padding-left: 28.5em
}

.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {
    padding-right: 27em
}

.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {
    padding-right: 28.5em
}

.ql-editor li.ql-direction-rtl {
    padding-right: 1.5em
}

.ql-editor li.ql-direction-rtl>.ql-ui:before {
    margin-left: .3em;
    margin-right: -1.5em;
    text-align: left
}

.ql-editor table {
    table-layout: fixed;
    width: 100%
}

.ql-editor table td {
    outline: none
}

.ql-editor .ql-code-block-container {
    font-family: monospace
}

.ql-editor .ql-video {
    display: block;
    max-width: 100%
}

.ql-editor .ql-video.ql-align-center {
    margin: 0 auto
}

.ql-editor .ql-video.ql-align-right {
    margin: 0 0 0 auto
}

.ql-editor .ql-bg-black {
    background-color: #000
}

.ql-editor .ql-bg-red {
    background-color: #e60000
}

.ql-editor .ql-bg-orange {
    background-color: #f90
}

.ql-editor .ql-bg-yellow {
    background-color: #ff0
}

.ql-editor .ql-bg-green {
    background-color: #008a00
}

.ql-editor .ql-bg-blue {
    background-color: #06c
}

.ql-editor .ql-bg-purple {
    background-color: #93f
}

.ql-editor .ql-color-white {
    color: #fff
}

.ql-editor .ql-color-red {
    color: #e60000
}

.ql-editor .ql-color-orange {
    color: #f90
}

.ql-editor .ql-color-yellow {
    color: #ff0
}

.ql-editor .ql-color-green {
    color: #008a00
}

.ql-editor .ql-color-blue {
    color: #06c
}

.ql-editor .ql-color-purple {
    color: #93f
}

.ql-editor .ql-font-serif {
    font-family: Georgia, Times New Roman, serif
}

.ql-editor .ql-font-monospace {
    font-family: Monaco, Courier New, monospace
}

.ql-editor .ql-size-small {
    font-size: .75em
}

.ql-editor .ql-size-large {
    font-size: 1.5em
}

.ql-editor .ql-size-huge {
    font-size: 2.5em
}

.ql-editor .ql-direction-rtl {
    direction: rtl;
    text-align: inherit
}

.ql-editor .ql-align-center {
    text-align: center
}

.ql-editor .ql-align-justify {
    text-align: justify
}

.ql-editor .ql-align-right {
    text-align: right
}

.ql-editor .ql-ui {
    position: absolute
}

.ql-editor.ql-blank::before {
    content: attr(data-placeholder);
    font-style: italic;
    left: 15px;
    pointer-events: none;
    position: absolute;
    right: 15px
}

.ql-snow.ql-toolbar:after,
.ql-snow .ql-toolbar:after {
    clear: both;
    content: '';
    display: table
}

.ql-snow.ql-toolbar button,
.ql-snow .ql-toolbar button {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    float: left;
    height: 24px;
    padding: 3px 5px;
    width: 28px
}

.ql-snow.ql-toolbar button svg,
.ql-snow .ql-toolbar button svg {
    float: left;
    height: 100%
}

.ql-snow.ql-toolbar button:active:hover,
.ql-snow .ql-toolbar button:active:hover {
    outline: none
}

.ql-snow.ql-toolbar input.ql-image[type=file],
.ql-snow .ql-toolbar input.ql-image[type=file] {
    display: none
}

.ql-snow.ql-toolbar button:hover,
.ql-snow .ql-toolbar button:hover,
.ql-snow.ql-toolbar button:focus,
.ql-snow .ql-toolbar button:focus,
.ql-snow.ql-toolbar button.ql-active,
.ql-snow .ql-toolbar button.ql-active,
.ql-snow.ql-toolbar .ql-picker-label:hover,
.ql-snow .ql-toolbar .ql-picker-label:hover,
.ql-snow.ql-toolbar .ql-picker-label.ql-active,
.ql-snow .ql-toolbar .ql-picker-label.ql-active,
.ql-snow.ql-toolbar .ql-picker-item:hover,
.ql-snow .ql-toolbar .ql-picker-item:hover,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected {
    color: #06c !important;
}

.ql-snow.ql-toolbar button:hover .ql-fill,
.ql-snow .ql-toolbar button:hover .ql-fill,
.ql-snow.ql-toolbar button:focus .ql-fill,
.ql-snow .ql-toolbar button:focus .ql-fill,
.ql-snow.ql-toolbar button.ql-active .ql-fill,
.ql-snow .ql-toolbar button.ql-active .ql-fill,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,
.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,
.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,
.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,
.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,
.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,
.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,
.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,
.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,
.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,
.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,
.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,
.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,
.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,
.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill {
    fill: #06c
}

.ql-snow.ql-toolbar button:hover .ql-stroke,
.ql-snow .ql-toolbar button:hover .ql-stroke,
.ql-snow.ql-toolbar button:focus .ql-stroke,
.ql-snow .ql-toolbar button:focus .ql-stroke,
.ql-snow.ql-toolbar button.ql-active .ql-stroke,
.ql-snow .ql-toolbar button.ql-active .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,
.ql-snow.ql-toolbar button:hover .ql-stroke-miter,
.ql-snow .ql-toolbar button:hover .ql-stroke-miter,
.ql-snow.ql-toolbar button:focus .ql-stroke-miter,
.ql-snow .ql-toolbar button:focus .ql-stroke-miter,
.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,
.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,
.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,
.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,
.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,
.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter {
    stroke: #06c
}

@media (pointer:coarse) {

    .ql-snow.ql-toolbar button:hover:not(.ql-active),
    .ql-snow .ql-toolbar button:hover:not(.ql-active) {
        color: #444
    }

    .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,
    .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,
    .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,
    .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill {
        fill: #444
    }

    .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,
    .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,
    .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,
    .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter {
        stroke: #444
    }
}

.ql-snow {
    box-sizing: border-box
}

.ql-snow * {
    box-sizing: border-box
}

.ql-snow .ql-hidden {
    display: none
}

.ql-snow .ql-out-bottom,
.ql-snow .ql-out-top {
    visibility: hidden
}

.ql-snow .ql-tooltip {
    position: absolute;
    transform: translateY(10px)
}

.ql-snow .ql-tooltip a {
    cursor: pointer;
    text-decoration: none
}

.ql-snow .ql-tooltip.ql-flip {
    transform: translateY(-10px)
}

.ql-snow .ql-formats:after {
    clear: both;
    content: '';
    display: table
}

.ql-snow .ql-stroke {
    fill: none;
    /* stroke: olivedrab; */
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2
}

.ql-snow .ql-stroke-miter {
    fill: none;
    stroke: #444;
    stroke-miterlimit: 10;
    stroke-width: 2
}

.ql-snow .ql-fill,
.ql-snow .ql-stroke.ql-fill {
    /* fill: rebeccapurple */
}

.ql-snow .ql-empty {
    fill: none
}

.ql-snow .ql-even {
    fill-rule: evenodd
}

.ql-snow .ql-thin,
.ql-snow .ql-stroke.ql-thin {
    stroke-width: 1
}

.ql-snow .ql-transparent {
    opacity: .4
}

.ql-snow .ql-direction svg:last-child {
    display: none
}

.ql-snow .ql-direction.ql-active svg:last-child {
    display: inline
}

.ql-snow .ql-direction.ql-active svg:first-child {
    display: none
}

.ql-snow .ql-editor h1 {
    font-size: 2em
}

.ql-snow .ql-editor h2 {
    font-size: 1.5em
}

.ql-snow .ql-editor h3 {
    font-size: 1.17em
}

.ql-snow .ql-editor h4 {
    font-size: 1em
}

.ql-snow .ql-editor h5 {
    font-size: .83em
}

.ql-snow .ql-editor h6 {
    font-size: .67em
}

.ql-snow .ql-editor a {
    text-decoration: underline
}

.ql-snow .ql-editor blockquote {
    border-left: 4px solid #ccc;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 16px
}

.ql-snow .ql-editor code,
.ql-snow .ql-editor .ql-code-block-container {
    border-radius: 3px
}

.ql-snow .ql-editor .ql-code-block-container {
    margin-bottom: 5px;
    margin-top: 5px;
    padding: 5px 10px
}

.ql-snow .ql-editor code {
    font-size: 85%;
    padding: 2px 4px
}

.ql-snow .ql-editor .ql-code-block-container {
    overflow: visible
}

.ql-snow .ql-editor img {
    max-width: 100%
}

.ql-snow .ql-picker {
    color: #444;
    display: inline-block;
    float: left;
    font-weight: 500;
    height: 24px;
    position: relative;
    vertical-align: middle
}

.ql-snow .ql-picker-label {
    cursor: pointer;
    display: inline-block;
    height: 100%;
    padding-left: 8px;
    padding-right: 2px;
    position: relative;
    width: 100%
}

.ql-snow .ql-picker-label::before {
    display: inline-block;
    line-height: 22px
}

.ql-snow .ql-picker-options {
    background-color: #fff;
    display: none;
    min-width: 100%;
    padding: 4px 8px;
    position: absolute;
    white-space: nowrap
}

.ql-snow .ql-picker-options .ql-picker-item {
    cursor: pointer;
    display: block;
    padding-bottom: 5px;
    padding-top: 5px
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label {
    color: #ccc;
    z-index: 2
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {
    fill: #ccc
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {
    stroke: #55ba74
}

.ql-snow .ql-picker.ql-expanded .ql-picker-options {
    display: block;
    margin-top: -1px;
    top: 100%;
    z-index: 1
}

.ql-snow .ql-color-picker,
.ql-snow .ql-icon-picker {
    width: 28px
}

.ql-snow .ql-color-picker .ql-picker-label,
.ql-snow .ql-icon-picker .ql-picker-label {
    padding: 2px 4px
}

.ql-snow .ql-color-picker .ql-picker-label svg,
.ql-snow .ql-icon-picker .ql-picker-label svg {
    right: 4px
}

.ql-snow .ql-icon-picker .ql-picker-options {
    padding: 4px 0
}

.ql-snow .ql-icon-picker .ql-picker-item {
    height: 24px;
    width: 24px;
    padding: 2px 4px
}

.ql-snow .ql-color-picker .ql-picker-options {
    padding: 3px 5px;
    width: 152px
}

.ql-snow .ql-color-picker .ql-picker-item {
    border: 1px solid transparent;
    float: left;
    height: 16px;
    margin: 2px;
    padding: 0;
    width: 16px
}

.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {
    position: absolute;
    margin-top: -9px;
    right: 0;
    top: 50%;
    width: 18px
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,
.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,
.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,
.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before {
    content: attr(data-label)
}

.ql-snow .ql-picker.ql-header {
    width: 98px
}

.ql-snow .ql-picker.ql-header .ql-picker-label::before,
.ql-snow .ql-picker.ql-header .ql-picker-item::before {
    content: 'Normal'
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
    content: 'Heading 1'
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
    content: 'Heading 2'
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
    content: 'Heading 3'
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
    content: 'Heading 4'
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
    content: 'Heading 5'
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
    content: 'Heading 6'
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
    font-size: 2em
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
    font-size: 1.5em
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
    font-size: 1.17em
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
    font-size: 1em
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
    font-size: .83em
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
    font-size: .67em
}

.ql-snow .ql-picker.ql-font {
    width: 108px
}

.ql-snow .ql-picker.ql-font .ql-picker-label::before,
.ql-snow .ql-picker.ql-font .ql-picker-item::before {
    content: 'Sans Serif'
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {
    content: 'Serif'
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {
    content: 'Monospace'
}

.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {
    font-family: Georgia, Times New Roman, serif
}

.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {
    font-family: Monaco, Courier New, monospace
}

.ql-snow .ql-picker.ql-size {
    width: 98px
}

.ql-snow .ql-picker.ql-size .ql-picker-label::before,
.ql-snow .ql-picker.ql-size .ql-picker-item::before {
    content: 'Normal'
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {
    content: 'Small'
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {
    content: 'Large'
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {
    content: 'Huge'
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {
    font-size: 10px
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {
    font-size: 18px
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {
    font-size: 32px
}

.ql-snow .ql-color-picker.ql-background .ql-picker-item {
    background-color: #fff
}

.ql-snow .ql-color-picker.ql-color .ql-picker-item {
    background-color: #000
}

.ql-code-block-container {
    position: relative
}

.ql-code-block-container .ql-ui {
    right: 5px;
    top: 5px
}

.ql-toolbar.ql-snow {
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

.ql-toolbar.ql-snow .ql-formats {
    margin-right: 15px
}

.ql-toolbar.ql-snow .ql-picker-label {
    border: 1px solid transparent
}

.ql-toolbar.ql-snow .ql-picker-options {
    border: 1px solid transparent;
    box-shadow: rgba(0, 0, 0, 0.2) 0 2px 8px
}

.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label {
    border-color: #ccc
}

.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options {
    border-color: #ccc
}

.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,
.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover {
    border-color: #000
}

.ql-toolbar.ql-snow+.ql-container.ql-snow {
    border-top: 0
}

.ql-snow .ql-tooltip {
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 5px #ddd;
    color: #444;
    padding: 5px 12px;
    white-space: nowrap
}

.ql-snow .ql-tooltip::before {
    content: "Visit URL:";
    line-height: 26px;
    margin-right: 8px
}

.ql-snow .ql-tooltip input[type=text] {
    display: none;
    border: 1px solid #ccc;
    font-size: 13px;
    height: 26px;
    margin: 0;
    padding: 3px 5px;
    width: 170px
}

.ql-snow .ql-tooltip a.ql-preview {
    display: inline-block;
    max-width: 200px;
    overflow-x: hidden;
    text-overflow: ellipsis;
    vertical-align: top
}

.ql-snow .ql-tooltip a.ql-action::after {
    border-right: 1px solid #ccc;
    content: 'Edit';
    margin-left: 16px;
    padding-right: 8px
}

.ql-snow .ql-tooltip a.ql-remove::before {
    content: 'Remove';
    margin-left: 8px
}

.ql-snow .ql-tooltip a {
    line-height: 26px
}

.ql-snow .ql-tooltip.ql-editing a.ql-preview,
.ql-snow .ql-tooltip.ql-editing a.ql-remove {
    display: none
}

.ql-snow .ql-tooltip.ql-editing input[type=text] {
    display: inline-block
}

.ql-snow .ql-tooltip.ql-editing a.ql-action::after {
    border-right: 0;
    content: 'Save';
    padding-right: 0
}

.ql-snow .ql-tooltip[data-mode=link]::before {
    content: "Enter link:"
}

.ql-snow .ql-tooltip[data-mode=formula]::before {
    content: "Enter formula:"
}

.ql-snow .ql-tooltip[data-mode=video]::before {
    content: "Enter video:"
}

.ql-snow a {
    color: #06c
}

.ql-container.ql-snow {
    border: 1px solid #ccc
}

.guppy_active {
    border: 2px solid black;
    padding: 10px;
    box-shadow: 1px 1px 1px 0 lightgray inset;
    cursor: text;
    background-color: #ffffff;
    color:#000;
    position:relative;
}
.katex .cursor {
    border-left: 1px solid black !important;
    width: 0px !important;
    margin-right: 0 !important;
    margin-left: -1px;
    min-height: 1ex;
}

.guppy_inactive {
    border: 2px solid black;
    padding: 10px;
    box-shadow: 1px 1px 1px 0 lightgray inset;
    cursor: text;
    background-color: #fafafa;
    color:#000;
    position:relative;
}

.guppy_text_current {
    border: 1px solid #ccc;
}

.guppy_active .main_cursor {
  animation: blink-animation 1s steps(2, start) infinite;
  -webkit-animation: blink-animation 1s steps(2, start) infinite;
}

.guppy_active .guppy_buttons {
    display: block;
}

.guppy_inactive .guppy_buttons {
    display: none;
}


.guppy_buttons div.settings{
    background:url(/images/667b70a60b5b19111cc6.png) center no-repeat;
}
.guppy_buttons div.keyboard{
    background:url(/images/aaa37b5c25900d705047.png) center no-repeat;
}
.guppy_buttons div.help{
    background:url(/images/7b4ac0ec158cf0d5cebc.png) center no-repeat;
}
.guppy_buttons div.symbols{
    background:url(/images/642cdbbfc295fb042399.png) center no-repeat;
}

.guppy_buttons {
    position:absolute;
    bottom:0;
    right:0;
    padding:0 3px 3px 0;
    width:100%;
    text-align:right;
}

.guppy_buttons div.guppy-button{
    background-size: 12px 12px;
    cursor:pointer;
    height:16px;
    width:16px;
    padding:3px;
    opacity: 0.5;
    display: inline-block;
}

.guppy_buttons img:hover{
    opacity: 1;
}

@keyframes blink-animation {
  to { visibility: hidden; }
}

@-webkit-keyframes blink-animation {
  to { visibility: hidden; }
}


@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/fonts/KaTeX_AMS-Regular.423898d3148227b02797.woff2) format("woff2"),url(/fonts/KaTeX_AMS-Regular.f14c77de7c6cb99cb0f0.woff) format("woff"),url(/fonts/KaTeX_AMS-Regular.bb53a204c22777f72087.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/fonts/KaTeX_Caligraphic-Bold.d55292907b76a9a69e8e.woff2) format("woff2"),url(/fonts/KaTeX_Caligraphic-Bold.0753477c7a2a0dc66645.woff) format("woff"),url(/fonts/KaTeX_Caligraphic-Bold.8f464f11e07e29005dbb.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/fonts/KaTeX_Caligraphic-Regular.729369269e971b38ecc4.woff2) format("woff2"),url(/fonts/KaTeX_Caligraphic-Regular.ad43501a60d1f284e518.woff) format("woff"),url(/fonts/KaTeX_Caligraphic-Regular.751df379127d4f51d745.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/fonts/KaTeX_Fraktur-Bold.b1b5f1f860cc79391686.woff2) format("woff2"),url(/fonts/KaTeX_Fraktur-Bold.318866b9dc5db0c2645a.woff) format("woff"),url(/fonts/KaTeX_Fraktur-Bold.e4926b46997d163caf49.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/fonts/KaTeX_Fraktur-Regular.a098cd8cdd267b5738ff.woff2) format("woff2"),url(/fonts/KaTeX_Fraktur-Regular.a6da94ed5bef27cf6789.woff) format("woff"),url(/fonts/KaTeX_Fraktur-Regular.f635e69b0cb0b3e1938e.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/fonts/KaTeX_Main-Bold.bef148e8cf93bdeba7d6.woff2) format("woff2"),url(/fonts/KaTeX_Main-Bold.a89012a55ae42dd026eb.woff) format("woff"),url(/fonts/KaTeX_Main-Bold.197f53fa30cb72078b39.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/fonts/KaTeX_Main-BoldItalic.0607f405e17843abd306.woff2) format("woff2"),url(/fonts/KaTeX_Main-BoldItalic.01a8b90ff8840a04e2c3.woff) format("woff"),url(/fonts/KaTeX_Main-BoldItalic.8f0f47bad2274d26b925.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/fonts/KaTeX_Main-Italic.11a9408e1cf34a8ce5c3.woff2) format("woff2"),url(/fonts/KaTeX_Main-Italic.6143a449207cc120ad41.woff) format("woff"),url(/fonts/KaTeX_Main-Italic.27499bf9b1ec647d9beb.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/fonts/KaTeX_Main-Regular.3a8a42a96c5bfbbadc94.woff2) format("woff2"),url(/fonts/KaTeX_Main-Regular.9f0ee064b5f8608debfb.woff) format("woff"),url(/fonts/KaTeX_Main-Regular.85654b53be16dd7eecc3.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/fonts/KaTeX_Math-BoldItalic.152370ac448c5e1a39a3.woff2) format("woff2"),url(/fonts/KaTeX_Math-BoldItalic.24306bd9de59c5113121.woff) format("woff"),url(/fonts/KaTeX_Math-BoldItalic.bf55bf71dd83ed159623.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/fonts/KaTeX_Math-Italic.29c29f436ff2381d601f.woff2) format("woff2"),url(/fonts/KaTeX_Math-Italic.4d541f2f557551e8d422.woff) format("woff"),url(/fonts/KaTeX_Math-Italic.eb805934436dbc74392f.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(/fonts/KaTeX_SansSerif-Bold.b5b676ffb735600bdcdb.woff2) format("woff2"),url(/fonts/KaTeX_SansSerif-Bold.a2f6434b08baef6a04c9.woff) format("woff"),url(/fonts/KaTeX_SansSerif-Bold.1ad9896bd5264c71e701.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(/fonts/KaTeX_SansSerif-Italic.f43dbae9463d69fb9a0d.woff2) format("woff2"),url(/fonts/KaTeX_SansSerif-Italic.7f031923ab991af28f74.woff) format("woff"),url(/fonts/KaTeX_SansSerif-Italic.43a95327769188ddfa1e.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(/fonts/KaTeX_SansSerif-Regular.1ca6c54eae5cdeb74ff0.woff2) format("woff2"),url(/fonts/KaTeX_SansSerif-Regular.3d086c1a2aea5b48be13.woff) format("woff"),url(/fonts/KaTeX_SansSerif-Regular.7623c63ef468854b69cd.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/fonts/KaTeX_Script-Regular.fa9ad84e0eb07ce78d16.woff2) format("woff2"),url(/fonts/KaTeX_Script-Regular.058693dbd4f89832bd6f.woff) format("woff"),url(/fonts/KaTeX_Script-Regular.d05f31f78a64a4991459.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/fonts/KaTeX_Size1-Regular.f58d0a282f0b9308f1e5.woff2) format("woff2"),url(/fonts/KaTeX_Size1-Regular.a2cbb8d16c79e76e7952.woff) format("woff"),url(/fonts/KaTeX_Size1-Regular.2cc110369f652e664d30.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/fonts/KaTeX_Size2-Regular.63663844cffb8b070e83.woff2) format("woff2"),url(/fonts/KaTeX_Size2-Regular.65eb357b4b004e93a0b3.woff) format("woff"),url(/fonts/KaTeX_Size2-Regular.f7f46f2f631d4b77efed.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(/fonts/KaTeX_Size3-Regular.091f89fdccb39cf0378d.woff2) format("woff2"),url(/fonts/KaTeX_Size3-Regular.61fd238e05e9ab1677af.woff) format("woff"),url(/fonts/KaTeX_Size3-Regular.5a3d80752be777be2ed9.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/fonts/KaTeX_Size4-Regular.2d00a57d3daea22f6325.woff2) format("woff2"),url(/fonts/KaTeX_Size4-Regular.b927cb58d178147d6ebb.woff) format("woff"),url(/fonts/KaTeX_Size4-Regular.20ebddbb1089c9a5fa59.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/fonts/KaTeX_Typewriter-Regular.0b37bb5eff06596218bd.woff2) format("woff2"),url(/fonts/KaTeX_Typewriter-Regular.78b973ac7acef2185518.woff) format("woff"),url(/fonts/KaTeX_Typewriter-Regular.648ca086824eb49c3c58.ttf) format("truetype")}.katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important}.katex .katex-mathml{border:0;clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathdefault{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer,.katex .sizing{display:inline-block}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{border-right:.05em solid;display:inline-block;margin:0 -.025em;min-width:1px}.katex .mtable .vs-dashed{border-right:.05em dashed}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;fill:currentColor;fill-opacity:1;fill-rule:nonzero;height:inherit;position:absolute;stroke:currentColor;stroke-dasharray:none;stroke-dashoffset:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-width:1;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox{border:.04em solid #000;box-sizing:border-box}.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}

.customDatePicker .react-datepicker-wrapper {
    display: inline-block;
    position: relative;
    width: 100%;
}

.customDatePicker .react-datepicker {
    font-family: Arial, sans-serif;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    min-width: 345px;
}

.customDatePicker .react-datepicker__header {
    color: #fff;
    border-bottom: none;
    padding: 10px;
}

.customDatePicker .react-datepicker__header--time {
    border-bottom: 1px solid #ccc;
}

.customDatePicker .react-datepicker__day-names {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.customDatePicker .react-datepicker__day-name,
.customDatePicker .react-datepicker__day {
    width: 2em;
    line-height: 2em;
    margin: 5px;
    border-radius: 50%;
}

.customDatePicker .react-datepicker__day:hover {
    background-color: #e6f7ff;
}

.customDatePicker .react-datepicker__navigation {
    top: 8px;
}

.customDatePicker .react-datepicker__current-month {
    font-weight: bold;
    margin-bottom: 10px;
}

.customDatePicker .react-datepicker__time-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.customDatePicker .react-datepicker__time-list-item {
    padding: 8px;
    cursor: pointer;
}

.customDatePicker .react-datepicker__time-list-item:hover {
    background-color: #e6f7ff;
}

.customDatePicker .react-datepicker__input-container {
    display: block;
    position: relative;
    width: 100%;
}

.customDatePicker .react-datepicker__input-container input {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.customDatePicker .react-datepicker__input-container input::placeholder {
    color: #999;
}

.customDatePicker .react-datepicker--disabled,
.customDatePicker .react-datepicker__input-container input:disabled {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

.customDatePicker .react-datepicker__input-container input:focus {
    border-color: black;
}



@keyframes GhostWrapperAnimation {
    0% {background-position:5000px 0}
    100% {background-position:0 0}
}



.blockResponseElement .react-transform-wrapper {
    height : auto;
    width : 100%;
}

.blockResponseElement .react-transform-component {
    flex : 1;
    Flex-shrink : 1;
    flex-grow : 1;
}


.answerRenderer .markdown,
.answerRenderer .markdown #preview,
.answerRenderer .markdown .MathJax {
    overflow: visible !important;
}

span.region.text {
    display : inline-block;
}

span.region.text ol {
    padding: unset;
    display: inline;
}

.answerRenderer .maths .MathJax {
    /*
    These margins are deliberately chosen so that if two vertically neighbouring
    elements are surrounded by 3 borders (with at least 1 on each) then the outer
    border on each element will be touching.  Further borders will interleave,
    because overlapping borders becomes really confusing visually.  A large block of
    color is also confusing, but at least with the rounded corners / different colors
    it is possible to identify which line goes with which region
    */
    margin-top : 3px;
    margin-bottom: 3px;
    margin-left: 3px;
    margin-right: 3px;
}

.answerRenderer.enabled .text:hover,
.answerRenderer.enabled .maths .MathJax:hover {
    box-shadow: 0 0 5px 1px;
    border-radius: 5px;
    cursor: pointer;
}

.answerRenderer #setText > div {
    margin-bottom: 0;
}

.answerRenderer #setText br {
    content : " ";
    display: block;
    margin-top: 1rem;
}

/* Force maths elements to be inline as well */
.answerRenderer .region.maths div,
.answerRenderer .region.maths span,
/* Force the children of text elements with only inline children to be inline */
.answerRenderer .region.text:not(:has(:not(
    /* Add elements which don't default to inline but we want to force to be inline  */
    div,
    p,


    /* The following elements were generated by chatGPT as being a complete list of HTML elements which are inline by default.  It's probably overkill, but we definitely want the text formatting elements in here */

    /* Text Formatting Elements */
    b, /* Bold text */
    strong, /* Important/bold text */
    i, /* Italic text */
    em, /* Emphasized/italic text */
    u, /* Underlined text */
    s, /* Strikethrough text */
    small, /* Smaller text */
    mark, /* Highlighted text */
    sub, /* Subscript text */
    sup, /* Superscript text */

    /* Quotation & Citation Elements */
    q, /* Inline quote */
    cite, /* Citation for a source */
    dfn, /* Definition term */

    /* Code & Technical Elements */
    code, /* Inline code */
    kbd, /* Keyboard input */
    samp, /* Sample output */
    var, /* Variable in a program */
    time, /* Date/time */

    /* Content & Structure Elements */
    span, /* Generic inline container */
    br, /* Line break */
    wbr, /* Optional line break */

    /* Interaction Elements */
    a, /* Hyperlink */
    abbr, /* Abbreviation */
    bdi, /* Bi-directional text isolation */
    bdo, /* Bi-directional text override */
    data, /* Machine-readable data */

    /* Ruby Annotation Elements */
    ruby, /* Ruby annotation container */
    rt, /* Ruby text */
    rp, /* Parentheses for ruby annotations */

    /* Form & Input Elements */
    label, /* Label for input */
    input, /* Form input field */
    button, /* Clickable button */
    select, /* Drop-down list */
    textarea, /* Multi-line text input */
    output, /* Output of a calculation */
    progress, /* Progress indicator */
    meter /* Scalar measurement */
))) *,
/* Also apply to the .region.text element itself */
.answerRenderer .region.text:not(:has(:not(
    div, p,
    b, strong, i, em, u, s, small, mark, sub, sup,
    q, cite, dfn,
    code, kbd, samp, var, time,
    span, br, wbr,
    a, abbr, bdi, bdo, data,
    ruby, rt, rp,
    label, input, button, select, textarea, output, progress, meter
))) {
    display: inline !important;
}

@font-face {
    font-family: 'MaterialIcons';
    src: url(/fonts/MaterialIcons.f20305dee9d396fea5c7.ttf) format('truetype');
}

@font-face {
    font-family: 'FontAwesome';
    src: url(/fonts/FontAwesome.1e59d2330b4c6deb84b3.ttf) format('truetype');
}

@font-face {
    font-family: 'FontAwesome5_Regular';
    src: url(/fonts/FontAwesome5_Regular.1017bce89c72f95bcf8e.ttf) format('truetype');
}

@font-face {
    font-family: 'FontAwesome5_Brands';
    src: url(/fonts/FontAwesome5_Brands.9e138496e8f1719c6ebf.ttf) format('truetype');
}

@font-face {
    font-family: 'FontAwesome5_Solid';
    src: url(/fonts/FontAwesome5_Solid.07c3313b24f7b1ca85ee.ttf) format('truetype');
}

p {
    /*  Required to overwrite useragent stylesheet on Chrome for ubuntu.  Not sure why react native doesn't overwrite it? */
    margin-block-end: 0px;
    margin-block-start: 0px;
    margin: 0px
}

input {
    outline: none;
}

mjx-assistive-mml {
    right: 0px;
    bottom: 0px;
}

#approot {
    font-family: WorkSansRegular, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif !important;
}

#preview {
    padding-left: 8px;
    padding-right: 8px;
    will-change: unset !important;
}

/*
 *  Remove the outline from inputs - note that for accessibility reasons, we
 *  _must_ provide some alternative indicator that the component is focused
 */
input[type=text]:focus {
    outline: none;
}

/*
 *  react-native-paper popup to close the Menu.
 *  Will cause scrollbars to appear without this
 */
[aria-label="Close menu"][role="button"] {
    overflow: hidden;
}

/* for animated page transitions */
.switch-wrapper {
    position: relative;
}

.switch-wrapper>div {
    position: absolute;
}

#loading {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 5000;
    background-color: #f4f5f9;
    text-align: left;
    align-items: center;
    justify-content: center;
    margin: 0px;
}

.background {
    margin: 0px;
    text-align: left;
    align-items: center;
    justify-content: center;
    background-color: #f4f5f9;
}

#loading * {
    font-family: FoundersGroteskMedium, 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #2d2d2d;
    display: block;
}

.sentry-error-embed .powered-by {
    display: none;
}

