body,
html {
    height: 100%;
    margin: 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    height: calc(100% - 30px);
}

.CodeMirror {
    flex: 1 1 auto;
    resize: none;
    font-size: 14px;
    border-radius: 0;
    padding: 0;
    background-color: transparent;

    /* Info bar adjustments: */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 30px;
    left: 0;

    line-height: 1.3;
}

/* Fix the alignment/size of the folding arrows. */
.CodeMirror-gutter-elt {
    font-size: 160%;
    margin-top: -9px;
}

.CodeMirror-gutter-elt,
.CodeMirror-foldgutter-folded,
.CodeMirror-foldgutter-open,
.CodeMirror-foldgutter-folded::after,
.CodeMirror-foldgutter-open::after {
    width: 20px;
}

.CodeMirror-sizer {
    margin-left: 22px;
}

.CodeMirror-gutters {
    padding-right: 9px;
}

.CodeMirror-foldgutter-folded,
.CodeMirror-foldgutter-open {
    padding: 2px;
}

.CodeMirror-foldgutter-folded::after {
    content: "+";
}
.CodeMirror-foldgutter-open::after {
    content: "-";
}

.info {
    white-space: nowrap;
    position: fixed;
    bottom: 0;
    background: #eeeeee;
    padding: 5px;
    height: 22px;
    left: 0;
    right: 0;
    z-index: 10;
    overflow: hidden;
}

.info .create-new-file {
    float: left;
}

.info .file-path {
    float: right;
}
hr {
    margin: 1px;
}

.pre-auth-section,
.authed-section {
    display: none;
}

.files li {
    cursor: pointer;
    list-style-type: none;
}

.files li.folder::before {
    content: "📁: ";
}

.files li.file::before {
    /* Find a nice file icon! */
}

.toggle-file-list {
}

.hidden {
    display: none;
}
