.bsc-picks-table td {
  padding: 5px;
}

.bsc-picks-matchup-header td, table.bsc-picks-matchup-header  {
  border-bottom: 0px;
  margin-bottom: 0px;
  padding: 0px;
}

/* https://picocss.com/docs/colors */
.bsc-pick-nonfinal-correct {
  background-color: rgb(203, 252, 225);
}

.bsc-pick-nonfinal-incorrect {
  background-color: rgb(253, 241, 180);
}

/* these came from bootstrap */
.bsc-pick-final-correct {
  color: #ffffff;
  background-color: #28a745;
}

.bsc-pick-final-incorrect {
  color: #ffffff;
  background-color: #dc3545;
}

.bsc-pick-submit-bad-row td {
  color: #dc3545;
  font-weight: bold;
}

.bsc-box-width-4 {
  max-width: 8em;
}

#bsc-nav {
  margin-bottom: 10px;
}

nav {
  background-color: gainsboro;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;

  .nav-drawer-button {
    font-size: 30px;
    /*color: white;*/
    cursor: pointer;
    display: none;
  }

  ul.nav-drawer {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;

    /*
    li {
      margin-right: 20px;
    }
    */
  }
}

/* Dark mode support for nav */
@media (prefers-color-scheme: dark) {
  nav {
    background-color: #2a2a2a;
    color: #ffffff;
  }

  nav .logo {
    color: #ffffff;
  }

  /* Dark mode mobile nav drawer */
  nav ul.nav-drawer {
    background-color: #2a2a2a;
    color: #ffffff;
  }
}

#nav-drawer-checkbox {
  display: none;
}

.logo {
  font-size: 1.6em;
  font-weight: bold;
}

/* TODO: https://codepen.io/nericksx/pen/nqyxOv */
tr.strikeout td {
  color: grey
}

/* stolen from the internet */
@media screen and (max-width: 600px) {
  nav {
    .nav-drawer-button {
      display: block;
      order: 1;
      margin-right: 20px;
    }

    ul.nav-drawer {
      position: fixed;
      top: 80px;
      right: -100%;
      background-color: white;
      width: 100%;
      height: 100vh;
      display: flex;
      flex-direction: column;
      /*justify-content: right;*/
      align-items: normal;
      transition: all 0.3s;

      li {
        margin: 0px 0;
      }
    }
  }

  #nav-drawer-checkbox:checked ~ ul {
    right: 0;
  }

  table.collapsible {
    border: 0;

    caption {
      font-size: 1.3em;
    }

    thead {
      border: none;
      clip: rect(0 0 0 0);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
    }

    tr {
      border-bottom: 3px solid #ddd;
      display: block;
      margin-bottom: .625em;
    }

    td {
      border-bottom: 1px solid #ddd;
      display: block;
      font-size: .8em;
      text-align: right;
    }

    td::before {
      content: attr(data-label);
      float: left;
      font-weight: bold;
      text-transform: uppercase;
    }

    td:last-child {
      border-bottom: 0;
    }
  }
}
