.tab-cli {
    height: 100%;
}

.tab-cli .content_wrapper {
    height: calc(100% - 92px);
}

.tab-cli p {
    padding: 0px;
    border: 0px dotted var(--subtleAccent);
}

.tab-cli .backdrop {
    border: 1px solid var(--subtleAccent);
    background-color: rgba(0, 0, 0, 0.75);
    margin-top: 0px;
    height: calc(100% - 90px); /* - (p, textarea) */
    background-repeat: no-repeat;
    background-position: 50% 80%;
    border-radius: 5px;
    box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.80);
    width: 100%;
}

.tab-cli .window {
    height: 100%;
    width: 100%;
    padding: 5px;
    overflow-y: scroll;
    overflow-x: hidden;
    font-family: monospace;
    color: white;
    box-sizing: border-box;
    -webkit-user-select: text;
    float: left;
}

.tab-cli textarea[name='commands'] {
    -webkit-box-sizing: border-box;
    width: 100%;
    margin-top: 8px;
    height: 22px;
    line-height: 20px;
    padding-left: 5px;
    border: 1px solid var(--subtleAccent);
    resize: none;
}

.jBox-container textarea#preview {
    background-color: rgba(0, 0, 0, 0.75);
    width: 100%;
    resize: none;
    overflow-y: scroll;
    overflow-x: hidden;
    font-family: monospace;
    color: white;
    padding: 5px;
    margin-bottom: 5px;
}

.tab-cli #content-watermark {
    z-index: 0;
}

.tab-cli .window .wrapper {
    white-space: pre-wrap;
}

.tab-cli .window .error_message {
    color: red;
    font-weight: bold;
}

.tab-cli .save {
    color: white;
}

@media only screen and (max-width: 1055px) , only screen and (max-device-width: 1055px) {

.tab-cli .content_wrapper {
    height: calc(100% - 87px);
}
.tab-cli .content_toolbar {
    margin-top: 5px;
}

}


/* AutoComplete */
.cli-textcomplete-dropdown {
    border: 1px solid var(--subtleAccent);
    background-color: white;
    border-radius: 5px;
    max-height: 50%;
    overflow: auto;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cli-textcomplete-dropdown::-webkit-scrollbar {
    width: 6px;
}

.cli-textcomplete-dropdown::-webkit-scrollbar-track {
    background: lightgrey;
    border-radius: 3px;
}

.cli-textcomplete-dropdown::-webkit-scrollbar-thumb {
    background: grey;
    border-radius: 3px;
}

.cli-textcomplete-dropdown li {
    padding: 2px 5px;
}

.cli-textcomplete-dropdown .active {
    background-color: rgb(255, 187, 0);
}

.cli-textcomplete-dropdown a:hover {
    cursor: pointer;
}

.cli-textcomplete-dropdown a {
    font-family: monospace;
}

.cli-textcomplete-dropdown a b {
    font-family: monospace;
    font-weight: bold;
}
/* End AutoComplete */
