body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden; }

.header {
  background-color: purple;
  color: white;
  height: 34px;
  width: 100%;
  font-size: 20px;
  /* center the header text vertically and offset it to the left just a bit */
  vertical-align: center;
  line-height: 34px;
  padding-left: 15px; }

/**
 * The loading screen that covers the page while the app is loading.
 */
#loading {
  background-color: purple;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-size: 75px;
  color: white; }

/*
 * The panel containing four rows of buttons used to filter the song list
 */
#filter-panel {
  position: absolute;
  top: 34px;
  left: 0;
  height: 25vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #ddd; }

/*
 * Each row of the four #filter-panel rows
 */
.filter-panel-row {
  display: flex;
  height: 20%;
  /* Each row is 25% of the height of the panel */ }

.filter-panel-row button {
  margin-top: 10px;
  margin-left: 10px;
  vertical-align: middle;
  cursor: pointer;
  border: 0;
  border-radius: 5px; }

#filter-panel-search-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 10px; }

#filter-panel-search-input {
  width: 100%;
  height: 20px;
  margin-left: 10px;
  margin-right: 10px; }

/*
 * The panel containing the order of the chords to learn
 */
#chord-path {
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(12%, 200px);
  height: calc(100vh - 34px - 25vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f4f4f4;
  overflow-y: auto; }

/*
 * Each panel describing which chords to learn next
 */
.chord-cell {
  padding: 10px;
  text-align: center;
  cursor: pointer;
  width: 75%;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px; }

.chord-cell-highlighted {
  background-color: lightgreen; }

.chord-cell:last-child {
  margin-bottom: 10px; }

.chord-cell > button {
  margin-top: 5px; }

/*
 * Each "First learn:" and "Next learn:" label
 */
.next-label {
  text-align: center;
  font-weight: bold;
  margin: 10px; }

/*
 * The down arrow in the "First learn:" and "Next learn:" labels
 */
.arrow {
  display: inline-block;
  margin-left: 5px; }

/*
 * The parent element of #table
 */
#table-container {
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(100% - min(12%, 200px));
  height: calc(100vh - 34px - 25vh); }

#chart-table {
  border: none;
  /* remove the inherited border from the tabulator table */
  border-left: 1px solid #999;
  /* add back a left border to the table */ }

.charts-summary-cell-highlighted {
  background-color: rgba(0, 200, 0, 0.3); }

#artist-picker-table {
  display: none;
  height: 100%;
  width: 100%; }

.filter-button-on {
  background-color: #61c1ee; }
