/*
@media (max-width: 400px) {
    body > .container {
        padding-left:2px;
        padding-right: 2px;
    }
}*/

html {
  scroll-behavior: smooth;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.75);
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: white !important;
}

.navbar-dark .navbar-nav a.text-light:hover {
  color: white !important;
}

.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px;
}

/* Spinner */

.spinner {
  width: 40px;
  height: 40px;

  position: relative;
  margin: 100px auto;
}

.double-bounce1,
.double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #333;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;

  -webkit-animation: sk-bounce 2s infinite ease-in-out;
  animation: sk-bounce 2s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

@-webkit-keyframes sk-bounce {
  0%,
  100% {
    -webkit-transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bounce {
  0%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  50% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

/* Tables */

table.table thead {
  background-color: white;
}

@media (max-width: 480px) {
  .row.container-min {
    padding: 0px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

table td.right,
table th.right {
  text-align: right;
  padding-right: 0.5em !important;
}

@media (max-width: 768px) {
  h1,
  .h1 {
    font-size: 2.1rem;
  }
  h2,
  .h2 {
    font-size: 1.5rem;
  }
  h3,
  .h3 {
    font-size: 1.4rem;
  }
  h4,
  .h4 {
    font-size: 1.3rem;
  }
  h5,
  .h5 {
    font-size: 1.2rem;
  }
  h6,
  .h6 {
    font-size: 1.1rem;
  }
}

@media (min-width: 1500px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1350px;
  }
}

body {
  padding-top: 60px;
  background-color: white;
  font-family: "News Cycle";
}

h1 {
  font-weight: 700;
}

/*.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {

}*/

.tab-pane.container {
  padding-left: 0;
  padding-right: 0;
}

.tournament-details {
  padding-bottom: 20px;
}

.tournament-details img.thumbnail {
  max-width: 100px;
  max-height: 100px;
  float: right;
}

.tournament-details + * {
  clear: both;
}

@media (min-width: 1024px) {
  .tournament-details img.thumbnail {
    max-width: 200px;
    max-height: 200px;
  }
}

.navbar {
  box-shadow: 0px 0px 0px 5px lightgreen;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1010;
}

span.brand {
  font-family: "News Cycle", sans-serif, "Arial";
  font-feature-settings: "case" 1;
  letter-spacing: -0.05pt;
}

span.brand-golf {
  font-weight: 400;
}

span.brand-ware {
  font-weight: 700;
}

.nowrap {
  white-space: nowrap !important;
}

div.window-title {
  font-weight: 700;
  font-size: 120%;
}

div.window-close {
  font-weight: 700;
  float: right;
}
.card {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);
  border-width: 0;
}

/* tabs */
.tab-content {
  padding: 0rem;
  background-color: white;
  /*! backdrop-filter: blur(5px); */
  padding-top: 1.5rem;
}

/*
    .tab-content div.leaderboard {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }*/

.participant.sticky {
  background-color: white;
  z-index: 1010;
  padding: 1em 1em;
  position: fixed;
  top: 60px;
  width: 100%;
  transition: 0.5s;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.25);
}

.participant.sticky .fa-4x {
  font-size: 2em;
  margin: 0;
}

.participant.sticky h1,
.participant.sticky .h3 {
  color: black;
  text-align: left;
  font-size: 0.9rem;
  font-weight: bold;
  margin: 0;
  /*transition: 0.5s;*/
}

dl.participants {
  display: grid;
  grid-template-columns: max-content auto;
}

dl.participants dt {
  grid-column-start: 1;
  white-space: nowrap;
}

dl.participants dd {
  grid-column-start: 2;
  text-align: right;
}

@media (min-width: 768px) {
  .tab-pane {
    padding: 1rem;
  }
}

.nav-tabs {
  border-bottom: 1px solid #eee;
}

.nav-tabs .nav-link {
  background-color: rgba ();
  color: black;
}

.nav-tabs .nav-link.active {
  box-shadow: 0 -4px green;
  background-color: white;
}

/* Scores */
.offset-under {
  color: green;
}

.offset-even {
  color: blue;
}

.text-light .offset-under,
.text-light .offset-even {
  color: white;
}

/* Cards */

.card-date {
  width: 9rem;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

/* Leaderboards */

.leaderboard {
  font-size: 0.9rem;
}

table.leaderboard tbody.hidden {
  display: none;
}

.leaderboard .leader .lb-player a {
  color: white;
}

.leaderboard .leader .lb-tog a {
  color: white;
}

.leaderboard tbody.prize > tr:first-child .lb-player a {
  color: white;
}

.leaderboard tbody.prize > tr:first-child .lb-tog a {
  color: white;
}

.lb-team ul.team-members {
  margin: 0;
  padding-left: 10px;
}

.lb-team ul.team-members li {
  list-style-type: circle;
}

.lb-entry td {
  cursor: pointer;
  font-weight: 700;
}

.leaderboard .lb-d,
.leaderboard .lb-rx,
.leaderboard .lb-net,
.leaderboard .lb-count,
.leaderboard .lb-rx-choice,
.leaderboard .lb-score {
  display: none;
}

.leaderboard .category:not(:first-child()):before {
  content: "";
  display: block;
  margin: -50px 0 0;
  height: 80px;
}

@media (max-width: 768px) {
  .leaderboard .category {
    margin-left: 15px;
    margin-right: 15px;
  }
}

.cards .lb-gross,
.cards .lb-net {
  display: table-cell;
}

.leaderboard td,
.leaderboard th {
  padding-left: 0.3em;
  padding-right: 0.3em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.leaderboard td.entry-details-container .tab-pane {
  padding: 0.5em;
}

.lb-pos {
  text-align: center;
}

.lb-d {
  text-align: center;
  max-width: 3em;
  width: 3em;
}

.card-holes,
.lb-gross,
.lb-hcp,
.lb-rx,
.lb-rx-choice,
.lb-count,
.lb-summary,
.lb-hcp,
.lb-gross,
.lb-pos,
.lb-net,
.lb-par,
.lb-net,
.lb-hcp-idx,
.lb-score,
.lb-gross-adj,
.lb-dif,
.lb-adj-exceptional,
.lb-adj-manual,
.lb-diff-adj,
.lb-tog {
  text-align: center;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  vertical-align: middle;
}

.leaderboard .lb-score {
  min-width: 1.4rem;
  padding-right: 0.1rem;
  padding-left: 0.1rem;
}

.leaderboard .lb-score span {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.leaderboard .lb-player {
  max-width: 10em;
  text-transform: uppercase;
}

span.lb-entry-choice {
  border-width: 1px;
  border-style: solid;
  padding: 0px 5px;
  border-radius: 10px;
}

span.lb-entry-choice + span.lb-entry-choice {
  margin-left: 3px;
}

span.ed-choice-chosen {
  border-width: 1px;
  border-style: solid;
  padding: 0px 5px;
  border-radius: 10px;
}

.dropdown-item.ed-choice-chosen,
.dropdown-item.ed-choice-chosen.active {
  background-color: #1e7e34;
  color: white;
}

.dropdown-item.ed-choice-chosen .text-muted,
.dropdown-item.ed-choice-chosen.active .text-muted {
  color: white !important;
}

.dropdown-item.ed-choice-chosen.active {
  background-color: hsl(134 62% 22% / 1);
}

@media (min-width: 360px) {
  .leaderboard .lb-par,
  .leaderboard .lb-net,
  .leaderboard .lb-hcp {
    display: table-cell;
  }

  .eclectic .leaderboard .lb-net,
  .eclectic .leaderboard .lb-gross {
    display: table-cell;
  }
}

@media (min-width: 460px) {
  .eclectic .leaderboard .lb-hcp {
    display: table-cell;
  }

  .leaderboard .lb-gross,
  .leaderboard .lb-rx,
  .leaderboard .lb-rx-choice-short {
    display: table-cell !important;
  }

  .eclectic tbody:not(.expanded) .lb-player {
    border-right: 2px solid #eee !important;
  }

  .eclectic .leaderboard tbody:not(.expanded) .lb-gross,
  .eclectic tbody:not(.expanded) .lb-tog {
    border-left: 2px solid #eee;
  }
}

@media (min-width: 992px) {
  .leaderboard {
    font-size: 1rem;
  }

  .leaderboard .lb-tog {
    text-align: center;
  }

  .leaderboard .lb-hcp,
  .leaderboard .lb-gross,
  .leaderboard .lb-count,
  .leaderboard .lb-rx-choice,
  .leaderboard .lb-d {
    display: table-cell;
  }

  .leaderboard .lb-summary {
    display: none;
  }

  .leaderboard .lb-score {
    display: table-cell;
  }

  .leaderboard .lb-entry td:not(.lb-score),
  table.leaderboard > thead > tr > th:not(.lb-score) {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }

  .leaderboard .lb-entry td,
  table.leaderboard > thead > tr > th {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

.leaderboard .floatThead-table thead th {
  background-color: white;
  border-bottom: 2px solid black;
}

div.wall {
  position: absolute;
  left: 8%;
  top: 20px;
  right: 8%;
  bottom: 30px;
  box-shadow: 0px 10px 35px 0px rgba(0, 0, 0, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

div.wall-resolution {
  background-color: white;
  box-shadow: 0px 10px 35px 0px rgba(0, 0, 0, 0.75);
  opacity: 0.9;
  background-color: #203b59;
  background-image: linear-gradient(#203b59, #122233);
  padding: 2em;
  color: white;
  text-align: center;
}

div.wall-resolution div {
  padding: 2em;
}

div.wall-resolution h1,
div.wall-resolution h2 {
  font-size: 1.5rem;
}

div.wall-resolution div p {
  font-size: 1.5rem;
  padding: 1em;
}

.wall-content-status {
  opacity: 0.9;
  padding: 4em;
  color: white;
  text-align: center;
}

.wall-content-status h1,
.wall-content-status h2 {
  font-size: 1.5rem;
}

.wall-controls {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 5%;
}

.wall-status {
  position: absolute;
  top: 10px;
  right: 10px;
}

.wall-controls:hover {
  opacity: 100%;
}

div.wall .club-logo {
  padding: 0 10px;
  /* width: 80; */
  height: 60px;
}

.wall-heading {
  overflow-x: hidden;
}

div.wall .heading {
  background-color: rgba(0, 0, 0, 0.8);
  position: absolute;
  width: 100%;
  padding: 5pt;
  margin-bottom: 0;
  color: white;
  box-shadow: 0px 12px 12px 0px black;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}

div.wall .heading h1 {
  margin-bottom: 0;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 18pt;
}

div.wall .heading h2 {
  white-space: nowrap;
  font-size: 14pt;
}

div.wall .heading .details {
  text-align: right;
  font-family: "News Cycle";
  font-size: smaller;
  overflow: hidden;
  height: 60px;
}

div.wall .leaderboards {
  position: absolute;
  top: 74px;
  width: 100%;
  bottom: 0;
  overflow-x: hidden;
  /* overflow-y: hidden; */
  opacity: 0.9;
  background-color: #203b59;
  background-image: linear-gradient(#203b59, #122233);
}

div.wall .leaderboards.empty::before {
  content: "";
  background: url("/assets/img/ngc.svg") center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0.25;
}

/* The emerging W3C standard
   that is currently Firefox-only */
div.wall * {
  scrollbar-width: thin;
  scrollbar-color: white #203b59;
}

/* Works on Chrome/Edge/Safari */
div.wall *::-webkit-scrollbar {
  width: 12px;
}
div.wall *::-webkit-scrollbar-track {
  background: #203b59;
}
div.wall *::-webkit-scrollbar-thumb {
  background-color: white;
  border-radius: 20px;
  border: 3px solid #203b59;
}

/*
div.wall .wall-content {
  position: absolute; 
  top: 0; 
  width: 100%;
  height: 100%; 
}
*/

table.leaderboard.wall {
}

table.leaderboard.wall a {
  color: white;
}

table.leaderboard.wall a:hover {
  text-decoration: none;
}

.eclectic .lb-score,
.eclectic .lb-par,
.eclectic .lb-gross,
.eclectic .lb-hcp,
.eclectic .lb-rx,
.eclectic .lb-net {
  text-align: center;
}

table.leaderboard thead tr.category-name th {
  line-height: 1.2em;
  font-size: 90%;
  text-align: left;
  border-bottom-color: #0e1926;
  background-image: linear-gradient(#05080d, #0e1926);
  padding-top: 2pt;
  padding-bottom: 0;
  color: #ff3;
  text-align: center;
}

table.leaderboard.wall tr:nth-child(2) th {
  border-top: 0;
  white-space: nowrap;
  line-height: 1.1em;
  font-size: 80%;
  padding-top: 0pt;
  padding-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  background-image: linear-gradient(#0e1926, #05080d);
}

table.leaderboard.wall th {
  background-color: #0e1926;
  color: #eee;
  font-weight: bold;
  text-shadow: 1px 1px 2px black;
}

table.leaderboard tr .badge {
  font-size: 100%;
}

table.leaderboard.wall tbody + tbody {
  border: 0;
}

table.leaderboard.wall td {
  background-color: darkblue;
  background-image: linear-gradient(#203b59, #122233);
  color: white;
  font-weight: bold;
  vertical-align: middle;
  text-shadow: 1px 1px 2px black;
  text-transform: uppercase;
  border-top: 1px solid rgba(128, 128, 128, 0.5);
}

/*
    table.leaderboard.wall tbody:nth-child(odd) tr td {
      background-image: linear-gradient(#254366,#172a40);
    }
    
    table.leaderboard.wall tbody:nth-child(even) tr td {
    background-image: linear-gradient(#203b59,#122233);  
    }*/
.lb-pos {
  text-align: center;
}

table.leaderboard.wall td.lb-par {
  text-align: center;
}

table.leaderboard.wall td.lb-par .offset-even {
  color: #1af;
}

table.leaderboard.wall td.lb-par .offset-under {
  color: #2f2;
}

/* Scorecards */

table.scorecard-vertical tr td {
  padding-top: 4px;
  padding-bottom: 4px;
}

table.scorecard-vertical .card-hole {
  width: 2em;
  min-width: 2em;
  text-align: center;
}

table.scorecard-vertical .card-handicap {
  width: 2em;
  min-width: 2em;
}

table.scorecard-vertical .card-length {
  width: 3.5em;
  min-width: 3.5em;
}

table.scorecard-vertical .card-par,
table.scorecard-vertical td.score {
  width: 3em;
  min-width: 3em;
  max-width: 3em;
}

ul.eclectic-rounds {
  padding-inline-start: 1rem;
  font-size: 0.9em;
}

@media (min-width: 768px) {
  table.scorecard-vertical {
    max-width: 500px;
  }
}

table.scorecard-horizontal,
table.scorecard-totals {
  background-color: white;
}

table.scorecard-horizontal th,
table.scorecard-totals th {
  background-color: green;
  color: white;
  border-color: green;
}

table.scorecard-totals th,
table.scorecard-totals td {
  text-align: center;
  width: 20%;
}

.score-legend {
  font-size: 0.9em;
}

table.scorecard-horizontal th,
table.scorecard-horizontal td,
table.scorecard-totals th,
table.scorecard-totals td {
  vertical-align: middle;
}

table.scorecard-horizontal,
table.scorecard-vertical,
table.scorecard-totals {
  font-size: 0.8rem;
}

table.scorecard-horizontal .total {
  display: none;
}

table.scorecard-horizontal.scorecard-9 .total {
  display: table-cell;
}

@media (min-width: 992px) {
  .entry-details-container table.scorecard-horizontal.scorecard-18 {
    float: left;
    width: 50%;
  }

  .entry-details-container
    .scorecard
    table.scorecard-horizontal.scorecard-18:nth-child(2)
    td:first-child,
  .entry-details-container
    .scorecard
    table.scorecard-horizontal.scorecard-18:nth-child(2)
    th:first-child {
    display: none;
  }

  .entry-details-container
    table.scorecard-horizontal.scorecard-18:nth-child(2)
    .total {
    display: table-cell;
  }
}

table.scorecard-horizontal th:first-child,
table.scorecard-horizontal td:first-child {
  font-weight: bold;
  text-align: left !important;
}

table.scorecard-horizontal th:not(:first-child),
table.scorecard-horizontal td:not(:first-child) {
  text-align: center;
  min-width: 2em;
  max-width: 2em;
}

.scorecard-9 .subtotal {
  display: none;
}

@media (min-width: 600px) {
  table.scorecard-horizontal {
    font-size: 14px;
  }
}

@media (min-width: 700px) {
  .score-legend {
    font-size: 0.8em;
  }
}

@media (min-width: 1200px) {
  table.scorecard-horizontal th.label,
  table.scorecard-horizontal td.label {
    min-width: 80px;
    font-weight: normal;
    text-align: left;
  }

  table.scorecard-horizontal th:not(.label),
  table.scorecard-horizontal td:not(.label) {
    text-align: center;
    min-width: 2em;
  }
}

td.score {
  font-weight: bold;
}

tr.card-handicap td:not(.label) {
  color: #666;
}

tbody.handicap-chosen,
tbody.expanded.handicap-chosen {
  background-color: hsl(50 100% 75%);
}

tbody.handicap-chosen,
tbody.expanded.handicap-chosen {
  background-color: hsl(50 100% 75%);
}

tbody.handicap-discarded-limit,
tbody.expanded.handicap-discarded-limit {
  border-top: 2px solid #333 !important;
}

tbody.handicap-discarded,
tbody.expanded.handicap-discarded {
  color: #999;
}

tbody.handicap-pending,
tbody.expanded.handicap-pending {
  background-color: hsl(200, 100%, 92%);
}

td.card-date {
  font-weight: bold;
}

@media (max-width: 440px) {
  td.card-date .text-muted::before {
    content: "\a";
    white-space: pre;
  }
}

td.score-na,
.score-missing {
  background-color: rgb(222, 226, 230);
}

.lb-score .score-missing {
  background-color: unset;
}

td.score,
.card-par,
.card-handicap,
.card-length {
  text-align: center;
}

.score-par {
  background-color: white;
  font-weight: bold;
}

.leaderboard .prize .lb-score .score-par {
  color: white;
  background-color: unset;
}

.leaderboard .prize .lb-score .score {
  border: 1px solid white;
}

.leaderboard .prize .lb-score .score-par {
  border: unset;
}

.score-eagle {
  background-color: #0a0;
  color: white;
}

span.score-eagle {
  border-radius: 15px;
}

span.score-ace {
  background-color: #fc0;
  border-radius: 15px;
  color: black;
}

td.score.score-ace {
  background-color: #fc0;
}

td.score {
  padding: 0;
}

span.score {
  padding: 2px 5px;
}

.score-birdie {
  background-color: #66f;
  color: white;
}

span.score-birdie {
  border-radius: 15px;
}

.score-bogey {
  background-color: #a00;
  color: white;
}

.score-doblebogey,
.score-doblebogey-plus {
  background-color: #633;
  color: white;
}

.score-adjusted {
  background-color: #0062cc;
  color: white;
}

.score-hcp-strokes {
  font-size: 2rem;
  letter-spacing: 1pt;
  line-height: 1.4rem;
}

.score-legend {
  line-height: 2.5;
  /*! display: flex; */
  /*! align-content: space-evenly; */
}

.score-legend span {
  padding: 4px 10px;
  white-space: nowrap;
}

.score-legend span.score-par {
  border: 1px solid silver;
  padding: 3px 9px;
}

table.leaderboard tr td {
  vertical-align: middle;
}

table.leaderboard tbody .fa-chevron-down {
  display: inline-block;
}

table.leaderboard tbody .fa-times {
  display: none;
}

table.leaderboard tbody.expanded .fa-chevron-down {
  display: none;
}

table.leaderboard tbody.expanded .fa-times {
  display: inline-block;
}

tbody.expanded tr:hover {
  background-color: unset;
}

tbody.expanded {
  background-color: #ebebeb;
}

@media (max-width: 768px) {
  tbody.expanded td.entry-details-container {
    padding-top: 1em;
  }

  tbody.expanded td.entry-details-container .tab-content {
    padding: 0;
  }

  .td.entry-details-container .nav-tabs {
    font-size: 10pt;
  }
}

.hole-score-details-container > div {
  background-color: white;
  padding: 10px;
  margin: 10px;
  border-radius: 10px;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 90vw;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

.entry-details-container {
  background-color: white;
}

.entry-details-container .table-sm th,
.entry-details-container .table-sm td {
  padding: 0.2em;
}

@media (min-width: 768px) {
  tbody.expanded td.entry-details-container {
    padding: 0.5em;
  }

  tbody.expanded td.entry-details-container .tab-content {
    padding: 0;
  }

  tbody.expanded td.entry-details-container .tab-pane {
    padding: 2px;
  }
}

tbody.expanded td.entry-details-container .nav-link {
  padding: 4px 10px;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  tbody.expanded td.entry-details-container {
    padding: 1em;
    overflow: hidden;
  }

  tbody.expanded td.entry-details-container .tab-content {
    padding: 10px;
  }

  tbody.expanded td.entry-details-container .tab-pane {
    padding: 10px;
  }
}

tbody.expanded {
  border-left: 4px solid green;
}

tbody.expanded > tr > td {
  border: 0;
}

.entry-details-container .tab-content {
  /*! border-radius: 5px; */
  /*! border-top-left-radius: 0; */
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.25);
}

.floatThead-container {
  overflow-y: hidden;
}

.floatThead-container.floated {
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .dt-bootstrap4 .col-sm-12 {
    padding: 0;
  }
}

.spacer {
  clear: both;
  margin-top: 2em;
}

/*table dataTable fixedHeader-floating*/

.handicap-boxes {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.handicap-box {
  border: 2px solid #eee;
  padding: 0.5em 1em;
  float: left;
  min-width: 9em;
  max-width: 9em;
  overflow: hidden;
  border-radius: 5px;
  text-align: center;
  box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.25);
}

.handicap-value {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
}

@media (max-width: 420px) {
  .handicap-boxes {
    gap: 0.5rem;
  }

  .handicap-box {
    max-width: 7rem;
    min-width: 7rem;
  }

  .handicap-box h4 {
    font-size: 16px;
    font-weight: bold;
  }
}

div.dataTables_wrapper div.dataTables_info {
  white-space: normal;
}

/* components */

div.sign {
  display: flex !important;
  height: 400px;
  min-height: 70vh;
  align-items: center;
  justify-content: center;
  align-content: center;
  text-align: center;
  flex-direction: column;
  gap: 2em;
}

.switcher {
  padding-top: 5px;
  padding-bottom: 10px;
  background-color: lightgreen;
}

.container-body {
  padding-top: 40px;
}

/* Teetimes */

.tt-line {
  border-top: 3px solid #343a40;
  margin-bottom: 5px;
  min-height: 5em;
  display: flex;
}

.tt-line-time {
  background-color: #343a40;
  margin-top: -1px;
  color: white;
  flex: 0 0 20%;
  max-width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18pt;
}

.tt-slots {
  flex: 0 0 80%;
  max-width: 80%;
  flex-wrap: wrap;
  padding: 0.5em;
}

.tt-slot {
  max-height: 5em;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: left;
  text-align: left;
  border: 1px solid #eee;
  border-radius: 5px;
  padding-left: 5px;
  transition: 0.5ms;
}

.tt-slot + .tt-slot {
  margin-top: 4px;
}

.tt-slot-empty {
  min-height: 1.5em;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tt-slot:hover {
  background-color: lightgreen;
}

@media (min-width: 768px) {
  .tt-line-time {
    flex: 0 0 15%;
    max-width: 15%;
  }

  .tt-slots {
    display: flex;
    flex: 0 0 85%;
    max-width: 85%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .tt-slot {
    flex: 0 0 24.5%;
    max-width: 24.5%;
    max-height: 5em;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 5px;
  }

  .tt-slot + .tt-slot {
    margin-top: 0;
  }
}



/* Match */
.match {
  display: flex;
  width: 100%;
  padding: 10px;
  align-items: center;
  flex-direction: column;
  border: 1px solid gray;
  border-radius: 10px;
  position: relative;
}



.match + .match {
  margin-top: 2em;
}

.match-result {
  display: flex;
  justify-content: center;
  align-items: center;
}

.match-number {
  display: flex;
  justify-content: right;
  align-items: flex-end;
  font-size: 7em;
  font-weight: bold;
  position: absolute; /* Absolutely position the number */
  right: 10px;
  bottom: 0;
  z-index: 1; /* Place it behind other content */
  opacity: 0.2; /* Optional: Make the number slightly transparent */
}

.match-number p {
  margin: 0;
}

.match > .match-team1, .match > .match-team2 {
  flex: 1;
}

.match-commands {
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.match-result {
  min-width: 15vw;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.match-result p {
  margin-bottom: 0;
  text-align: center;
  font-weight: bold;
  border: 1px solid #555;
  color: #555;
  padding: 5px;
  min-width: 12vw;
  border-radius: 10px;
}

@media (min-width: 768px) {
  .match {
    display: flex;
    width: 100%;
    padding: 10px;
    align-items: center;
    flex-direction: row;
    border: 1px solid gray;
    border-radius: 10px;
    position: unset;
  }

  .match > div:nth-child(2) {
    width: 100px;
  }

  .match-commands {
    padding: 10px;
    display: flex;
    justify-content: right;
    align-items: center;
  }

  .match-number {
    display: flex;
    justify-content: left;
    align-items: center;
    min-width: 1em;
     position: relative;
      justify-content: left;
  align-items: center;
    top: 0;
    left: 0;
  font-size: 7em;
  font-weight: bold;
  opacity: 0.2; /* Optional: Make the number slightly transparent */
  }

  .match-result {
  min-width: 15vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
  
}



.match-team1:after,
.match-team2:before {
  top: 0px;
}

.match-team1,
.match-team2 {
  width: 100%;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px;
  overflow-x: clip;
}

.match-team1 > p,
.match-team2 > p {
  margin: 0;
  /* overflow-x: clip; */
  /* text-wrap: nowrap; */
  /* text-overflow: ellipsis; */
  white-space: nowrap;
  max-width: 40vw;
  text-overflow: ellipsis;
}

.match-team1 a,
.match-team2 a {
  color: inherit;
}

.match-team1 {
  background: #003c82;
}

.match-team2 {
  background: #c81414;
}

@media (min-width: 768px) {
  .match-team1 {
    justify-content: left;
  }
  
  .match-team2 {
    justify-content: right;
  }

  .match-team2 .match-team-members {
    text-align: right;
  }
}

/*
.match-team1.match-winner:after {
    position: absolute;
    right: 0px;
    content: "";
    width: 0; 
    height: 0; 
    border-top: 40px solid white;
    border-bottom: 40px solid white;
    border-left: 40px solid white;
    border-left-color: #C81414;
}

.match-team1.match-loser:after, .match-team1.match-tie:after {
    position: absolute;
    right: 0px;
    content: "";
    width: 0;
    height: 0;
    border-top: 40px solid #C81414;
    border-bottom: 40px solid #C81414;
    border-right: 40px solid white;
}

.match-team2.match-loser:before, .match-team2.match-tie:before {
    position: absolute;
    left: 0px;
    content: "";
    width: 0; 
    height: 0;
    border-top: 40px solid #003C82;
    border-bottom: 40px solid #003C82;
    border-left: 40px solid white;
}


.match-team2.match-winner:before {
    position: absolute;
    content: "";
    left: 0px;
    width: 0;
    height: 0;
    border-top: 40px solid white;
    border-bottom: 40px solid white;
    border-right: 40px solid #003C82;
}

*/
