#plcUi {
    padding: 7px;
}

#plcUi > input {
    display: none;
}

/* general settings for the table */
.plc-table {
    margin: 10px;
    box-sizing: border-box;
    max-width: 1000px;
}

.plc-table > tbody > tr > td, .plc-table > tbody > tr > th {
    vertical-align: middle;
}

.plc-table-writeperm {
    text-align: center;
}

/* settings for the button to hide the control-panel */
.plc-hide-controls {
    position: absolute;
    box-sizing: border-box;
    border: 1px solid transparent;
    top: 0;
    right: 0;
    width: 60px;
    height: 34px;
    border-radius: 5px;
    margin: 0px;
}
.plc-hide-controls:active {
    border-color: rgba(0, 0, 0, .125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
.plc-hide-control-checkbox:checked ~ .plc-subscriber {
    display: none !important;
}

/* width control for the table columns to avoid big changes when adding the first input */
.plc-control-group {
    width: 80px;
}
.plc-control-address {
    width: 450px;
}
.plc-control-id {
    width: 40px;
}
.plc-control-value {
    width: 270px;
}
.plc-control-writeperm {
    width: 30px;
}
.plc-control-remove {
    width: 115px;
}

/* control panel (where plc-inputs are added) */
.plc-subscriber {
    margin: 10px;
    padding: 10px;
}
.plc-subscriber select {
    height: 26px;
}
.plc-subscriber-group {
    width: 100px;
}
.plc-subscriber-id {
    width: 50px;
}
.plc-subscriber-address {
    width: 350px;
}
.plc-subscriber-defaulttext {
    width: 120px;
}

.plc-subscriber-values, .plc-subscriber-messages {
    display: inline-block;
}
.plc-subscriber-togglehold, .plc-subscriber-interval {
    vertical-align: top;
}
.plc-subscriber-interval {
    width: 100px;
}

.plc-subscriber-subscriber {
    float: right;
}

.plc-subscriber-divider {
    width: 100%;
    background-color: #777;
    height: 3px;
    margin: 5px 0px;
}

.plc-subscriber-fortext, .plc-subscriber-forbutton, .plc-subscriber-forcheckbox, .plc-subscriber-forradio, .plc-subscriber-forstate  {
    width: 100%;
    display: inline-block;
}

.plc-subscriber-radio-values {
    display: inline-block;
}
