.bottombar {
  background: #eee;
  border-top: 1px solid #ccc;
  font-family: roboto;
  font-size: .9rem;
  height: 2.5rem;
  line-height: 2.5rem;
  justify-content: space-between;
  padding-right: 1rem;
  padding-left: 1rem;
  border-bottom-right-radius: .5rem; }
  .bottombar ul {
    list-style: none;
    display: flex;
    margin: 0 -1rem; }
    .bottombar ul li {
      padding: 0 1rem;
      padding-left: calc(18px + 1rem);
      background-size: 18px;
      background-repeat: no-repeat;
      background-position: .5rem center;
      color: #333;
      cursor: default; }
      .bottombar ul li.timestamp {
        background-image: url("../../images/remixicon/time-line.svg"); }
      .bottombar ul li.filesize {
        background-image: url("../../images/remixicon/file-info-line.svg"); }
      .bottombar ul li.revisions_count {
        background-image: url("../../images/remixicon/stack-line.svg"); }

.browser {
  background: #fafafa;
  display: flex;
  flex: 1;
  padding: 4rem;
  height: 100%;
  overflow-y: auto; }
  .browser h1 {
    padding: 4rem;
    font-family: roboto;
    font-size: 1.5rem; }
  .browser ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: -2rem; }
    .browser ul li {
      padding: 2rem;
      -webkit-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
      cursor: default;
      font-family: roboto;
      width: 150px; }
      .browser ul li figure {
        height: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem; }
      .browser ul li img {
        max-height: 150px;
        max-width: 150px; }
      .browser ul li .filename,
      .browser ul li .filesize {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap; }
      .browser ul li .filename {
        color: #0367d8;
        font-weight: bold;
        margin-bottom: .5rem; }
      .browser ul li:hover {
        background: #eee;
        border-radius: .5rem; }

.CodeMirror {
  width: 100%;
  height: 100% !important;
  font-family: roboto !important;
  line-height: 1.5;
  color: #333 !important; }

.CodeMirror-lines {
  padding: 1.5rem 4rem !important; }

.cm-header-1 {
  margin-bottom: 2rem;
  font-size: 2em;
  color: #333 !important;
  font-weight: bold; }

.cm-header-2 {
  line-height: 1.5;
  margin-bottom: 1rem;
  color: #333 !important;
  font-size: 1.5em; }

.cm-header-3 {
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 1.17em;
  color: #333 !important; }

.cm-header-5 {
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.83em;
  color: #333 !important; }

.cm-header-4 {
  color: #333 !important; }

.cm-s-default .cm-link {
  color: #0367d8 !important; }

.cm-s-default .cm-string {
  color: #d80303 !important; }

.cm-s-default .cm-variable-2 {
  color: #333 !important; }

.CodeMirror-vscrollbar {
  outline: none !important; }

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

/* PADDING */
.CodeMirror-lines {
  padding: 4px 0;
  /* Vertical padding around content */ }

.CodeMirror pre {
  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-mark {
  background-color: rgba(20, 255, 20, 0.5);
  -webkit-animation: blink 1.06s steps(1) infinite;
  animation: blink 1.06s steps(1) infinite; }

.cm-animate-fat-cursor {
  width: auto;
  border: 0;
  -webkit-animation: blink 1.06s steps(1) infinite;
  animation: blink 1.06s steps(1) infinite;
  background-color: #7e7; }

@-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: -20px;
  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, 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 */
  /* 30px is the magic margin used to hide the element's real scrollbars */
  /* See overflow: hidden in .CodeMirror */
  margin-bottom: -30px;
  margin-right: -30px;
  padding-bottom: 30px;
  height: 100%;
  outline: none;
  /* Prevent dragging from highlighting the element */
  position: relative; }

.CodeMirror-sizer {
  position: relative;
  border-right: 30px 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; }

.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: -30px; }

.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 ::-moz-selection {
  background-color: transparent; }

.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 {
  /* Reset some styles that the rest of the page might have set */
  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 {
  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 {
  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::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection {
  background: #d7d4f0; }

.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, 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; }

.editor {
  display: flex;
  justify-content: flex-end;
  height: 100%; }
  .editor [data-editor-width] {
    width: 100%;
    padding-bottom: 1.5rem; }
  .editor textarea {
    width: 100%;
    height: 100%;
    border: none;
    box-sizing: border-box;
    padding: 1.5rem 4rem;
    padding-bottom: 0;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    outline: none;
    line-height: 1.5;
    resize: none;
    border-bottom: 1px dashed #ddd; }

.image {
  flex: 1;
  background-color: #ccc;
  background-image: url("../../images/chess.svg");
  background-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center; }
  .image figure {
    display: flex;
    max-width: 100%;
    max-height: 100%;
    padding: 2rem;
    box-sizing: border-box; }
    .image figure img {
      max-width: 100%;
      max-height: 100%;
      -o-object-fit: contain;
         object-fit: contain; }

[data-hide] {
  display: none !important; }

ms-box {
  background: #000;
  position: fixed;
  top: 1rem;
  top: 5rem;
  right: 1rem;
  right: 2.5rem;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  margin-left: 1rem;
  z-index: 1000;
  display: flex;
  border-radius: .25rem;
  visibility: hidden; }
  ms-box[data-autohide] {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s .5s, opacity .5s linear; }
  ms-box[data-open] {
    visibility: visible;
    opacity: 1; }
  ms-box[data-open][data-autohide] {
    transition: opacity 0s linear; }
  ms-box[data-open][data-reveal] {
    visibility: visible;
    opacity: 1;
    transition: opacity 0s linear; }
  ms-box ms-box-icon {
    height: 24px;
    width: 24px;
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    padding: .4rem; }
  ms-box ms-box-text {
    display: none;
    flex: 1;
    padding: .4rem;
    line-height: 1.3; }
    ms-box ms-box-text p {
      margin-bottom: 1rem; }
    ms-box ms-box-text > *:last-child {
      margin-bottom: 0; }
  ms-box ms-close-button {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath fill='%23fff' d='M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.25);
    height: 24px;
    width: 24px;
    background-size: 24px;
    margin-left: 1rem;
    display: none;
    border-radius: .25rem; }
  ms-box[data-reveal] {
    padding: .2rem; }
    ms-box[data-reveal] ms-box-text {
      display: block;
      word-break: break-word;
      box-sizing: border-box; }
    ms-box[data-reveal] ms-close-button {
      display: block;
      padding: .2rem; }
    ms-box[data-reveal] ms-box-icon {
      display: none; }
  ms-box[data-type="success"] {
    background-color: #29a847;
    color: #fff; }
    ms-box[data-type="success"] ms-box-icon {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath fill='%23fff' d='M10 15.172l9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414z'/%3E%3C/g%3E%3C/svg%3E"); }
  ms-box[data-type="info"] {
    background-color: #007bff;
    color: #fff; }
    ms-box[data-type="info"] ms-box-icon {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-info'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12' y2='8'%3E%3C/line%3E%3C/svg%3E"); }
  ms-box[data-type="error"] {
    background-color: #dc3848;
    color: #fff; }
    ms-box[data-type="error"] ms-box-icon {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-alert-triangle'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12' y2='17'%3E%3C/line%3E%3C/svg%3E"); }
  ms-box[data-type="warning"] {
    background-color: #ffc105;
    color: #343a40; }
    ms-box[data-type="warning"] ms-box-icon {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23343a40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-alert-triangle'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12' y2='17'%3E%3C/line%3E%3C/svg%3E"); }
    ms-box[data-type="warning"] ms-close-button {
      background-color: rgba(255, 255, 255, 0.25);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23343a40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E"); }
  ms-box[data-type="loading"] {
    background-color: transparent;
    color: #fff;
    -webkit-animation-name: spin;
            animation-name: spin;
    -webkit-animation-duration: 2000ms;
            animation-duration: 2000ms;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear; }
    ms-box[data-type="loading"] ms-box-icon {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-loader'%3E%3Cline x1='12' y1='2' x2='12' y2='6'%3E%3C/line%3E%3Cline x1='12' y1='18' x2='12' y2='22'%3E%3C/line%3E%3Cline x1='4.93' y1='4.93' x2='7.76' y2='7.76'%3E%3C/line%3E%3Cline x1='16.24' y1='16.24' x2='19.07' y2='19.07'%3E%3C/line%3E%3Cline x1='2' y1='12' x2='6' y2='12'%3E%3C/line%3E%3Cline x1='18' y1='12' x2='22' y2='12'%3E%3C/line%3E%3Cline x1='4.93' y1='19.07' x2='7.76' y2='16.24'%3E%3C/line%3E%3Cline x1='16.24' y1='7.76' x2='19.07' y2='4.93'%3E%3C/line%3E%3C/svg%3E");
      background-image: url("../../images/remixicon/refresh-line.svg"); }

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

.presentation {
  overflow-y: auto; }
  .presentation [data-preview-width] {
    width: 100%; }

* {
  padding: 0;
  margin: 0; }

.scrollbar::-webkit-scrollbar,
.CodeMirror-vscrollbar::-webkit-scrollbar,
.preview pre::-webkit-scrollbar {
  width: 16px !important; }

.scrollbar::-webkit-scrollbar-thumb,
.CodeMirror-vscrollbar::-webkit-scrollbar-thumb,
.preview pre::-webkit-scrollbar-thumb {
  background-color: #babac0 !important;
  border-radius: 16px !important;
  border: 4px solid #fff !important; }

.preview pre::-webkit-scrollbar-thumb {
  border: 4px solid #eee !important; }

aside .scrollbar::-webkit-scrollbar-thumb {
  border: 4px solid #eee !important; }

.scrollbar::-webkit-scrollbar-button,
.CodeMirror-vscrollbar::-webkit-scrollbar-button,
.preview pre::-webkit-scrollbar-button {
  display: none !important; }

aside {
  background: #eee;
  width: 300px;
  border-right: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  border-top-left-radius: .5rem;
  border-bottom-left-radius: .5rem; }
  aside .filebar {
    background: #ddd;
    display: flex;
    min-height: 2.5rem;
    border-bottom: 1px solid #ccc;
    padding: 0 .5rem;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem; }
    aside .filebar ul {
      display: flex;
      list-style: none;
      align-items: center; }
      aside .filebar ul:first-child {
        margin-right: auto; }
      aside .filebar ul li {
        padding: 0 .5rem;
        height: 2rem;
        display: flex;
        align-items: center;
        position: relative;
        border-radius: .2rem; }
        aside .filebar ul li:hover {
          background: #eee; }
        aside .filebar ul li img {
          width: 24px;
          height: 24px; }

#upload {
  display: none; }

html,
body {
  height: 100%; }

body {
  background: #eee;
  background: #243c61;
  display: flex;
  overflow: hidden;
  padding: 2rem;
  box-sizing: border-box; }

main {
  display: flex;
  background: #fff;
  flex: 1;
  flex-direction: column;
  border-top-right-radius: .5rem;
  border-bottom-right-radius: .5rem; }
  main .split {
    flex: 1; }
    main .split .editor,
    main .split .presentation {
      flex: 1; }
    main .split .editor {
      border-right: 1px solid #ccc; }

[data-pending] .pending {
  height: 1rem;
  width: 1rem;
  background: #ffc107;
  top: 5.5rem;
  right: 1rem;
  right: 3rem;
  position: fixed;
  border-radius: 100vh; }

[data-background-color="false"] {
  padding: 0; }
  [data-background-color="false"] aside,
  [data-background-color="false"] aside .filebar,
  [data-background-color="false"] .topbar,
  [data-background-color="false"] .bottombar {
    border-radius: 0; }

@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  to {
    -webkit-transform: rotate(359deg);
            transform: rotate(359deg); } }

stair-case {
  display: block;
  font-family: 'Roboto', sans-serif;
  padding: 1rem;
  overflow-y: auto; }
  stair-case.scrollbar::-webkit-scrollbar-thumb {
    border-color: #eee; }
  stair-case ul {
    margin-left: 1rem;
    list-style: none; }
    stair-case ul li {
      cursor: default;
      -webkit-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
      font-size: .9rem;
      margin-top: -.2rem;
      margin-bottom: -.2rem;
      color: #222;
      word-break: break-all; }
      stair-case ul li[data-sc-active] > .sc-current > .sc-name,
      stair-case ul li[data-sc-active] > .sc-current > .sc-name:hover {
        background: #0367d8;
        color: #fff; }
      stair-case ul li .sc-current {
        align-items: center;
        display: flex; }
      stair-case ul li > [data-sc-children] {
        display: none; }
      stair-case ul li[data-sc-state="open"] > [data-sc-children] {
        display: block; }
      stair-case ul li .sc-name,
      stair-case ul li .sc-icon {
        border-radius: .2rem; }
      stair-case ul li .sc-icon {
        padding: 0 .2rem;
        background-size: 18px;
        background-position: center;
        background-repeat: no-repeat;
        min-width: 24px;
        height: 24px; }
      stair-case ul li .sc-name {
        height: 24px;
        line-height: 24px;
        padding-left: .2rem;
        margin-top: .2rem;
        margin-bottom: .2rem;
        padding-right: .2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; }
        stair-case ul li .sc-name:hover {
          background-color: #ddd; }
      stair-case ul li[data-sc-type="folder"] > .sc-current > .sc-icon {
        background-image: url("../../images/remixicon/18/folder-fill.svg"); }
        stair-case ul li[data-sc-type="folder"] > .sc-current > .sc-icon:hover {
          background-color: #ddd; }
      stair-case ul li[data-sc-type="folder"][data-sc-state="open"] > .sc-current > .sc-icon {
        background-image: url("../../images/remixicon/18/folder-open.svg"); }
      stair-case ul li[data-sc-type="folder"].sc-loading > .sc-current > .sc-icon {
        background-image: url("../../images/remixicon/18/refresh-line.svg");
        -webkit-animation: rotation 2s infinite linear;
                animation: rotation 2s infinite linear; }
        stair-case ul li[data-sc-type="folder"].sc-loading > .sc-current > .sc-icon:hover {
          background-color: transparent; }
      stair-case ul li[data-sc-type="file"] .sc-icon {
        background-image: url("../../images/remixicon/18/file.svg"); }
      stair-case ul li[data-sc-type="file"][data-sc-name$=".markdown"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".mdown"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".mkdn"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".md"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".mkd"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".mdwn"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".mdtxt"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".mdtext"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".text"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".rmd"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".txt"] .sc-icon {
        background-image: url("../../images/remixicon/18/file-text.svg"); }
      stair-case ul li[data-sc-type="file"][data-sc-name$=".gif"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".jpg"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".jpeg"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".png"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".svg"] .sc-icon, stair-case ul li[data-sc-type="file"][data-sc-name$=".webp"] .sc-icon {
        background-image: url("../../images/remixicon/18/image-line.svg"); }
  stair-case > ul {
    margin-left: 0; }

.state {
  display: none; }

[data-state="welcome"] .welcome {
  display: flex; }

[data-state="markdown"] .split {
  display: flex; }

[data-state="markdown"] .topbar {
  display: flex; }

[data-state="markdown"] .bottombar {
  display: flex; }
  [data-state="markdown"] .bottombar .count {
    display: block; }
  [data-state="markdown"] .bottombar .timestamp {
    display: block; }
  [data-state="markdown"] .bottombar .revisions_count {
    display: block; }
  [data-state="markdown"] .bottombar .filesize {
    display: block; }

[data-state="image"] .image {
  display: flex; }

[data-state="image"] .topbar {
  display: flex; }

[data-state="image"] .bottombar {
  display: flex; }
  [data-state="image"] .bottombar .dimensions {
    display: block; }
  [data-state="image"] .bottombar .filesize {
    display: block; }

[data-state="browser"] .topbar {
  display: flex; }

[data-state="browser"] .browser {
  display: block; }

.topbar {
  background: #eee;
  border-bottom: 1px solid #ccc;
  height: 2.5rem;
  justify-content: space-between;
  align-items: center;
  padding-right: 1rem;
  padding-left: 1rem;
  border-top-right-radius: .5rem; }
  .topbar ul {
    display: flex;
    list-style: none;
    flex: 1; }
    .topbar ul:nth-child(2) {
      justify-content: flex-end; }
  .topbar .path {
    font-family: roboto;
    height: 2rem;
    line-height: 2rem;
    font-size: .9rem;
    display: flex;
    flex: 1;
    padding-right: 1rem;
    color: #aaa;
    word-break: break-all; }
    .topbar .path input {
      font-family: roboto;
      font-size: .9rem;
      flex: 1;
      background: transparent;
      border: none;
      outline: none; }
      .topbar .path input:hover {
        background: #fafafa; }
      .topbar .path input:focus {
        background: #fafafa; }
  .topbar .fullscreen {
    display: flex;
    align-items: center;
    height: 2rem;
    padding: 0 .5rem;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none; }
    .topbar .fullscreen:hover {
      background: #fafafa; }
    .topbar .fullscreen img {
      padding-right: .5rem;
      width: 24px;
      height: 24px; }
    .topbar .fullscreen label {
      font-family: roboto;
      font-size: .9rem; }

.welcome {
  flex: 1;
  background: #fafafa;
  justify-content: center;
  align-items: center;
  flex-direction: column; }
  .welcome h1 {
    font-family: roboto;
    margin-bottom: .5rem; }
  .welcome p {
    font-family: roboto; }
