body {
  background-color: #343434;
  font-family: "Open Sans", sans-serif;
}

@media (min-width: 768px) {
  .container,
  .container-md,
  .container-sm {
    max-width: 90%;
  }
}

.hover {
  background-color: #343434;
  color: white;
}

.hover td {
  color: white;
}

.table-striped > tbody > tr.hover:nth-of-type(odd) > * {
  color: white;
}

.ew_header {
  background-color: #363636;
}

.ew_header th {
  color: white;
}

.ew_header td {
  color: white;
}

.individual_stats {
  font-size: 90%;
}

.table.individual_stats td {
  padding: 5px 0px;
}

.table.individual_stats th {
  padding: 5px 0px;
}

.pad-card {
  background-color: #fff;
  padding-top: 10px;
  padding-bottom: 30px;
}

.school_logo {
  width: 70px;
  height: 70px;
}

.school_logo_md {
  width: 40px;
  height: 40px;
}

.school_logo_sm {
  width: 30px;
  height: 30px;
}

.main_scoreboard_scores {
  font-weight: 800;
  position: absolute;
}

.no-padding td {
  padding: 0px;
}

.no-padding th {
  padding: 3px;
}

/* Default font size */
.main_scoreboard_teamname {
  font-size: 24px;
  display: inline-block;
  width: 300px;
  word-wrap: break-word;
}

/* Font size for small screens (up to 576px) */
@media (max-width: 575px) {
  .main_scoreboard_teamname {
    font-size: 15px;
    width: 100px;
  }
}

/* Font size for medium screens (between 576px and 992px) */
@media (min-width: 576px) and (max-width: 1325px) {
  .main_scoreboard_teamname {
    width: 200px;
    font-size: 20px;
  }
}

/* Font size for large screens (992px and larger) */
@media (min-width: 992px) {
  .main_scoreboard_teamname {
    font-size: 24px;
  }
}

.navbar-expand-lg {
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  background-color: #fb8122;
  color: black;
  border-bottom: 1px solid #fb8122;
}

.navbar {
  border-bottom: 3px solid #fb8122;
  padding-bottom: 0px;
  padding-top: 0px;
}

.nav-tabs {
  border-bottom: 0px;
  margin: auto;
}
.navbar-brand {
  padding-bottom: 4px;
}

/* Custom CSS for smaller screens */
@media (max-width: 767px) {
  .nav-tabs .nav-link {
    background-color: black;
    color: white;
    border-color: #333333;
    padding: 12px 10px;
    font-size: 11px;
  }
}

@media (min-width: 768px) {
  .nav-tabs .nav-link {
    background-color: #fb4d22;
    color: white;
    border-color: #333333;
  }
  .pad-card {
    padding-right: 30px;
    padding-left: 30px;
  }
}

.container {
  max-width: 98%;
}

.footer {
  margin-top: 50px;
  border-top: 3px solid #fb8122;
  color: white;
  background-color: #212529;
  width: 100%;
  margin: 0;
}

.copyright {
  margin-left: 20px;
  padding: 10px;
}

.min-height-500 {
  min-height: 500px;
}
.highlight-cell {
  background-color: #86bfc8 !important;
}
tr.hover td.highlight-cell {
  background-color: #363636 !important;
  color: white !important;
}

.possession_container {
  position: absolute;
}
@media (min-width: 768px) {
  .main_scoreboard_left_score {
    font-size: 52px;
    right: 50px;
  }

  .main_scoreboard_right_score {
    font-size: 52px;
    left: 50px;
  }
  .possession_container-right {
    left: 5px;
  }
  .possession_container-left {
    right: 5px;
  }
  .possession_container img {
    width: 50px;
  }
}

@media (max-width: 767px) {
  .main_scoreboard_left_score {
    font-size: 40px;
    right: 6px;
  }

  .main_scoreboard_right_score {
    font-size: 40px;
    left: 6px;
  }
  .possession_container-right {
    left: 48px;
  }
  .possession_container-left {
    right: 48px;
  }

  .possession_container img {
    width: 30px;
  }
}

.header-content {
  display: flex;
  align-items: center;
}

.header-content img {
  margin-right: 10px;
}

.header-content span {
  flex-grow: 1;
  text-align: center;
}

.totals_row {
  background-color: #a9a9a9;
}

.bonus {
  background-color: yellow;
  color: black;
  border: dashed 1px black;
  margin-left: 20px;
  padding-left: 5px;
  padding-right: 5px;
}
