body {
    background: #141414;
}

#help-button {
    float: right;
}

.canvas-widget {
    position: relative;
}

#loading-overlay {
    position: absolute;
    color: white;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
}

#glcanvas {
    border: white;
    border-style:solid;
    border-width:1px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    touch-action: none;
    margin-top: 10px;
}

#object-control-bar {
    width: fit-content;
    display: block;
    /* align-items: center; */
    margin: auto;
}

#selected-object-controls {
    max-height: 80%;
    overflow-y: scroll;
}
#selected-object-controls .ui-spinner-input {
    width: 40px;
}
#selected-object-controls input[type="color"] {
    /* width: 40%; */
}
div.object-control-container {
    display: flex;
}
div.object-geometry-controls {
    flex-grow: 1;
    display: flex;
}
div.object-geometry-controls > div {
    margin: auto;
}
div.object-material-controls > table {
    margin: auto;
}
div.object-material-controls {
    flex-grow: 1;
}

output {
    width: 50px;
    display: inline-block;
}

.control-group {
    width: 100%;
    box-sizing: border-box;
}

#console_output {
    font-family: monospace;
    max-height: 150px;
    overflow: auto;
    border-width: 1px;
    border-color: grey;
    border-style: solid;
    padding: 10px;
}

#console_output .error {
    color: red;
}

input[type=range] {
    width: 70%;
}

div#controls {
    height: 30px;
    color: white;
}

#progress {
    width: 100%;
    text-align: center;
    line-height: 30px;
    min-height: 30px;
    display: flex;
}

#fps-display {
    /* height: 30px; */
    width: 100%;
    float: left;
    color: white;
    background-color: darkgrey;
    border-width: 1px;
    border-color: black;
    border-style: solid;
    min-height: 30px;
    font-family: monospace;
}