/*

github.com style (c) Vasily Polovnyov <vast@whiteants.net>

*/

.hljs {
  display: block;
  overflow-x: auto;
  padding: 1.5em;
  color: #333;
  background-color: #f2f6f8;
  border-radius: 2px;
  line-height: 18px;
  font-size: 10pt;
}

.hljs.plaintext {
  background-color: #e4e4e4;
}

.hljs > div > p {
  word-break: break-all;
}

FORM.xm-form .hljs *, .xm-form.modern .hljs *, .modern .XPage .hljs * {
  font-family: Consolas, monaco, monospace;
}

.modern .xm-item-div SPAN.hljs-comment,
.modern .xm-item-div SPAN.hljs-quote {
  color: #79797f;
  font-style: italic;
}

.modern .xm-item-div SPAN.hljs-keyword,
.modern .xm-item-div SPAN.hljs-selector-tag,
.modern .xm-item-div SPAN.hljs-subst {
  color: #0000FF;
}

.modern .xm-item-div SPAN.hljs-number,
.modern .xm-item-div SPAN.hljs-literal,
.modern .xm-item-div SPAN.hljs-variable,
.modern .xm-item-div SPAN.hljs-template-variable,
.modern .xm-item-div SPAN.hljs-tag .hljs-attr {
  color: #008080;
}

.modern .xm-item-div SPAN.hljs-attr {
  color: #900;
}

.modern .xm-item-div SPAN.hljs-string,
.modern .xm-item-div SPAN.hljs-doctag {
  color: #900;
}

.modern .xm-item-div SPAN.hljs-title,
.modern .xm-item-div SPAN.hljs-section,
.modern .xm-item-div SPAN.hljs-selector-id {
  color: #d14;
}

.modern .xm-item-div SPAN.hljs-subst {
  font-weight: normal;
}

.modern .xm-item-div SPAN.hljs-type,
.modern .xm-item-div SPAN.hljs-class .hljs-title {
  color: #458;
  font-weight: bold;
}

.modern .xm-item-div SPAN.hljs-tag,
.modern .xm-item-div SPAN.hljs-name,
.modern .xm-item-div SPAN.hljs-attribute {
  color: #000080;
  font-weight: normal;
}

.modern .xm-item-div SPAN.hljs-regexp,
.modern .xm-item-div SPAN.hljs-link {
  color: #009926;
}

.modern .xm-item-div SPAN.hljs-symbol,
.modern .xm-item-div SPAN.hljs-bullet {
  color: #990073;
}

.modern .xm-item-div SPAN.hljs-built_in,
.modern .xm-item-div SPAN.hljs-builtin-name {
  color: #0086b3;
}

.modern .xm-item-div SPAN.hljs-meta {
  color: #999;
  /*font-weight: bold;*/
}

.modern .xm-item-div SPAN.hljs-deletion {
  background: #fdd;
}

.modern .xm-item-div SPAN.hljs-addition {
  background: #dfd;
}

.modern .xm-item-div SPAN.hljs-emphasis {
  font-style: italic;
}

.modern .xm-item-div SPAN.hljs-strong {
  font-weight: bold;
}

.modern .space {
  width: 0.5em;
  display: inline-block;
}

.modern code p:after {
  content:"";
  display:inline-block;
  width:0px;
}