html, body {
    height: 100%;
}

body {
    background: black;
    display: flex;
    flex-direction: column;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Lucida, sans-serif;
    font-size: 11px;
    margin: 0;
}

.header {
    background: linear-gradient(to bottom, #00263a 0%, #000 100%);
    color: white;
    display: flex;
    flex: 0;
    font-size: 32px;
    max-height: 50px;
    min-height: 50px;
    text-shadow: 0px 1px 1px black;
    z-index: 1337;
}

.header > * {
    padding: 0 10px;
}

.header > :nth-child(2) {
    flex: 1;
}

.form-inline > * {
    margin: 5px 3px;
}

 .header .rubric {
    font-size: small;
    margin-left: 10px;
    vertical-align: middle;
}

.header a {
    color: inherit;
    text-decoration: none;
}

.header .dropdown-menu {
    border-radius: 6px;
    filter: invert(0.9);
    font-size: 15px;
    text-shadow: none;
}

.header .dropdown-menu .fa {
    text-align: center;
    width: 20px;
}

.header .dropdown-item {
    cursor: pointer;
}

.header .search-box {
    font-size: 15px;
    display: flex;
}

.header .search-box > * {
    display: none;
    margin-right: 10px;
}

.header .search-box label {
    font-size: 0.8rem;
}

.header .search-box.active > * {
    display: flex;
    align-items: center;
}

.header .search-box > .activator {
    display: flex;
    align-items: center;
}

.header .search-box.active > .activator {
    display: none;
}

.header .search-box a {
    margin: 0 0.25rem;
}

.header .search-box input[type="checkbox"] {
    margin-right: 0.25rem;
}

.module {
    position: relative;
    display: flex;
    flex: 1;
    margin: 0 5px 5px;
    overflow: hidden;
}

.gutter.gutter-horizontal {
    background: black;
    cursor: ew-resize;
}

.finder, .editor {
    background: white;
    box-sizing: border-box;
    border: 1px solid #c0c0c0;
    border-radius: 6px !important;
    overflow: auto;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px silver;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: black;
    border: 1px solid white;
    box-shadow: inset 0 0 4px white;
}

::-webkit-scrollbar-thumb:hover {
    box-shadow: inset 0 0 8px #00a6ff;
}

.finder .fa {
    color: #1581a9;
    font-size: 1.5em;
}

.finder.statuses-active .status {
    position: absolute;
    cursor: pointer;
    right: 10px;
    text-align: center;
    top: 0;
    width: 18px;
}

.editor {
    display: flex;
    flex-direction: column;
}

.editor .fr-toolbar, .editor .fr-wrapper {
    border: none !important;
}

.editor .fr-wrapper {
    flex: 1;
    overflow: auto;
}

.editor .fr-second-toolbar {
    display: none;
}

.editor blockquote {
    border-left: .4em solid #ddd;
    color: black;
    margin-left: .6em;
    padding-left: 1em;
}

.editor h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.editor h2 {
    font-size: 1.5rem;
}

.editor pre {
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    margin: 0 0 10px;
    padding: 10px;
}

.nowrap {
    white-space: nowrap;
}

.module .plugin-link, .module .plugin-tag {
    background: linear-gradient(to top, rgba(21, 129, 169, 0.9) 0%, rgba(21, 129, 169, 0.6) 100%);
    border-radius: 4px;
    color: white;
    font-family: monospace;
    font-style: normal;
    font-weight: bold;
    padding: 2px 4px;
}

.module .plugin-link {
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.module .plugin-link .plugin-tag {
    background: none;
    color: black;
    text-shadow: 0 0 4px white;
}

.vakata-context {
    z-index: 1337;
}

.tribute-container {
    color: #666;
    border: 1px solid black;
    border-radius: 6px;
    font-family: monospace;
    font-weight: bold;
}

.tribute-container ul {
    margin: 0;
}

.tribute-container li {
    padding: 0 10px;
}

.tribute-container li>:first-child {
    clear: both;
    color: black;
    float: right;
    margin-left: 20px;
}

.search-result {
    background-color: #8b0000;
    color: #FFF;
}