#xlang_code_editor_form {
    width: 100%;
    height: 100%;
}

#xlang_code_editor_run {
    float: right;
    width: 120px;
    color: white;
    background-color: #ed4700;
    border: none;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
}

#xlang_code_editor_run i {
    color: white;
}

#xlang_code_editor_box {
    opacity: 0.9;
}

#xlang_code_editor {
    width: 100%;
    height: 90%;
    padding: 10px;
    font-size: 18px;
    background-color: #adc2ce;
    color: black;
    border: none;
}


.CodeMirror-foldgutter {
    width: 16px;
}

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

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

.CodeMirror {
    height: 800px !important;
    max-height: 800px !important;
    /*font-family: 'Fira Code', monospace !important;*/
    font-family: 'Noto Sans', monospace !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    font-weight: 600 !important;
    letter-spacing: 0.7px !important;
}

.cm-colors {
    color: #264043 !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
}

.cm-colors:after {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    margin-left: 5px;
    margin-right: 15px;
    border: solid 1px #aaa;
}

.cm-keyboard_keys {
    color: #8b1654 !important;
    font-weight: 700 !important;
}

.cm-consts {
    color: #264043 !important;
    font-weight: 700 !important;
}

.cm-keywords {
    color: blue !important;
    font-weight: 700 !important;
}

.cm-vars {
    color: #00e3e3 !important;
    font-weight: 700 !important;
}

.cm-fns {
    color: #bf00ff !important;
    font-weight: 700 !important;
}

.cm-punctuation {
    color: #bf00ff !important;
    font-weight: 700 !important;
}

.cm-cmds {
    color: #0732ff !important;
    font-weight: 800 !important;
    /*min-width: 100px !important;*/
    /*display: inline-block!important;*/
    border-right: solid 1px #e8f0fb !important;
    padding-right: 5px !important;
    margin-right: 2px !important;
    text-align: right !important;
}

.cm-comment {
    color: #746c5a !important;
}

.cm-string {
    color: #e1004e !important;
    box-shadow: 3px 0px 5px 5px #ffdffd inset;
    padding: 0px 5px;

}

.cm-variable_with_underscore,
.cm-variable_with_number,
.cm-other {
    color: #6a2626 !important;
    font-weight: 600 !important;
}

.cm-number_minus_point,
.cm-number_minus,
.cm-number_point,
.cm-number {
    color: #00b764 !important;
    font-weight: 700 !important;
}

.cm-arithmetic_operator {
    color: #ff846a !important;
    padding-left: .2em;
    padding-right: .2em;
    font-weight: 700 !important;
}

.cm-comparison_operator {
    color: #e12800 !important;
    padding-left: .3em;
    padding-right: .3em;
    font-weight: 700 !important;
    box-shadow: 3px 0px 5px 5px #fff5d2 inset;
}

.cm-items {
    color: #935a18 !important;
    font-weight: 700 !important;
    box-shadow: 3px 0px 5px 5px #ffdcb9 inset;
    border: solid 1px #e9e0ec !important;
    padding: 0px 5px !important;
    margin-right: 5px;
}

.cm-lists {
    color: #4b1893 !important;
    font-weight: 700 !important;
    box-shadow: 3px 0px 5px 5px #e5d7ff inset;
    border: solid 1px #e9e0ec !important;
    padding: 0px 5px !important;
    margin-right: 5px;
}

.cm-tables {
    color: #18935c !important;
    font-weight: 700 !important;
    box-shadow: 3px 0px 5px 5px #d7ffe8 inset;
    border: solid 1px #e9e0ec !important;
    padding: 0px 5px !important;
    margin-right: 5px;
}

.cm-userblock {
    color: #5800b7 !important;
    font-weight: 700 !important;
    background-color: #c8c8c8 !important;
}

/* Style for CodeMirror hint dropdown */
.CodeMirror-hints {
    min-width: 600px !important;
    max-height: 300px !important;
    white-space: nowrap !important;
    overflow: auto !important;
    background: #f8f8f8 !important;
    border: 1px solid #b0b0b0 !important;
    z-index: 9999 !important;
    padding: 4px;
}

.hint_item {
    display: block !important;
    padding: 4px 8px !important;
    border: solid 1px #bebebe !important;
    display: block;
    min-width: 600px;
    padding: 0px 0px !important;
    color: #888;
}


.CodeMirror-hint-active {
    background: #e0eaff !important;
    color: #888;

}

.hint_word {
    display: inline-block !important;
    width: 200px;
    margin: 0 !important;
    padding: 0px 10px !important;
    border:none !important;
    color: #1c384f;
    font-family: monospace;
    font-weight: bold;
    height: 32px;
    line-height: 32px;
}

.hint_help {
    display: inline-block;
    position: relative;
    margin: 0 !important;
    padding: 0px 10px !important;
    min-width: 440px;
    border:none !important;
    border: solid 1px #ccc;
    background-color: #eee;
    color: #888;
    font-size: 12px;
    height: 32px;
    line-height: 32px;
}

.hint_help_sample {
    background-color: white;
    padding: 2px 10px;
    font-size: 10px;
    margin-left: 10px;
}

.hint_item.variable .hint_word {
    color: #20b2d3 !important;
}

.hint_item.function .hint_word {
    color: #d04bd3 !important;
}

.hint_item.command .hint_word {
    color: #3ecb7b !important;
}

.hint_item.keyword .hint_word {
    color: #3232bd !important;
}


