html, body, .window-div {
    width: 100%;
    height: 100%;
}

body:fullscreen {
    background-color: black;
}
body:-webkit-full-screen {
    background-color: black;
}
body:-moz-full-screen {
    background-color: black;
}
body:-ms-fullscreen {
    background-color: black;
}

.table-noheader>tbody>tr:first-child>td {
    border-top: 0;
}

.top-panel {
    margin: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}

.top-btn-margin {
    margin: 0px 2.5px;
}

.content-div {
    padding: 3px;
}

.all-panel-margin {
    margin: 3px;
}

.top-panel-head {
    overflow: hidden;
    padding: 5px 2.5px;
}

.control-panel>div {
    padding: 6px;
}

.control-button, .control-input, .control-ig-label {
    height: 24px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.control-button {
    padding-left: 12px;
    padding-right: 12px;
}

.control-button[disabled] {
    cursor: default;
}

.control-button-highlight {
    box-shadow: 0px 0px 10px #400000;
}

.control-input {
    padding-left: 6px;
    padding-right: 3px;
}

.control-cancel-button {
    padding-left: 6px;
    padding-right: 6px;
}

.control-editing {
    background-color: Gold;
}

.control-table {
    table-layout: fixed;
    width: 100%;
    margin-bottom: 0px;
}

.control-table>tbody>tr>td, .control-table>tbody>tr>td.control-table-link>a {
    vertical-align: middle;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 5px;
    padding-right: 5px;
}

.control-table>tbody>tr>td.control-table-link {
    padding: 0;
}

.control-table>tbody>tr>td.control-table-link>a {
    display: block;
    width: 100%;
    height: 100%;
}

.control-table>thead>tr>th {
    white-space: nowrap;
    padding-top: 0px;
    padding-bottom: 3px;
    padding-left: 5px;
    padding-right: 5px;
}


.notbold {
    font-weight: normal;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-row>*, .flex-column>* {
    flex-shrink: 0;
}

.flex-grow1 {
    flex-grow: 1;
}

.flex-shrink1 {
    flex-shrink: 1;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-align-center {
    align-items: center;
}

.min-height0 {
    min-height: 0;
}

.width0 {
    width: 0;
}

.scroll-y {
    overflow-y: scroll;
}

.autoscroll-y {
    overflow-y: auto;
}

.nowrap {
    white-space: nowrap;
}

.control-label {
    margin-bottom: 0px;
}

.main-controls-container {
    flex-grow: 0.6;
    width: 410px;
    max-width: 500px;
}

.main-panel-container {
    width: 455px;
    max-width: 700px;
}

.gcode-table>tbody>tr>td {
    vertical-align: top;
}

.gcode-table>tbody>tr[data-mod2='1'] {
    background-color: #f9f9f9;
}

.gcode-table>tbody>tr[data-pending='true'] {
    background-color: Gold;
}

.gcode-table>tbody>tr[data-error='true'] {
    background-color: OrangeRed;
}

.gcode-input-group {
    width: 100%;
}

.gcode-panel {
    max-height: 400px;
}

.main-panel {
    min-height: 250px;
    max-height: 1000px;
}

.constatus, .activestatus {
    font-size: 16px;
    font-weight: bold;
}

.constatus-control {
    font-size: 14px;
    font-weight: bold;
}

.activestatus-inactive {
    color: Green;
}

.constatus-waitresp, .activestatus-active {
    color: Orange;
}

.constatus-error {
    color: Red;
}

.toppanel-spacediv {
    min-width: 20px;
}

.control-panel>.control-tabs-panel-heading {
    padding-bottom: 0;
    padding-top: 2px;
}

.control-tabs {
    margin-bottom: 0px;
    border-bottom: 0px;
}

.control-tabs>li>a {
    padding-top: 3px;
    padding-bottom: 3px;
}

.control-tabcontent>.active {
    display: flex;
}

.dirlist-loading-text {
    font-weight: bold;
}

.files-right-margin {
    margin-right: 7px;
}

.upload-status-running {
    font-weight: bold;
    color: Orange;
}

.upload-status-success {
    font-weight: bold;
    color: Green;
}

.upload-status-error {
    font-weight: bold;
    color: Red;
}

.config-options-area {
    height: 400px;
}

.config-options-table>tbody>tr>td {
    word-wrap: break-word;
    vertical-align: top;
}

.dir-list-area {
    height: 300px;
}

.gcode-table-area {
    height: 120px;
    width: 100%;
}

.sdcard-state {
    font-weight: bold;
    text-align: center;
}

.control-bottom-margin {
    margin-bottom: 4px;
}

.control-right-margin {
    margin-right: 5px;
}

.items-margin {
    padding: 0px;
}

.items-margin>div {
    margin: -2px -2.5px;
}

.items-margin>div>* {
    margin: 2px 2.5px;
}

.fixed-width-button {
    width: 130px;
}

.parameter-table-name {
    font-weight: bold;
}

h1 {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 5px;
    font-size: 22px;
    font-style: italic;
}

*[hidden] {
    display: none;
}

.nav>li[hidden] {
    display: none;
}
