
body {
    font-family: Helvetica;
    font-weight: 300;
    font-size: 11pt;
    color: #222;
}

.nav {
    margin: 1em;
}

.video_list {
    display: grid;
    row-gap: 3px;
    column-gap: 1em;
    grid-template-columns: auto auto auto 1fr;
}
.video_list .header {
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 1px solid #333;
}
.video_list .height {
    grid-column: 1/1;
    text-align: right;
}
.video_list .duration {
    grid-column: 2/2;
    text-align: right;
}
.video_list .rating {
    grid-column: 3/3;
    text-align: center;
}
.video_list .name {
    grid-column: 4/4;
}

.stats_table {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: start;
    column-gap: 2em;
    row-gap: 3px;
    margin: 1em;
}
.stats_table .header {
    font-weight: 600;
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 1px solid #333;
}
.stats_table .number {
    text-align: right;
}
.stats_table .total {
    font-weight: 600;
    padding-top: 6px;
    margin-top: 6px;
    border-top: 1px solid #333;
}
.stats_table .trash {
    color: #cc3333;
}

.note {
    margin: 1em;
    color: #666;
    max-width: 40em;
}

.video_table {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 1em;
    row-gap: 1em;
    align-items: end;
}
.video_table div {
    overflow: hidden;
    white-space: nowrap;
}

.video_single {
    display: flex;
    margin: auto;
    gap: 2em;
    padding-left: 1em;
    padding-right: 1em;
}

video {
    width: 100%;
    margin: auto;
}

#tag_filter {
    float: left;
    width: 240px;
}

#sort_menu {
    display: none;
    width: 250px;
    border-radius: 4px;
}

#sort_menu div {
    color: #666;
}
#sort_menu .selected {
    color: #000;
    font-weight: 800;
}

/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/

a:link, a:visited {
    text-decoration: none;
    color: #222;
}

.button {
    display: inline-block;
    -webkit-user-select: none; /* Safari */
    user-select: none;
    cursor: pointer;
    border-radius: 4px;
    background: #3399cc;
    color: #fff;
    padding: 3px 5px;
    margin: 3px 10px 3px 0;
    min-width: 1.5em;
    text-align: center;
}

.button.yes {
    background: #33cc33;
}

.button.no {
    background: #cc3333;
}

.button.disabled {
    background: #999;
    cursor: default;
}

.tag {
    display: inline-block;
    -webkit-user-select: none; /* Safari */
    user-select: none;
    cursor: pointer;
    border-radius: 4px;
    padding: 3px 5px;
    margin: 3px 10px 3px 0;
    border: 1px solid #33cc99;
    color: #33cc99;
}
.tag.yes {
    background: #33cc99;
    color: #fff;
}
.tag.no {
    background: #cc3333;
    border: 1px solid #cc3333;
    color: #fff;
}
.video_table .tag {
    /* smaller if it's in the table */
    padding: 2px 3px;
    margin: 3px 3px 3px 0;
    font-size: 80%;
}

.rating_filled {
    color: #555500;
}
.rating_open {
    color: #888888;
}

input[type=text] {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 2px 4px;
    box-shadow: inset 0 2px 3px #ddd;
}

div.pending {
    color: rgba(0,0,0,0.5);
}
