#page-mask {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgba(0,0,0,0.4);
}

#windowError, #windowMessage, #windowEvents, #windowPWRGRDSettings, #windowPWRGENSettings, #windowHistory, #windowPower, #windowLinePower, #windowPowerLimiter {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    border-radius: 10px;
    background-color: #f9f9f9;
    border: solid 2px gray;
    box-shadow: 6px 6px 3px #1c2833;
    opacity: 0.95;
}

#windowError, #windowMessage, #windowEvents {
    left: 20%;
    right: 20%;
    bottom: 40%;
    top: 20%;
}

#windowPWRGRDSettings {
    left: 30%;
    right: 30%;
    bottom: 55%;
    top: 20%;
}

#windowPWRGENSettings {
    left: 30%;
    right: 30%;
    height: 470px;
    top: 20%;
}

#windowPowerLimiter {
    left: 30%;
    right: 30%;
    height: 580px;
    top: 20%;
}


#windowHistory, #windowPower {
    left: -5%;
    right: -5%;
    height: 685px;
    top: 10%;
}

#windowLinePower {
    left: 10%;
    right: 10%;
    height: 380px;
    top: 15%;
}

.gwt-TextBox {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.875em;
    text-align: right;
    background: -webkit-linear-gradient(90deg, #FFFFFF, #EEEEEE) repeat scroll 0 0 transparent;
    border: 1px solid #AAAAAA;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 0 5px #AAAAAA;
    padding: 2px;
}

    .gwt-TextBox:hover {
        border-color: #000;
    }

    .gwt-TextBox:focus {
        border-color: #000;
        box-shadow: 0 0 5px #AAAAAA;
        color: #222;
        outline: none;
    }

    .gwt-TextBox:disabled {
        border-color: #aaa;
    }

.gwt-Label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85em;
    font-style: italic;
    text-align: right;
    margin-left: 5px;
}

button {
    background: -webkit-linear-gradient(90deg, #BBBBBB, #FFFFFF) repeat scroll 0 0 transparent;
    border: 1px solid #9E9E9E;
    border-radius: 5px;
}

    button:disabled {
        cursor: not-allowed;
        pointer-events: all !important;
    }

    button:hover:enabled {
        background: -webkit-linear-gradient(270deg, #BBBBBB, #FFFFFF) repeat scroll 0 0 transparent;
    }

.btn_close {
    border: solid #000000 1px;
}

.statusField {
    background-color: #eef0f3;
    border: solid 1px gray;
    border-radius: 5px;
    border-color: #0060df;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

    .statusField legend {
        background-color: #eef0f3;
        border: 1px solid #AAAAAA;
        box-shadow: 0 0 15px #AAAAAA;
        border-radius: 3px;
        padding-top: 3px;
        padding-right: 5px;
        padding-left: 5px;
        height: 20px;
        color: #00205B;
    }

.container {
    position: relative;
}

.rectangleTitle {
    width: 100%;
    height: 45px;
    background-color: #85929e;
    border: 1px solid gray;
    border-radius: 10px 10px 0px 0px;
    font-size: 38px;
    color: #00205B;
    text-align: center;
}

.rectangleMenu {
    width: 480px;
    height: 30px;
    background-color: #eef0f3;
    border: 1px solid gray;
    border-radius: 5px;
    opacity: 0.95;
}

.rectangleLCD {
    background-color: #eef0f3;
    background: -webkit-linear-gradient(top, #ecf2ed 0%, #afc0ae 47%, #96ad93 53%, #758d71 100%);
    border: 1px solid gray;
    border-radius: 3px;
    opacity: 0.95;
}

.textStatus {
    text-align: left;
    font-size: 12px;
    width: 250px;
    color: #00205B;
    opacity: 0.7;
}

.textLCD {
    font-weight: bold;
    text-align: right;
    color: black;
    opacity: 0.7;
}

textarea {
    font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
    font-size: 12px;
    background-color: #f2f2f2;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #d3d3d3;
    display: flex;
    flex-flow: column;
    align-items: center;
}

.txtTitle {
    font-size: 28px;
    color: #00205B;
}

.txtErr {
    font-size: 20px;
    color: #00205B;
}

.txtMsg {
    font-size: 40px;
    color: #00205B;
}

.divBorder_head, .divBorder_energy, .divBorder_bottom, .divBorder_gauge, .divBorder_line, .divBorder_status {
    position: relative;
    background: -webkit-linear-gradient(90deg, #BBBBBB, #FFFFFF) repeat scroll 0 0 transparent;
    background: -moz-linear-gradient(90deg, #BBBBBB, #FFFFFF) repeat scroll 0 0 transparent;
    box-sizing: border-box;
    border: 1px solid #AAAAAA;
    border-radius: 10px;
    box-shadow: 6px 6px 3px #888888;
}

.divBorder_head {
    height: 105px;
    width: 100%;
    padding: 5px 5px 5px 20px;
}

.divBorder_energy {
    height: 64px;
    width: 100%;
    padding: 5px 5px 5px 20px;
}

.divBorder_bottom {
    height: 100px;
    width: 100%;
    padding: 5px 5px 5px 20px;
}

.divBorder_gauge {
    height: 340px;
    width: 280px;
    text-align: center;
}

.divBorder_line {
    height: 300px;
    width: 280px;
    text-align: center;
}

.divBorder_status {
    height: 60px;
    width: 100%;
    padding-bottom: 15px;
    text-align: center;
}

.eTable {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

.eTable td, .eTable th {
        border: 1px solid #bebebe;
        font-size: 15px;
        text-align: right;
        padding: 8px;
}

.eTable tr:nth-child(odd) {
    background-color: #dddddd;
}

    .eTable td:nth-child(4) {
        text-align: left;
    }


.form-switch {
    display: inline-block;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

    .form-switch i {
        position: relative;
        display: inline-block;
        margin-right: .5rem;
        width: 46px;
        height: 26px;
        background-color: #e6e6e6;
        border-radius: 23px;
        vertical-align: text-bottom;
        transition: all 0.3s linear;
    }

        .form-switch i::before {
            content: "";
            position: absolute;
            left: 0;
            width: 42px;
            height: 22px;
            background-color: #fff;
            border-radius: 11px;
            transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
            transition: all 0.25s linear;
        }

        .form-switch i::after {
            content: "";
            position: absolute;
            left: 0;
            width: 22px;
            height: 22px;
            background-color: #fff;
            border-radius: 11px;
            box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
            transform: translate3d(2px, 2px, 0);
            transition: all 0.2s ease-in-out;
        }

    .form-switch:active i::after {
        width: 28px;
        transform: translate3d(2px, 2px, 0);
    }

    .form-switch:active input:checked + i::after {
        transform: translate3d(16px, 2px, 0);
    }

    .form-switch input {
        display: none;
    }

        .form-switch input:checked + i {
            background-color: #4BD763;
        }

            .form-switch input:checked + i::before {
                transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0);
            }

            .form-switch input:checked + i::after {
                transform: translate3d(22px, 2px, 0);
            }