/*

Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>

*/

.hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  background: #f0f0f0;
  -webkit-text-size-adjust: none;
}

.hljs,
.hljs-subst,
.hljs-tag .hljs-title,
.nginx .hljs-title {
  color: black;
}

.hljs-string,
.hljs-title,
.hljs-constant,
.hljs-parent,
.hljs-tag .hljs-value,
.hljs-rules .hljs-value,
.hljs-preprocessor,
.hljs-pragma,
.haml .hljs-symbol,
.ruby .hljs-symbol,
.ruby .hljs-symbol .hljs-string,
.hljs-template_tag,
.django .hljs-variable,
.smalltalk .hljs-class,
.hljs-addition,
.hljs-flow,
.hljs-stream,
.bash .hljs-variable,
.apache .hljs-tag,
.apache .hljs-cbracket,
.tex .hljs-command,
.tex .hljs-special,
.erlang_repl .hljs-function_or_atom,
.asciidoc .hljs-header,
.markdown .hljs-header,
.coffeescript .hljs-attribute {
  color: #800;
}

.smartquote,
.hljs-comment,
.hljs-annotation,
.diff .hljs-header,
.hljs-chunk,
.asciidoc .hljs-blockquote,
.markdown .hljs-blockquote {
  color: #888;
}

.hljs-number,
.hljs-date,
.hljs-regexp,
.hljs-literal,
.hljs-hexcolor,
.smalltalk .hljs-symbol,
.smalltalk .hljs-char,
.go .hljs-constant,
.hljs-change,
.lasso .hljs-variable,
.makefile .hljs-variable,
.asciidoc .hljs-bullet,
.markdown .hljs-bullet,
.asciidoc .hljs-link_url,
.markdown .hljs-link_url {
  color: #080;
}

.hljs-label,
.hljs-javadoc,
.ruby .hljs-string,
.hljs-decorator,
.hljs-filter .hljs-argument,
.hljs-localvars,
.hljs-array,
.hljs-attr_selector,
.hljs-important,
.hljs-pseudo,
.hljs-pi,
.haml .hljs-bullet,
.hljs-doctype,
.hljs-deletion,
.hljs-envvar,
.hljs-shebang,
.apache .hljs-sqbracket,
.nginx .hljs-built_in,
.tex .hljs-formula,
.erlang_repl .hljs-reserved,
.hljs-prompt,
.asciidoc .hljs-link_label,
.markdown .hljs-link_label,
.vhdl .hljs-attribute,
.clojure .hljs-attribute,
.asciidoc .hljs-attribute,
.lasso .hljs-attribute,
.coffeescript .hljs-property,
.hljs-phony {
  color: #88f;
}

.hljs-keyword,
.hljs-id,
.hljs-title,
.hljs-built_in,
.css .hljs-tag,
.hljs-javadoctag,
.hljs-phpdoc,
.hljs-dartdoc,
.hljs-yardoctag,
.smalltalk .hljs-class,
.hljs-winutils,
.bash .hljs-variable,
.apache .hljs-tag,
.hljs-type,
.hljs-typename,
.tex .hljs-command,
.asciidoc .hljs-strong,
.markdown .hljs-strong,
.hljs-request,
.hljs-status {
  font-weight: bold;
}

.asciidoc .hljs-emphasis,
.markdown .hljs-emphasis {
  font-style: italic;
}

.nginx .hljs-built_in {
  font-weight: normal;
}

.coffeescript .javascript,
.javascript .xml,
.lasso .markup,
.tex .hljs-formula,
.xml .javascript,
.xml .vbscript,
.xml .css,
.xml .hljs-cdata {
  opacity: 0.5;
}




.CodeMirror pre{
  line-height: 16px;
}

#markdown_in{
  overflow: hidden;
  visibility: hidden;
  clear: both;
  font-size: 12px;
}

.CodeMirror {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
}

.CodeMirror-scroll {
  padding: 30px;
  box-sizing: border-box;
}

#markdown_out{
  clear: both;
  color: #444;
  /*font-family:Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', serif;*/
  /*font-family: -apple-system,"Helvetica Neue",Helvetica,Arial,"PingFang SC","Hiragino Sans GB","WenQuanYi Micro Hei","Microsoft Yahei",sans-serif;*/
  /*-webkit-font-smoothing: antialiased;*/
  font-size: 14px;
  line-height: 1.5em
}

#markdown_menu {
  display: none;
  position: fixed;
  background-color: #111;
  border-radius: 5px;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 150px;
  margin-top: -75px;
  margin-left: -125px;
  z-index: 99;
  text-align: center;
  color: white;
}

#markdown_menu > span {
  display: block;
  font-size: 1.5em;
  line-height: 1.3;
  margin-top: 0.25em;
}

#markdown_menu > div {
  display: inline-block;
  width: 100px;
  text-align: center;
  vertical-align: top;
  cursor: pointer;
  opacity: 0.7;
}

#markdown_menu > div:hover {
  opacity: 1;
}

#markdown_menu svg {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  display: block;
}
#markdown_menu path {
  fill: #fff;
}

#close-menu {
  position: absolute;
  top: 5px;
  right: 9px;
  color: white;
  cursor: pointer;
}

#markdown_out summary {
  background: #f8f8f9;
  padding: 0px 10px;
}

#markdown_out .emoji {
  width: 1.2em;
  height: 1.2em;
  vertical-align:middle;
}


.cm-header-1 { font-size: 2em; }
.cm-header-2 { font-size: 1.75em; }
.cm-header-3 { font-size: 1.5em; }
.cm-header-4 { font-size: 1.3em; }
.cm-header-5 { font-size: 1.2em; }
.cm-header-6 { font-size: 1.15em; }

#markdown_out .cm-quote { color: #90a959; font-style: italic; }

#markdown_out p{}
#markdown_out a{text-decoration: none;}
#markdown_out a:hover{text-decoration: underline;}
#markdown_out p code {padding: 3px;color: #df4998;margin-left: 3px;margin-right: 3px;}
#markdown_out ul li p{}

#markdown_out img{ max-height: 100%;  max-width: 100%;}
#markdown_out  h1, .h1, h2, .h2, h3, .h3 {
  margin-top: 10px;
  margin-bottom: 5px;
}
#markdown_out h1,h2,h3,h4,h5,h6{font-weight:normal;color:#111;line-height:2em;}
#markdown_out h4,h5,h6{ font-weight: bold; }
#markdown_out h1{ font-size:2.0em; }
#markdown_out h2{ font-size:1.6em; border-bottom:1px dotted #cccccc;  }
#markdown_out h3{ font-size:1.4em; }
#markdown_out h4{ font-size:1.2em; }
#markdown_out h5{ font-size:1em; }
#markdown_out h6{ font-size:0.8em; }

#markdown_out blockquote{color:#504040;background: #eff1ea;padding-left: 1em;border-left: 0.5em #0078A0 solid;}
#markdown_out blockquote p{padding: 0px;}
#markdown_out blockquote blockquote {padding: 0 px;}
#markdown_out blockquote blockquote p{padding: 0 px;}
#markdown_out hr { display: block; height: 2px; border: 0; border-bottom: 1px solid #eee; margin: 1em 0; padding: 0; }

#markdown_out pre, code{
  color: #000;
  font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;
  /*font-size: 0.94em; /!* 0.94 = 0.88 + (1.00 - 0.88) / 2 *!/*/
  border-radius:3px;
  background-color: #F8F8F8;
  border: 1px solid #CCC;
  overflow: scroll;
}
#markdown_out pre { overflow: scroll;

  padding:1em;border:none;overflow:auto;line-height:1.45;max-height:35em;position:relative;background:url(img/blueprint.png) #F6F6F6;-moz-background-size:30px,30px;-o-background-size:30px,30px;-webkit-background-size:30px,30px;background-size:30px,30px
}
#markdown_out pre code { border: 0px !important; background: transparent !important; line-height: 1.3em; }
#markdown_out code { padding: 0 3px 0 3px; }
#markdown_out sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
#markdown_out sup { top: -0.5em; }
#markdown_out sub { bottom: -0.25em; }
#markdown_out ul, ol { margin: 1em 0; padding-left: 1em; }
#markdown_out li p:last-child {  }
#markdown_out dd { margin: 0 0 0 2em; }
#markdown_out img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
#markdown_out table {border-collapse: collapse;border-spacing: 0;border: 1px solid;}
#markdown_out table tr {border: 1px solid;}
#markdown_out table td {border: 1px solid;}
#markdown_out td, th { vertical-align: top; padding: 4px 10px; border: 0px solid #bbb; }
#markdown_out tr:nth-child(even) td, tr:nth-child(even) th { background: #eee; }

.markdown-toc-header{
  font-weight: normal;
  color: #111;
  line-height: 1em;
  padding-bottom: 5px;
  font-size: 14px;
}
.markdown-toc{
  padding-top: 15px;
  position: relative;
  border: none;
  -moz-box-shadow: 0 0px 0px #fff;
  -webkit-box-shadow: 0 0px 0px #fff;
  box-shadow: 0 0px 0px #fff;
  background: #ffffff;
  font-size: 12px;
  width: 260px;
}
.markdown-toc img{
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
}
.markdown-toc ul{
  padding-left: 18px;
  margin: 0;
  list-style-type: square;
}