body {
    font-family: sans-serif;
    box-sizing: border-box;
    padding-bottom: 50px;
}
a {
  text-decoration: none;
  color: #333;
}
a:hover {
  background-color: lightblue;
}
.selected {
  font-weight: bold;
}
.filterObscureCtrl {
  display: inline-block;
  margin-left: 20px;
}
.idx {
  margin-left: -10px;
  margin-right: 10px;
}
.status-ignore {
  background-color: lightgray;
}
.status-maybe {
  background-color: lightyellow;
}
.status-interested {
  background-color: lightcyan;
}
.status-bought {
  background-color: palegreen;
}
.fullwidth {
  min-width: 97vw;
}
.controls {
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
  position: sticky;
  top: 8px;
}
.control {
  border: 1px solid #ccc;
  padding: 5px 10px;
  margin-right: 10px;
  background-color: white;
}
.sortBtn {
  cursor: pointer;
}
.asc, .desc {
  font-weight: bold;
}
.asc:after {
  content: '▲';
  padding-left: 5px;
}
.desc:after {
  content: '▼';
  padding-left: 5px;
}
.undoCtrl {
  max-height: 100px;
  overflow-y: auto;
}
.timeFilter {
  display: flex;
}
.timeFilter > input {
  flex-grow: 1;
}
.dayFilter {
  display: flex;
  justify-content: space-between;
}
.listing {
  display: flex;
  border-bottom: 1px solid #ccc;
  padding: 15px;
}
.vcontainer {
  display: flex;
  flex-direction: column;
  flex: 1;
  /* things should be aligned to the top */
  justify-content: flex-start;
}
.statusContainer {
  display: flex;
  flex-direction: column;
}
.statusContainer > * {
  margin-bottom: 5px;
}
.status {
  margin-right: 10px;
}
.title {
  font-weight: bold;
  font-size: 1.2em;
  display: flex;
}
.year {
  font-weight: normal;
  font-size: 0.8em;
}
.runtime {
  font-size: 0.8em;
}
.rating {
  font-size: 0.8em;
}
.rating-great {
  font-weight: bold;
  font-size: 1.2em;
}
.rating-good {
  font-weight: bold;
}
.rating-bad {
  color: red;
}
.genres {
  font-size: 0.8em;
}
.people {
  font-size: 0.8em;
}
.people a {
  font-style: italic;
  margin-right: 5px;
}
.venue {
}
.venue .obscure {
  margin-left: -1px;
  margin-right: 10px;
}
.showtimes {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8em;
  flex: 1;
}
.showtime {
  width: 135px;
  margin-right: 10px;
}
.showtime-conflicted {
  text-decoration: line-through;
}

/* add commas after all "person", except the last one */
.person:not(:last-child)::after {
  content: ',';
}
.person:last-child::after {
  content: '';
}
.poster-container {
  max-width: 70px;
  padding-right: 5px;
}
.start {
  flex: 1;
}
.notes {
  margin-top: 1em;
  font-style: italic;
  font-size: 0.8em;
}

.fix-btn {
  margin-left: 5px;
  font-size: 0.7em;
}

.imdb-search-btn {
  margin-left: 5px;
  font-size: 0.7em;
}

#tooltip {
  position: absolute;
  z-index: 10;
  background-color: #f9f9f9;
  border: 1px solid #c0c0c0;
  border-radius: 5px;
  box-shadow: 2px 2px 2px #888;
  padding: 5px;
  display: none;
  color: #000;
  font-size: 12px;
  font-family: Arial, sans-serif;
  text-align: left;
  width: 300px;
  line-height: 1.5;
  white-space: normal;
  word-wrap: break-word;
  cursor: default;
}

.toWatch, .letterboxd {
  font-size: 0.8em;
  width: 100px;
}

/* mobile */
@media (any-pointer: coarse) {
  .toWatch {
    max-width: 80px;
    overflow-x: auto;
  }
  .fullwidth {
    min-width: 300vw;
  }
}

.icon {
  max-height: 12px;
  padding-left: 5px;
  margin-bottom: -1px;
  display: none;
}

.start:hover .icon {
  display: inline-block;
}
