/**
 * prism.js default theme for JavaScript, CSS and HTML
 * Based on dabblet (http://dabblet.com)
 * @author Lea Verou
 */

code[class*="language-"],
pre[class*="language-"] {
	color: black;
	background: none;
	text-shadow: 0 1px white;
	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
	font-size: 1em;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	line-height: 1.5;

	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;

	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
	text-shadow: none;
	background: #b3d4fc;
}

pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
code[class*="language-"]::selection, code[class*="language-"] ::selection {
	text-shadow: none;
	background: #b3d4fc;
}

@media print {
	code[class*="language-"],
	pre[class*="language-"] {
		text-shadow: none;
	}
}

/* Code blocks */
pre[class*="language-"] {
	padding: 1em;
	margin: .5em 0;
	overflow: auto;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
	background: #f5f2f0;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
	padding: .1em;
	border-radius: .3em;
	white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: slategray;
}

.token.punctuation {
	color: #999;
}

.namespace {
	opacity: .7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
	color: #905;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
	color: #690;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
	color: #9a6e3a;
	background: hsla(0, 0%, 100%, .5);
}

.token.atrule,
.token.attr-value,
.token.keyword {
	color: #07a;
}

.token.function,
.token.class-name {
	color: #DD4A68;
}

.token.regex,
.token.important,
.token.variable {
	color: #e90;
}

.token.important,
.token.bold {
	font-weight: bold;
}
.token.italic {
	font-style: italic;
}

.token.entity {
	cursor: help;
}

/* The lint marker gutter */
.CodeMirror-lint-markers {
  width: 16px;
}

.CodeMirror-lint-tooltip {
  background-color: #333333;
  border: 1px solid #eeeeee;
  border-radius: 4px;
  color: white;
  font-family: "Source Code Pro", Consolas, monaco, monospace;
  font-size: 10pt;
  overflow: hidden;
  padding: 2px 5px;
  position: fixed;
  white-space: pre;
  white-space: pre-wrap;
  z-index: 100;
  max-width: 600px;
  opacity: 0;
  transition: opacity .4s;
  -moz-transition: opacity .4s;
  -webkit-transition: opacity .4s;
  -o-transition: opacity .4s;
  -ms-transition: opacity .4s;
}

.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {
  background-position: left bottom;
  background-repeat: repeat-x;
}

.CodeMirror-lint-mark-error {
  background-image: url(/images/lint/mark-error.png);
}

.CodeMirror-lint-mark-warning {
  background-image: url(/images/lint/mark-warning.png);
}

.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
  display: inline-block;
  height: 16px;
  width: 16px;
  vertical-align: middle;
  position: relative;
  margin-left: 5px;
}

.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {
  padding-left: 20px;
  background-position: top left;
  background-repeat: no-repeat;
  background-position-y: 2px;
}

.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
  background-image: url(/images/lint/message-error.png);
}

.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
  background-image: url(/images/lint/message-warning.png);
}

.CodeMirror-lint-marker-multiple {
  background-image: url(/images/lint/mark-multiple.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  width: 100%; height: 100%;
}

html, body {
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    max-width: inherit;
    min-width: 200px;
    /*margin-right: 15px;*/
    padding-top: 51px;
    /*overflow: hidden;*/
}

.night a,
.night .open-files-container li.selected a {
    color: #5EB7E0;
}

body.night{
    background: #333 !important;
}

.toolbar {
  background-color: #1c1c1e;
  border: 1px solid #343434;
}

.toolbar > .btn-toolbar {
  white-space: nowrap;
  overflow-y: auto;
  scrollbar-width: none;
}

.toolbar > .btn-toolbar::-webkit-scrollbar {
  display: none;
}

.toolbar > .btn-toolbar > .btn-group {
  float: none;
}

.toolbar > .btn-toolbar > .btn-group > span {
  display: inline-block;
  float: left;
  color: #fff;
  padding: 5px;
  line-height: 22px;
}

.toolbar > .btn-toolbar > .btn-group > span.separator {
  color: #4d4d4d;
}

.toolbar > .btn-toolbar > .btn-group > .btn {
  background-color: #1c1c1e;
  padding: 5px;
  font-size: 1em;
}

.toolbar > .btn-toolbar > .btn-group > .btn:hover {
  background-color: #383a3e;

  padding: 5px;
}


.CodeMirror {
    font-family: "Source Code Pro", Consolas, monaco, monospace;
    letter-spacing: 0.025em;
    line-height: 1.25;
    font-size: 18px;
    height: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
}
/* support japanese font */
.CodeMirror[lang^="ja"] {
    font-family: "Source Code Pro", Consolas, monaco, Meiryo, "\FF2D\FF33   \30B4\30B7\30C3\30AF", "MS Gothic", monospace;
}
/* support zh-tw font */
.CodeMirror[lang="zh-tw"] {
    font-family: "Source Code Pro", Consolas, monaco, "Microsoft JhengHei", "\5FAE\8EDF\6B63\9ED1", monospace;
}
/* support zh-cn font */
.CodeMirror[lang="zh-cn"] {
    font-family: "Source Code Pro", Consolas, monaco, "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", monospace;
}
.CodeMirror-placeholder {
    color: #777 !important;
}
.CodeMirror-scroll {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}
.CodeMirror-code {
    /*padding-bottom: 36px;*/
}
.CodeMirror-gutter-elt {
    text-align: center;
}
.CodeMirror-linenumber {
/*    opacity: 0.5;*/
    min-width: 1.5em;
    text-align: right;
}
.CodeMirror-gutter.authorship-gutters {
    width: 8px;
}
.CodeMirror-matchingtag {
    background: rgba(255, 255, 255, .1);
    line-height: 1em;
}
.CodeMirror-foldmarker {
    color: #d0d0d0;
    text-shadow: none;
    font-family: Arial;
    font-size: 1em;
    line-height: .3;
    cursor: pointer;
    margin: 2px;
    padding-bottom: 2px;
}
.CodeMirror-foldgutter {
    /*width: 1em;*/
    cursor: default;
    line-height: 100%;
}
.CodeMirror-foldgutter-open,
.CodeMirror-foldgutter-folded {
    line-height: 1em;
    cursor: pointer;
}
.CodeMirror-foldgutter-open {
    padding-top: 1px;
}
.CodeMirror-foldgutter-folded {
    padding-top: 2px;
}
.CodeMirror-foldgutter-open:after {
    content: "\2335";
    font-size: 1em;
/*    opacity: 0.5;*/
}
.CodeMirror-foldgutter-folded:after {
    content: "+";
    font-size: 1em;
    font-weight: 700;
}
.CodeMirror-foldmarker, .CodeMirror-foldgutter-folded:after {
    color: #78B2F2 !important;
}
.CodeMirror-sizer {
    margin-bottom: 0px !important;
}
.CodeMirror-insert-match {
  background: lawngreen;
  border: 1px solid limegreen;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  opacity: .5;
}
.CodeMirror-delete-match {
  background: indianred;
  border: 1px solid darkred;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  opacity: .5;
}
.ui-content {
    height: 100%;
    margin-left: 0;
    margin-right: 0;
}

.night .ui-content{
    background-color: #333;
}

.ui-edit-area {
    height: 100%;
    /*padding-left: 15px;*/
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.ui-edit-area .ui-resizable-handle.ui-resizable-e {
    cursor: col-resize;
    width: 8px;
    right: -8px;
    background-color: white;
    box-shadow: 3px 0px 6px #e7e7e7;
}
.ui-edit-area .ui-sync-toggle {
    width: 42px;
    height: 42px;
    padding: 2px 1px 0 0;
    border-radius: 50%;
    box-shadow: 2px 0px 2px #e7e7e7;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.night .ui-edit-area .ui-sync-toggle {
    box-shadow: 2px 0px 2px #353535;
}

.ui-edit-area .ui-sync-toggle:active {
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125), 2px 0px 2px #e7e7e7;
}

.night .ui-edit-area .ui-resizable-handle.ui-resizable-e{
   background: #3c3c3c;
   box-shadow: 3px 0px 6px #353535;
}

.ui-view-area {
    /*overflow-y: scroll;*/
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
    .ui-view-area {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.night .ui-view-area{
    background: #333;
    color: #ededed;
}


.ui-scrollable {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
.ui-status * {
    font-size: 16px !important;
}
.navbar-brand {
    font-weight: bold;
}
.nav-status .ui-status * {
    font-size: 14px;
}
.nav-mobile {
    position: inherit;
    margin-top: 8px;
    margin-bottom: 8px;
}
.nav-mobile .dropdown-menu {
    left: 40%;
    right: 6px;
    top: 42px;
}
.nav-status {
    float: right !important;
    padding: 7px 8px;
}
.ui-status {
    cursor: auto !important;
    min-width: 120px;
    background-color: transparent !important;
}
.ui-status span {
    cursor: pointer;
}
.ui-short-status {
    cursor: pointer;
    min-width: 40px;
}
.ui-short-status:hover {
    text-decoration: none;
}
.ui-user-item {
    /*na*/
}
.ui-user-name {
    margin-top: 2px;
}

.ui-user-status {
    margin-top: 5px;
}
.ui-user-status-online {
    color: rgb(92,184,92);
}
.ui-user-status-idle {
    color: rgb(240,173,78);
}
.ui-user-status-offline {
    color: rgb(119,119,119);
}
.list > li > a {
    overflow: hidden;
    text-overflow: ellipsis;
}
#short-online-user-list .list .name {
    max-width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
    float: left;
}
#online-user-list .list .name {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    float: left;
}
.navbar-right {
    margin-right: 0;
}
.navbar-nav > li > a {
    cursor: pointer;
}

.night .navbar-default .navbar-nav > li > a:focus,
.night .navbar-default .navbar-nav > li > a:hover,
.night .navbar-default .navbar-brand:focus,
.night .navbar-default .navbar-brand:hover{
    color: #fff;
}

.night .navbar-default .navbar-nav > .open > a,
.night .navbar-default .navbar-nav > .open > a:focus,
.night .navbar-default .navbar-nav > .open > a:hover {
    color: white;
    background: #000;

}
.dropdown-menu > li > a {
    cursor: pointer;
    text-overflow: ellipsis;
    max-width: calc(100vw - 30px);
    overflow: hidden;
}

.night .dropdown-menu > li > a {
    color: #eee;
}

.night .dropdown-menu > li > a:focus,
.night .dropdown-menu > li > a:hover {
  color: #262626
}

.night .dropdown-menu {
    background: #222;
}

.night .modal-content,
.night .panel,
.night .panel-heading {
  color: #eee;
  background-color: #333;
}

.dropdown-menu.CodeMirror-other-cursor {
    transition: none;
}
.cursortag {
    cursor: pointer;
    background: black;
    position: absolute;
    padding: 2px 7px 2px 8px;
    font-size: 12px;
    max-width: 150px;
    text-overflow: ellipsis;
    overflow: hidden;
    font-family: inherit;
    border-radius: .25em;
    white-space: nowrap;
    transition: left 0.1s ease-in-out, top 0.1s ease-in-out;
}
.fixfixed .navbar-fixed-top {
    position: absolute !important;
}
div[contenteditable]:empty:not(:focus):before{
    content:attr(data-ph);
    color: gray;
}
.dropdown-menu.list {
    max-height: 80vh;
    overflow: auto;
}
.dropdown-menu.list.small {
    max-height: 40vh;
    overflow: auto;
}
.dropdown-menu.list::-webkit-scrollbar {
    display: none;
}
.dropdown-menu .emoji {
    margin-bottom: 0 !important;
}
.dropdown-menu.CodeMirror-other-cursor {
    max-height: 50vh;
    width: auto !important;
    overflow: auto;
    margin-bottom: 30px;
}
.CodeMirror-scrollbar-filler {
    background: inherit;
}

.night .navbar .btn-default,
.night .close {
    background-color: #333;
    border-color: #565656;
    color: #eee;
}

.night .btn.btn-default.ui-view.active{
    background: #202020;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.night .btn.focus,
.night .btn:focus,
.night .btn:hover,
.night .close {
    color: #fff;
    background-color: #333;
}

.info-label {
	width: 36%;
	text-align: right;
	position: relative;
    display: inline-block;
	margin-right: 6px;
}
.popover {
	width: 100%;
	font-family: inherit !important;
	line-height: 25px;
}

.text-ellipsis {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.cm-trailing-space-a:before,
.cm-trailing-space-b:before,
.cm-trailing-space-new-line:before {
  font-weight: bold;
  color: hsl(30, 100%, 50%); /* a dark orange */
  position: absolute;
}

.cm-trailing-space-a:before,
.cm-trailing-space-b:before {
  content: '\B7';
}

.cm-trailing-space-new-line:before {
  content: '\21B5';
}

.cm-matchhighlight {
/*    border-radius: 5px;*/
/*    box-shadow: 0 1px 0 0 #ccc;*/
    border-bottom: 1px solid #ccc;
}

.snippet-import-or {
    text-align: center;
    width: 100%;
}

.status-bar {
    background: #1c1c1e;
    border-top: 1px solid #343434;
    color: #ccc;
    position: relative;
    display: block;
    box-sizing: border-box;
    font-size: 11px;
    line-height: 25px;
    height: 26px;
}

.status-bar .status-info {
    color: #ccc;
    left: 10px;
    position: absolute;
    white-space: nowrap;
    max-width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-bar .status-info div {
    display: inline;
}

.status-bar .status-file {
    color: #9a9a9a;
}

.status-bar .status-indicators {
    background: #1c1c1e;
    color: #ccc;
    position: absolute;
    right: 0;
    text-align: right;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.status-bar .status-indicators > div {
    float: right;
    padding: 0 10px;
    border-left: 1px solid #343434;
}

.status-bar .status-indicators .status-keymap > a,
.status-bar .status-indicators .status-theme > a,
.status-bar .status-indicators .status-spellcheck > a,
.status-bar .status-indicators .status-linter > a,
.status-bar .status-indicators .status-preferences > a {
    color: inherit;
    text-decoration: none;
}

.status-bar .status-indicators .status-theme,
.status-bar .status-indicators .status-spellcheck,
.status-bar .status-indicators .status-linter,
.status-bar .status-indicators .status-preferences {
    padding: 0 4.3px;
}

.status-bar .status-indicators .status-preferences .dropdown-menu > li > a {
    cursor: default;
}

.status-bar .status-indicators .status-preferences .dropdown-menu label {
    font: inherit;
    margin-bottom: 0;
    cursor: pointer;
}

.status-bar .status-indicators .status-preferences .dropdown-menu label > input[type="checkbox"] {
    vertical-align: middle;
    margin: -3px 0 0;
}

.ui-theme-toggle,
.ui-linter-toggle,
.ui-spellcheck-toggle {
    opacity: 0.5;
    cursor: pointer;
}

.ui-theme-toggle.active,
.ui-linter-toggle.active,
.ui-spellcheck-toggle.active {
    opacity: 1;
}

.ui-theme-toggle:hover,
.ui-linter-toggle:hover,
.ui-spellcheck-toggle:hover {
    opacity: 0.8;
}

.status-bar .indent-type, .status-bar .indent-width-label {
    cursor: pointer;
/*    margin-right: 3px;*/
}

.status-bar .indent-width-input {
    font-size: 12px;
    font-weight: 500;
    height: 18px;
    line-height: 1;
    vertical-align: middle;
    color: #ccc;
    margin: 0;
    padding: 0 0 2px;
    position: relative;
    left: 0;
    top: -1px;
    width: 18px;
    transition: .1s linear all;
    background-color: #555;
    border: 1px solid #202020;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.06);
    border-radius: 3px;
    text-align: center;
}

.status-bar .indent-width-input:focus {
    border: 1px solid #2893ef;
}

.status-bar .indent-width-input::-webkit-inner-spin-button,
.status-bar .indent-width-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.status-bar .status-indent > * {
    display: inline-block;
}

.status-bar .status-indent > *.hidden {
    display: none;
}

.status-bar .status-overwrite:hover, .status-bar .indent-type:hover, .status-bar .indent-width-label:hover {
    text-decoration: underline;
}

.status-bar .dropdown-menu {
    background-color: #000;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.09) !important;
}

.status-bar .dropdown-menu .divider {
    background-color: #343434;
}

.status-bar .dropdown-menu > li > a {
    color: #ccc;
}

.status-bar .dropdown-menu > li > a:focus, .status-bar .dropdown-menu > li > a:hover {
    background-color: #212121;
}

@media print {
    body {
        padding-top: 0 !important;
    }
    .CodeMirror {
        height: auto !important;
    }
}

/* for extra features should include this */

.vimeo,
.youtube {
    position: relative;
    cursor: pointer;
    display: table;
    width: 100%;
    text-align: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: black;
    overflow: hidden;
}
/* youtube always use 16:9 aspect ratio video */
.youtube {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}
.vimeo img {
    width: 100%;
    object-fit: contain;
    z-index: 0;
}
.youtube img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.vimeo iframe,
.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    z-index: 1;
}
.vimeo .icon,
.youtube .icon {
    position: absolute;
    height: auto;
    width: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    opacity: 0.3;
    -webkit-transition: opacity 0.2s; /* Safari */
    transition: opacity 0.2s;
    z-index: 0;
}
.vimeo:hover .icon,
.youtube:hover .icon {
    opacity: 0.6;
    -webkit-transition: opacity 0.2s; /* Safari */
    transition: opacity 0.2s;
}

.slideshare .inner,
.speakerdeck .inner {
    position: relative;
    width: 100%;
}
.slideshare .inner iframe,
.speakerdeck .inner iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
.geo-map {
  width: 100%;
  height: 250px;
}

.MJX_Assistive_MathML {
    display: none;
}

.ui-infobar {
    position: relative;
    z-index: 2;
    max-width: 758px;
    margin-top: 25px;
    margin-bottom: -25px;
    color: #777;
}

.toc .invisable-node {
  list-style-type: none;
}

.ui-toc {
    position: fixed;
    bottom: 20px;
    z-index: 10000;
}

.ui-toc-label {
    opacity: 0.9;
    background-color: #ccc;
    border: none;
    -webkit-transition: opacity 0.2s; /* Safari */
    transition: opacity 0.2s;
}

.ui-toc .open .ui-toc-label {
    opacity: 1;
    color: #5f5f5f;
    -webkit-transition: opacity 0.2s; /* Safari */
    transition: opacity 0.2s;
}

.ui-toc-label:focus {
    opacity: 1;
    background-color: #ccc;
    color: black;
}

.ui-toc-label:hover {
    opacity: 1;
    background-color: #ccc;
    -webkit-transition: opacity 0.2s; /* Safari */
    transition: opacity 0.2s;
}

.ui-toc-dropdown {
    margin-top: 23px;
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 45vw;
    width: 25vw;
    max-height: 70vh;
    overflow: auto;
    text-align: inherit;
}

.ui-toc-dropdown > .toc {
    max-height: calc(70vh - 100px);
    overflow: auto;
}

.ui-toc-dropdown[dir='rtl'] .nav {
    padding-right: 0;
    letter-spacing: 0.0029em;
}

.ui-toc-dropdown a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre;
}

.ui-toc-dropdown .nav>li>a {
    display: block;
    padding: 4px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #767676;
}

.ui-toc-dropdown .toc.expand ul {
    display: block;
}

.ui-toc-dropdown .nav > li:first-child:nth-last-child(1) > ul {
    display: block;
}

.ui-toc-dropdown .nav>li>a:focus,.ui-toc-dropdown .nav>li>a:hover {
    padding-left: 19px;
    color: black;
    text-decoration: none;
    background-color: transparent;
    border-left: 1px solid black;
}

.night .ui-toc-dropdown .nav>li>a:focus, .night .ui-toc-dropdown .nav>li>a:hover{
    color: white;
    border-left-color: white;
}

.ui-toc-dropdown[dir='rtl'] .nav>li>a:focus,.ui-toc-dropdown[dir='rtl'] .nav>li>a:hover {
    padding-right: 19px;
    border-left: none;
    border-right: 1px solid black;
}

.ui-toc-dropdown .nav>.active:focus>a,.ui-toc-dropdown .nav>.active:hover>a,.ui-toc-dropdown .nav>.active>a {
    padding-left: 18px;
    font-weight: 700;
    color: black;
    background-color: transparent;
    border-left: 2px solid black;
}
.night .ui-toc-dropdown .nav>.active:focus>a,.night .ui-toc-dropdown .nav>.active:hover>a,.night .ui-toc-dropdown .nav>.active>a {
    color: white;
    border-left: 2px solid white;
}

.ui-toc-dropdown[dir='rtl'] .nav>.active:focus>a,.ui-toc-dropdown[dir='rtl'] .nav>.active:hover>a,.ui-toc-dropdown[dir='rtl'] .nav>.active>a {
    padding-right: 18px;
    border-left: none;
    border-right: 2px solid black;
}

.ui-toc-dropdown .nav .nav {
    display: none;
    padding-bottom: 10px;
}

.ui-toc-dropdown .nav>.active>ul {
    display: block;
}

.ui-toc-dropdown .nav .nav>li>a {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 30px;
    font-size: 12px;
    font-weight: 400;
}

.night .ui-toc-dropdown .nav > li > a{
    color: #aaa;
}

.ui-toc-dropdown[dir='rtl'] .nav .nav>li>a {
    padding-right: 30px;
}

.ui-toc-dropdown .nav .nav>li>ul>li>a {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 40px;
    font-size: 12px;
    font-weight: 400;
}

.ui-toc-dropdown[dir='rtl'] .nav .nav>li>ul>li>a {
    padding-right: 40px;
}

.ui-toc-dropdown .nav .nav>li>a:focus,.ui-toc-dropdown .nav .nav>li>a:hover {
    padding-left: 29px;
}

.ui-toc-dropdown[dir='rtl'] .nav .nav>li>a:focus,.ui-toc-dropdown[dir='rtl'] .nav .nav>li>a:hover {
    padding-right: 29px;
}

.ui-toc-dropdown .nav .nav>li>ul>li>a:focus,.ui-toc-dropdown .nav .nav>li>ul>li>a:hover {
    padding-left: 39px;
}

.ui-toc-dropdown[dir='rtl'] .nav .nav>li>ul>li>a:focus,.ui-toc-dropdown[dir='rtl'] .nav .nav>li>ul>li>a:hover {
    padding-right: 39px;
}

.ui-toc-dropdown .nav .nav>.active:focus>a,.ui-toc-dropdown .nav .nav>.active:hover>a,.ui-toc-dropdown .nav .nav>.active>a {
    padding-left: 28px;
    font-weight: 500;
}

.ui-toc-dropdown[dir='rtl'] .nav .nav>.active:focus>a,.ui-toc-dropdown[dir='rtl'] .nav .nav>.active:hover>a,.ui-toc-dropdown[dir='rtl'] .nav .nav>.active>a {
    padding-right: 28px;
}

.ui-toc-dropdown .nav .nav>.active>.nav>.active:focus>a,.ui-toc-dropdown .nav .nav>.active>.nav>.active:hover>a,.ui-toc-dropdown .nav .nav>.active>.nav>.active>a {
    padding-left: 38px;
    font-weight: 500;
}

.ui-toc-dropdown[dir='rtl'] .nav .nav>.active>.nav>.active:focus>a,.ui-toc-dropdown[dir='rtl'] .nav .nav>.active>.nav>.active:hover>a,.ui-toc-dropdown[dir='rtl'] .nav .nav>.active>.nav>.active>a {
    padding-right: 38px;
}

/* support japanese font */
.markdown-body[lang^="ja"] {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "\30D2\30E9\30AE\30CE\89D2\30B4   Pro W3", Osaka, Meiryo, "\30E1\30A4\30EA\30AA", "MS Gothic", "\FF2D\FF33   \30B4\30B7\30C3\30AF", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.ui-toc-dropdown[lang^="ja"] {
    font-family: "Source Sans Pro", Helvetica, Arial, "Meiryo UI", "MS PGothic", "\FF2D\FF33   \FF30\30B4\30B7\30C3\30AF", sans-serif;
}

/* support zh-tw font */
.markdown-body[lang="zh-tw"] {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "PingFang TC", "Microsoft JhengHei", "\5FAE\8EDF\6B63\9ED1", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.ui-toc-dropdown[lang="zh-tw"] {
    font-family: "Source Sans Pro", Helvetica, Arial, "Microsoft JhengHei UI", "\5FAE\8EDF\6B63\9ED1UI", sans-serif;
}

/* support zh-cn font */
.markdown-body[lang="zh-cn"] {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.ui-toc-dropdown[lang="zh-cn"] {
    font-family: "Source Sans Pro", Helvetica, Arial, "Microsoft YaHei UI", "\5FAE\8F6F\96C5\9ED1UI", sans-serif;
}

.ui-affix-toc {
    position: fixed;
    top: 0;
    max-width: 15vw;
    max-height: 70vh;
    overflow: auto;
}

.expand-toggle, .back-to-top, .go-to-bottom {
    display: block;
    padding: 4px 10px;
    margin-top: 10px;
    margin-left: 10px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
}

.expand-toggle:hover, .expand-toggle:focus, .back-to-top:hover, .back-to-top:focus, .go-to-bottom:hover, .go-to-bottom:focus {
    color: #563d7c;
    text-decoration: none;
}

.back-to-top, .go-to-bottom {
    margin-top: 0;
}

.ui-user-icon {
    width: 20px;
    height: 20px;
    display: block;
    border-radius: 3px;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-right: 5px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.ui-user-icon.small {
	width: 18px;
	height: 18px;
	display: inline-block;
	vertical-align: middle;
	margin: 0 0 0.2em 0;
}

small span {
    line-height: 22px;
}

small .dropdown {
    display: inline-block;
}

small .dropdown a:focus, small .dropdown a:hover {
    text-decoration: none;
}

.unselectable {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.night .navbar{
    background: #333;
    border-bottom-color: #333;
    color: #eee;
}

.night .navbar a{
    color: #eee;
}

@media print {
    div, table, img, pre, blockquote {
        page-break-inside: avoid !important;
    }
    a[href]:after {
        font-size: 12px !important;
    }
}

.markdown-body.slides {
  position: relative;
  z-index: 1;
  color: #222;
}

.markdown-body.slides::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-color: currentColor;
  box-shadow: 0 0 0 50vw;
}

.markdown-body.slides section[data-markdown] {
  position: relative;
  margin-bottom: 1.5em;
  background-color: #fff;
  text-align: center;
}

.markdown-body.slides section[data-markdown] code {
  text-align: left;
}

.markdown-body.slides section[data-markdown]::before {
  content: '';
  display: block;
  padding-bottom: 56.23%;
}

.markdown-body.slides section[data-markdown] > div:first-child {
  position: absolute;
  top: 50%;
  left: 1em;
  right: 1em;
  transform: translateY(-50%);
  max-height: 100%;
  overflow: hidden;
}

.markdown-body.slides section[data-markdown] > ul {
  display: inline-block;
}

.markdown-body.slides > section > section + section::after {
  content: '';
  position: absolute;
  top: -1.5em;
  right: 1em;
  height: 1.5em;
  border: 3px solid #777;
}

/* for all pages should include this */
body {
    font-smoothing: subpixel-antialiased !important;
    -webkit-font-smoothing: subpixel-antialiased !important;
    -moz-osx-font-smoothing: auto !important;
    text-shadow: 0 0 1em transparent, 1px 1px 1.2px rgba(0, 0, 0, 0.004);
    /*text-rendering: optimizeLegibility;*/
    -webkit-overflow-scrolling: touch;
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    letter-spacing: 0.025em;
}
:focus, .focus {
    outline: none !important;
}
::-moz-focus-inner {
    border: 0 !important;
}

/* manual fix for bootstrap issue 14040, there is an unnecessary padding-right on modal open */
body.modal-open {
    overflow-y: auto;
    padding-right: 0 !important;
}

@keyframes spinner-line-fade-more {
  0%, 100% {
    opacity: 0; /* minimum opacity */
  }
  1% {
    opacity: 1;
  }
}

@keyframes spinner-line-fade-quick {
  0%, 39%, 100% {
    opacity: 0.25; /* minimum opacity */
  }
  40% {
    opacity: 1;
  }
}

@keyframes spinner-line-fade-default {
  0%, 100% {
    opacity: 0.22; /* minimum opacity */
  }
  1% {
    opacity: 1;
  }
}

/**
 * GitHub Gist Theme
 * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro
 */

.hljs {
  display: block;
  background: white;
  padding: 0.5em;
  color: #333333;
  overflow-x: auto;
}

.hljs-comment,
.hljs-meta {
  color: #969896;
}

.hljs-string,
.hljs-variable,
.hljs-template-variable,
.hljs-strong,
.hljs-emphasis,
.hljs-quote {
  color: #df5000;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-type {
  color: #a71d5d;
}

.hljs-literal,
.hljs-symbol,
.hljs-bullet,
.hljs-attribute {
  color: #0086b3;
}

.hljs-section,
.hljs-name {
  color: #63a35c;
}

.hljs-tag {
  color: #333333;
}

.hljs-title,
.hljs-attr,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo {
  color: #795da3;
}

.hljs-addition {
  color: #55a532;
  background-color: #eaffea;
}

.hljs-deletion {
  color: #bd2c00;
  background-color: #ffecec;
}

.hljs-link {
  text-decoration: underline;
}

