@charset "UTF-8";

/*
 * Code Blocks
 */

.code-block {
  margin-bottom: 1.5rem;
  position: relative;
}

.code-block .CodeMirror {
  transition: .3s all ease-in;
  height: auto;
  margin-bottom: 1em;
}

/* for non highlighted pre codemirror block */
.code-block pre.CodeMirror {
  line-height: 28px;
  padding: 0px 10px;
  margin: 0;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  background: #f2f2f2;
  background: -moz-linear-gradient(top, #f2f2f2 50%, #f9f9f9 50%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, #f2f2f2), color-stop(50%, #f9f9f9));
  background: -webkit-linear-gradient(top, #f2f2f2 50%, #f9f9f9 50%);
  background: -o-linear-gradient(top, #f2f2f2 50%, #f9f9f9 50%);
  background: -ms-linear-gradient(top, #f2f2f2 50%, #f9f9f9 50%);
  background: linear-gradient(to bottom, #f2f2f2 50%, #f9f9f9 50%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2f2f2', endColorstr='#f9f9f9', GradientType=0);
  background-size: 56px 56px;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
  font-size: 16px;
  font-family: monospace;
}

.CodeMirror.adjust-top {
  top: 32px !important;
}

.CodeMirror svg.loader {
  position: absolute;
  top: 42%;
  left: 42%;
  max-width: 64px;
  border-radius: 3px;
  /* box-shadow: 2px 2px 5px #000; */
  background: rgba(30, 30, 30, .7);
  fill: none;
  stroke: #222;
  stroke-linecap: round;
  stroke-width: 8%;
  height: 2em;
}

.CodeMirror svg.loader use {
  stroke: #fff;
  animation: infiniteLoop 2s linear infinite
}

@keyframes infiniteLoop {
  to {
    stroke-dashoffset: 0px
  }
}

/*
 * Output Blocks
 */
.code-block iframe.output-block-frame {
  display: none;
  width: 100%;
  margin: 1em 0;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(68, 68, 68, 1);
  -moz-box-shadow: 0px 0px 10px 0px rgba(68, 68, 68, 1);
  box-shadow: 0px 0px 10px 0px rgba(68, 68, 68, 1);
  background-color: #fff;
  transition: .3s all ease-in;
}

.code-block iframe.output-block-frame.show {
  display: block;
}

.code-block .CodeMirror-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  z-index: 5000;
  margin-bottom: 0;
}

textarea.CodeMirror-ClipBoard {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  border: 0;
  padding: 0;
  right: 0;
  bottom: 0;
}

.CodeMirror-notice {
  position: fixed;
  left: 15px;
  background: #000;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  bottom: -40px;
  z-index: 5001;
  font-size: 12px;
  transition: .5s all;
}

.CodeMirror-panel {
  background-color: rgba(0, 0, 0, .1);
}

.CodeMirror-panel .info-panel {
  display: flex;
  justify-content: space-between;
  height: 32px;
}

.CodeMirror-panel .info-panel .language {
  padding: 4px 32px;
  font-size: 16px;
  background: #4C607F;
  font-weight: 500;
  color: #fff;
}

.CodeMirror-panel .info-panel .language.apl {
  color: #000;
  background: #d2d2d2;
}

.CodeMirror-panel .info-panel .language.asp {
  background: #0088b6;
}

.CodeMirror-panel .info-panel .language.aspx {
  background: #33a9dc;
}

.CodeMirror-panel .info-panel .language.c {
  background: #005f91;
}

.CodeMirror-panel .info-panel .language.cpp {
  background: #984c93;
}

.CodeMirror-panel .info-panel .language.cobol {
  background: #005ca5;
}

.CodeMirror-panel .info-panel .language.coffeescript {
  background: #6f4e37;
}

.CodeMirror-panel .info-panel .language.clojure {
  /* color: #63b132; */
  background: #5881d8;
}

.CodeMirror-panel .info-panel .language.css {
  /* color: #33a9dc; */
  background: #1572b6;
}

.CodeMirror-panel .info-panel .language.csharp {
  background: #368832;
}

.CodeMirror-panel .info-panel .language.diff {
  /* color: #c00000; */
  background: #008000;
}

.CodeMirror-panel .info-panel .language.django {
  background: #44b78b;
}

.CodeMirror-panel .info-panel .language.docker {
  background: #27b9ec;
}

.CodeMirror-panel .info-panel .language.dylan {
  /* color: #41a5ae; */
  background-image: linear-gradient(to bottom right, #fd1a60, #f36420);
}

.CodeMirror-panel .info-panel .language.elm {
  /* color: #eea400; */
  background: #5fb4cb;
}

.CodeMirror-panel .info-panel .language.erlang {
  background: #a2003e;
}

.CodeMirror-panel .info-panel .language.fortran {
  /* color: #378bba; */
  background: #30b9db;
}

.CodeMirror-panel .info-panel .language.fsharp {
  /* color: #d6534f; */
  background: #665948;
}

.CodeMirror-panel .info-panel .language.git {
  /* color: #e24329; */
  background: #fca326;
}

.CodeMirror-panel .info-panel .language.go {
  background: #00acd7;
}

.CodeMirror-panel .info-panel .language.groovy {
  /* color: #333; */
  background: #6398aa;
}

.CodeMirror-panel .info-panel .language.haml {
  color: #3f3e29;
  background: #ecdfa7;
}

.CodeMirror-panel .info-panel .language.haskell {
  /* color: #453a62; */
  background: #8f4e8b;
}

.CodeMirror-panel .info-panel .language.html,
.CodeMirror-panel .info-panel .language.htmlmixed,
.CodeMirror-panel .info-panel .language.htmlembedded {
  background: #f1662a;
}

.CodeMirror-panel .info-panel .language.http {
  /* color: #3b61a6; */
  background: #509e2f
}

.CodeMirror-panel .info-panel .language.java {
  background: #5382a1
}

.CodeMirror-panel .info-panel .language.js {
  background: #f5de19
}

.CodeMirror-panel .info-panel .language.json {
  background: #f5de19
}

.CodeMirror-panel .info-panel .language.jsx {
  background: #f5de19
}

.CodeMirror-panel .info-panel .language.jsonld {
  /* color: #0c479c; */
  background: #0ca69c
}

.CodeMirror-panel .info-panel .language.jsp {
  background: #e56f14
}

.CodeMirror-panel .info-panel .language.kotlin {
  /* color: #0296d8; */
  background-image: linear-gradient(to bottom right, #cb55c0, #f28e0e);
}

.CodeMirror-panel .info-panel .language.less {
  background: #193255;
}

.CodeMirror-panel .info-panel .language.lisp {
  background: #c40804;
}

.CodeMirror-panel .info-panel .language.livescript {
  background: #317eac;
}

.CodeMirror-panel .info-panel .language.lua {
  background: #000080;
}

.CodeMirror-panel .info-panel .language.markdown {
  background: #755838;
}

.CodeMirror-panel .info-panel .language.mariadb {
  color: #002b64;
  background: #c49a6c
}

.CodeMirror-panel .info-panel .language.mssql,
.CodeMirror-panel .info-panel .language.mysql {
  background: #5d87a1;
}

.CodeMirror-panel .info-panel .language.nginx {
  background: #019639;
}

.CodeMirror-panel .info-panel .language.objectivec {
  background: #c2c2c2;
}

.CodeMirror-panel .info-panel .language.perl {
  background: #3a3c5b;
}

.CodeMirror-panel .info-panel .language.php {
  background: #6280b6;
}

.CodeMirror-panel .info-panel .language.plsql {
  background: #f00
}

.CodeMirror-panel .info-panel .language.powershell {
  background: #5290fd
}

.CodeMirror-panel .info-panel .language.protobuf {
  background: #ff5c77
}

.CodeMirror-panel .info-panel .language.pug {
  color: #442823;
  background: #efcca3
}

.CodeMirror-panel .info-panel .language.puppet {
  background: #ffae1a
}

.CodeMirror-panel .info-panel .language.python {
  color: #366e9d;
  background: #ffdc4e
}

.CodeMirror-panel .info-panel .language.q {
  background: #1e78b3
}

.CodeMirror-panel .info-panel .language.r {
  color: #185ead;
  background: #acadb2
}

.CodeMirror-panel .info-panel .language.ruby {
  background: #e71622;
}

.CodeMirror-panel .info-panel .language.rust {
  /* color: #7e7d7c; */
  background: #a04f12
}

.CodeMirror-panel .info-panel .language.scala {
  background: #fe0000;
}

.CodeMirror-panel .info-panel .language.stylus {
  background: #FF2952;
}

.CodeMirror-panel .info-panel .language.sass,
.CodeMirror-panel .info-panel .language.scss {
  background: #cd6799;
}

.CodeMirror-panel .info-panel .language.shell {
  background: #d9b400
}

.CodeMirror-panel .info-panel .language.sql {
  background: #ffda44
}

.CodeMirror-panel .info-panel .language.sqlite {
  /* color: #502d16; */
  background: #003b57
}

.CodeMirror-panel .info-panel .language.squirrel {
  /* color: #502d16; */
  background: #a05a2c
}

.CodeMirror-panel .info-panel .language.stylus {
  background: #c2c2c2;
}

.CodeMirror-panel .info-panel .language.swift {
  background: #fd2822;
}

.CodeMirror-panel .info-panel .language.tcl {
  /* color: #eff1cb; */
  background: #c3b15f
}

.CodeMirror-panel .info-panel .language.text {
  /* color: #c2c2c2; */
  background: #829ec2
}

.CodeMirror-panel .info-panel .language.textile {
  color: #000;
  background: #ffe7ac
}

.CodeMirror-panel .info-panel .language.toml {
  /* color: #bfbfbf; */
  background: #7f7f7f
}

.CodeMirror-panel .info-panel .language.ttcn {
  /* color: #949494; */
  background: #00adee
}

.CodeMirror-panel .info-panel .language.twig {
  /* color: #63bf6a; */
  background: #78dc50
}

.CodeMirror-panel .info-panel .language.typescript {
  background: #007acc;
}

.CodeMirror-panel .info-panel .language.vb {
  background: #00519a;
}

.CodeMirror-panel .info-panel .language.velocity {
  /* color: #000; */
  background: #262692;
}

.CodeMirror-panel .info-panel .language.verilog {
  /* color: #c5c2ff; */
  background: #1a348f;
}

.CodeMirror-panel .info-panel .language.vhdl {
  background: #0d9b35;
}

.CodeMirror-panel .info-panel .language.vue {
  /* color: #35495e; */
  background: #41b883;
}

.CodeMirror-panel .info-panel .language.xml {
  background: #f1662a;
}

.CodeMirror-panel .info-panel .language.xquery {
  /* color: #fcba00; */
  background: #f1662a;
}

.CodeMirror-panel .info-panel .language.yaml {
  background: #fbc02d;
}

.CodeMirror-panel .control-panel {
  padding: 5px 3px;
  display: flex;
}

/* .CodeMirror-panel .control-panel .fullscreen,
.CodeMirror-panel .control-panel .copy */
.CodeMirror-panel .control-panel>span {
  display: flex;
  /* width: 20px; */
  /* height: 20px; */
  /* background-color: #fff; */
  margin: 0 5px 0 0;
  cursor: pointer;
  /* text-align: center; */
  /* padding: 5px; */
  transition: .3s all;
}

.CodeMirror-panel .control-panel>span:hover {
  /* background-color: rgba(30, 30, 30, .1); */
  color: #fff;
}


/* Icons */

.run-code {
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  transform: scale(1);
  width: 20px;
  height: 20px;
  border: 2px solid;
  border-radius: 20px
}

.run-code::after,
.run-code::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  /* height: 8px; */
  top: 3px
}

.run-code::after {
  width: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 9px solid;
  left: 5px
}

.copy {
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  transform: scale(1);
  width: 14px;
  height: 18px;
  border: 2px solid;
  border-radius: 2px;
  border-right: 0;
  border-bottom: 0;
}

.copy::after {
  content: "";
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  width: 13px;
  height: 17px;
  /* background: currentColor; */
  border: 2px solid;
  left: 1px;
  top: 1px;
  border-radius: 0 0 2px 0;
}

.maximize,
.restore {
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  transform: scale(1);
  width: 20px;
  height: 20px;
  border: 2px solid;
  border-radius: 2px
}

.maximize::after {
  content: "";
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  width: 12px;
  height: 12px;
  background: currentColor;
  left: 2px;
  top: 2px;
}

.restore::after {
  content: "";
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  width: 9px;
  height: 3px;
  background: currentColor;
  left: 2px;
  bottom: 3px;
}

/* .restore::after {
  content: "";
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  width: 12px;
  height: 8px;
  background: currentColor;
  left: 3px;
  top: 2px;
} */



/*== start of code for tooltips ==*/
.tool {
  cursor: help;
  position: relative;
}


/*== common styles for both parts of tool tip ==*/
.tool::before,
.tool::after {
  left: 50%;
  opacity: 0;
  position: absolute;
  z-index: -100;
}

.tool:hover::after,
.tool:focus::after {
  opacity: 1;
  transform: scale(1) translateY(0);
  z-index: 100;
}

.tool:hover::before,
.tool:focus::before {
  opacity: 1;
  transform: scale(1) translateY(0);
  z-index: 100;
}


/*== pointer tip ==*/
.tool::before {
  border-style: solid;
  border-width: 7px 12px 12px;
  border-color: transparent transparent #3E474F transparent;
  top: 100%;
  left: 0;
  content: "";
  transition: all .35s cubic-bezier(.84, -0.18, .31, 1.26), opacity .35s .5s;
  transform: scale(.6) translateY(-20%);
}

.tool:hover::before,
.tool:focus::before {
  transition: all .35s cubic-bezier(.84, -0.18, .31, 1.26) .2s;
}


/*== speech bubble ==*/
.tool::after {
  background: #3E474F;
  border-radius: 5px;
  top: 180%;
  color: #EDEFF0;
  content: attr(data-tip);
  padding: 5px;
  transition: all .35s cubic-bezier(.84, -0.18, .31, 1.26) .2s;
  transform: scale(.8) translateY(-180%);
  text-align: center;
  width: 120px;
  left: -90px;
  font-size: 14px;
}

.tool:hover::after,
.tool:focus::after {
  transition: all .55s cubic-bezier(.84, -0.18, .31, 1.26);
}

/*
@media (max-width: 760px) {
  .tool::after {
        font-size: .75em;
        width: 10em;
        left: -8em;
  }
} */
