html {
    /* background-color: #141414; */
    background-color: black;
}

#terminal, #editor, .ck-editor {
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 8px !important;
}

.ck-editor {
    background: white !important;
}

#editor {
    display: none;
    font-size: 10pt;
}

.draftColor {
    color: lightcoral;
}

.releasedColor {
    color: lightgreen;
}

.errorColor {
    color: red;
}

#message {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 10px;
    color: white;
    font-family: arial, serif;
    cursor: grab;
    border: 1px solid darkgray;
    border-radius: 5px;
    box-shadow: -4px -3px 5px #141414;
    background: rgba(126, 121, 108, 0.5);
    z-index: 4;
    display: none;
}

#messageRail {
    position: absolute;
    top: 20px;
    bottom: 20px;
    right: 20px;
    border: 3px solid rgba(156, 151, 138, 0.5);
    border-radius: 3px;
    display: none;
}

#messageHeader {
    position: absolute;
    left: 1px;
    right: 1px;
    top: 1px;
    height: 16pt;
    padding-top: 2px;
    background-color: rgba(156, 151, 138, 0.5);
    border-bottom: 1px solid #202020;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    z-index: 4;
}

#messageButtons {
    padding-left: 8px; /* space before first button */
}

.messageButton {
    /* border: 1px solid darkgray; */
    /* background-color:rgba(176, 171, 158, 0.5); */
    margin: 0 3px 0 3px; /* space between buttons */
    /* padding: 0 10px 0 10px; */ /* min. width of a button */
}

.isElementInEditor {
    display: none;
}

.messageButton.right, .messageButtonDivider.right, .messageProperty.right {
    float: right;
}

.messageButtonDivider {
    color: #909090;
}

.messageButton a, #messageText a {
    color: lightgray;
    text-decoration: none;
    cursor: pointer;
}

.messageButton a:hover, #messageText a:hover {
    color: white;
}

.messageProperty {
    color: lightcoral;
    font-weight: 800;
}

#messageClient {
    margin-top: 23px; /* top space */
}

.messageTexts {
    color: lightgray;
    padding-left: 8px; /* space before first text */
}

#messageText {
    font-family: monospace;
    font-weight: 600;
}

.messageContentUnsaved {
    color: red;
}

#messageClose {
    position: absolute;
    top: 2px;
    right: 6px;
    color: darkgray;
    cursor: pointer;
    z-index: 5;
}

#messageClose:hover {
    color: red;
}

#keyboard {
    background-color: #303030;
    position: absolute;
    padding: 5px 5px 20px 5px;
    bottom: 0;
    /* left: 50%; */
    right: 20px;
    /* transform: translate(-50%, 0%); */
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    display: none;
}

#keyboard span {
    color: white;
    background-color: #808080;
    font-family: sans-serif;
    text-align: center;
    cursor: pointer;
    border-radius: 3px;
    display: inline-block;
    width: 30px;
    height: 22px;
}

#keyboard i {
    color: #808080;
    background-color: #303030;
    border-radius: 8px;
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
}