.trigger-group {
    margin: 2px;
    padding: 0;
    border: 2px solid gray;
}

.trigger-group-title {
    height: 25px;
    text-align: center;
    padding: 2px 5px;
    /*border-bottom: 1px solid silver;*/
    width: 100%;
}

.trigger-group-content {
    padding: 0;
    overflow: hidden;
}

.trigger-block {
    display: block;
    width: 100px;
    height: 70px;
    float: left;
    border: 1px solid white;
}

.trigger-block.red {
    background-color: red;
    color: black;
}
.trigger-block.yellow {
    background-color: yellow;
    color: black;
}
.trigger-block.green {
    background-color: green;
    color: white;
}
.trigger-block .name {
    text-align: center;
    font-size: 0.8em;
    margin-top: 3px;
    height: 50%;
    word-wrap: break-word;
    overflow: hidden;
}
.trigger-block .value {
    text-align: center;
    font-size: 1.2em;
}


.trigger-iframe {
    border: none;
    position: absolute;
    width: 220px;

    -ms-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -o-transform: scale(0.5);
    -webkit-transform: scale(0.5);
    transform: scale(0.5);

    -ms-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

legend {
    margin-bottom: 5px;
    padding-left: 20px;
}
