/*

GAUSS style (c) Matt Evans <matt@aptech.com>

*/

code.lang-shell {
  color: #fff;
  background-color: #000;
}

figure pre.hljs-container {
  border: none;
}

pre.hljs-container {
  padding: 0px !important;
  margin: 0;
  font-size: 16px;
}

pre.hljs-container-solo {
  margin-bottom: 15px;
}

pre table.hljs-ln {
  margin: 0 !important;
  border-bottom: none;
}

.hljs-ln td {
  border-top: none;
}

/* for block of numbers */
.hljs-ln td.hljs-ln-numbers {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    text-align: right;
    color: #ccc !important;
    border-right: 1px solid #ccc;
    vertical-align: top;
    padding-right: 5px;

}

/* for block of code */
.hljs-ln td.hljs-ln-code {
    padding-left: 10px;
}

figure {
  display: block;
  margin: 1em 0;
  width: 100%;
  color: #9e9e9e;
  border: 1px solid #aaa;
  border-radius: 3px;
  /*background: rgb(22, 22, 22);*/
}

figure figcaption {
  display: block;
  /*font-family: sans-serif;*/
  padding: 2px 10px 2px 10px;
  border-bottom: 1px solid #aaa;
  border-radius: 3px 3px 0 0;
  font-weight: bold;
  font-variant: small-caps;
  font-size: 16px;
  background: #36434c;
  color: #fff;
}

.numbers {
   cursor: context-menu;
   -webkit-user-select: none;
	-moz-user-select: none;
  -ms-user-select: none;
	user-select: none;
/*  box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.5);*/
}

/*
pre,
pre * {
  font: normal normal normal 1em/1.4 monaco, courier, monospace;
}*/

pre {
  font-size: 0.8em;
}

pre,
pre code,
pre samp {
  display: block;
  margin: 0;
  cursor: text;
}

pre code,
pre samp {
  /* enforce white-space for IE7 */
  white-space: pre;
  /* enforce word-wrap for mobile safari */
  word-wrap: normal;
  padding: 10px;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  overflow-x: auto;
  /*box-shadow: inset 0 1px 0 1px rgba(0, 0, 0, 0.5);*/
}


/* additional focus rules to provide a visual cue */

pre [contenteditable]:focus {
  border-radius: 0 0 3px 0;
  background: #fff;
  outline: none;
  background: rgb(22, 22, 22);
  box-shadow: inset 0 1px 4px 1px rgba(0, 0, 0, 0.5);
}

pre.line-numbers {
  position: relative;
  margin-top: 0px;
  margin-bottom: 0px;
}

/*
pre.line-numbers code,
pre.line-numbers samp {
  margin-left: 3em;
  border-left: 1px solid #ccc;
}
*/

pre.line-numbers > div {
  display: none; /* block */
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 0 0 0 3px;
  overflow: hidden;
  counter-reset: line;
}

pre.line-numbers > div > span {
  display: block;
  width: 2.5em;
  padding: 0 0.5em 0 0;
  text-align: right;
  color: #ccc;
  overflow: hidden;
  counter-increment: line;
}

pre.line-numbers > div > span::before {
  content: counter(line);
}

pre.line-numbers > div > span:first-child {
  margin-top: 20px;
}

/*
pre.line-numbers > div > span:nth-child(odd) {
  background: #111;
}*/

@media print {
  pre code {
    overflow-x: visible;
    white-space: pre-wrap;
  }
  pre.line-numbers div {
    display: none;
  }
  pre.line-numbers > code,
  pre.line-numbers > samp {
    margin-left: 0;
  }
}

code.hljs {
    padding-top: 10px;
}
/* double-up the syntax elements for cross-browser RTF-keystroke support */

pre b,
pre strong {
  font-weight: normal;
  color: #039;
}

pre u,
pre u b,
pre u strong {
  text-decoration: none;
  color: #083;
}

pre i,
pre em,
pre i *,
pre em *,
pre i * *,
pre em * * {
  letter-spacing: -0.1em;
  text-decoration: none;
  font-style: normal;
  color: #c55;
}

/* end custom */

pre.tutorial-output {
  max-height: 260px;
  overflow: auto !important;
}

pre {
  background-color: #f7f7f9 !important;
}

pre, pre *, code {
  font-family: 'Roboto Mono', monospace !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
}

code:not(.hljs) {
  /*padding: .2rem .4rem;*/
  padding: 1px 4px;
  font-size: 90%;
  /*color: #bd4147;*/
  color: inherit;
  background-color: #f7f7f9;
  /*border-radius: .25rem;*/
}

code span {
  font-size: 16px;
}

.hljs {
  display: block;
  overflow-x: auto;
  /* padding: 0.5em; */
  background: inherit;
  /* color: black; */
}

.hljs-comment,
.hljs-doctag,
.hljs-quote {
  color: #007f00;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-section,
.hljs-name {
  color: #0000ff;
}

.hljs-variable,
.hljs-template-variable {
  color: #660;
}

.hljs-string,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-regexp {
  color: #7f007f;
}

.hljs-meta {
  color: #7f7f00;
}

.hljs-literal,
.hljs-symbol,
.hljs-bullet,
.hljs-number,
.hljs-link {
  color: #00007f;
}

.hljs-title,
.hljs-built_in,
.hljs-builtin-name {
  color: #00557f;
  font-weight: bold;
}

.hljs-type,
.hljs-attr {
  color: #606;
}

.hljs-attribute,
.hljs-subst {
  color: #000;
}

.hljs-formula {
  background-color: #eee;
  font-style: italic;
}

.hljs-selector-id,
.hljs-selector-class {
  color: #9B703F
}

.hljs-addition {
  background-color: #baeeba;
}

.hljs-deletion {
  background-color: #ffc8bd;
}

.hljs-strong {
  font-weight: bold;
}

.hljs-emphasis {
  font-style: italic;
}
