/*
    ActivityListEditor
*/

button.icon {
    background: rgba(255,255,255,0.2);
}

.activity.list-editor {
    overflow-y: auto;
}

.activity.list-editor > *:last-child {
    margin-bottom: 6rem;
}

.activity.list-editor > .title {
    margin-top: 3rem;
}

.activity.list-editor table {
    border-collapse: collapse;
    border-radius: 0.25rem;
    width: 35rem;
        display: flex;
        flex-flow: column;
        position: relative;
        top: 2rem;
        margin-bottom: 2rem;
}

.activity.list-editor table > tbody {
        display: block;
        max-height: 25rem;
        overflow-y: auto;
}

.activity.list-editor table tr {
    border-bottom: 1px solid;
    border-bottom-color: var(--color-list-item-delimiter);
}

.activity.list-editor table tr:hover {
    background-color: var(--color-list-item-highlight);
}

.activity.list-editor table th,
.activity.list-editor table td {
    text-align: left;
    padding: 0;
}

.activity.list-editor table th {
    text-align: left;
    padding: 0 1rem;
    height: 2.25rem;
}

.activity.list-editor table + .buttons {
    width: 35rem;
    justify-content: end;
    margin-top: 1px;
}

.activity.list-editor table input[type=text] {
    height: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: transparent;
}


.activity.list-editor table th:nth-child(1),
.activity.list-editor table td:nth-child(1) {
        width: 12rem;
        box-sizing: border-box;
}

.activity.list-editor table th:nth-child(2),
.activity.list-editor table td:nth-child(2) {
        width: 16rem;
        box-sizing: border-box;
}

.activity.list-editor table th:nth-child(3) {
        width: calc(2rem * 3);
}

.activity.list-editor table caption {
        position: absolute;
        margin-top: -2rem;
}

.activity.list-editor .hint {
    max-width: 24rem;
}