/*

Extracted from the Loom text editor
Evan Brooks 2014

*/

.cm-s-loop-light .CodeMirror-activeline-background {
  background-color: rgba(0,0,255,0.03);
}
.CodeMirror-selected {
  background: rgba(0,0,255,0.1) !important;
}
.cm-mode-js .cm-def,
.cm-mode-html .cm-def,
.cm-mode-js .cm-variable,
.cm-mode-html .cm-variable,
.cm-mode-js .cm-variable-2,
.cm-mode-html .cm-variable-2,
.cm-mode-js .cm-variable-3,
.cm-mode-html .cm-variable-3 {
  font-weight: 600;
}
.cm-mode-js .cm-atom,
.cm-mode-html .cm-atom,
.cm-mode-js .cm-number,
.cm-mode-html .cm-number,
.cm-mode-js .cm-string,
.cm-mode-html .cm-string,
.cm-mode-js .cm-string-2,
.cm-mode-html .cm-string-2 {
  color: #d10000;
}
.cm-mode-js .cm-attrval,
.cm-mode-html .cm-attrval {
  font-weight: 400;
}
.cm-mode-js .cm-attrval.cm-attrval-id,
.cm-mode-html .cm-attrval.cm-attrval-id,
.cm-mode-js .cm-attrval.cm-attrval-class,
.cm-mode-html .cm-attrval.cm-attrval-class {
  font-weight: 600;
}
.cm-s-loop-light.CodeMirror,
.cm-s-loop-dark.CodeMirror {
  font: 400 15px/22px "Source Code Pro", "monospace";
}
.fancy-comments .cm-s-loop-light .cm-literate,
.fancy-comments .cm-s-loop-dark .cm-literate {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.025em;
}
.cm-s-loop-light .cm-codement,
.cm-s-loop-dark .cm-codement {
  font: inherit;
}
.cm-s-loop-light .cm-tag,
.cm-s-loop-dark .cm-tag {
  font-weight: 700;
}
.cm-s-loop-light .CodeMirror-lint-message-error,
.cm-s-loop-dark .CodeMirror-lint-message-error,
.cm-s-loop-light .CodeMirror-lint-message-warning,
.cm-s-loop-dark .CodeMirror-lint-message-warning,
.cm-s-loop-light .console-log-marker,
.cm-s-loop-dark .console-log-marker {
  background-position: top left;
  background-repeat: no-repeat;
  margin-left: 1ch;
}
.cm-s-loop-light .CodeMirror-lint-message-error:before,
.cm-s-loop-dark .CodeMirror-lint-message-error:before,
.cm-s-loop-light .CodeMirror-lint-message-warning:before,
.cm-s-loop-dark .CodeMirror-lint-message-warning:before,
.cm-s-loop-light .console-log-marker:before,
.cm-s-loop-dark .console-log-marker:before {
  content: "← ";
}
.cm-s-loop-light .console-log-marker,
.cm-s-loop-dark .console-log-marker {
  -webkit-animation: decaydark 0.2s;
  color: #e4cd72;
}
.cm-s-loop-light .console-log-marker:before,
.cm-s-loop-dark .console-log-marker:before {
  content: "➔ ";
}
.cm-s-loop-dark.CodeMirror {
  color: #bbb;
}
.cm-s-loop-dark div.CodeMirror-cursor {
  border-left: 1px solid #ddd !important;
}
.cm-s-loop-dark.CodeMirror-focused .CodeMirror-selected {
  background: rgba(255,255,255,0.1);
}
.cm-s-loop-dark .CodeMirror-selected {
  background: rgba(255,255,255,0.05);
}
.cm-s-loop-dark .cm-property {
  color: inherit !important;
  box-shadow: none !important;
  background: transparent !important;
}
.cm-s-loop-dark .CodeMirror-activeline-background {
  background: rgba(255,255,255,0.02);
}
.cm-s-loop-dark .cm-atom,
.cm-s-loop-dark .cm-number,
.cm-s-loop-dark .cm-string {
  color: #ff9a7b;
  font-weight: 500;
}
.cm-s-loop-dark .cm-comment {
  color: #576a72;
}
.cm-s-loop-dark .cm-tag {
  color: #be6464;
}
.cm-s-loop-dark .cm-tag.cm-head {
  color: #977575;
}
.cm-s-loop-dark .cm-attribute,
.cm-s-loop-dark .cm-equals {
  color: #977575;
}
.cm-s-loop-dark .CodeMirror-lint-message-error,
.cm-s-loop-dark .CodeMirror-lint-message-warning,
.cm-s-loop-dark .console-log-marker {
  color: #576a72;
}
.cm-s-loop-dark .console-log-marker {
  -webkit-animation: decaydark 0.2s;
  color: #e4cd72;
}
.cm-s-loop-light.CodeMirror {
  color: #222;
}
.cm-s-loop-light div.CodeMirror-cursor {
  border-left: 2px solid #000 !important;
}
.cm-s-loop-light .cm-property {
  color: inherit !important;
  box-shadow: none !important;
  background: transparent !important;
}
.cm-s-loop-light .CodeMirror-activeline-background {
  background: #f9f9f9;
}
.cm-s-loop-light .cm-keyword,
.cm-s-loop-light .cm-kw-special {
  color: inherit;
  font-weight: 600;
  -webkit-font-smoothing: subpixel-antialiased;
}
.cm-s-loop-dark .cm-keyword,
.cm-s-loop-dark .cm-kw-special {
  color: inherit;
  font-weight: 700;
}

.cm-s-loop-light .cm-tag,
.cm-s-loop-light .cm-attribute,
.cm-s-loop-light .cm-equals {
  color: #54a6ff;
  color: #d17373;
}
.cm-s-loop-light .cm-tag.cm-head,
.cm-s-loop-light .cm-attribute.cm-head,
.cm-s-loop-light .cm-equals.cm-head {
  color: #82addb;
}
.cm-s-loop-light .cm-comment,
.cm-s-loop-light .cm-comment-marker {
  color: #aaa;
}
.cm-s-loop-light .CodeMirror-lint-message-error,
.cm-s-loop-light .CodeMirror-lint-message-warning {
  color: #aaa;
}
.cm-s-loop-light .console-log-marker {
  color: #00a3ff;
  -webkit-animation: decaylight 0.2s;
}
.fancy-comments .CodeMirror .lit {
  padding: 0 1ch;
  z-index: 3;
}
.CodeMirror .lit + .lit {
  z-index: 2;
}
.fancy-comments .CodeMirror .lit + .lit:before {
  content: "";
  position: absolute;
  height: 150%;
  width: 100%;
  left: 0;
  top: -150%;
}
.fancy-comments .CodeMirror .lit + .lit + .lit:before {
  content: none;
}
.fancy-comments .cm-s-loop-light .lit .cm-slashes {
  color: rgba(0,0,0,0.1);
}
.fancy-comments .cm-s-loop-light .lit + .lit {
  background: #ffffdc;
}
.fancy-comments .cm-s-loop-light .lit + .lit:before {
  background: #ffffdc;
  /*border-top: 1px solid #eede6c;*/
}
.fancy-comments .cm-s-loop-light .cm-literate {
  color: #333;
  background: #ffffdc;
}
.fancy-comments .cm-s-loop-dark .lit .cm-slashes {
  color: rgba(255,255,255,0.04);
}
.fancy-comments .cm-s-loop-dark .lit + .lit {
  background: #303944;
}
.fancy-comments .cm-s-loop-dark .lit + .lit:before {
  background: #303944;
  border-top: 1px solid #3a3a3a;
}
.fancy-comments .cm-s-loop-dark .cm-literate {
  color: #6C788D;
  background: #303944;
}
.cm-mode-html .cm-null {
  font-family: Nitti Grotesk;
  font-weight: normal;
  font-size: 19px;
  line-height: 14px;
  letter-spacing: 0.02em;
  color: #000;
}
.cm-mode-html .cm-s-loop-dark .cm-string {
  color: #c08e58;
}
.cm-mode-html .cm-s-loop-dark .cm-attrval-class {
  color: #cebb56;
}
.cm-mode-html .cm-s-loop-dark .cm-attrval-id {
  color: #88b171;
}
.cm-s-loop-light .cm-attrval {
  color: #8a0048;
}
.cm-s-loop-light .cm-attrval.cm-head {
  color: #0b57b9;
}
.cm-s-loop-light .cm-attrval-class,
.cm-s-loop-light .cm-attrkey-class,
.cm-s-loop-light .cm-eq-class {
  color: #bb5dc7;
}
.cm-s-loop-light .cm-attrval-id,
.cm-s-loop-light .cm-attrkey-id,
.cm-s-loop-light .cm-eq-id {
  color: #522ec4;
}
.cm-mode-styl .cm-s-loop-light .cm-colon,
.cm-mode-scss .cm-s-loop-light .cm-colon,
.cm-mode-sass .cm-s-loop-light .cm-colon,
.cm-mode-css .cm-s-loop-light .cm-colon,
.cm-mode-styl .cm-s-loop-light .cm-brack,
.cm-mode-scss .cm-s-loop-light .cm-brack,
.cm-mode-sass .cm-s-loop-light .cm-brack,
.cm-mode-css .cm-s-loop-light .cm-brack {
  color: #808080;
}
.cm-mode-styl .cm-s-loop-light .cm-property,
.cm-mode-scss .cm-s-loop-light .cm-property,
.cm-mode-sass .cm-s-loop-light .cm-property,
.cm-mode-css .cm-s-loop-light .cm-property {
  color: #69899e !important;
  font-weight: 400;
  display: inline-block;
  min-width: 100px;
  padding-right: 8px;
  font-family: Nitti Grotesk;
  line-height: 12px;
  font-size: 18px;
  text-align: right;
}
.cm-mode-styl .cm-s-loop-light .cm-variable,
.cm-mode-scss .cm-s-loop-light .cm-variable,
.cm-mode-sass .cm-s-loop-light .cm-variable,
.cm-mode-css .cm-s-loop-light .cm-variable,
.cm-mode-styl .cm-s-loop-light .cm-variable-2,
.cm-mode-scss .cm-s-loop-light .cm-variable-2,
.cm-mode-sass .cm-s-loop-light .cm-variable-2,
.cm-mode-css .cm-s-loop-light .cm-variable-2 {
  color: #000;
  font-weight: normal;
}
.cm-mode-styl .cm-s-loop-light .cm-string,
.cm-mode-scss .cm-s-loop-light .cm-string,
.cm-mode-sass .cm-s-loop-light .cm-string,
.cm-mode-css .cm-s-loop-light .cm-string {
  color: #000080;
  font-weight: 600;
}
.cm-mode-styl .cm-s-loop-light .cm-def,
.cm-mode-scss .cm-s-loop-light .cm-def,
.cm-mode-sass .cm-s-loop-light .cm-def,
.cm-mode-css .cm-s-loop-light .cm-def {
  color: #000;
}
.cm-mode-styl .cm-s-loop-light .cm-tag,
.cm-mode-scss .cm-s-loop-light .cm-tag,
.cm-mode-sass .cm-s-loop-light .cm-tag,
.cm-mode-css .cm-s-loop-light .cm-tag,
.cm-mode-styl .cm-s-loop-light .cm-qualifier,
.cm-mode-scss .cm-s-loop-light .cm-qualifier,
.cm-mode-sass .cm-s-loop-light .cm-qualifier,
.cm-mode-css .cm-s-loop-light .cm-qualifier,
.cm-mode-styl .cm-s-loop-light .cm-builtin,
.cm-mode-scss .cm-s-loop-light .cm-builtin,
.cm-mode-sass .cm-s-loop-light .cm-builtin,
.cm-mode-css .cm-s-loop-light .cm-builtin {
  font-weight: 700;
}
.cm-mode-styl .cm-s-loop-light .cm-variable-3,
.cm-mode-scss .cm-s-loop-light .cm-variable-3,
.cm-mode-sass .cm-s-loop-light .cm-variable-3,
.cm-mode-css .cm-s-loop-light .cm-variable-3 {
  font-weight: 400;
  color: #8a0048;
}
.cm-mode-styl .cm-s-loop-light .cm-atom,
.cm-mode-scss .cm-s-loop-light .cm-atom,
.cm-mode-sass .cm-s-loop-light .cm-atom,
.cm-mode-css .cm-s-loop-light .cm-atom,
.cm-mode-styl .cm-s-loop-light .cm-number,
.cm-mode-scss .cm-s-loop-light .cm-number,
.cm-mode-sass .cm-s-loop-light .cm-number,
.cm-mode-css .cm-s-loop-light .cm-number {
  color: #000;
}
.cm-qualifier,
.cm-builtin {
  font-weight: 800;
}
.cm-qualifier {
  color: #bb5dc7;
}
.cm-builtin {
  color: #522ec4;
}
/* REGEX */
.cm-s-loop-light .cm-meta {
  color: #555;
}
.cm-s-loop-light .cm-bracket {
  color: #f00;
}
.cm-s-loop-light .cm-quote {
  color: #090;
}
.cm-mode-md .CodeMirror {
  font: 400 20px/24px "Nitti Grotesk Medium";
}
.cm-mode-md .cm-code {
  font: 400 16px/24px "Nitti";
  color: #800080;
}
.cm-mode-md .cm-header {
  color: #000;
  font-family: "Nitti Grotesk Medium";
  font-weight: normal;
}
.cm-mode-md .cm-header-1 {
  font-family: "Nitti Grotesk Black";
  font-weight: normal;
  color: #a52a2a;
}
.cm-mode-md .cm-header-2 {
  font-family: "Nitti Grotesk";
  font-weight: bold;
}
.cm-mode-md .cm-link {
  color: #288dfc;
  text-decoration: none;
}
.cm-mode-md .cm-href {
  color: #aaa;
  font-family: "Nitti Grotesk Semilight";
  border-bottom: 1px dotted;
}
.cm-mode-md .cm-list1:first-child {
  display: inline-block;
}
.cm-mode-md .cm-list1:first-child:first-letter {
  color: #800000;
}
.cm-s-loop-light .cm-hr {
  color: #eee;
  width: 80%;
  border-top: 1px solid #ddd;
  display: inline-block;
}
.CodeMirror pre.ind-0,
.CodeMirror pre.ind-1 {
  background-image: none;
}
.CodeMirror pre.ind-2,
.CodeMirror pre.ind-3 {
  background-image: url("indents/ind1.png");
  background-position: top left 26px;
  background-repeat: repeat-y;
}
.CodeMirror pre.ind-4,
.CodeMirror pre.ind-5 {
  background-image: url("indents/ind1.png"), url("indents/ind1.png");
  background-position: top left 26px, top left 42px;
  background-repeat: repeat-y;
}
.CodeMirror pre.ind-6,
.CodeMirror pre.ind-7 {
  background-image: url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png");
  background-position: top left 26px, top left 42px, top left 58px;
  background-repeat: repeat-y;
}
.CodeMirror pre.ind-8,
.CodeMirror pre.ind-9 {
  background-image: url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png");
  background-position: top left 26px, top left 42px, top left 58px, top left 74px;
  background-repeat: repeat-y;
}
.CodeMirror pre.ind-10,
.CodeMirror pre.ind-11 {
  background-image: url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png");
  background-position: top left 26px, top left 42px, top left 58px, top left 74px, top left 90px;
  background-repeat: repeat-y;
}
.CodeMirror pre.ind-11,
.CodeMirror pre.ind-12 {
  background-image: url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png");
  background-position: top left 26px, top left 42px, top left 58px, top left 74px, top left 90px, top left 106px;
  background-repeat: repeat-y;
}
.CodeMirror pre.ind-13,
.CodeMirror pre.ind-14 {
  background-image: url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png");
  background-position: top left 26px, top left 42px, top left 58px, top left 74px, top left 90px, top left 106px, top left 122px;
  background-repeat: repeat-y;
}
.CodeMirror pre.ind-15,
.CodeMirror pre.ind-16 {
  background-image: url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png"), url("indents/ind1.png");
  background-position: top left 26px, top left 42px, top left 58px, top left 74px, top left 90px, top left 106px, top left 122px, top left 138px;
  background-repeat: repeat-y;
}
.slider {
  display: inline-block;
  height: 12px;
  width: 1ch;
  position: relative;
  cursor: ns-resize;
  -webkit-user-select: none;
  opacity: 0.7;
}
.slider:focus {
  opacity: 1;
  outline: none;
}
.slider:focus .slider-thumb {
  border-color: #00f;
}
.slider:focus + span {
  color: #00f;
}
.slider:hover {
  opacity: 1;
}
.slider.dragging {
  opacity: 1;
}
.slider-thumb {
  height: 10px;
  width: 5px;
  border: 1px solid #adadad;
  border-radius: 3px;
  background: #cacaca;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  margin-top: 3px;
}
.slider-thumb:focus {
  opacity: 1;
  outline: none;
  border-color: #00a3ff;
  background: #00a3ff;
}
.slider-thumb:before {
  display: block;
  width: 30px;
  height: 1px;
  z-index: -1;
  top: 4px;
  position: relative;
  left: -15px;
  background: #aaa;
  opacity: 0.5;
}
.cm-s-loop-dark .slider-thumb {
  background: #2d323a;
}
.cm-s-loop-dark .slider .slider-thumb {
  background: #545454;
  border-color: #666;
}
.cm-s-loop-dark .slider .slider-thumb:before {
  border-color: #666;
}
.cm-s-loop-dark .slider:hover {
  opacity: 1;
}
.CodeMirror-widget:hover,
.CodeMirror-widget:hover + .cm-number {
  color: #00a3ff;
}
.CodeMirror-widget:hover .slider-thumb {
  background: #00a3ff;
  border-color: #00a3ff;
}
.CodeMirror-widget:hover .slider-thumb:before {
  border-color: #00a3ff;
}
.cm-s-loop-light .CodeMirror-lint-message-error,
.cm-s-loop-light .CodeMirror-lint-message-warning {
  color: #aaa;
  font-family: Nitti Grotesk Medium;
  font-weight: normal;
  font-size: 16px;
  line-height: 14px;
  letter-spacing: 0.02em;
}
.cm-s-loop-light .cm-color {
  color: #000;
}
.colorpicker {
  display: inline-block;
  min-width: 3ch;
  min-height: 16px;
  background: transparent;
  position: relative;
  vertical-align: top;
  margin-top: 7px;
  line-height: 0;
}
.colorpicker-swatch {
  cursor: pointer;
  min-width: 24px;
  min-height: 13px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}
.colorpicker-swatch:hover {
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3);
  z-index: 999;
}
.imgwidget {
  display: inline-block;
  width: 4ch;
  height: 20px;
  vertical-align: middle;
  -webkit-transform: scale(1);
  -webkit-transition: all 0.1s;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}
.cm-str-Arial {
  font-family: Arial;
  line-height: 80%;
}
.cm-str-Times {
  font-family: Times;
  line-height: 80%;
  font-size: 110%;
}
.cm-str-Verdana {
  font-family: Verdana;
  line-height: 80%;
  font-size: 90%;
}
.cm-str-Nitti {
  font-family: "Nitti Grotesk";
  line-height: 80%;
  font-size: 110%;
}
.cm-str-Sectra {
  font-family: "GT Sectra Trial";
  line-height: 80%;
  font-size: 110%;
}
.cm-str-Founders {
  font-family: "Founders Grotesk";
  line-height: 80%;
  font-size: 110%;
}
