:root {
  --max-width: 1200px;
  --newcolor1: #023056;
  --color1: #0d6608; /* (augusta green) */
  --color2: #080d66; /* (dark blue) */
  --color3: #66080d; /* (maroon) */
}

#t_Header,
.t-Body {
  max-width: var(--max-width);
  margin: auto;
}

body {
  font-family: sans-serif;
}

/* HEADER */

/* .t-Header > .t-Header-branding {
    height: auto;
    padding: 10px 0px;
}
.t-Header > .t-Header-branding > div {
    flex-grow: 1;
}
.t-Header > .t-Header-branding > div.t-Header-logo {
    flex-grow: 3;
    justify-content: center;
}
.t-Header > .t-Header-branding > div.t-Header-logo .t-Header-logo-link {
    font-size: 60px;
    line-height: 60px;
}
.t-Header .t-Header-nav {
    overflow: visible;
}
.t-Header-nav-list {
    background-color: #ffffff!important;
    box-shadow: 0px 0px 8px 0px grey;
}
.a-MenuBar-item, .a-MenuBar > ul {
    justify-content: center;
}
.t-Header-nav .a-MenuBar-label {
    color: #000000!important;
}
.t-Header-nav .a-MenuBar-item {
    border: none;
}
.t-Header-nav .a-MenuBar-item.a-Menu--current,
.t-Header-nav .a-MenuBar-item.is-focused,
.t-Header-nav .a-MenuBar-item.a-Menu--current.is-focused,
.t-Header-nav .a-MenuBar-item.is-expanded,
.t-Header-nav .a-MenuBar-item.a-Menu--current.is-expanded {
    background-color: #ffffff!important;
} */

/* END HEADER */

/* header and body content */
.t-Body-contentInner {
  max-width: 1400px!important;
  box-shadow: 0px 0px 10px 6px rgb(2 48 86 / 10%);
  margin: auto;
}

/* footer */
.t-Footer {
  background: var(--newcolor1)!important;
  color: white;
}
.t-Footer .t-Footer-body {
  display: flex;
  justify-content: center;
}.t-Footer .t-Footer-body .t-Footer-version {
  font-size: 18px;
}

/* Content Block Mods */
.t-ContentBlock-header .t-ContentBlock-headerIcon > .fa {
    font-size: 24px;
}
.t-ContentBlock .t-Report-wrap {
    overflow: auto;
}

/* leaderboard cards */
@media (max-width: 992px) {
    #leaderboard-by-flight .t-Cards-item {
        width: 100%;
    }
}

#leaderboard-by-flight .t-Card-titleWrap {
    background: var(--newcolor1);
    padding: 12px;
    text-align: center;
}
#leaderboard-by-flight .t-Card-body {
    overflow: auto;
}
#leaderboard-by-flight .t-Card-titleWrap .t-Card-title {
    color: white;
    font-weight: bold;
    font-size: 22px;
    line-height: 24px;
    text-align: center;
}

/* leaderboard tables */
.leaderboard {
    width: 100%;
    border-spacing: 0px;
}
.leaderboard td,
.leaderboard th {
    border: 1px solid #e6e6e6;
    font-size: 18px;
    line-height: 24px;
    margin: 0px;
    padding: 0px 6px;
}
.leaderboard td:first-child {
    text-align: left;
}
.leaderboard td,
.leaderboard td.center,
.leaderboard th.center {
    text-align: center;
}
.leaderboard tr:nth-child(3) td {
    background: #ffd700;
}
.leaderboard tr:nth-child(4) td {
    background: #c0c0c0;
}
.leaderboard tr:nth-child(5) td {
    background: #cd7f32;
}

/* worst hole items */
.worst-hole-arr-container.hide {
    display: none;
}
.worst-hole-arr-container .t-Form-label {
    padding: 0px;
}
.worst-hole-arr {
    margin: 0px!important;
    width: 100%;
}
.worst-hole-arr .apex-item-grid-row {
    display: flex;
    margin: 2px 0px;
}
.worst-hole-arr .radio_group {
    border: 1px solid transparent;
    border-radius: 8px;
}
.worst-hole-arr .radio_group.focus {
    border: 1px solid black;
}
.worst-hole-arr .radio_group .apex-item-option {
    flex: 1;
    margin: 0px 2px;
    text-align: center;
}
.worst-hole-arr .apex-item-option .u-radio::before,
    .apex-item-option .u-radio::after {
    display: none;
}
.worst-hole-arr .apex-item-option .u-radio {
    background: white;
    border: 1px solid var(--newcolor1);
    border-radius: 12px;
    color: var(--newcolor1);
    font-size: 18px!important;
    line-height: 24px!important;
    margin: 0px;
    padding: 0px!important;
    width: 100%;
}
.worst-hole-arr .apex-item-option.active .u-radio {
    background: var(--newcolor1);
    color: white;
}

/* score-display */
.score-display {
    opacity: 1;
}
.score-display .t-Form-label {
    font-size: 24px;
    line-height: 40px;
}
#P2_GROSS,
.score-display .t-Form-itemWrapper {
    background: var(--newcolor1)!important;
    max-width: 100px;
    border-radius: 12px;
}
#P2_GROSS,
.score-display .t-Form-itemWrapper input.apex-item-text {
    background: transparent;
    font-size: 36px;
    line-height: 40px;
    border: none;
    color: white;
    height: 48px;
    padding: 0px;
    text-align: center;
    width: 100px;
    border-radius: 12px;
    display: block;
}

/* callaway-scoring-table */
table.callaway-scoring-table {
    width: 100%;
    margin-bottom: 20px;
}
table.callaway-scoring-table td {
    text-align: center;
}
table.callaway-scoring-table tr.heading-row td {
    background: black;
    color: white;
}
table.callaway-scoring-table tr.heading-row td.heading {
    padding: 4px 0px;
}
table.callaway-scoring-table tr.score-row td.wh {
    color: black;
    font-weight: bold;
    background: #d0d0d0;
}
table.callaway-scoring-table tr.score-row td.wh.active {

}
table.callaway-scoring-table tr.score-row td.score {
    border: 1px solid;
    border-style: inset;
    background: #080d66;
    color: white;
}
table.callaway-scoring-table tr.score-row td.score.active {
    background: var(--newcolor1);
}
table.callaway-scoring-table tr.adjustment-row td.heading {
    background: black;
    color: white;
}
table.callaway-scoring-table tr.adjustment-row td.adjustment {
    border: 1px solid;
    border-style: inset;
    background: var(--color3);
    color: white;
}
table.callaway-scoring-table tr td.see-through {
    opacity: 0.25;
}

/* LEADERBOARD */
#leaderboard > .flights {
  display: grid;
  gap: 0px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1023px) {
  #leaderboard > .flights {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  #leaderboard > .flights {
    grid-template-columns: repeat(1, 1fr);
  }
}

#leaderboard > .flights > .a-flight {
  border: 1px solid gray;
  box-shadow: 0px 2px 10px 0px gray;
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
  flex: 1;
  margin: 10px;
}
@media (max-width: 1200px) {
  #leaderboard > .flights > .a-flight {
    flex: 0 1 calc(calc(100% - 20px) / 2);
  }
}
@media (max-width: 768px) {
  #leaderboard > .flights > .a-flight {
    flex: 0 1 100%;
  }
}
#leaderboard > .flights > .a-flight > .flight-name {
  font-size: 24px;
  line-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
#leaderboard > .flights > .a-flight > .players {
  display: flex;
  flex-direction: column;
  /* gap: 5px; */
  /* padding: 10px; */
}
#leaderboard > .flights > .a-flight > .players .a-player {
  font-size: 18px;
  line-height: 22px;
  /* display: flex; */
  /* justify-content: space-between; */
  /* flex-wrap: wrap; */
}
#leaderboard > .flights > .a-flight > .players .a-player:nth-child(2n-1) {
  background: rgb(2 48 86 / 10%);
}
#leaderboard > .flights > .a-flight > .players .a-player:nth-child(1) {
  background: gold;
}
#leaderboard > .flights > .a-flight > .players .a-player:nth-child(2) {
  background: silver;
}
#leaderboard > .flights > .a-flight > .players .a-player:nth-child(3) {
  background: sandybrown;
}
#leaderboard > .flights > .a-flight > .players .a-player {
  font-size: 16px;
  /* min-width: 150px; */
  word-break: break-word;
  flex: 1;
  /* text-align: right; */
  /* font-weight: bold; */
  /* font-style: italic; */
  /* display: flex; */
  /* gap: 5px; */
  align-items: center;
  display: flex;
  justify-content: flex-end;
}
#leaderboard > .flights > .a-flight > .players .a-player td {
  /* width: calc(100% / 5); */
  /* flex: 1; */
}
#leaderboard > .flights > .a-flight > .players .a-player .rank {
  font-size: 14px;
  text-align: center;
  flex: 0;
  flex-basis: 24px;
}
#leaderboard > .flights > .a-flight > .players .a-player .player-name {
  font-size: 16px;
  line-height: 24px;
  flex: 2;
  white-space: nowrap;
}
#leaderboard > .flights > .a-flight > .players .a-player a.player-name {
  text-decoration: underline;
  color: #2a2a2a;
  font-weight: bold;
  flex: 1;
}
#leaderboard > .flights > .a-flight > .players .a-player span.day {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  width: 50px;
  white-space: nowrap;
}
#leaderboard > .flights > .a-flight > .players .a-player span {
  flex: 1;
}
#leaderboard > .flights > .a-flight > .players .a-player span a {
  text-decoration: underline;
}
#leaderboard > .flights > .a-flight > .players .a-player span .score {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  width: 30px;
}
#leaderboard > .flights > .a-flight > .players .a-player span .hcap {
  font-size: 10px;
  text-align: left;
  width: 20px;
}



/* PLAYING WITH ANIMATIONS */
.apex-logo-img {
    /* animation: 3s infinite alternate slidein; */
    /* animation-duration: 3s; */
    /* animation-name: slidein; */
    /* animation-iteration-count: infinite; */
    /* animation-direction: alternate; */
}
@keyframes slidein {
    from {
        margin-left: 50%;
        transform: rotate(360deg);
    }
    to {
    margin-left: 0%;
    }
}
/* END PLAYING WITH ANIMATIONS */

.home-title {
    text-align: center;
    font-weight: bold;
}
