/* PrismJS 1.22.0
https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript+apex+sql+typoscript&plugins=line-highlight+line-numbers+show-language+toolbar */

/**
 * prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML
 * Based on https://github.com/chriskempson/tomorrow-theme
 * @author Rose Pritchard
 */

html[class="dark"] code[class*="language-"],
html[class="dark"] pre[class*="language-"] {
  color: #ccc;
  background: none;
  font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
  font-size: 1em;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.5;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  hyphens: none;
}

/* Code blocks */

html[class="dark"] pre[class*="language-"] {
  padding: 1em;
  margin: 0.5em 0;
  overflow: auto;
}

html[class="dark"] :not(pre) > code[class*="language-"],
html[class="dark"] pre[class*="language-"] {
  background: #2d2d2d;
}

/* Inline code */

html[class="dark"] :not(pre) > code {
  padding: 0.3em;
  border-radius: 0.3em;
  white-space: normal;
  background: #2d2d2d;
}

html[class="dark"] .token.comment,
html[class="dark"] .token.block-comment,
html[class="dark"] .token.prolog,
html[class="dark"] .token.doctype,
html[class="dark"] .token.cdata {
  color: #999;
}

html[class="dark"] .token.punctuation {
  color: #ccc;
}

html[class="dark"] .token.tag,
html[class="dark"] .token.attr-name,
html[class="dark"] .token.namespace,
html[class="dark"] .token.deleted {
  color: #e2777a;
}

html[class="dark"] .token.function-name {
  color: #6196cc;
}

html[class="dark"] .token.boolean,
html[class="dark"] .token.number,
html[class="dark"] .token.function {
  color: #f08d49;
}

html[class="dark"] .token.property,
html[class="dark"] .token.class-name,
html[class="dark"] .token.constant,
html[class="dark"] .token.symbol {
  color: #f8c555;
}

html[class="dark"] .token.selector,
html[class="dark"] .token.important,
html[class="dark"] .token.atrule,
html[class="dark"] .token.keyword,
html[class="dark"] .token.builtin {
  color: #cc99cd;
}

html[class="dark"] .token.string,
html[class="dark"] .token.char,
html[class="dark"] .token.attr-value,
html[class="dark"] .token.regex,
html[class="dark"] .token.variable {
  color: #7ec699;
}

html[class="dark"] .token.operator,
html[class="dark"] .token.entity,
html[class="dark"] .token.url {
  color: #67cdcc;
}

html[class="dark"] .token.important,
html[class="dark"] .token.bold {
  font-weight: bold;
}

html[class="dark"] .token.italic {
  font-style: italic;
}

html[class="dark"] .token.entity {
  cursor: help;
}

html[class="dark"] .token.inserted {
  color: green;
}

html:not(.dark) code[class*="language-"],
html:not(.dark) pre[class*="language-"] {
  color: black;
  background: none;
  font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
  font-size: 1em;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.5;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  hyphens: none;
}

/* Code blocks */

html:not(.dark) pre[class*="language-"] {
  position: relative;
  margin: 0.5em 0;
  overflow: auto;
  padding: 1em;
}

html:not(.dark) pre[class*="language-"] {
  position: relative;
  border: 1px solid transparent;
  border-left: 4px solid;
  border-color: rgba(49, 46, 129);
  background-color: #fdfdfd;
  background-image: linear-gradient(
        transparent 50%,
        rgba(69, 142, 209, 0.04) 50%
    );
  background-size: 3em 3em;
  background-origin: content-box;
  background-attachment: local;
}

html:not(.dark) code[class*="language-"] {
  max-height: inherit;
  height: inherit;
  display: block;
  overflow: auto;
}

/* Inline code */

html:not(.dark) :not(pre) > code[class*="language-"] {
  position: relative;
  padding: 0.2em;
  border-radius: 0.3em;
  color: #c92c2c;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: inline;
  white-space: normal;
}

/* Inline code */

html:not(.dark) :not(pre) > code {
  position: relative;
  padding: 0.2em;
  border-radius: 0.3em;
  color: #c92c2c;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: inline;
  white-space: normal;
  background-color: #fefafafa;
}

html:not(.dark) .token.comment,
html:not(.dark) .token.block-comment,
html:not(.dark) .token.prolog,
html:not(.dark) .token.doctype,
html:not(.dark) .token.cdata {
  color: #7d8b99;
}

html:not(.dark) .token.punctuation {
  color: #5f6364;
}

html:not(.dark) .token.property,
html:not(.dark) .token.tag,
html:not(.dark) .token.boolean,
html:not(.dark) .token.number,
html:not(.dark) .token.function-name,
html:not(.dark) .token.constant,
html:not(.dark) .token.symbol,
html:not(.dark) .token.deleted {
  color: #c92c2c;
}

html:not(.dark) .token.selector,
html:not(.dark) .token.attr-name,
html:not(.dark) .token.string,
html:not(.dark) .token.char,
html:not(.dark) .token.function,
html:not(.dark) .token.builtin,
html:not(.dark) .token.inserted {
  color: #2f9c0a;
}

html:not(.dark) .token.operator,
html:not(.dark) .token.entity,
html:not(.dark) .token.url,
html:not(.dark) .token.variable {
  color: #a67f59;
  background: rgba(255, 255, 255, 0.5);
}

html:not(.dark) .token.atrule,
html:not(.dark) .token.attr-value,
html:not(.dark) .token.keyword,
html:not(.dark) .token.class-name {
  color: #1990b8;
}

html:not(.dark) .token.regex,
html:not(.dark) .token.important {
  color: #e90;
}

html:not(.dark) .language-css .token.string,
html:not(.dark) .style .token.string {
  color: #a67f59;
  background: rgba(255, 255, 255, 0.5);
}

html:not(.dark) .token.important {
  font-weight: normal;
}

html:not(.dark) .token.bold {
  font-weight: bold;
}

html:not(.dark) .token.italic {
  font-style: italic;
}

html:not(.dark) .token.entity {
  cursor: help;
}

html:not(.dark) .token.namespace {
  opacity: 0.7;
}

@media screen and (max-width: 767px) {
  html:not(.dark) pre[class*="language-"]:before,
    html:not(.dark) pre[class*="language-"]:after {
    bottom: 14px;
    box-shadow: none;
  }
}

/* Plugin styles: Line Numbers */

html:not(.dark) pre[class*="language-"].line-numbers.line-numbers {
  padding-left: 0;
}

html:not(.dark) pre[class*="language-"].line-numbers.line-numbers code {
  padding-left: 3.8em;
}

html:not(.dark)
    pre[class*="language-"].line-numbers.line-numbers
    .line-numbers-rows {
  left: 0;
}

/* Plugin styles: Line Highlight */

html:not(.dark) pre[class*="language-"][data-line] {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
}

html:not(.dark) pre[data-line] code {
  position: relative;
  padding-left: 4em;
}

html:not(.dark) pre .line-highlight {
  margin-top: 0;
}

pre[data-line] {
  position: relative;
  padding: 1em 0 1em 3em;
}

.line-highlight {
  position: absolute;
  left: 0;
  right: 0;
  padding: inherit 0;
  margin-top: 1em; /* Same as .prism’s padding-top */
  background: hsla(24, 20%, 50%, 0.08);
  background: linear-gradient(
        to right,
        hsla(24, 20%, 50%, 0.1) 70%,
        hsla(24, 20%, 50%, 0)
    );
  pointer-events: none;
  line-height: inherit;
  white-space: pre;
}

@media print {
  .line-highlight {
    /*
      * This will prevent browsers from replacing the background color with white.
      * It's necessary because the element is layered on top of the displayed code.
      */
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
  }
}

.line-highlight:before,
.line-highlight[data-end]:after {
  content: attr(data-start);
  position: absolute;
  top: 0.4em;
  left: 0.6em;
  min-width: 1em;
  padding: 0 0.5em;
  background-color: hsla(24, 20%, 50%, 0.4);
  color: hsl(24, 20%, 95%);
  font: bold 65%/1.5 sans-serif;
  text-align: center;
  vertical-align: 0.3em;
  border-radius: 999px;
  text-shadow: none;
  box-shadow: 0 1px white;
}

.line-highlight[data-end]:after {
  content: attr(data-end);
  top: auto;
  bottom: 0.4em;
}

.line-numbers .line-highlight:before,
.line-numbers .line-highlight:after {
  content: none;
}

pre[id].linkable-line-numbers span.line-numbers-rows {
  pointer-events: all;
}

pre[id].linkable-line-numbers span.line-numbers-rows > span:before {
  cursor: pointer;
}

pre[id].linkable-line-numbers span.line-numbers-rows > span:hover:before {
  background-color: rgba(128, 128, 128, 0.2);
}

pre[class*="language-"].line-numbers {
  position: relative;
  padding-left: 3.8em;
  counter-reset: linenumber;
}

pre[class*="language-"].line-numbers > code {
  position: relative;
  white-space: inherit;
}

.line-numbers .line-numbers-rows {
  position: absolute;
  pointer-events: none;
  top: 0;
  font-size: 100%;
  left: -3.8em;
  width: 3em; /* works for line-numbers below 1000 lines */
  letter-spacing: -1px;
  border-right: 1px solid #999;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.line-numbers-rows > span {
  display: block;
  counter-increment: linenumber;
}

.line-numbers-rows > span:before {
  content: counter(linenumber);
  color: #999;
  display: block;
  padding-right: 0.8em;
  text-align: right;
}

div.code-toolbar {
  position: relative;
}

div.code-toolbar > .toolbar {
  position: absolute;
  top: 0.3em;
  right: 0.2em;
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}

div.code-toolbar > .toolbar .toolbar-item {
  display: inline-block;
}

div.code-toolbar > .toolbar a {
  cursor: pointer;
}

html div.code-toolbar > .toolbar button {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  line-height: normal;
  overflow: visible;
  padding: 0;
  -webkit-user-select: none; /* for button */
  -moz-user-select: none;
  -ms-user-select: none;
}

html[class="dark"] div.code-toolbar > .toolbar a,
html[class="dark"] div.code-toolbar > .toolbar button,
html[class="dark"] div.code-toolbar > .toolbar span {
  color: #bbb;
  font-size: 0.8em;
  padding: 0 0.5em;
}

html:not(.dark) div.code-toolbar > .toolbar a,
html:not(.dark) div.code-toolbar > .toolbar button,
html:not(.dark) div.code-toolbar > .toolbar span {
  color: rgb(40, 40, 40);
  font-size: 0.8em;
  padding: 0 0.5em;
}

div.code-toolbar > .toolbar a:hover,
div.code-toolbar > .toolbar a:focus,
div.code-toolbar > .toolbar button:hover,
div.code-toolbar > .toolbar button:focus,
div.code-toolbar > .toolbar span:hover,
div.code-toolbar > .toolbar span:focus {
  color: inherit;
  text-decoration: none;
}
