/*
// PrismJS 1.27.0 :: prism-dark.css
//(c) 2012-2022 Lea Verou, License: MIT
// Theme: Tomorrow Night Eighties
// Based on https://github.com/chriskempson/tomorrow-theme, author Rose Pritchard

// (c) 2021-2022 unix-world.org, License: BSD
// customized by unixman :: colors, line-height, some logic, added tpl variables
// r.20221111
*/

code[class*="language-"],
pre[class*="language-"] {
	font-size: 0.9375rem;
	color: #F8F8F8; /* #EBF3FB */
	background: none;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	line-height: 1.25;
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

code[class*="language-"] * {
	font-size: 0.9375rem;
	line-height: 1.25;
}

pre[class*="language-"],
:not(pre) > code[class*="language-"] {
	background: linear-gradient(to bottom, #2F3448, #2F3448 50%, #2F3248 50%, #2F3248);
	background-size: 100% 10px;
	z-index: -1;
}

/* Code blocks */
pre[class*="language-"] {
	padding: 1em;
	margin: .5em 0;
	overflow: auto;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
	padding: .1em;
	white-space: normal;
}

.token.comment,
.token.block-comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: #888888;
}

.token.punctuation {
	color: #DDEEFF;
	font-weight: bold;
}

.token.attr-name,
.token.namespace {
	color: #e2777a;
}

.token.deleted {
	background: #E2777A;
	color: #222222;
	font-weight: bold;
}

.token.inserted {
	background: #6B9A71;
	color: #222222;
	font-weight: bold;
}

.token.tag {
	color: #ff7b72;
}

.token.function-name {
	color: #6196cc;
}

.token.constant {
	color: #EBCB8B;
	font-weight: bold;
}

.token.boolean,
.token.boolean.important {
	color: #FCCF14;
	font-weight: bold;
}

.token.number {
	color: #EB8160;
	font-weight: bold;
}

.token.function {
	color: #f08d49;
}

.token.property,
.token.class-name,
.token.symbol {
	color: #91B3ED;
}

.language-css .token.string,
.token.selector,
.token.important,
.token.atrule,
.token.keyword,
.token.builtin {
	color: #EBCB8B;
}

.token.delimiter {
	color: #C8D741;
	font-weight: bold;
}

.token.delimiter.symbol {
	color: #EBCB8B;
}

.token.keyword-interface,
.token.keyword-trait,
.token.keyword-implements,
.token.keyword-class,
.token.keyword-extends,
.token.keyword-function,
.token.keyword-return,
.token.keyword-var,
.token.keyword-let {
	color: #FF4455;
	font-weight: bold;
}

.token.keyword-comment,
.token.keyword-endcomment,
.token.keyword-if,
.token.keyword-ifelse,
.token.keyword-else,
.token.keyword-endif,
.token.keyword-switch,
.token.keyword-while,
.token.keyword-do,
.token.keyword-for,
.token.keyword-endfor,
.token.keyword-foreach,
.token.keyword-map,
.token.keyword-reduce,
.token.keyword-filter,
.token.keyword-with {
	font-weight: bold;
}

.token.keyword-continue,
.token.keyword-break {
	color: #E4862A;
	font-weight: bold;
}

.token.keyword-namespace {
	color: #778899;
	font-weight: bold;
}

.token.keyword-use {
	font-weight: bold;
}

.token.keyword-super,
.token.keyword-delete,
.token.keyword-typeof,
.token.keyword-instanceof {
	color: #DDEEFF;
	font-weight: bold;
}

.token.package {
	color: #EB8160; /* #EB8160 */
	font-weight: bold;
}

.token.class-name,
.token.function-definition,
.token.function {
	color: #FFFFFF;
	font-weight: bold;
}

.token.keyword-const {
	color: #bad0e7;
	font-weight: bold;
}

.token.keyword-abstract,
.token.keyword-final,
.token.keyword-public,
.token.keyword-protected,
.token.keyword-private,
.token.keyword-static,
.token.keyword-global {
	color: #D6AFCF;
}

.token.keyword-abstract {
	font-weight: bold;
}

.token.keyword-array {
	color: #BE9FFF;
}

.token.type-casting {
	color: #FFFFFF;
	font-weight: bold;
}

.token.char,
.token.string {
	color: #f8c555;
	font-weight: bold;
}

.token.attr-value,
.token.regex {
	color: #BE9FFF;
	font-weight: bold;
}

.token.variable {
	color: #91B3ED;
	font-weight: bold;
}

.token.keyword-new {
	color: #FF4455;
	font-weight: bold;
}

.token.title.important,
.token.keyword-this {
	color: #FFCC00;
	font-weight: bold;
}

.token.operator {
	color: #FFFFFF;
}

.token.entity,
.token.url {
	color: #91B3ED;
}

.token.important,
.token.bold {
	font-weight: bold;
}
.token.italic {
	font-style: italic;
}

.token.entity {
	cursor: help;
}

/* PHP Extras */

.token.this,
.token.scope .token.keyword {
	color: #EBCB8B;
	font-weight: bold;
}

.token.global {
	color: #D6AFCF;
	font-weight: bold;
}

/* Line Numbers */

pre[class*="language-"].line-numbers {
/*	position: relative; */ /* this break the order with z-index and ca't be fixed */
	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: -4.8em;
	width: 4em; /* works for line-numbers below 1000 lines */
	letter-spacing: -1px;
	border-right: 1px solid #555555;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

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

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

/* Diff Highlight */

pre.diff-highlight > code .token.deleted:not(.prefix),
pre > code.diff-highlight .token.deleted:not(.prefix) {
	background-color: rgba(255, 0, 0, .1);
	color: inherit;
	display: block;
}

pre.diff-highlight > code .token.inserted:not(.prefix),
pre > code.diff-highlight .token.inserted:not(.prefix) {
	background-color: rgba(0, 255, 128, .1);
	color: inherit;
	display: block;
}

/* MKTPL, r.20210608 */

.token.tpl-comment {
	color: #888888 !important;
}

.token.tpl-specials {
	color: #D6AFCF !important;
	font-weight: bold !important;
}

.token.tpl-svar {
	color: #FFFFFF !important;
	font-weight: bold !important;
}

.token.tpl-placeholders,
.token.tpl-marker,
.token.tpl-conditional-if,
.token.tpl-conditional-else,
.token.tpl-conditional-endif,
.token.tpl-loop-start,
.token.tpl-loop-end,
.token.tpl-subtpl {
	color: #778899 !important;
	font-weight: bold !important;
}

.token.tpl-var {
	color: #F8C555 !important;
	font-weight: bold !important;
}

.token.tpl-pvar,
.token.tpl-escaping {
	color: #FF4455 !important;
	font-weight: bold !important;
}

.token.tpl-expr-conditional {
	color: #FF4455 !important;
	font-weight: bold !important;
}
.token.tpl-expr-loop {
	color: #BE9FFF !important;
	font-weight: bold !important;
}

.token.tpl-cvar {
	color: #F8C555 !important;
	font-weight: bold !important;
}

.token.tpl-cval {
	color: #FFFFFF !important;
	font-weight: bold !important;
}

.token.tpl-punctuation {
	color: #A2C261 !important;
	font-weight: bold !important;
}

.token.tpl-operator {
	color: #C8D741 !important;
	font-weight: bold !important;
}

.token.tpl-cnum {
	color: #7C9CAE !important;
	font-weight: normal !important;
}

.token.tpl-expr-subtpl {
	color: #C8D741 !important;
	font-weight: bold !important;
}

/* unixman */

div.prism-get-code {
	display: block !important;
	margin: 0 !important;
	margin-top: 8px !important;
	margin-left: -8px !important;
	padding: 0 !important;
	font-size: 1.125rem !important;
	font-weight: bold !important;
}

div.prism-get-code a {
	text-decoration: none !important;
	border: 0 !important;
	border-bottom: 1px dotted #777777 !important;
	cursor: pointer !important;
	color: #1565C0 !important;
}
div.prism-get-code a:hover {
	color: #FFCC00 !important;
}

/* END */
