body {
    margin: 0.5em;
    padding: 0;
    font-family: sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

small {
    font-size: 0.6em;
}

select {
    font-size: 1em;
    padding: 0.25em;
    background-color: rgb(228 240 245);
}

table {
    border-collapse: collapse;
    border: 2px solid rgb(140 140 140);
    table-layout: fixed;
}
th:nth-last-child(-n+3),
td:nth-last-child(-n+3) {
    width: 33.33%;
}

thead, tfoot {
    background-color: rgb(228 240 245);
}

td {
    vertical-align: top;
}

th, td {
    border: 1px solid rgb(160 160 160);
    padding: 8px 10px;
}

tbody>tr:nth-of-type(even) {
    background-color: rgb(237 238 242);
}

tfoot th {
    text-align: right;
}

tfoot td {
    font-weight: bold;
}

#headerDiv {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.5em;
}

#headerDiv > * {
    margin-right: 0.5em;
}

#authDiv {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    margin: 1em;
}

.menuBtn {
  margin-right: 0.5em;
}

.list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
}

.listItem {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.25em;
    margin: 0.25em;
    width: 12em;
    background-color: lightcyan;
    border: 1px solid darkblue;
}

.listItem .listItemTitle {
    height: 4em;
    font-weight: bold;
    font-size: medium;
    text-align: center;
}

.listItem .listItemImage {
    height: 16em;
    max-width: 12em;
    object-fit: contain;
    bottom: 0.25em;
}

.listItem .listItemRef {
    height: 4em;
    font-size: x-small;
    color: darkblue;
    padding: 0.5em;
}

.channel .channelImage {
    width: 100%;
    height: auto;
    margin-top: 1em;
    margin-bottom: 1em;
    border: 1px solid lightblue;
}

.event {
    vertical-align: top;
}

.event .eventImage {
    width: 100%;
    height: auto;
}

#videoDiv, #videoDiv #video {
    max-width: 1024px;
    width: 100%;
    height: auto;
}

#playerCloseBtn {
    position: absolute;
    top: 0;
    right: 0;
    margin: 1em;
    cursor: pointer;
}

.moreLikeThisDialog {
    background-color: lightcyan;
    width: 512px;
}

.moreLikeThisDialog .listItemRef {
    font-size: x-small;
    color: darkblue;
    padding: 0.5em;
}
