* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
    font-family: 'Work Sans', sans-serif;
    margin: 0;
    height: 100%;
    background-color: #fbfafa;
}

.home {
}

.body {
  padding-bottom: 5px;
  max-width: 850px;
  margin: 0 auto;
}

.overlay {
  background-color: black;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.65;
  display: none;
}
/* UI REFRESH */

header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 75px;
  padding: 0 20px;
}

#logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

#logo img {
  max-width: 100%;
  max-height: 100%;
}

.menu-icon {
  font-size: 30px;
  position: absolute;
  color: #f49831;
  float: right;
  margin: 0px;
  right: 30px;
  top: 20px;
}

.homeMenu {
  position: absolute;
  width: 18%;
  height: 100%;
  right: 0px;
  background-color: dimgrey;
  display: none;
  max-width: 250px;
  min-width: 200px;
  opacity: 1;
  z-index: 1;
  top: 0;
}

.homeMenuItems {
  top: 10%;
  position: relative;
  padding-left: 10%;
}

.homeMenuItem {
  color: white;
  font-size: 23px;
  text-decoration: none;
  display: block;
  height: 39px;
  text-align: right;
  margin-right: 10%;
  margin-top: 5%;
}

/* Stats grid */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 10px;
  height: 60px;
}

.stat-wrapper {
  text-align: center;
  margin: 0;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.stats-cell {
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-align: center;
  height: 60px;
}

.cell-info {
  display: block;
  font-weight: bold;
  color: #d10808;
}

.cell-info-all-time {
  display: block;
  font-weight: bold;
  color: #4c4c4c;
}

.cell-info-heading {
  color: #9A9A9A;
  font-size: 11px;
  text-transform: uppercase;
}

.stat-heading {
  text-align: left;
  color: white;
/*  text-transform: uppercase;*/
  font-size: 12px;
  margin-bottom: 2px;
  background: #4c4c4c;
  text-indent: 15px;
}

.home_stats_container {
/*  padding-top: 5px;*/
  width: 96%;
  display: block;
  margin: 0 auto;
  border-collapse: collapse;
  border-radius: 5px;
  border-style: hidden;
  box-shadow: 0 0 0 1px #9a9a9a;
  background-color: white;
  overflow: hidden;
}

.loginRegistrationContainer {
  margin-left: 2%;
  height: 20px;
  margin-top: 1%;
  display: flex;
  flex-wrap: wrap;
  margin-right: 2%;
  justify-content: flex-end;
}

#createAccountText {
  margin-top: 20px;
  font-weight: bold;
}

#createAccountText:hover {
  cursor: pointer;
  color: #1b4900;
}

#resetPasswordText {
  margin-top: 20px;
  font-weight: bold;
}

#resetPasswordText:hover {
  cursor: pointer;
  color: #1b4900;
}

.heatcheck_logo {
  width: 50%;
  margin-top: 1%;
}

.heatcheckLinks {
  margin-left: 1%;
  color: #1a9ef7;
  text-decoration: none;
}

.heatcheckLinks:hover {
  color: #094e7c;
  cursor: pointer;
}

.logoutLink {
  margin-left: .5%;
  color: #094e7c;
  text-decoration: none;
}

.logoutLink:hover {
  color: darkgrey;
  cursor: pointer;
}


.heatStatsContainer {
  border: 2px solid #9a9a9a;
  background: whitesmoke;
  border-radius: 5px;
  margin-left: 2%;
  margin-bottom: 1%;
  height: 100px;
  margin-top: 1%;
  display: flex;
  flex-wrap: wrap;
  margin-right: 2%;
}

.statContainer {
  display: inline-block;
  width: 49%;
  height: 100%;
  vertical-align: top;
}

.dateNavigator {
  flex-basis: 100%;
  text-align: left;
  height: 40px;
  margin-bottom: 2%;
  display: flex;
  justify-content: right;
  width: 96%;
  margin-left: 2%;
  margin-top: 2%;
}

.dateSelect {
  font-size: 11px;
  height: 30px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  text-align: center;
  -webkit-appearance: none;
  color: #4c4c4c;
  background: white;
  border: 1px solid #9a9a9a;
  border-radius: 5px;
  text-align-last: center;
  font-weight: bold;
}

.table_heading {
  margin-top: 1%;
  margin-bottom: 3%;
  font-size: 24px;
  text-align: center;
}

.stat_heading {
  margin-left: 2%;
  margin-top: 1%;
  margin-bottom: 1%;
  margin-right: 2%;
  text-align: right;
}

td {
  padding: 10px;
}

.game_table {
    margin-left: 2%;
    margin-bottom: 3%;
    width: 96%;
    margin-right: 2%;
    border-collapse: collapse;
    border-radius: 5px;
    border-style: hidden;
    box-shadow: 0 0 0 1px #9a9a9a;
    overflow: hidden;
    background-color: white;
}

.game_table_expired {
  margin-left: 2%;
  margin-bottom: 3%;
  width: 96%;
  margin-right: 2%;
  border-collapse: collapse;
  border-radius: 5px;
  border-style: hidden;
  box-shadow: 0 0 0 1px #d6d6d6;
  overflow: hidden;
  background: #d6d6d6;

}

.active_pick {
  background: #ffc96d;
}

.won_pick {
  font-weight: bold;
}

.winner_pick {
  background: #4cd88d;
}

.loser_pick {
  background: #ff6262;
}

.expired_pick {
  pointer-events: none;
}

.time_cell {
  width: 17%;
}

.spread_cell {
  width: 21%;
}

.away_team_cell {
  width: 40%;
}

.away_team_score {
  width: 10%;
}

.cbcell {
  width: 6%;
}

.table_cell {
  border: 1px solid black;
  padding: 0px;
}

#game_info {
  text-align: left;
  width: 15%;
  padding-left: 10px;
}

#network_info {
  text-align: left;
  width: 14%;
}

#score_info {
  text-align: center;
  width: 10%;
}

#pitcher_cell {
  text-align: left;
}

#matchup_cell {
  text-align: left;
}

#pick_cell {
  width: 6%;
  text-align: center;
}

.table_row {
  padding: 6px 0px 6px 0px;
}

.table_row div {
  padding: 8px 0px 8px 0px;
}
/* Registration */

.heatcheckText {
    font-size: 40px;
    text-align: center;
    margin-top: 2%;
    margin-bottom: 3%;
}

#heatcheckSignUpForm {
    display: none;
    width: 100%;
    margin: 0 auto;
}

#heatcheckPasswordReset {
    display: none;
    width: 100%;
    margin: 0 auto;
}

#heatcheckSignUpSubmit {
}

#heatcheckSignUpSubmit:hover {

}


.promptModal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.promptModalContainer {
  display: flex;
  flex-direction: column;
  margin: 6% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  background: whitesmoke;
  border-radius: 10px;
}

.modalLogo {
  display: block;
  margin: 0 auto;
  margin-bottom: 4%;
  width: 60%;
}

.spinner {
  width: 35px;
  display: none;
  margin: 0 auto;
}

.promptModalSubtext {
  text-align: center;
  margin-bottom: 2%;
  font-size: 16px;
}

.buttonPromptContainer {
  width: 100%;
  text-align: center;
/*  margin-top: 4%;*/
}

.buttonPrompts {
  background-color: #1a9ef7;
  color: white;
  padding: 14px 20px;
  margin: 4%;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  width: 100px;
}
.buttonPrompts:hover {
  background-color: #094e7c;
}

#promptBackArrow {
  color: #1a9ef7;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}
#promptBackArrow:hover {
  color: #094e7c;
}

.inputError {
  border: 3px solid #b60000;
}

.changePickPromptContainer {
  text-align: center;
  display: none;
}

.pickTeamSelections {
  margin-top: 3%;
  font-size: 16px;
  font-style: italic;
  margin-bottom: 3%;
  color: #696969;
}

/* Leaderboard */

.leaderboardContainer {
  margin-top: 3%;
}

#leaderboard {
  border-collapse: collapse;
  width: 95%;
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid #9a9a9a;
}

#leaderboard th {
  background-color: #4c4c4c;
  color: white;
  padding: 8px;
  font-size: 13px;
}

#leaderboard tr:nth-child(even) {
  background-color: #f2f2f2;
}

#leaderboard td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  font-size: 13px;
}

.userCell {
  text-align: left;
}

.leaderboardCell {
  text-align: center;
}

.sortable {
  text-align: center;
}

.leaderboardLink {
  position: relative;
  left: 2%;
  top: 13%;
}

.leaderboardButton {
  padding: 5px 11px;
  background: white;
  border: 1px solid black;
}

.userProfileLink {
  color: black;
  font-size: 13px;
}



/* Pick History */

#pickHistoryButton {
  margin-left: 2%;
}

.sharedAccessContainer {
  text-align: center;
  max-width: 600px;
  margin: 6%;
  display: block;
  margin: 0 auto;
  border: 1px solid #9a9a9a;
  border-radius: 5px;
  background: white;
  width: 96%;
}

.sharedAccessHeading {
  margin: 4%;
}

.sharedAccessText {
  font-size: 15px;
  margin: 4% 10% 4% 10%;
}

.sharedAccessButton {
  background-color: #d10808;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 2%;
  margin-bottom: 4%;
}

/* LOGIN PAGE */

#login-page {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-image: url('/static/img/fuzzy.png');
}


.login-container {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
  width: 80%;
  max-width: 400px;
  text-align: center;
}

.login-container h2 {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 4px 0;
}

.submit-button {
  background-color: #1b4900;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submit-button:hover {
  background-color: #4f9327;
}

.heatcheck_login_logo {
  width: 85%;
  margin-bottom: 10px;
}

/* Account Page */

.accountContainer {
  width: 95%;
  max-width: 600px;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
  margin-top: 3%;
  border: 1px solid #9a9a9a;
  border-radius: 5px;
}

.accountTitle {
  text-align: center;
}

.accountHeading {
  margin-bottom: 4px;
  font-weight: normal;
  font-size: 14px;
}

.accountLabels {
  font-weight: bold;
  color: #4c4c4c;
}

.accountInfo {
  margin-bottom: 25px;
}

.emailNotificationLabel {
  font-size: 13px;
  margin: 10px;
  display: inline-block;
  width: 200px;
  text-indent: 5px;
}

.emailNotificationDropdown {
  font-size: 11px;
  height: 25px;
  position: relative;
  width: 75px;
  text-align: center;
  -webkit-appearance: none;
  color: #4c4c4c;
  background: white;
  border: 1px solid #9a9a9a;
  border-radius: 5px;
  text-align-last: center;
  font-weight: bold;
}

#updatedPassword {
  width: 200px;
  text-indent: 5px;
  margin: 10px 0px 10px 0px;
}

.changePasswordButton {
  width: 75px;
  background: #fad6b1;
  color: #4c4c4c;
  border-radius: 3px;
  font-weight: bold;
  font-size: 11px;
  height: 20px;
  margin-left: 20px;
}


/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3) { 

/*    .body {
      width: 100%;
    }*/

    .heatStatsContainer {
      height: 65px;
    }

    .table_heading {
      font-size: 16px;
    }

    .stat_heading {
      font-size: 16px;
    }

    .statLabel {
      font-size: 16px;
    }

    .game_table {
      font-size: 11px;
    }

    #game_info {
      width: 20%;
    }

    #network_info {
      width: 20%;
    }

    #score_info {
      width: 5%;
    }

    #pitcher_cell {
      width: ;
    }

    #pick_cell {
      width: 8%;
    }

    .game_table_expired {
      font-size: 11px;
    }

    .promptModalSubtext {
      font-size: 16px;
    }

    #heatcheckLoginForm {
      width: 100%;
    }

    #heatcheckSignUpForm {
      width: 90%;
    }

    .heatcheck_logo {
      width: 50%;
    }

    .modalLogo {
      width: 80%;
      margin-bottom: 6%;
    }

    .promptModalSubtext {
      font-size: 18px;
    }

    .leaderboardCell {
      font-size: 12px;
    }


/*    .stats-cell {
      padding-top: 10%;
    }*/

/*    .cell-info {
      margin-top: 8%;
    }*/

    .homeMenuItems {
      top: 10%;
      position: relative;
      padding-left: 10%;
    }

}

.payoutFormContainer {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.payoutFormContainer h2 {
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    padding: 8px;
    width: 100%;
    max-width: 300px;
}

.payoutFormContainer button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.payoutFormContainer button:hover {
    background-color: #0056b3;
}