@charset "UTF-8";
.ProseMirror {
  position: relative;
  word-wrap: break-word;
  white-space: pre-wrap;
  -webkit-font-variant-ligatures: none;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
  outline: none;
  padding: 2px;
}

.ProseMirror pre {
  white-space: pre-wrap;
}

.ProseMirror-hideselection *::selection {
  background: transparent;
}

.ProseMirror-hideselection *::-moz-selection {
  background: transparent;
}

.ProseMirror-hideselection {
  caret-color: transparent;
}

.ProseMirror-focused .ProseMirror-selectednode {
  cursor: move;
}

.autocomplete {
  color: blue;
}

.ProseMirror-hideselection .eqn-editor *::selection {
  background-color: transparent;
}

.ProseMirror-hideselection .eqn-editor *::-moz-selection {
  background-color: transparent;
}

.katex-display {
  margin: 0.5em;
  padding: 5px;
}

.eqn-math {
  overflow: hidden;
}

.eqn.editing .eqn-math {
  display: none;
}

.eqn .eqn-editor {
  display: none;
}

.eqn.editing .eqn-editor {
  width: 100%;
  display: inline-block;
}

.eqn.inline.editing .eqn-editor {
  display: inline;
}

.eqn-editor.ProseMirror {
  cursor: auto;
  font-family: monospace;
  color: purple;
}

.eqn-editor::before,
.eqn-editor::after {
  content: "$$";
  color: #aaa;
  display: block;
}

.eqn-editor.inline::before,
.eqn-editor.inline::after {
  content: "$";
  display: inline;
}

.eqn-editor.inline:empty:before {
  border-right-width: 1px;
  border-right-style: solid;
  animation: blinkCursor 1s;
  animation-iteration-count: infinite;
}

@keyframes blinkCursor {
  0% {
    border-color: purple;
  }
  49% {
    border-color: purple;
  }
  50% {
    border-color: #fff;
  }
  99% {
    border-color: #fff;
  }
}
article {
  position: relative;
}
article a strong,
article a {
  color: #1e88e5;
  text-decoration: none;
  font-weight: 500;
}
article a strong {
  font-weight: 700;
}
article a:hover {
  text-decoration: underline;
}
article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
  font-family: var(--curvenote-font-headers, serif);
  font-weight: normal;
}
article h1 {
  font-size: 1.6em;
}
article h2 {
  font-size: 1.4em;
}
article h3 {
  font-size: 1.2em;
}
article h4 {
  font-size: 1em;
}
article h5 {
  font-size: 0.925em;
}
article h6 {
  font-size: 0.85em;
}
article p code {
  border-radius: 5px;
  border: 1px solid #e4e4e4;
  background-color: #fafafa;
  padding: 0 3px;
}
article pre {
  border: 1px solid #e4e4e4;
  background-color: #fafafa;
  padding: 10px;
}
article dl {
  color: #4d4d4d;
  font-family: var(--curvenote-font, sans-serif);
  line-height: 1.4;
}
article dl dt {
  float: left;
  width: 160px;
  overflow: hidden;
  clear: left;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
article dl dd {
  margin-left: 180px;
}
@media screen and (max-width: 800px) {
  article dl dt {
    float: unset;
    width: unset;
    overflow: unset;
    clear: unset;
    text-align: unset;
    text-overflow: unset;
    white-space: unset;
  }
  article dl dd {
    margin-left: 15px;
  }
}
article p {
  display: block;
  text-align: justify;
  overflow-wrap: break-word;
  font-size: 17px;
  line-height: 1.8;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #4d4d4d;
  font-family: var(--curvenote-font, sans-serif);
  font-weight: 300;
}
@media screen and (max-width: 800px) {
  article p {
    text-align: left;
  }
}
article ol p,
article ul p {
  margin: 0;
  text-align: left;
}
article em {
  font-style: italic;
}
article strong {
  color: black;
}
article table {
  width: 100%;
  border-collapse: collapse;
}
article thead {
  font-size: 105%;
  border-bottom: 1px solid #333;
  color: black;
}
article tbody {
  border-left: 1px solid #333;
}
article td {
  padding-left: 8px;
}
article hr {
  width: 200px;
  margin: 30px 0;
  margin-left: calc(50% - 100px);
  border-top: 1px solid #b2b2b2;
  border-bottom: none;
  border-left: none;
  border-right: none;
  clear: both;
}
article img {
  max-width: 100%;
}

article aside.margin {
  position: relative;
  float: right;
  z-index: 1;
  width: 210px;
  padding-left: 20px;
  margin-top: -30px;
  margin-right: -232px;
  background-color: #fff;
}

article aside.margin,
article aside.margin p {
  font-size: 12px;
  color: #aaa;
  font-family: var(--curvenote-font, sans-serif);
  text-align: left;
}

article.centered aside.margin {
  float: right;
  width: 33%;
  margin: unset;
  margin-left: 20px;
}

article.centered aside.callout {
  clear: both;
}

@media screen and (max-width: 800px) {
  article aside.margin,
article.centered aside.margin {
    float: unset;
    width: unset;
    margin: unset;
    border-left: 5px solid #eee;
  }
}
article aside.callout {
  display: block;
  padding: 5px 20px;
  margin: 20px 0;
  border: 1px solid #aaaaaa;
  border-left-width: 5px;
  border-radius: 1px;
  border-left-color: #4285f4;
}

article aside.callout p {
  margin: 0;
  text-align: left;
  display: block;
  font-size: inherit;
  color: #4d4d4d;
}

article aside.callout.active {
  border-left-color: #aaaaaa;
}

article aside.callout.success {
  border-left-color: #9ec667;
}

article aside.callout.info {
  border-left-color: #4285f4;
}

article aside.callout.warning {
  border-left-color: #f3b300;
}

article aside.callout.danger {
  border-left-color: #ca4f44;
}

r-var {
  display: block;
  color: #d46485;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  background-color: #efefef;
  width: fit-content;
  padding: 5px;
  user-select: none;
}

r-dynamic {
  color: var(--mdc-theme-secondary, #46f);
  border-bottom: 1px dashed var(--mdc-theme-secondary, #46f);
}

r-action {
  cursor: pointer;
  color: var(--mdc-theme-secondary, #46f);
  border-bottom: 1px solid var(--mdc-theme-secondary, #46f);
}

r-action.noclick {
  cursor: unset;
  border-bottom: unset;
}

.cursor-move {
  cursor: move;
}

.cursor-col-resize {
  cursor: col-resize;
}

r-equation {
  display: block;
}

r-equation[inline=""] {
  display: inline-block;
}

article blockquote {
  padding: 10px 20px;
  margin: 20px 0;
  border-left: 5px solid var(--theme-primary, #eee);
}
article blockquote p {
  color: #646464;
  font-size: 1.5em;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0;
}
article blockquote footer {
  font-family: var(--curvenote-font, sans-serif);
  color: #a7a7a7;
  font-size: 1em;
}
article blockquote footer cite {
  text-transform: uppercase;
  color: var(--theme-primary, #eee);
  font-style: normal;
  font-weight: 700;
}
article blockquote footer time {
  font-style: italic;
  font-size: 0.9em;
}
article blockquote footer time::before {
  content: " - ";
}

article cite-group .citation::after {
  content: "; ";
}
article cite-group .citation:last-of-type::after {
  content: "";
}
article cite-group::before {
  content: "(";
}
article cite-group::after {
  content: ")";
}
article .citation > span {
  border-bottom: 1px dotted #363636;
  color: #363636;
  text-decoration: none;
  user-select: all;
}
article .citation > span:hover {
  cursor: zoom-in;
  border-bottom-color: #1584d3;
  color: #1584d3;
}

article {
  position: relative;
}

.compact p {
  font-size: 15px;
  margin-top: 3px;
  margin-bottom: 3px;
}

article .selected .ProseMirror-selectednode {
  outline: 2px solid #8cf;
}
article .selected li.ProseMirror-selectednode {
  /* Make sure li selections wrap around markers */
  outline: none;
}
article .selected li.ProseMirror-selectednode:after {
  content: "";
  position: absolute;
  left: -32px;
  right: -2px;
  top: -2px;
  bottom: -2px;
  border: 2px solid #8cf;
  pointer-events: none;
}

/* Make sure that you can see the asides!! */
article aside.margin {
  border: 1px solid transparent;
}
article time {
  user-select: all;
}

.ProseMirror-focused aside.margin {
  background-color: #fdfdfd;
  border: 1px solid #ddd;
}
.ProseMirror-focused time,
.ProseMirror-focused r-display {
  border: 1px solid #ddd;
  border-bottom-color: #8cf;
}

article .selected p.prompt {
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
article .selected p.prompt:before {
  content: "Type '/' for commands, or just start writing!";
  color: #929292;
  position: absolute;
  font-weight: normal;
  user-select: none;
  cursor: text;
  left: 5px;
}

.widget {
  display: inline-block;
}

.widget.widget-variable {
  display: block;
}

img.placeholder {
  margin-left: 15%;
  width: 70%;
  box-shadow: 0 0 0 0 rgb(0, 0, 0);
  animation: pulsePlaceholder 2s infinite;
  animation-timing-function: ease;
  display: block;
}

.image-upload-prompt {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  height: 100px;
  background: white;
  border: 1px solid #b5b5b5;
  border-radius: 5px;
  transition: background-color 0.2s ease-in-out;
}
.image-upload-prompt .close-icon {
  cursor: pointer;
  border: none;
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
  background-size: cover;
}
.image-upload-prompt .upload-container {
  text-align: center;
}
.image-upload-prompt input[type=file] {
  display: none;
}
.image-upload-prompt label {
  cursor: pointer;
  font-weight: bold;
  color: #1d5f9e;
}
.image-upload-prompt .description {
  font-size: small;
}
.image-upload-prompt.is-dragover {
  background-color: rgb(205, 205, 205);
}

@keyframes pulsePlaceholder {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.3;
  }
}
article {
  counter-reset: eq_cnt fig_cnt table_cnt code_cnt footnote;
}

h1[numbered]:before,
h2[numbered]:before,
h3[numbered]:before,
h4[numbered]:before,
h5[numbered]:before,
h6[numbered]:before {
  content: attr(data-section) ".  ";
}

.eqn.display[numbered] {
  counter-increment: eq_cnt;
  padding-right: 30px;
  position: relative;
}

.eqn.display[numbered]:before {
  content: "(" counter(eq_cnt) ")";
  position: absolute;
  top: calc(50% - 0.6em);
  right: 5px;
}

.ProseMirror {
  /* Give selected cells a blue overlay */
}
.ProseMirror .tableWrapper {
  overflow-x: auto;
  margin: 1em 0;
  display: inline-block;
}
.ProseMirror table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  overflow: hidden;
  margin: 0;
}
.ProseMirror td,
.ProseMirror th {
  vertical-align: top;
  box-sizing: border-box;
  position: relative;
  min-width: 1em;
  border: 1px solid #ddd;
  padding: 3px 5px;
}
.ProseMirror th {
  text-align: left;
  background-color: rgba(232, 232, 232, 0.4);
}
.ProseMirror th p {
  font-weight: bold;
}
.ProseMirror .column-resize-handle {
  position: absolute;
  right: -2px;
  top: 0;
  bottom: 0;
  width: 4px;
  z-index: 20;
  background-color: #adf;
  pointer-events: none;
}
.ProseMirror.resize-cursor {
  cursor: ew-resize;
  cursor: col-resize;
}
.ProseMirror .selectedCell:after {
  z-index: 2;
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(200, 200, 255, 0.4);
  pointer-events: none;
}
.ProseMirror table p {
  margin: 5px;
}

.CodeMirror-scroll {
  height: auto;
}

.CodeMirror {
  height: auto;
  margin: 16px 0;
  border: 1px solid #eee;
  text-align: left;
}

article .ProseMirror code {
  color: rgb(232, 62, 140);
  border-radius: 2px;
  padding: 2px;
  margin: 0 1px;
  background-color: #fafafa;
  border: 1px solid rgba(192, 192, 192, 0.5);
}

span.footnote {
  display: inline-block;
  cursor: pointer;
}

span.footnote::after {
  content: counter(footnote);
  vertical-align: super;
  font-size: 75%;
  counter-increment: footnote;
}

span.footnote > .tooltip {
  display: none;
}

span.footnote:hover > .tooltip {
  display: block;
}

span.footnote.open > .tooltip {
  display: block;
}

span.footnote .tooltip {
  cursor: auto;
  position: absolute;
  background: #fafafa;
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2);
  padding: 4px 8px;
  border-radius: 2px;
  width: calc(100% - 46px);
  left: 15px;
  z-index: 5;
}

.ProseMirror figure {
  margin-inline-start: 10px;
  margin-inline-end: 10px;
}
.ProseMirror figcaption {
  display: block;
  overflow-wrap: break-word;
  font-size: 14px;
  line-height: 1.2;
  margin-top: 5px;
  color: #686868;
  font-family: var(--curvenote-font, sans-serif);
  font-weight: 300;
  cursor: auto;
}
.ProseMirror figcaption[kind=code] {
  text-align: center;
}
.ProseMirror figure[numbered=""] figcaption::before {
  padding-left: -5px;
  font-weight: 700;
}
.ProseMirror figure[numbered=""] figcaption[kind=fig]::before {
  counter-increment: fig_cnt;
  content: "Figure " counter(fig_cnt) ":  ";
}
.ProseMirror figure[numbered=""] figcaption[kind=code]::before {
  counter-increment: code_cnt;
  content: "Program " counter(code_cnt) ":  ";
}
.ProseMirror figure[numbered=""] figcaption[kind=table]::before {
  counter-increment: table_cnt;
  content: "Table " counter(table_cnt) ":  ";
}

@keyframes blink {
  49% {
    border-color: unset;
  }
  50% {
    border-color: #fff;
  }
  99% {
    border-color: #fff;
  }
}
.no-cursor {
  caret-color: transparent;
}

div:focus .fake-cursor,
span:focus .fake-cursor {
  margin-right: -1px;
  border-left-width: 1px;
  border-left-style: solid;
  animation: blink 1s;
  animation-iteration-count: infinite;
  position: relative;
  z-index: 1;
}

.mention {
  background-color: #e0e0e0;
  border-radius: 5px;
  padding: 2px 4px;
}

.hidden {
  display: none;
}

.above-modals {
  z-index: 1301 !important;
}

@media print {
  .noprint {
    display: none !important;
  }
}

/*# sourceMappingURL=editor.css.map */
