/** Styles for all themes */

/* Style for the main element */
.TcHmi_Controls_System_TcHmiControl, .tchmi-control {
    position: absolute;
    /* Browser default is 3 px! */
    border-top-width: 0px;
    border-left-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
}

/* Mark disabled controls without interupting control logic */
.TcHmi_Controls_System_TcHmiControl-disabled::after, .tchmi-control-disabled::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    /*background-color: rgba(255, 255, 255, 0.5); color is defined in theme css*/
    z-index: 100;
}

/* Hide controls which has no observe right.
    This is no security fail. If an attacker got some stuff from the server he can manipulate the running script or DOM in the browser anyway.
    The real security has to be implemented in the server config.
*/
.TcHmi_Controls_System_TcHmiControl-observe-disallowed, .tchmi-control-observe-disallowed {
    display: none !important; /* Force this value to be valid and override style display definitions if available! */
}
