html, body, #AppContainer {
    height: 100%;
}

/* VIEWS */

#Loading {
    position: fixed;
    top: 0;
    left: 50%;
    width: 200px;
    height: 51px;
    margin-left: -100px;
    z-index: 1031;
    border: 1px solid #e7e7e7;
    border-top: 0;
    text-align: center;
    font-size: 18px;
    line-height: 51px;
    background-color: #f8f8f8;
    display: none;
}

#Main {
    min-height: 100%;
}

.cover-image {
    background-color: #eeeeee;
    background-image: url('cover.jpg'); /* http://apod.nasa.gov/apod/ap160913.html */
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

/* Login */

#LoginMessage {
    display: none;
    border-bottom: 1px solid #dddddd;
}

#LoginAlerts {
    border-bottom: 1px solid #dddddd;
}

#LoginAlerts .alert {
    margin-bottom: 0;
}

#LoginAlerts .card-body {
    padding-top: 10px;
    padding-bottom: 10px;
}

#LoginInputs input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #dddddd;
    font-size: 16pt;
    padding: 10px 15px;
    outline: none;
}
#LoginInputs input:last-child {
    border-bottom: 0;
}

#LoginCenter input:last-of-type {
    border-bottom: 0;
}

/* Main */
#Menu {
    position: fixed;
    top: 50px;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 15px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #dddddd;
    z-index: 100;
}

#ListContainer {
    padding-top: 185px;
}

.listItem {
    cursor:pointer;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.directoryIcon, .linkIcon {
    width: 30px;
    margin-left: 5px;
    margin-bottom: 14px;
    margin-top: 14px;
}

#Editor {
    width: 100%;
    min-height: 400px;
    height: 100%;
    outline: none;
}

#ClipboardButtons {
    display: none;
}

@media (max-width: 575px) {
    #ButtonBar button {
        font-size: 12px;
    }
}

/* MISC */

.jumbotron {
    background-color: #FFFFFF;
}

/* EDITOR */

#EditorContainer {
    height: 100%;
    padding-top: 60px;
}

.editor-preview {
    padding-top: 80px;
}

.editor-preview img {
    max-width: 100%;
}

#EditorTextarea {
    width: 100%;
    height: 99%;
    border: 0;
    margin: 0;
    outline: none;
    padding: 10px;
    font-family: monospace;
    font-size: 14px;
}

.markdown-body {
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    padding: 20px 45px;
}

@media (max-width: 767px) {
    .markdown-body {
        padding: 0 15px;
    }
}