/**
* prism.js Twilight theme
* Based (more or less) on the Twilight theme originally of Textmate fame.
* @author Remy Bach
*/
.code-embed-wrapper code[class*="language-"],
.code-embed-wrapper pre[class*="language-"],
#bbpress-forums .code-embed-wrapper code[class*="language-"],
#bbpress-forums .code-embed-wrapper pre[class*="language-"] {
	color: white;
	direction: ltr;
	font-family: Consolas, Monaco, 'Andale Mono', monospace;
	text-align: left;
	text-shadow: 0 -.1em .2em black;
	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;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	background: transparent;
	font-size: inherit;
	padding: 0;
	margin:0;
}
.code-embed-wrapper pre[class*="language-"],
.code-embed-wrapper :not(pre) > code[class*="language-"],
#bbpress-forums .code-embed-wrapper pre[class*="language-"],
#bbpress-forums .code-embed-wrapper :not(pre) > code[class*="language-"] {
	background: hsl(0, 0%, 8%); /* #141414 */
	max-width:100%;
}

/* Code blocks */
.code-embed-wrapper pre[class*="language-"],
#bbpress-forums .code-embed-wrapper pre[class*="language-"] {
	border-radius: .5em;
	border: .3em solid hsl(0, 0%, 33%); /* #282A2B */
	box-shadow: 1px 1px .5em black inset;
	margin: 0;
	overflow: auto;
	padding: 1em;
	border:none;
}
.code-embed-wrapper pre[class*="language-"]::selection,
#bbpress-forums .code-embed-wrapper pre[class*="language-"]::selection {
	/* Safari */
	background: hsl(200, 4%, 16%); /* #282A2B */
}

/* Text Selection colour */
#bbpress-forums .code-embed-wrapper pre[class*="language-"]::-moz-selection,
.code-embed-wrapper pre[class*="language-"]::-moz-selection,
#bbpress-forums .code-embed-wrapper code[class*="language-"]::-moz-selection,
.code-embed-wrapper code[class*="language-"]::-moz-selection {
	text-shadow: none;
	background: hsla(0, 0%, 93%, 0.15); /* #EDEDED */
}
.code-embed-wrapper pre[class*="language-"]::selection,
#bbpress-forums .code-embed-wrapper pre[class*="language-"]::selection,
.code-embed-wrapper code[class*="language-"]::selection,
#bbpress-forums .code-embed-wrapper code[class*="language-"]::selection {
	text-shadow: none;
	background: hsla(0, 0%, 93%, 0.15); /* #EDEDED */
}

/* Inline code */
.code-embed-wrapper :not(pre) > code[class*="language-"],
#bbpress-forums .code-embed-wrapper :not(pre) > code[class*="language-"] {
	border-radius: .3em;
	border: .13em solid hsl(0, 0%, 33%); /* #545454 */
	box-shadow: 1px 1px .3em -.1em black inset;
	padding: .15em .2em .05em;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: hsl(0, 0%, 47%); /* #777777 */
}
.token.punctuation {
	opacity: .7;
}
.namespace {
	opacity: .7;
}
.token.tag,
.token.boolean,
.token.number,
.token.deleted {
	color: hsl(14, 58%, 55%); /* #CF6A4C */
}
.token.keyword,
.token.property,
.token.selector,
.token.constant,
.token.symbol,
.token.builtin {
	color: hsl(53, 89%, 79%); /* #F9EE98 */
}
.token.attr-name,
.token.attr-value,
.token.string,
.token.char,
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable,
.token.inserted {
	color: hsl(76, 21%, 52%); /* #8F9D6A */
}
.token.atrule {
	color: hsl(218, 22%, 55%); /* #7587A6 */
}
.token.regex,
.token.important {
	color: hsl(42, 75%, 65%); /* #E9C062 */
}
.token.important,
.token.bold {
	font-weight: bold;
}
.token.italic {
	font-style: italic;
}
.token.entity {
	cursor: help;
}
pre[data-line] {
	padding: 1em 0 1em 3em;
	position: relative;
}

/* Markup */
.language-markup .token.tag,
.language-markup .token.attr-name,
.language-markup .token.punctuation {
	color: hsl(33, 33%, 52%); /* #AC885B */
}

/* Make the tokens sit above the line highlight so the colours don't look faded. */
.token {
	position: relative;
	z-index: 1;
}
.code-embed-wrapper .line-highlight,
#bbpress-forums .code-embed-wrapper .line-highlight {
	background: -moz-linear-gradient(left, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0)); /* #545454 */
	background: -o-linear-gradient(left, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0)); /* #545454 */
	background: -webkit-linear-gradient(left, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0)); /* #545454 */
	background: hsla(0, 0%, 33%, 0.25); /* #545454 */
	background: linear-gradient(left, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0)); /* #545454 */
	border-bottom: 1px dashed hsl(0, 0%, 33%); /* #545454 */
	border-top: 1px dashed hsl(0, 0%, 33%); /* #545454 */
	left: 0;
	line-height: inherit;
	/*margin-top: 0.75em; /* Same as .prism’s padding-top */
	padding: inherit 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	white-space: pre;
	z-index: 0;
}

.code-embed-wrapper .code-embed-pre .line-highlight:before, 
.code-embed-wrapper .code-embed-pre .line-highlight[data-end]:after,
#bbpress-forums .code-embed-wrapper .code-embed-pre .line-highlight:before, 
#bbpress-forums .code-embed-wrapper .code-embed-pre .line-highlight[data-end]:after{
	background-color:hsl(24, 4%, 46%);
	z-index:2;
	color:#FFF;
}

/* Pastacode add */
.code-embed-wrapper,
#bbpress-forums .code-embed-wrapper {
	position: relative;
	padding: 1.25em 0;
}
.code-embed-wrapper .code-embed-infos,
#bbpress-forums .code-embed-wrapper .code-embed-infos {
	position: relative;
	width: 100%;
	display: block;
	background: transparent;
	overflow: hidden;
}
.code-embed-wrapper .code-embed-infos a,
.code-embed-wrapper .code-embed-infos span,
#bbpress-forums .code-embed-wrapper .code-embed-infos a,
#bbpress-forums .code-embed-wrapper .code-embed-infos span {
	color: #FFF;
	background: #545454;
	border-radius: 0.5em 0.5em 0 0;
	padding: .25em 1em;
	font-family: Consolas, Monaco, 'Andale Mono', monospace;
	text-decoration: none;
	box-shadow:none;
	float: right;
	margin-right: 1em;
}
.code-embed-wrapper pre + .code-embed-infos a,
.code-embed-wrapper pre + .code-embed-infos span,
#bbpress-forums .code-embed-wrapper pre + .code-embed-infos a,
#bbpress-forums .code-embed-wrapper pre + .code-embed-infos span {
	border-radius: 0 0 0.5em 0.5em;
}
.code-embed-wrapper .code-embed-infos a:hover,
.code-embed-wrapper .code-embed-infos a:focus,
.code-embed-wrapper .code-embed-infos a:active,
#bbpress-forums .code-embed-wrapper .code-embed-infos a:hover,
#bbpress-forums .code-embed-wrapper .code-embed-infos a:focus,
#bbpress-forums .code-embed-wrapper .code-embed-infos a:active {
	color: #FFF;
	background: #93A259;
	text-decoration:none;
	box-shadow:none;
}

/* Plugin styles:Line Numbers */
.code-embed-wrapper pre[class*="language-"].line-numbers,
#bbpress-forums .code-embed-wrapper pre[class*="language-"].line-numbers {
	padding-left: 0;
	padding-right: 0;
}
.code-embed-wrapper pre[class*="language-"].line-numbers code,
#bbpress-forums .code-embed-wrapper pre[class*="language-"].line-numbers code {
	padding-left: 3.8em;
	display:block;
}
.code-embed-wrapper pre[class*="language-"].line-numbers .line-numbers-rows,
#bbpress-forums .code-embed-wrapper pre[class*="language-"].line-numbers .line-numbers-rows {
	left: 0;
}

.code-embed-wrapper code.code-embed-code,
#bbpress-forums .code-embed-wrapper code.code-embed-code{
	position:relative;
	display:block;
}

.code-embed-wrapper code.code-embed-code ~ .line-highlight,
#bbpress-forums .code-embed-wrapper code.code-embed-code ~ .line-highlight{
	margin:1em -1em;
}

.code-embed-wrapper .line-numbers code.code-embed-code ~ .line-highlight,
#bbpress-forums .code-embed-wrapper .line-numbers code.code-embed-code ~ .line-highlight{
	margin:1em 0;
}