body{
    height: 100%;
}

.page{
    height: 100%;
}

.table-wrapper{
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.table{
    display: table;
}

.tr{
    display: table-row;
}
.tr[data-image]{
    background: rgb(135, 206, 235,.2);
    color: darkblue;
}
.tr[data-video]{
    background: hsl(300, 44%, 90%);
    color: rgb(49, 18, 57);
}
.tr[data-selected]{
    background:rgba(50, 205, 50,.5);
    color:darkgreen;
}

.th, .td{
    display: table-cell;
    height: auto;
    width: auto;
    vertical-align: middle;
    text-align: center;
    padding: 5px;
    margin: auto;
}
.th{
    position:sticky;
    top:0;
    background:grey;
    font-weight:900;
    color:white;
}

.select-div{
    width:30px;
    aspect-ratio:1/1;
    max-width: 100%;
    border: 2px solid grey;
    cursor: pointer;
}
.select-div[data-selected]{
    background: darkgreen;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    border: 0;
}
.select-div[data-selected]::before{
    content:'✓';
    position:absolute;
    color:white;
}

.previewWRapper{
    width: 50px;
    height: 50px;
    background: darkgrey;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
}
.previewWRapper > img, .previewWRapper > video{
    border: 1px solid grey;
}