pre.prettyprint  ol {
  list-style-type: none;
  margin-left: 0;
}

pre.prettyprint  ol > li {
  counter-increment: customlistcounter;
}
pre.prettyprint ol > li:first-child:before {
  border-top-left-radius: 0.25rem;
}
pre.prettyprint ol > li:last-child:before {
  border-bottom-left-radius: 0.25rem;
}
pre.prettyprint ol > li:before {
  content: counter(customlistcounter) " ";
  font-weight: 300;
  display: inline-block;
  position: absolute;
  transform:translateX(-38px);
  width: 27px;
  text-align: right;
  background-color:var(--white);
  padding-bottom: 0.1px;
}
pre.prettyprint ol > li:nth-last-child(1)::before {
  padding-bottom: 0px !important;
}

pre.prettyprint.twoc ol > li:before {
  transform:translateX(-45px);
  width:34px;
}
pre.prettyprint.twoc {
  padding-left:35px;
}
pre.prettyprint.threec ol > li:before {
  transform:translateX(-53px);
  width:42px;
}
pre.prettyprint.threec {
  padding-left:43px;
}

ol:first-child {
  counter-reset: customlistcounter;
}
pre.prettyprint ol {
  padding-right: 4px;
}
pre .atn,
pre .kwd,
pre .tag {
  font-weight: 400
}
pre * {
  font-family:monospace;
}
pre.prettyprint li {
  background-color:rgb(244,245,246);
}
pre.prettyprint {
  display: block;
  background-color:rgb(244,245,246);
  border-radius:0.25rem;
  padding-left: 27px;
  /*each additional digit needs 8px*/
  width:100%;
  border:1px solid #e7eaed;
  color:#d58936;
}
/* TAOSDATA Specific */
pre.lang-blank span {
  color:var(--sg1);
}
pre.lang-blank {
  
}
pre.lang-term span{
  color: var(--white) ;
}
pre.lang-term ol {
  background-color: var(--sg1);
}
pre.lang-term ol.linenums  {
  border-left:1px solid var(--sg1);
}
pre.lang-term li {
  background-color:var(--sg1);
}
/*Functions*/
pre .td-fun {
  color:#f24352;
}
/*Options*/
pre .td-opt {
  /*color:mediumpurple;*/
  color:#5882bc;
}
/*Datatypes*/
pre .td-dtp {
  color:darkcyan;
}
pre .nocode {
  background-color: var(--white);
  color: var(--sg1);
}
/*Strings*/
pre .str {
  color: #690;
}
/*Keywords*/
pre .kwd {
  color: #5882bc;
}
/*Comments*/
pre .com {
  color: slategray;
}
/*Type*/
pre .typ {
  color: #9c5fc6;
}
/*Literals*/
pre .lit {
  color: #91001f;
}
/*Plain Text*/
pre .pln {
  color: #d58936;
}
/*Punctuation*/
pre .pun {
  color: rgb(51,66,78);
}
pre .tag {
  color: khaki
}

pre .atn {
  color: #bdb76b
}

pre .atv {
  color: #ffa0a0
}

pre .dec {
  color: #98fb98
}

ol.linenums {
  margin-top: 0;
  margin-bottom: 0;
  color: #AEAEAE;
  border-left:1px solid var(--b1);
  padding-left: 0px;
}
pre li {
  padding-left: 0.6rem;
}
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 {
  list-style-type: none
}

@media print {
  pre.prettyprint {
    background-color: none
  }

  code .str,
  pre .str {
    color: #690;
  }

  code .kwd,
  pre .kwd {
    color: #5882bc;
    font-weight: 400
  }

  code .com,
  pre .com {
    color: #600;
    font-style: italic
  }

  code .typ,
  pre .typ {
    color: #404;
    font-weight: 400
  }

  code .lit,
  pre .lit {
    color: #044
  }

  code .pun,
  pre .pun {
    color: #440
  }

  code .pln,
  pre .pln {
    color: #000
  }

  code .tag,
  pre .tag {
    color: #006;
    font-weight: 400
  }

  code .atn,
  pre .atn {
    color: #404
  }

  code .atv,
  pre .atv {
    color: #060
  }
}