#logic {
    text-align: center;
    padding: 0;
}
#logic > .tiles {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: block;
    max-width: 1360px;
    margin: auto;
    text-align: left;
}

#logic .tile {
    width: calc(33.33% - 12px);
    height: auto;
    
    min-width: auto;
    max-width: 445px;
    min-height: auto;
    max-height: auto;
    
    margin: 6px;
    margin-top: 16px;
    padding-top: 40px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 12px;

    display: inline-flex;
    flex-direction: column;
    align-items: start;
}

@media (min-width:1280px) {
    #logic .tile {
        flex-direction: row;
    }
}

#logic .table {
    display: grid;
    grid-row-gap: 4px;
    flex: 1 1 50%;
}

#logic .table.listener {
    margin-bottom: 8px;
    align-self: stretch;
}
#logic .table.action {
    align-self: stretch;
}
@media (min-width:1280px) {
    #logic .table.listener {
        margin-right: 16px;
    }
    #logic .table.action {
        align-self: start;
    }
}

#logic .toolkit-buttonarray .toolkit-clip .toolkit-container {
    display: flex;
}
#logic .toolkit-buttonarray .toolkit-button {
    flex: 1 1 100%;
}
