.atwho-view {
    position:absolute;
    top: 0;
    left: 0;
    display: none;
    margin-top: 18px;
    background: white;
    border: 1px solid var(--secondary);
    border-radius: 0.42rem;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    min-width: 120px;
    max-height: 200px;
    overflow: auto;
    z-index: 11110 !important;
}
.dark-mode .atwho-view {
    background: var(--dark-mode-dark);
    border-color: var(--dark-mode-lighter-dark);
	box-shadow: 0 0 30px rgb(0 0 0 / 50%);	
}

.atwho-view .cur {
    background: var(--primary);
    color: white;
}
.dark-mode .atwho-view .cur {
    background: var(--dark-mode-light-primary);
    color: var(--primary);
}
.atwho-view .cur small {
    color: var(--light-gray);
}
.dark-mode .atwho-view .cur small {
    color: rgb(42, 123, 206);
}
.atwho-view strong {
    color: var(--primary);
}
.atwho-view .cur strong {
    color: white;
    font:bold;
}
.dark-mode .atwho-view .cur strong {
    color: var(--primary);
}
.atwho-view ul {
    /* width: 100px; */
    list-style:none;
    padding:0;
    margin:auto;
}
.atwho-view ul li {
    display: block;
    padding: 5px 10px;
    border-bottom: 1px solid var(--light-gray);
    cursor: pointer;
}
.dark-mode .atwho-view ul li {
    border-bottom-color: var(--dark-mode-lighter-dark);
	color: var(--dark-mode-light-gray);
}
.atwho-view ul li:last-child {
	border-bottom: 0;
}
.atwho-view small {
    font-size: smaller;
    color: var(--gray);
    font-weight: normal;
}
.dark-mode .atwho-view small {
    color: var(--dark-mode-gray);
}

/* BASICS */

.CodeMirror {
  /* Set height, width, borders, and global font properties here */
  font-family: monospace;
  height: 300px;
  color: black;
  direction: ltr;
}

/* PADDING */

.CodeMirror-lines {
  padding: 4px 0; /* Vertical padding around content */
}
.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
  padding: 0 4px; /* Horizontal padding of content */
}

.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
  background-color: white; /* The little square between H and V scrollbars */
}

/* GUTTER */

.CodeMirror-gutters {
  border-right: 1px solid #ddd;
  background-color: #f7f7f7;
  white-space: nowrap;
}
.CodeMirror-linenumber {
  padding: 0 3px 0 5px;
  min-width: 20px;
  text-align: right;
  color: #999;
  white-space: nowrap;
}

.CodeMirror-guttermarker { color: black; }
.CodeMirror-guttermarker-subtle { color: #999; }

/* CURSOR */

.CodeMirror-cursor {
  border-left: 1px solid black;
  border-right: none;
  width: 0;
}
/* Shown when moving in bi-directional text */
.CodeMirror div.CodeMirror-secondarycursor {
  border-left: 1px solid silver;
}
.cm-fat-cursor .CodeMirror-cursor {
  width: auto;
  border: 0 !important;
  background: #7e7;
}
.cm-fat-cursor div.CodeMirror-cursors {
  z-index: 1;
}
.cm-fat-cursor .CodeMirror-line::selection,
.cm-fat-cursor .CodeMirror-line > span::selection, 
.cm-fat-cursor .CodeMirror-line > span > span::selection { background: transparent; }
.cm-fat-cursor .CodeMirror-line::-moz-selection,
.cm-fat-cursor .CodeMirror-line > span::-moz-selection,
.cm-fat-cursor .CodeMirror-line > span > span::-moz-selection { background: transparent; }
.cm-fat-cursor { caret-color: transparent; }
@-moz-keyframes blink {
  0% {}
  50% { background-color: transparent; }
  100% {}
}
@-webkit-keyframes blink {
  0% {}
  50% { background-color: transparent; }
  100% {}
}
@keyframes blink {
  0% {}
  50% { background-color: transparent; }
  100% {}
}

/* Can style cursor different in overwrite (non-insert) mode */

.cm-tab { display: inline-block; text-decoration: inherit; }

.CodeMirror-rulers {
  position: absolute;
  left: 0; right: 0; top: -50px; bottom: 0;
  overflow: hidden;
}
.CodeMirror-ruler {
  border-left: 1px solid #ccc;
  top: 0; bottom: 0;
  position: absolute;
}

/* DEFAULT THEME */

.cm-s-default .cm-header {color: blue;}
.cm-s-default .cm-quote {color: #090;}
.cm-negative {color: #d44;}
.cm-positive {color: #292;}
.cm-header, .cm-strong {font-weight: bold;}
.cm-em {font-style: italic;}
.cm-link {text-decoration: underline;}
.cm-strikethrough {text-decoration: line-through;}

.cm-s-default .cm-keyword {color: #708;}
.cm-s-default .cm-atom {color: #219;}
.cm-s-default .cm-number {color: #164;}
.cm-s-default .cm-def {color: #00f;}
.cm-s-default .cm-variable-2 {color: #05a;}
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
.cm-s-default .cm-comment {color: #a50;}
.cm-s-default .cm-string {color: #a11;}
.cm-s-default .cm-string-2 {color: #f50;}
.cm-s-default .cm-meta {color: #555;}
.cm-s-default .cm-qualifier {color: #555;}
.cm-s-default .cm-builtin {color: #30a;}
.cm-s-default .cm-bracket {color: #997;}
.cm-s-default .cm-tag {color: #170;}
.cm-s-default .cm-attribute {color: #00c;}
.cm-s-default .cm-hr {color: #999;}
.cm-s-default .cm-link {color: #00c;}

.cm-s-default .cm-error {color: #f00;}
.cm-invalidchar {color: #f00;}

.CodeMirror-composing { border-bottom: 2px solid; }

/* Default styles for common addons */

div.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
.CodeMirror-activeline-background {background: #e8f2ff;}

/* STOP */

/* The rest of this file contains styles related to the mechanics of
   the editor. You probably shouldn't touch them. */

.CodeMirror {
  position: relative;
  overflow: hidden;
  background: white;
}

.CodeMirror-scroll {
  overflow: scroll !important; /* Things will break if this is overridden */
  /* 50px is the magic margin used to hide the element's real scrollbars */
  /* See overflow: hidden in .CodeMirror */
  margin-bottom: -50px; margin-right: -50px;
  padding-bottom: 50px;
  height: 100%;
  outline: none; /* Prevent dragging from highlighting the element */
  position: relative;
  z-index: 0;
}
.CodeMirror-sizer {
  position: relative;
  border-right: 50px solid transparent;
}

/* The fake, visible scrollbars. Used to force redraw during scrolling
   before actual scrolling happens, thus preventing shaking and
   flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
  position: absolute;
  z-index: 6;
  display: none;
  outline: none;
}
.CodeMirror-vscrollbar {
  right: 0; top: 0;
  overflow-x: hidden;
  overflow-y: scroll;
}
.CodeMirror-hscrollbar {
  bottom: 0; left: 0;
  overflow-y: hidden;
  overflow-x: scroll;
}
.CodeMirror-scrollbar-filler {
  right: 0; bottom: 0;
}
.CodeMirror-gutter-filler {
  left: 0; bottom: 0;
}

.CodeMirror-gutters {
  position: absolute; left: 0; top: 0;
  min-height: 100%;
  z-index: 3;
}
.CodeMirror-gutter {
  white-space: normal;
  height: 100%;
  display: inline-block;
  vertical-align: top;
  margin-bottom: -50px;
}
.CodeMirror-gutter-wrapper {
  position: absolute;
  z-index: 4;
  background: none !important;
  border: none !important;
}
.CodeMirror-gutter-background {
  position: absolute;
  top: 0; bottom: 0;
  z-index: 4;
}
.CodeMirror-gutter-elt {
  position: absolute;
  cursor: default;
  z-index: 4;
}
.CodeMirror-gutter-wrapper ::selection { background-color: transparent }
.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }

.CodeMirror-lines {
  cursor: text;
  min-height: 1px; /* prevents collapsing before first draw */
}
.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
  /* Reset some styles that the rest of the page might have set */
  -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
  border-width: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  margin: 0;
  white-space: pre;
  word-wrap: normal;
  line-height: inherit;
  color: inherit;
  z-index: 2;
  position: relative;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-variant-ligatures: contextual;
  font-variant-ligatures: contextual;
}
.CodeMirror-wrap pre.CodeMirror-line,
.CodeMirror-wrap pre.CodeMirror-line-like {
  word-wrap: break-word;
  white-space: pre-wrap;
  word-break: normal;
}

.CodeMirror-linebackground {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 0;
}

.CodeMirror-linewidget {
  position: relative;
  z-index: 2;
  padding: 0.1px; /* Force widget margins to stay inside of the container */
}

.CodeMirror-rtl pre { direction: rtl; }

.CodeMirror-code {
  outline: none;
}

/* Force content-box sizing for the elements where we expect it */
.CodeMirror-scroll,
.CodeMirror-sizer,
.CodeMirror-gutter,
.CodeMirror-gutters,
.CodeMirror-linenumber {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.CodeMirror-measure {
  position: absolute;
  width: 100%;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.CodeMirror-cursor {
  position: absolute;
  pointer-events: none;
}
.CodeMirror-measure pre { position: static; }

div.CodeMirror-cursors {
  visibility: hidden;
  position: relative;
  z-index: 3;
}
div.CodeMirror-dragcursors {
  visibility: visible;
}

.CodeMirror-focused div.CodeMirror-cursors {
  visibility: visible;
}

.CodeMirror-selected { background: #d9d9d9; }
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
.CodeMirror-crosshair { cursor: crosshair; }
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }

.cm-searching {
  background-color: #ffa;
  background-color: rgba(255, 255, 0, .4);
}

/* Used to force a border model for a node */
.cm-force-border { padding-right: .1px; }

@media print {
  /* Hide the cursor when printing */
  .CodeMirror div.CodeMirror-cursors {
    visibility: hidden;
  }
}

/* See issue #2901 */
.cm-tab-wrap-hack:after { content: ''; }

/* Help users use markselection to safely style text background */
span.CodeMirror-selectedtext { background: none; }

.CodeMirror-dialog {
  position: absolute;
  left: 0; right: 0;
  background: inherit;
  z-index: 15;
  padding: .1em .8em;
  overflow: hidden;
  color: inherit;
}

.CodeMirror-dialog-top {
  border-bottom: 1px solid #eee;
  top: 0;
}

.CodeMirror-dialog-bottom {
  border-top: 1px solid #eee;
  bottom: 0;
}

.CodeMirror-dialog input {
  border: none;
  outline: none;
  background: transparent;
  width: 20em;
  color: inherit;
  font-family: monospace;
}

.CodeMirror-dialog button {
  font-size: 70%;
}

.CodeMirror-foldmarker {
  color: blue;
  text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
  font-family: arial;
  line-height: .3;
  cursor: pointer;
}
.CodeMirror-foldgutter {
  width: .7em;
}
.CodeMirror-foldgutter-open,
.CodeMirror-foldgutter-folded {
  cursor: pointer;
}
.CodeMirror-foldgutter-open:after {
  content: "\25BE";
}
.CodeMirror-foldgutter-folded:after {
  content: "\25B8";
}

.CodeMirror-simplescroll-horizontal div, .CodeMirror-simplescroll-vertical div {
  position: absolute;
  background: #ccc;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid var(--secondary);
  border-radius: 2px;
}
.dark-mode .CodeMirror-simplescroll-horizontal div, .dark-mode .CodeMirror-simplescroll-vertical div {
  background: rgb(91, 95, 122);
  border-color: var(--dark-mode-dark-gray);
}

.CodeMirror-simplescroll-horizontal, .CodeMirror-simplescroll-vertical {
  position: absolute;
  z-index: 6;
  background: var(--light);
}
.dark-mode .CodeMirror-simplescroll-horizontal, .dark-mode .CodeMirror-simplescroll-vertical {
  background: var(--dark-mode-lighter-dark);
}

.CodeMirror-simplescroll-horizontal {
  bottom: 0; 
  left: 0;
  height: 10px;
}
.CodeMirror-simplescroll-horizontal div {
  bottom: 0;
  height: 100%;
}

.CodeMirror-simplescroll-vertical {
  right: 0; 
  top: 0;
  width: 10px;
}
.CodeMirror-simplescroll-vertical div {
  right: 0;
  width: 100%;
}


.CodeMirror-overlayscroll .CodeMirror-scrollbar-filler, .CodeMirror-overlayscroll .CodeMirror-gutter-filler {
  display: none;
}

.CodeMirror-overlayscroll-horizontal div, .CodeMirror-overlayscroll-vertical div {
  position: absolute;
  background: #bcd;
  border-radius: 3px;
}

.CodeMirror-overlayscroll-horizontal, .CodeMirror-overlayscroll-vertical {
  position: absolute;
  z-index: 6;
}

.CodeMirror-overlayscroll-horizontal {
  bottom: 0; left: 0;
  height: 6px;
}
.CodeMirror-overlayscroll-horizontal div {
  bottom: 0;
  height: 100%;
}

.CodeMirror-overlayscroll-vertical {
  right: 0; top: 0;
  width: 6px;
}
.CodeMirror-overlayscroll-vertical div {
  right: 0;
  width: 100%;
}

.CodeMirror-search-match {
  background: gold;
  border-top: 1px solid orange;
  border-bottom: 1px solid orange;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  opacity: .5;
}

.CodeMirror-fullscreen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  height: auto;
  z-index: 9;
}

.CodeMirror-hints {
  position: absolute;
  z-index: 10;
  overflow: hidden;
  list-style: none;

  margin: 0;
  padding: 2px;

  -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  border-radius: 3px;
  border: 1px solid silver;

  background: white;
  font-size: 90%;
  font-family: monospace;

  max-height: 20em;
  overflow-y: auto;
  box-sizing: border-box;
}

.CodeMirror-hint {
  margin: 0;
  padding: 0 4px;
  border-radius: 2px;
  white-space: pre;
  color: black;
  cursor: pointer;
}

li.CodeMirror-hint-active {
  background: #08f;
  color: white;
}

.cm-s-eclipse span.cm-meta { color: #FF1717; }
.cm-s-eclipse span.cm-keyword { line-height: 1em; font-weight: bold; color: #7F0055; }
.cm-s-eclipse span.cm-atom { color: #219; }
.cm-s-eclipse span.cm-number { color: #164; }
.cm-s-eclipse span.cm-def { color: #00f; }
.cm-s-eclipse span.cm-variable { color: black; }
.cm-s-eclipse span.cm-variable-2 { color: #0000C0; }
.cm-s-eclipse span.cm-variable-3, .cm-s-eclipse span.cm-type { color: #0000C0; }
.cm-s-eclipse span.cm-property { color: black; }
.cm-s-eclipse span.cm-operator { color: black; }
.cm-s-eclipse span.cm-comment { color: #3F7F5F; }
.cm-s-eclipse span.cm-string { color: #2A00FF; }
.cm-s-eclipse span.cm-string-2 { color: #f50; }
.cm-s-eclipse span.cm-qualifier { color: #555; }
.cm-s-eclipse span.cm-builtin { color: #30a; }
.cm-s-eclipse span.cm-bracket { color: #cc7; }
.cm-s-eclipse span.cm-tag { color: rgb(131, 92, 77); }
.cm-s-eclipse span.cm-attribute { color: #00c; }
.cm-s-eclipse span.cm-link { color: #219; }
.cm-s-eclipse span.cm-error { color: #f00; }

.cm-s-eclipse .CodeMirror-activeline-background { background: #e8f2ff; }
.cm-s-eclipse .CodeMirror-matchingbracket { outline:1px solid grey; color:black !important; }


.dark-mode .cm-s-eclipse span.cm-meta {color: #569cd6}
.dark-mode .cm-s-eclipse span.cm-number {color: #b5cea8}
.dark-mode .cm-s-eclipse span.cm-keyword {line-height: 1em; font-weight: bold; color: #569cd6;}
.dark-mode .cm-s-eclipse span.cm-def {color:#9cdcfe}
.dark-mode .cm-s-eclipse span.cm-variable {color: #D1D3E0;}
.dark-mode .cm-s-eclipse span.cm-variable-2 {color: #9cdcfe}
.dark-mode .cm-s-eclipse span.cm-variable-3 {color: #ddd6a3;}
.dark-mode .cm-s-eclipse span.cm-type {color: #A9B7C6}
.dark-mode .cm-s-eclipse span.cm-property {color: #9cdcfe}
.dark-mode .cm-s-eclipse span.cm-operator {color: #d4d4d4}
.dark-mode .cm-s-eclipse span.cm-string {color: #ce9178}
.dark-mode .cm-s-eclipse span.cm-string-2 {color: #6A8759}
.dark-mode .cm-s-eclipse span.cm-comment {color: #6A9955}
.dark-mode .cm-s-eclipse span.cm-link {color: #287BDE}
.dark-mode .cm-s-eclipse span.cm-atom {color: #569cd6}
.dark-mode .cm-s-eclipse span.cm-error {color: #BC3F3C}
.dark-mode .cm-s-eclipse span.cm-tag {color: #569cd6}
.dark-mode .cm-s-eclipse span.cm-attribute {color: #9cdcfe}
.dark-mode .cm-s-eclipse span.cm-qualifier {color: #d7ba7d}
.dark-mode .cm-s-eclipse span.cm-bracket {color: #808080}

.dark-mode .cm-s-eclipse.CodeMirror {background: var(--dark-mode-dark); color: #e9e9e9;}
.dark-mode .cm-s-eclipse .CodeMirror-cursor {border-left: 1px solid #bebebe;}
.dark-mode .CodeMirror-activeline-background {background: var(--gray-dark);}
.dark-mode .cm-s-eclipse div.CodeMirror-selected {background: #1e496c !important;}
.dark-mode .cm-s-eclipse .CodeMirror-gutters {background: var(--dark-mode-dark); border-right: 1px solid var(--dark-mode-lighter-dark); color: #606366}
.dark-mode .cm-s-eclipse span.cm-builtin {color: #A9B7C6;}
.dark-mode .cm-s-eclipse .CodeMirror-matchingbracket {background-color: #3b514d; color: var(--light) !important;}

.selection-popover {
	z-index: 10000;
	position: fixed;
}
.selection-popover>.content {
	background: var(--light-info);
	border-radius: 0.42rem;
	padding: 1rem 0;
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1);
}
.dark-mode .selection-popover>.content {
	background: var(--dark-mode-light-info);
	box-shadow: 0 0 30px rgb(0 0 0 / 50%);	
}

.selection-popover>.content a, .selection-popover>.content span {
	color: var(--info);
	display: block;
	white-space: nowrap;
	padding: 0.3rem 1rem;
}
.selection-popover>.content a:hover, .selection-popover>.content a:focus {
	background-color: var(--info);
	color: white;
}

.selection-popover>.triangle {
	position: relative;
	left: 50%;
	width: 0; 
	height: 0; 
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid var(--light-info);
}
.dark-mode .selection-popover>.triangle {
	border-top-color: var(--dark-mode-light-info);
}
/* 
 * have to use relative here as otherwise the last table row will have problem
 * focusing on expander link. This relates to negative margin top 
 * specified for change class in revision diff panel
 */
.blob-text-diff>.text-diff>tbody>tr>td {
	position: relative;
}
.blob-text-diff>.text-diff>tbody>tr>td.number {
	padding: 0.15rem 0.6rem 0.15rem 0;
	border-left: 1px solid var(--light-gray);
	text-align: right;
	color: var(--gray);
	white-space: nowrap;
}
.dark-mode .blob-text-diff>.text-diff>tbody>tr>td.number {
	border-left-color: var(--dark-mode-lighter-dark);
	color: var(--dark-mode-gray);
}
.blob-text-diff>.text-diff>tbody>tr>td.number>.coverage {
	display: block;
	position: absolute;
	width: 4px;
	right: 0;
	top: 0;
	bottom: 0;
}
.blob-text-diff>.text-diff>tbody>tr>td.number>.covered {
	background: var(--success);	
}
.blob-text-diff>.text-diff>tbody>tr>td.number>.not_covered {
	background: var(--danger);	
}
.blob-text-diff>.text-diff>tbody>tr>td.number>.partially_covered {
	background: var(--warning);	
}
.blob-text-diff>.text-diff>tbody>tr>td.number>.covered:hover {
	background: #12827c;	
}
.blob-text-diff>.text-diff>tbody>tr>td.number>.not_covered:hover {
	background: #BF3C4A;	
}
.blob-text-diff>.text-diff>tbody>tr>td.number>.partially_covered:hover {
	background: #b37600;	
}


.blob-text-diff>.text-diff>tbody>tr:not(.expanded)+tr.expanded>td, .blob-text-diff>.text-diff>tbody>tr.expanded+tr:not(.expanded)>td {
	border-top: 1px solid var(--light-gray);
}
.dark-mode .blob-text-diff>.text-diff>tbody>tr:not(.expanded)+tr.expanded>td, 
.dark-mode .blob-text-diff>.text-diff>tbody>tr.expanded+tr:not(.expanded)>td {
	border-top-color: var(--dark-mode-lighter-dark);
}
.blob-text-diff>.text-diff>tbody>tr.expanded>td {
	background: #F6F9FC;
}
.dark-mode .blob-text-diff>.text-diff>tbody>tr.expanded>td {
	background: var(--dark-mode-light-dark);
}
.blob-text-diff>.text-diff>tbody>tr.expander>td.skipped {
	padding: 0.5rem 1.2rem;
	border-left: 1px solid var(--light-gray);
	background: #F0F8FF;
	color: var(--gray);
}
.dark-mode .blob-text-diff>.text-diff>tbody>tr.expander>td.skipped {
	border-left-color: var(--dark-mode-lighter-dark);
	background: rgb(23, 33, 53);
	color: var(--dark-mode-gray);
}
.blob-text-diff>.text-diff>tbody>tr.expander>td.expander {
	text-align: center;
	overflow: hidden;
	vertical-align: middle;
}
.blob-text-diff>.text-diff>tbody>tr.expander>td.expander a {
	display: block;
	background: #F0F8FF;
	color: var(--gray);
	padding: 2rem 0;
	margin: -2rem -1px;
}
.dark-mode .blob-text-diff>.text-diff>tbody>tr.expander>td.expander a {
	background: rgb(23, 33, 53);
	color: var(--gray);
}

.blob-text-diff>.text-diff>tbody>tr.expander>td.expander>a:hover, 
.blob-text-diff>.text-diff>tbody>tr.expander>td.expander>a:focus {
	background: var(--primary);
	color: white;
}

.blob-text-diff>.text-diff>tbody>tr>td:last-child {
	border-right: 1px solid var(--light-gray) !important;
}
.dark-mode .blob-text-diff>.text-diff>tbody>tr>td:last-child {
	border-right-color: var(--dark-mode-lighter-dark) !important;
}
.blob-text-diff>.text-diff>tbody>tr:last-child>td:first-child {
	border-radius: 0 0 0 0.42rem;
}
.blob-text-diff>.text-diff>tbody>tr:last-child>td:last-child {
	border-radius: 0 0 0.42rem 0;
}
.blob-text-diff>.text-diff>tbody>tr>td.operation {
	padding-top: 0.1rem;
	border-left: 1px solid var(--light-gray);
}

.dark-mode .blob-text-diff>.text-diff>tbody>tr>td.operation {
	border-left-color: var(--dark-mode-lighter-dark);
}
.blob-text-diff>.text-diff>tbody>tr>td:FIRST-CHILD {
	border-left: 1px solid var(--light-gray);
}
.dark-mode .blob-text-diff>.text-diff>tbody>tr>td:FIRST-CHILD {
	border-left-color: var(--dark-mode-lighter-dark);
}
.blob-text-diff>.text-diff>tbody>tr:LAST-CHILD>td {
	border-bottom: 1px solid var(--light-gray);
}
.dark-mode .blob-text-diff>.text-diff>tbody>tr:LAST-CHILD>td {
	border-bottom-color: var(--dark-mode-lighter-dark);
}
.blob-text-diff>.text-diff>tbody>tr>td.old.operation {
	border-left: 1px solid #f1c0c0;
}
.dark-mode .blob-text-diff>.text-diff>tbody>tr>td.old.operation {
	border-left-color: rgb(97, 48, 63);
}
.blob-text-diff>.text-diff>tbody>tr>td.new.operation {
	border-left: 1px solid #c1e9c1;
}
.dark-mode .blob-text-diff>.text-diff>tbody>tr>td.new.operation {
	border-left-color: rgb(38, 76, 50);
}
.blob-text-diff>.text-diff>tbody>tr>td.old.new.operation {
	border-left: 1px solid #EBD049;
}
.dark-mode .blob-text-diff>.text-diff>tbody>tr>td.old.new.operation {
	border-left-color: rgb(103, 68, 0);
}

.blob-text-diff>.text-diff>tbody>tr>td.old.number {
	background: #ffdddd;
	border-left: 1px solid #f1c0c0;
}
.dark-mode .blob-text-diff>.text-diff>tbody>tr>td.old.number {
	background: rgb(62, 20, 25);
	border-left-color: rgb(97, 48, 63);
}
.blob-text-diff>.text-diff>tbody>tr>td.new.number {
	background: #dbffdb;
	border-left: 1px solid #c1e9c1;
}
.dark-mode .blob-text-diff>.text-diff>tbody>tr>td.new.number {
	background: rgb(6, 49, 47);
	border-left-color: rgb(38, 76, 50);
}
.blob-text-diff>.text-diff>tbody>tr>td.old.new.number {
	background: #FAF3D0;
	border-left: 1px solid #EBD049;
}
.dark-mode .blob-text-diff>.text-diff>tbody>tr>td.old.new.number {
	background: rgb(66, 44, 0);
	border-left-color: rgb(103, 68, 0);
}
.blob-text-diff>.text-diff td.content.active, .dark-mode .blob-text-diff>.text-diff td.content.active {
	border: 1px dotted var(--primary) !important;
}
.blob-text-diff>.text-diff>tbody>tr>td.content>span.content-mark {
	background: #8950FC;
	color: white !important;
}

.blob-text-diff>.text-diff>tbody>tr>td.number>.comment-indicator,
.blob-text-diff>.text-diff>tbody>tr>td.number>.problem-trigger, 
.blob-text-diff>.text-diff>tbody>tr>td.number>.confusable {
	margin-right: 0.3rem;
}

.blob-text-diff>.text-diff>tbody>tr>td.blame {
	font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	padding: 0 0.3rem;
	border-left: 1px solid var(--secondary);
}
.blob-text-diff>.text-diff>tbody>tr>td.blame.abbr {
	text-overflow: inherit;
}
.blob-text-diff>.text-diff>tbody>tr>td.blame .hash, .blob-text-diff>.text-diff>tbody>tr>td.blame .date {
	margin-right: 0.6rem;
}
.blob-text-diff>.text-diff>tbody>tr>td.blame.abbr .hash {
	margin-right: 0;
}
.blob-text-diff>.text-diff>tbody>tr>td.blame .same-as-above {
	margin-left: 90px;
	margin-top: -0.6rem;
	color: var(--gray);
	font-size: 1.2rem;
}
.blob-text-diff>.text-diff>tbody>tr>td.blame.abbr .same-as-above {
	margin-left: 1rem;
}

.blob-edit>.head {
	border-bottom: 1px solid var(--light-gray);
	height: 3rem;
}
.blob-edit>.head .tab a {
	border-bottom: 1px solid transparent;
	margin-bottom: -1px;
}
.blob-edit>.head .active.tab a, .blob-edit>.head .tab a:focus, .blob-edit>.head .tab a:hover {
	border-color: var(--primary);
}
.blob-edit>.head .active.tab a {
	color: var(--primary);
}

.blob-edit>.body>form>.feedback>ul {
	margin-bottom: 0;
}
.blob-edit>.body>form>.feedback>ul>li {
	border-radius: 0;
}
.comment-indicator, .comment-trigger {
	color: var(--info) !important;
}
.comment-indicator.updated, .comment-trigger.updated {
	color: var(--primary) !important;
}
.comment-indicator:hover, .comment-indicator.active, 
.comment-trigger:hover, .comment-trigger.active {
	color: #5605fb !important;
}
.dark-mode .comment-indicator:hover, .dark-mode .comment-indicator.active, 
.dark-mode .comment-trigger:hover, .dark-mode .comment-trigger.active {
	color: rgb(181, 152, 255) !important;
}
.comment-indicator.updated.active, .comment-indicator.updated:hover, 
.comment-trigger.updated.active, .comment-trigger.updated:hover {
	color: #0073e9 !important;
}
.dark-mode .comment-indicator.updated.active, .dark-mode .comment-indicator.updated:hover, 
.dark-mode .comment-trigger.updated.active, .dark-mode .comment-trigger.updated:hover {
	color: rgb(124, 164, 233) !important;
}
.popover-body>.comment-trigger {
	display: block;
	white-space: nowrap;
}

.cm-identifierhighlight {
	background: #D1D3E0;
}
.dark-mode .cm-identifierhighlight {
	color: var(--light) !important;
	background: var(--dark-mode-gray);
}

.cm-searching {
	background: rgb(248, 234, 148);
}
.dark-mode .cm-searching {
    background: rgb(179, 117, 3);
}
.CodeMirror-mark {
	background: #8950FC;
}
.cm-identifierhighlight.CodeMirror-mark {
	background: var(--dark);	
}
.dark-mode .cm-identifierhighlight.CodeMirror-mark {
	color: var(--dark-mode-darker) !important;
	background: white;	
}
.cm-searching.CodeMirror-mark {
	background: var(--warning);
}
.cm-searching.cm-identifierhighlight {
    background: rgb(218, 143, 3);
}
.dark-mode .cm-searching.cm-identifierhighlight {
    background: rgb(125, 82, 1);
}

.cm-searching.cm-identifierhighlight.CodeMirror-mark {
	background: #b89ce0;
}

.CodeMirror-mark:not(.CodeMirror-selectedtext) {
	color: white !important;
}
.CodeMirror {
	font-size: 12px;
	line-height: 1.5;
	font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
.CodeMirror-gutters {
	background: white;
	border-right-color: var(--secondary);
}
.CodeMirror-selected {
	background-color: #b4d7ff !important;
}
.dark-mode .CodeMirror-selected {
	background-color: #1e496c !important;
}
.CodeMirror-simplescroll-horizontal div, .CodeMirror-simplescroll-vertical div {
	background: none repeat scroll 0 0 var(--light-dark); 
	border: 1px solid var(--light-dark);
}
.CodeMirror-search-match {
  background: var(--warning);
  border-top: 1px solid var(--warning);
  border-bottom: 1px solid var(--warning);
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  opacity: .5;
}
.CodeMirror-search-match2 {
  background: #666;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  opacity: .5;
}
.dark-mode .CodeMirror-search-match2 {
  background: var(--dark-mode-light-gray);
  border-top-color: var(--dark-mode-light-gray);
  border-bottom-color: var(--dark-mode-light-gray);
}
.CodeMirror-fullscreen {
	z-index: 210;
}
.CodeMirror-hints {
	z-index: 10000;
}
.dark-mode .CodeMirror-dialog-top {
    border-bottom-color: var(--dark-mode-lighter-dark);
}
.dark-mode .CodeMirror-hints {
	background: var(--dark-mode-dark);
	border-color: var(--dark-mode-light-dark);
	box-shadow: 0 0 30px rgb(0 0 0 / 50%);	
}
.dark-mode .CodeMirror-hint {
	color: var(--muted);
}
.dark-mode li.CodeMirror-hint-active {
    background: var(--dark-mode-light-primary);
    color: var(--primary);
}

.cm-s-eclipse span.cm-meta {
	color: #888;
}
.dark-mode .cm-s-eclipse span.cm-meta {
	color: #9899ac;
}

.cm-s-eclipse .CodeMirror-matchingbracket {
	outline: none;
	background: #69B7F7;
}
.dark-mode .cm-s-eclipse .CodeMirror-matchingbracket {
	background: var(--primary);
}

.problem-popover.popover {
	max-width: 360px;
}
@media(min-width: 600px) {
	.problem-popover.popover {
		max-width: 400px;
	}
}
@media(min-width: 900px) {
	.problem-popover.popover {
		max-width: 600px;
	}
}
@media(min-width: 1200px) {
	.problem-popover.popover {
		max-width: 900px;
	}
}
.problem-popover .problem-content+.problem-content {
	margin-top: 0.75rem;
	border-top: 1px solid var(--light);
	padding-top: 0.75rem;
}
.problem-popover .problem-content>.badge {
	width: 64px;
}
.dark-mode .problem-popover .problem-content+.problem-content {
	border-top-color: var(--dark-mode-light-dark);
}

.text-diff {
	table-layout: fixed;
	width: 100%;
	border-collapse: separate;	
}
.text-diff>tbody {
	font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
	font-size: 0.9rem;
}

.text-diff>tbody>tr>td.old.content {
	background: #ffecec;
	border-color: #ffecec;
}
.dark-mode .text-diff>tbody>tr>td.old.content {
	background: rgb(49, 16, 20);
	border-color: rgb(49, 16, 20);
}
.text-diff>tbody>tr>td.old.operation {
	background: #ffecec;
}
.dark-mode .text-diff>tbody>tr>td.old.operation {
	background: rgb(49, 16, 20);
}
.text-diff>tbody>tr>td.old .delete {
	background-color: rgb(255, 146, 176);
}
.dark-mode .text-diff>tbody>tr>td.old .delete {
	background-color: rgb(108, 35, 44);
}
.text-diff>tbody>tr>td.new.content {
	background: #eaffea;
	border-color: #eaffea;
}
.dark-mode .text-diff>tbody>tr>td.new.content {
	background: rgb(4, 38, 36);
	border-color: rgb(4, 38, 36);
}
.text-diff>tbody>tr>td.new.operation {
	background: #eaffea;
}
.dark-mode .text-diff>tbody>tr>td.new.operation {
	background: rgb(4, 38, 36);
}
.text-diff>tbody>tr>td.new .insert {
	background-color: rgb(154, 255, 150);
}
.dark-mode .text-diff>tbody>tr>td.new .insert {
	background-color: rgb(5, 96, 78);
}
.text-diff>tbody>tr>td.old.new.content {
	background: #FCF8E4;
	border-color: #FCF8E4;
}
.dark-mode .text-diff>tbody>tr>td.old.new.content {
	background: rgb(52, 34, 0);
	border-color: rgb(52, 34, 0);
}
.text-diff>tbody>tr>td.old.new.operation {
	background: #FCF8E4;
}
.dark-mode .text-diff>tbody>tr>td.old.new.operation {
	background: rgb(52, 34, 0);
}
.text-diff>tbody>tr>td.content {
	white-space: pre-wrap;
	word-wrap: break-word;
	border: 1px solid transparent;
}
.text-diff>tbody>tr>td.operation {
	font-weight: bold;
	padding: 0 0.3rem 0 0.3rem;
}
.text-diff>tbody>tr.code {
	background: inherit;
	border: inherit;
	border-radius: inherit;
	padding: inherit;
	margin: inherit;
	font-family: inherit;
	font-size: inherit;
}

.dark-mode ::selection {
	background-color: #1e496c;
}


@media(min-width: 992px) {
	.markdown-editor.compact-mode .normal-mode, 
	.markdown-editor.normal-mode .compact-mode {
		display: none !important;
	}
}
.markdown-editor.fixed-width {
	font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;	
}
.markdown-editor.fullscreen {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 1060;
	padding: 1.6rem;
	background: white;
}
.dark-mode .markdown-editor.fullscreen {
	background: var(--dark-mode-darker);
}
.markdown-editor>.head>.warning {
	margin-bottom: 0;
	padding-top: 0.6rem;
	padding-bottom: 0.6rem;
	display: none;
}
.markdown-editor>.head>.warning .close .icon {
	vertical-align: middle;
}
.markdown-editor>.head>.warning, .markdown-editor>.head>.help, .markdown-editor>.head>.emojis {
	margin: 0.3rem;
}
.markdown-editor>.head {
	background: white;
	border: 1px solid var(--light-gray);	
	border-bottom: none;
	border-radius: 0.42rem 0.42rem 0 0;
	padding: 0.3rem;
}
.dark-mode .markdown-editor>.head {
	background: var(--dark-mode-dark);
	border-color: var(--dark-mode-light-dark);	
}
.markdown-editor>.head>.actions>div>a, .markdown-editor>.head>.actions>div>.dropdown>a {
	padding: 0.15rem;
	color: var(--gray);
	border: 1px solid white;
	border-radius: 0.42rem;
	display: block;
	width: 2rem;
	text-align: center;
	margin-right: 0.3rem;
}
.dark-mode .markdown-editor>.head>.actions>div>a, 
.dark-mode .markdown-editor>.head>.actions>div>.dropdown>a {
	color: var(--dark-mode-gray);
	border-color: var(--dark-mode-dark);
}
.markdown-editor.compact-mode>.head .split>.icon {
	transform: rotate(-90deg);
}

.markdown-editor>.head>.actions .separator {
	display: block;
	border-left: 1px solid var(--light-gray);
	margin-right: 0.3rem;
	height: 2rem;
}
.dark-mode .markdown-editor>.head>.actions .separator {
	border-left-color: var(--dark-mode-light-dark);
}
.markdown-editor>.head>.actions>div>a:hover, .markdown-editor>.head>.actions>div>a.active, 
.markdown-editor>.head>.actions>div>.dropdown>a:hover, .markdown-editor>.head>.actions>div>.dropdown>a.active {
	background: var(--light);
	border: 1px solid var(--light-gray);
}
.dark-mode .markdown-editor>.head>.actions>div>a:hover, 
.dark-mode .markdown-editor>.head>.actions>div>a.active, 
.dark-mode .markdown-editor>.head>.actions>div>.dropdown>a:hover, 
.dark-mode .markdown-editor>.head>.actions>div>.dropdown>a.active {
	background: var(--dark-mode-light-dark);
	border-color: var(--dark-mode-lighter-dark);
}

.markdown-editor .ui-resizable-handle {
	background: var(--light-gray) url(/~icon/grip2.svg) no-repeat scroll center center;
	background-size: 20px 20px;
    cursor: s-resize;
    height: 4px;
    bottom: 0;
	border-radius: 0 0 0.42rem 0.42rem;
}
.dark-mode .markdown-editor .ui-resizable-handle {
	background: var(--dark-mode-light-dark) url(/~icon/dark-grip2.svg) no-repeat scroll center center;
	background-size: 20px 20px;
}

.markdown-editor.fullscreen .ui-resizable-handle {
	display: none;
}

.markdown-editor>.head>.emojis {
	display: none;
}
.markdown-editor>.head>.emojis.loaded {
	font-size: 0.95rem; 
	line-height: 2rem; 
	height: 200px; 
	overflow: auto;
}
.markdown-editor>.head>.emojis.loading {
	font-size: 1.25rem;
	color: var(--gray-dark);
}
.dark-mode .markdown-editor>.head>.emojis.loading {
	color: var(--dark-mode-gray);
}

.markdown-editor>.head>.emojis .emoji {
	margin-right: 0.8rem;
	font-size: 1.25rem;
}

.markdown-editor>.head>.help {
	display: none;
}

.markdown-editor>.body>.preview>.markdown-rendered {
	border: 1px solid var(--light-gray);
	padding: 0.6rem;
	position: absolute;
	top: 0;
	bottom: 4px;
	left: 0;
	right: 0;
	background: white;
}
.dark-mode .markdown-editor>.body>.preview>.markdown-rendered {
	border-color: var(--dark-mode-light-dark);
	background: var(--dark-mode-dark);
}

.markdown-editor.preview-mode>.body>.edit, .markdown-editor.edit-mode>.body>.preview {
	display: none !important;
}
.markdown-editor.fullscreen>.body>* {
	height: 100% !important;
}

/* 
 * Do not display header link in preview mode as otherwise we need to reserve a big margin 
 * at left side 
 */ 
.markdown-editor>.body>.preview>.markdown-rendered .header-link {
	display: none;
}

.markdown-editor.normal-mode>.body>div {
	flex: 1;
}
.markdown-editor.compact-mode>.body {
	flex-direction: column;
}
.markdown-editor.compact-mode.split-mode>.body>.preview {
	margin-top: 0.5rem;
}

.markdown-editor>.body>.edit>textarea {
	width: 100%;
	display: block;
	resize: none;
	padding: 0.6rem;
	border-radius: 0;
	margin-bottom: 4px;
}
.markdown-editor>.body>.preview>.markdown-rendered>.message {
	color: var(--gray);
}
.dark-mode .markdown-editor>.body>.preview>.markdown-rendered>.message {
	color: var(--dark-mode-gray);
}

.compact-mode.dropdown a {
	font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

.markdown-editor.compact-mode>.body>.ui-resizable-handle, 
.markdown-editor.normal-mode>.body>div>.ui-resizable-handle {
	display: none;
}

.atwho-view .emoji {
	display: inline-block; 
	height: 1.5rem; 
	width: 1.5rem; 
	vertical-align: middle; 
	background-repeat: no-repeat; 
	background-size: 1.5rem 1.5rem;
}
.atwho-view .avatar img {
	display: inline-block; 
	width: 1.5rem; 
	height: 1.5rem; 
	vertical-align: middle;
}
.atwho-view .cur .text-muted {
	color: inherit;	
}

.insert-url .blob-selector {
	padding: 0;
}
.insert-url .attachment {
	margin-bottom: 1.5rem;
}
.insert-url .attachment:LAST-CHILD {
	margin-bottom: 0;
}

.insert-url .attachment.image {
	text-align: center;
}
.insert-url .attachment.image img {
	max-width: 100%;
}
.insert-url .attachment.image .btn {
	margin-top: 0.6rem;
}

.markdown-editor>.body>.edit>textarea>.drag-over {
	border: 2px solid #187DE4;
}

.markdown-rendered pre {
	white-space: pre;
}
.dark-mode .markdown-rendered {
	color: var(--muted);
}
.markdown-rendered li {
	margin-bottom: 0.5rem;
}
.markdown-rendered .emoji {
	width: 1.5rem; 
	height: 1.5rem;
}
.markdown-rendered table.table {
	width: auto; 
	margin-bottom: 1rem;
}
.markdown-rendered table.table th, 
.markdown-rendered table.table td {
	border: 1px solid var(--secondary);
	word-break: break-word !important;
    overflow-wrap: break-word !important;
}
.dark-mode .markdown-rendered table.table th, 
.dark-mode .markdown-rendered table.table td {
	border-color: var(--dark-mode-lighter-dark);
}
.markdown-rendered table.table tr:nth-child(odd) td {
	background: var(--light);
}
.dark-mode .markdown-rendered table.table tr:nth-child(odd) td {
	background: #1b1b29;
}
.markdown-rendered h1, .markdown-rendered h2, .markdown-rendered h3, 
.markdown-rendered h4, .markdown-rendered h5, .markdown-rendered h6 {
	font-weight: bold;
}
.markdown-rendered code {
	word-break: break-word !important;
	overflow-wrap: break-word !important;	
}
.markdown-rendered pre.code.suggestion {
	white-space: normal;
}
.markdown-rendered pre.code.suggestion>code>.head {
	border-bottom: 1px dashed var(--secondary);
}
.dark-mode .markdown-rendered pre.code.suggestion>code>.head {
	border-color: var(--dark-mode-lighter-dark);
}
.markdown-rendered pre.code.suggestion>.actions {
	display: block;
}
.markdown-rendered blockquote {
	font-size: 1.15rem; 
	border-left: 0.3rem solid var(--secondary); 
	color: var(--gray); 
	padding: 0 1.23rem;
}
.dark-mode .markdown-rendered blockquote {
	border-left-color: var(--dark-mode-lighter-dark); 
	color: var(--dark-mode-gray); 
}

.markdown-rendered img {
	max-width: 100%;
}
.markdown-rendered .task-list-item {
	list-style: none;
	margin-left: -1rem;
}
.markdown-rendered .task-list-item input {
	margin-right: 0.6rem;
	vertical-align: middle;
}

.markdown-rendered h1, .markdown-rendered h2, .markdown-rendered h3 {
	margin-top: 2rem;
}

.markdown-rendered .header-link {
	display: none;
	position: absolute;
}
.markdown-rendered h1:hover .header-link, 
.markdown-rendered h2:hover .header-link,
.markdown-rendered h3:hover .header-link,
.markdown-rendered h4:hover .header-link, 
.markdown-rendered h5:hover .header-link,
.markdown-rendered h6:hover .header-link {
	display: inline;
}

.markdown-rendered h1, .markdown-rendered h2,
.markdown-rendered h3, .markdown-rendered h4,
.markdown-rendered h5, .markdown-rendered h6 {
	position: relative;
}

.markdown-rendered h1 .header-link {
	margin-left: -24px;
	margin-top: -4px;
}
.markdown-rendered h2 .header-link {
	margin-left: -22px;
	margin-top: -4px;
}
.markdown-rendered h3 .header-link {
	margin-left: -20px;
	margin-top: -3px;
}
.markdown-rendered h4 .header-link {
	margin-left: -18px;
	margin-top: -2px;
}
.markdown-rendered h5 .header-link {
	margin-left: -16px;
	margin-top: -2px;
}
.markdown-rendered h6 .header-link {
	margin-left: -14px;
	margin-top: -2px;
}

.markdown-rendered h1 {
	margin-left: -24px;
	padding-left: 24px;
}
.markdown-rendered h2 {
	margin-left: -22px;
	padding-left: 22px;
}
.markdown-rendered h3 {
	margin-left: -20px;
	padding-left: 20px;
}
.markdown-rendered h4 {
	margin-left: -18px;
	padding-left: 18px;
}
.markdown-rendered h5 {
	margin-left: -16px;
	padding-left: 16px;
}
.markdown-rendered h6 {
	margin-left: -14px;
	padding-left: 14px;
}
.markdown-rendered h1 .header-link .icon {
	width: 20px;
	height: 20px;
}
.markdown-rendered h2 .header-link .icon {
	width: 18px;
	height: 18px;
}
.markdown-rendered h3 .header-link .icon {
	width: 16px;
	height: 16px;
}
.markdown-rendered h4 .header-link .icon {
	width: 14px;
	height: 14px;
}
.markdown-rendered h5 .header-link .icon {
	width: 14px;
	height: 14px;
}
.markdown-rendered h6 .header-link .icon {
	width: 12px;
	height: 12px;
}

.markdown-rendered a.header-link {
	color: var(--gray-dark);
}
.dark-mode .markdown-rendered a.header-link {
	color: var(--dark-mode-light-gray);
}

#reference-tooltip {
	z-index: 1000;
	background-color: var(--light-info); 
	border-radius: 0.42rem; 
	color: var(--info);
	font-size: 12px; 
	padding: 1rem; 
	box-shadow: 0px 10px 30px 0px rgba(82, 63, 105, 0.08);
}
.dark-mode #reference-tooltip {
	background-color: var(--dark-mode-light-info); 
	color: var(--info);
}

.markdown-image-loading {
	position: absolute;
	left: 0;
	top: 0;
	background: url("/~img/ajax-indicator-big.png") center no-repeat;
}
.dark-mode .markdown-image-loading {
	background: url("/~img/dark-ajax-indicator-big.png") center no-repeat;
}

.reference.mention {
	text-decoration: none;
}

/*
 * Use fixed table layout to force rendered code pre to show horizontal scroll bar
 */
.markdown-editor, .markdown-viewer {
	display: table;
	table-layout: fixed;
	width: 100%;
}
.markdown-rendered a {
	color: var(--primary);
}
.markdown-rendered a:hover, .markdown-rendered a:focus {
	color: #0073e9;
}

.markdown-rendered .no-color * {
	color: inherit !important;
	background-color: inherit !important;
}

.markdown-rendered>p:last-child {
	margin-bottom: 0;
}

.markdown-rendered div.paragraph {
	margin-bottom: 1.2rem;
}

.markdown-action-menu {
	min-width: 320px !important;
}

.markdown-rendered .callout {
	background-color: transparent !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.markdown-rendered .callout-content {
	color: var(--gray-dark) !important;
}
.dark-mode .markdown-rendered .callout-content {
	color: var(--dark-mode-gray) !important;
}
.code-support {
	border: 1px solid var(--light-gray);
	border-radius: 0.42rem;
	padding: 1px;
}
.dark-mode .code-support {
	border-color: var(--dark-mode-lighter-dark);
}
.code-support>div {
	position: relative;
	min-height: 100px;
	max-height: 400px;
}
.is-invalid .code-support {
	border-color: var(--danger);
}
.code-support .CodeMirror {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.property-viewer .CodeMirror .CodeMirror-cursor {
	border-left: none;
}
.CodeMirror-hint {
	padding: 4px;
}

.blob-edit .plain-edit .input {
	display: none;
}

.source-edit>.code {
	background: none;
	border: none;
	border-radius: 0;
	padding: 0;
	margin: 0;
	font-family: inherit;
	font-size: inherit;
}
.source-edit>.warning {
	display: none;
}

.source-view>div.code {
	background: none;
	border: none;
	border-radius: 0;
	padding: 0;
	margin: 0;
	font-family: inherit;
	font-size: inherit;
}
.source-view>.comment>.ui-resizable-handle {
	border-right: 1px solid var(--light-gray);
	background: var(--light) url(/~icon/grip3.svg) no-repeat scroll center center;
	background-size: 18px 18px;
    cursor: e-resize;
    width: 4px;
	position: relative;
	right: 0;
}
.dark-mode .source-view>.comment>.ui-resizable-handle {
	border-right-color: var(--dark-mode-lighter-dark);
	background: var(--dark-mode-light-dark) url(/~icon/dark-grip3.svg) no-repeat scroll center center;
	background-size: 18px 18px;
}
.source-view>.outline {
	left: 0 !important;
}
.source-view>.outline>.ui-resizable-handle {
	border-left: 1px solid var(--light-gray);
	background: var(--light) url(/~icon/grip3.svg) no-repeat scroll center center;
	background-size: 18px 18px;
    cursor: w-resize;
    width: 4px;
	position: relative;
	left: 0;
}
.dark-mode .source-view>.outline>.ui-resizable-handle {
	border-left-color: var(--dark-mode-lighter-dark);
	background: var(--dark-mode-light-dark) url(/~icon/dark-grip3.svg) no-repeat scroll center center;
	background-size: 18px 18px;
}
.source-view>.outline>.content {
	padding: 0.5rem 1rem;
}
.source-view>.outline>.content .tree-content>a {
	display: inline-block;
	border-radius: 4px;
	padding: 1px 4px 1px 3px;
}
.source-view>.outline>.content .tree-content>a.active {
	background: #FCF5DA;
}
.dark-mode .source-view>.outline>.content .tree-content>a.active {
	background: var(--dark-mode-light-warning);
}

.CodeMirror-linenumber {
	width: 30px;
	padding-left: 0;
}
.CodeMirror-coverages {
	width: 6px;
}
.CodeMirror-coverage {
	margin-right: 2px;
}
.CodeMirror-coverage.covered {
	background: var(--success);
}
.CodeMirror-coverage.partially_covered {
	background: var(--warning);
}
.CodeMirror-coverage.not_covered {
	background: var(--danger);
}
.CodeMirror-coverage.covered:hover {
	background: #12827c;
}
.CodeMirror-coverage.partially_covered:hover {
	background: #b37600;
}
.CodeMirror-coverage.not_covered:hover {
	background: #BF3C4A;
}

.CodeMirror-comments {
	width: 24px;
}
.CodeMirror-problems {
	width: 20px;
}
.CodeMirror-comment, .CodeMirror-problem {
	text-align: right;
}

.CodeMirror-annotations {
	width: 240px;
}
.CodeMirror-annotation {
	font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	padding: 0 4px;
}
.source-view .CodeMirror .CodeMirror-cursor {
	border-left: none;
}
.CodeMirror-annotation .hash, .CodeMirror-annotation .date {
	margin-right: 8px;
}
.CodeMirror-annotation .same-as-above {
	margin-left: 100px;
	color: var(--gray);
}
.CodeMirror-activeline .CodeMirror-annotation {
	background: #E8F2FE;	
}
.dark-mode .CodeMirror-activeline .CodeMirror-annotation {
	background: var(--gray-dark);	
}

.outline-search>.modal-body>.content {
	height: 480px;
}

