@import url("https://fontlibrary.org/face/minecraftia");

/* ---------------------------------------------------
    CUSTOM
----------------------------------------------------- */
:root {
    --bg: #333;
    background: var(--bg);
}
html {
    scroll-behavior: smooth;
}
body {
    background: var(--bg);
}

* label, * p, * h1, * h2, * h3, * h4, * h5, *:not(a) {
    color: #fff !important;
}

* select {
    color: #fff !important;
}

* input {
    color: #fff !important;
}

* input[type="text"]:disabled {
    background: rgba(0, 0, 0, 0.2);
    color: #cdcdcd !important;
}

.snackbar {
    background: #474747 !important;
}

.snackbar-content {
    background: #474747 !important;
}

.line {
    border-top: solid 1px #fff !important;
}

.bg-blue {
    background: #0c88d2 !important;
}

.container {
    background: var(--bg);
}

.c-bg {
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    background: #414141;
}

.dropdown-menu.bg-dark a {
    color: #fff;
}

.dropdown-menu.bg-dark a:hover {
    color: #fff;
    background: #494949;
}

.pointer {
    cursor: pointer !important;
}

.topButton {
    position: fixed;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.247);
    width: 50px;
    height: 50px;
    margin: 10px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-decoration: none;
    z-index: 100000;
}

.green {
    color: #268d00 !important;
}

.red {
    color: #f44336 !important;
}

/* ---------------------------------------------------
    CUSTOM BTNS - FIX
----------------------------------------------------- */
.btn-outline-danger, .btn-danger {
    color: #f44336 !important;
}

.btn-outline-info, .btn-info {
    color: #0c88d2 !important;
}
.btn-secondary, .btn-outline-secondary {
    color: #6c757d !important;
}
.btn-raised.btn-secondary, .btn-raised.btn-danger, .btn-raised.btn-warning, .btn-raised.btn-success, .btn-raised.btn-info {
    color: #fff !important;
}


.custom-file-control, .form-control, .is-focused .custom-file-control, .is-focused .form-control {
    background-image: linear-gradient(0deg, #0c88d2 2px, rgba(0, 150, 136, 0) 0), linear-gradient(0deg, rgba(255, 255, 255, 0.26) 1px, transparent 0) !important;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #0c88d2 !important;
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    background-color: rgba(12, 150, 225, 1) !important;
}
.custom-checkbox .custom-control-input:active ~ .custom-control-label::before {
    background-color: rgba(12, 150, 225, 1) !important;
}

select.custom-select {
    background-color: #494949;
}

.list-group hr {
    border-top: solid 1px rgba(173, 173, 173, 0.5) !important;
    width: 100%;
}

ul.list-group {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    flex-grow: 0;
}


.list-group a.tab,.list-group a.btn.tab  {
    font-size: 16px !important;
    font-weight: lighter !important;
    color: #fff !important;
    padding-left: 2.5rem !important;
}

.list-group a.btn {
    padding-left: 3.5rem !important;
    margin-bottom: 0 !important;
}
ul.list-group .collapse {
    display: none;
}
ul.list-group .collapse.show {
    display: block;
}



.bmd-layout-content {
    z-index: unset !important;
}

.bmd-layout-container.bmd-drawer-f-l.bmd-drawer-overlay.bmd-drawer-in > .bmd-layout-drawer {
    width: 23em !important;
}


.console {
    overflow-x: auto;
    overflow-y: auto;

    max-height: 75vh;
}

/*

OTHER FIXES

*/

.card.card-body, code {
    background-color: #5f5f5f !important;
}




/*

SIGN EDITOR

*/

.sign-editor.bg {
    background-image: url("/assets/img/sign.png");
    background-repeat: unset;
    background-size: cover;

}
.sign-editor.bg input[type="text"]{
    background-color: rgba(0,0,0,0) !important;
    color: #000000 !important;
    font-size: 1.5em !important;
    border: none !important;
    margin-top: 1em;
    min-width: 100%;
    text-align: center !important;
    font-family: 'MinecraftiaRegular' !important;
}

.mc-font {
    font-family: 'MinecraftiaRegular' !important;
}



.input-helper {
    background-color: #fff;
    width: 100%;
    color: #000 !important;
    z-index: 3;
    position: fixed;
    display: none;
}
input:focus + span > label {
    display: block !important;
}

.context.show {
    z-index: 1000;
    position: absolute;
    opacity: 0.5;
    background-color: var(--bg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1em;
    display: block;
    margin: 0;
    list-style-type: none;
    list-style: none;
    transition: opacity 0.3s;
}
.context.show:hover {
    opacity: 1;
}
.context.show a{
    color: #0c88d2;
}
.context.hide {
    display: none;
}

.context.show li {
    list-style: none;
}

.context.show a {
    border: 0 !important;
    text-decoration: none;
}

.context.show a:hover {
    text-decoration: underline !important;
}


.string { color: #ff5289; }
.number { color: darkorange; }
.boolean { color: #00dc00; }
.null { color: darkred; }
.key { color: #52aeff; }
pre, textarea {
    background-color: #333;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}