/* ============== 
  Base styles   |
================= */

*,
*:after,
*:before {
  box-sizing: border-box;
  word-wrap: break-word;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

:root{
  --primary: black;
  --secondary: white;
  --tertiary: #FF0000;
}

body {
  overflow-x: hidden;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

body,
html {
  min-height: calc(100vh - 50px);
  max-height: 100%;
  overflow-x: hidden;
  margin: 0 auto;
  font-family: Georgia, 'Times New Roman', Times, serif;
  background: var(--primary);
  color: var(--secondary);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-bottom: 30px;
}

/* style.css */
ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  color: inherit;
}

.btn {
  display: block;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 5px;
}

.icon {
  padding: 0.5rem;
  background-color: var(--light-grey);
  border-radius: 10px;
}

.logo {
  font-size: 2em;
  margin-right: 1.5rem;
}

#title {
  text-align: center;
  padding: 10px 0 10px 0;
}

#title img {
  width: 50%;
}

.logo img {
  height: 90%;
  padding-top: 5px;
}

#nav-menu {
  background-color: var(--secondary);
  color: var(--primary);
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 0rem;
  height: 50px;
  padding: 20px 0 20px 0;
}

.menu {
  position: relative;
  background: var(--white);
}

.menu-bar li:first-child .dropdown {
  flex-direction: initial;
  min-width: 480px;
}

.menu-bar li:first-child ul:nth-child(1) {
  border-right: var(--border);
}

.menu-bar li:nth-child(n + 2) ul:nth-child(1) {
  border-bottom: var(--border);
}

.menu-bar .dropdown-link-title {
  font-weight: 600;
}

.menu-bar .nav-link {
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: -0.6px;
  padding: 0.3rem;
  min-width: 60px;
  margin: 0 0.6rem;
}

.menu-bar .nav-link:hover,
.dropdown-link:hover {
  background-color: gray;
  color: var(--secondary);
}

.nav-start,
.nav-end,
.menu-bar,
.right-container,
.right-container .search {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 7px;
}

.nav-start {
  width: 100%;
}

.dropdown {
  display: flex;
  flex-direction: column;
  min-width: 230px;
  background-color: var(--white);
  border-radius: 10px;
  position: fixed;
  bottom: 0;
  margin-bottom: 45px;
  z-index: 999999;
  visibility: hidden;
  opacity: 100;
  transform: scale(0.97) translateX(-5px);
  transition: 0.1s ease-in-out;
  box-shadow: var(--shadow);
}

.dropdown.active {
  visibility: visible;
  opacity: 100;
  transform: scale(1) translateX(5px);
  z-index: 999999;
}

.dropdown ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.2rem;
  font-size: 0.95rem;
  background-color: var(--secondary);
}

.dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.15rem;
}

.dropdown-link {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-radius: 7px;
  transition: 0.1s ease-in-out;
}

.dropdown-link p {
  font-size: 0.8rem;
  color: var(--medium-grey);
}

#hamburger {
  display: none;
  padding: 0.1rem;
  margin-left: 1rem;
  font-size: 1.9rem;
}

.bird {
  top: 10%;
  left: 15%;
  max-width: 25%;
}

.gallery img {
  position: relative;
  max-width: 100%;
}

h1 {
  color: var(--secondary);
  margin: 0;
}

.logsuccess {
  font-size: 3em;
  text-align: center;
}

.dash,
.schedule,
.profile,
.donation,
.merch,
.first_dealer,
.cash_breakdown,
.tourney_breakdown,
.director,
.blinds,
.rules,
.horse_rules,
.promotions,
.highhand,
.status {
  text-align: center;
  padding-bottom: 20px;
}

.cash_breakdown h1,
.tourney_breakdown h1,
.blinds h1,
.payouts h1,
.deals h1,
.rules h1,
.horse_rules h1,
.promotions h1,
.status h1 {
  text-align: center;
  padding: 10px 0 20px 0;
}

.grid-container-cashgame,
.grid-container-tournaments,
.grid-container-blinds,
.grid-container-payouts,
.grid-container-percentages,
.grid-container-deal,
.grid-container-goals {
  display: flex;
  flex-direction: column;
  width: 90%;
  margin: 0 auto;
  padding-bottom: 20px;
  column-gap: 1.5rem;
}

.grid-container-cashgame div,
.grid-container-tournaments div,
.grid-container-blinds div,
.grid-container-payouts div,
.grid-container-deal div,
.grid-container-goals div {
  align-self: center;
  padding-bottom: 25px;
}

.first_dealer {
  padding-top: 10px;
}

.donation a {
  color: var(--tertiary);
}

.donation th {
  font-size: 1.5em;
  padding-bottom: 10px;
}

.donation td,
.donation h3 {
  padding-top: 10px;
}

.donation .goal img {
  width: 90%;
}

.donation .venmo {
  width: 70%;
}

.goal div {
  vertical-align: top;
}

.gallery img {
  padding-bottom: 20px;
}

.grid-container-merch {
  columns: 4 200px;
  column-gap: 1.5rem;
  width: 90%;
  margin: 0 auto;
  text-align: center;
  padding-top: 10px;
}

.grid-container-goals {
  columns: 4 200px;
  column-gap: 1.5rem;
  width: 90%;
  margin: 0 auto;
  text-align: center;
  padding-top: 10px;
}

.grid-container-merch input[type="submit"] {
  width: 125px;
  height: 40px;
  font-size: 1.25em;
  font-weight: bold;
  background-color: white;
  color: black;
  text-align: center;
  align-self: center;
  margin-bottom: 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 20px;
  cursor: pointer;
}

.grid-container {
  columns: 5 200px;
  column-gap: 1.5rem;
  width: 90%;
  margin: 0 auto;
  padding-top: 10px;
}

.grid-container div,
.grid-container-merch div
{
    width: 150px;
    margin: 0 1.5rem 1.5rem 0;
    display: inline-block;
    width: 100%;
    border: solid 2px var(--secondary);
    padding: 5px;
}
    
.grid-container img,
.grid-container-merch img {
      width: 100%;
}


.grid-container p,
.grid-container-merch h1 {
      margin: 5px 0;
      padding: 10px;
      text-align: center;
      font-style: italic;
      color: var(--secondary)
}

.grid-container-merch h3 {
  margin: auto 0;
  padding-bottom: 5px;
}

.grid-container-goals div,
.grid-container-goals table {
  width: 100%;
}

.goal table  {
  border-collapse: collapse;
  border-spacing: 0;
}

.dashboard #eventType {
  font-size: 2em;
}

.dashboard #eventDate {
  font-size: 1.5em;
  padding-bottom: 20px;
}

.dashboard #eventGame,
.dashboard #eventBuyin,
.dashboard #eventRebuy {
  font-size: 16px;
  padding-bottom: 7px;
}

.dashboard #eventFee {
  font-size: 1.25em;
  color: var(--tertiary);
  padding-bottom: 15px;
}

.dashboard #eventFood {
  font-size: 16px;
  padding-bottom: 10px;
}

.dashboard img {
  width:75%;
  padding-bottom: 10px;
}

.rules ul,
.horse_rules ol,
.status ol {
  text-align: left;
  padding-bottom: 20px;
  width: 95%;
}

.promotions  ul {
  text-align: left;
  width: 95%;
}

.house li b,
.promotions li b {
  color: var(--tertiary);
}

.horses h2 {
  margin: 0 auto;
  text-align: left;
  padding-left: 10px;
  color: var(--tertiary);
}

.house,
.horses,
.status {
  margin: auto;
  width: 95%;
}

.status img {
  padding: 0px 10px 0px 10px;
}

.status li {
  padding-bottom: 30px;
}

.rules li,
.horse_rules li,
.status li {
  padding-bottom: 30px;
}

.promotions li {
  padding-bottom: 10px;
}

.rules_disclaimer {
  width: 95%;
  font-size: 1.25em;
  font-style: italic;
  color: gray;
}

.rules_disclaimer a {
  text-decoration: underline;
}

.postponed {
  color: yellow;
}

.retired {
  color: darkslategrey;
}

footer {
  position: fixed;
  bottom: 0;
  height: 50px;
  background-color: var(--secondary);
  color: var(--primary);
  font-weight: bold;
  padding: 7px 0 10px 0;
  width: 100%;
  text-align: center;
}

#hhj {
  overflow-x: hidden;
  overflow-y: hidden;
}


/* ============== 
|   Event Cal   |
================= */

#cal-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding-top: 10px;
  width: 90%;
}


.calendar {
  position: relative;
  overflow: hidden;
  text-transform: capitalize;
  text-align: center;
  font-size: 15px;
  color: var(--secondary);
  z-index: 0;
}
  

.calendar a {
  text-decoration: none;
  color: inherit;
}


.calendar header .simple-calendar-btn {
  display: inline-block;
  position: relative;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  color: #FF0000;
  border-radius: 50%;
  border: 2px solid #CBD1D2;
  z-index: 999;
}


.calendar header .simple-calendar-btn:hover {
  background: #FF0000;
  color: #000000;
}


.calendar header .simple-calendar-btn:before {
  content: '';
  position: absolute;
  top: 9px;
  left: 8px;
  width: 8px;
  height: 8px;
  border-style: solid;
  border-width: 3px 3px 0 0;
  transform: rotate(45deg);
  transform-origin: center center;
}


.calendar header .btn-prev {
  top: 0;
  left: -20%;
  transform: rotate(-180deg);
}


.calendar header .btn-next {
  top: 0;
  right: -20%;
}


.calendar header .btn-next:before {
  transform: rotate(45deg);
}
  

.calendar header .month {
  padding: 0;
  margin: 0;
}


.calendar header .month .year {
  font-size: 0.75em;
  font-weight: 100;
}


.calendar table {
  width: 100%;
  margin: 20px 0;
  border-spacing: 0px;
  border-color: #FFFFFF;
}


.calendar thead {
  font-size: 1.2em;
  font-weight: 600;
}


.calendar td {
  padding: .8em .1em;
  border: 1px solid gray;
}


.calendar .day {
  position: relative;
  display: inline-block;
  width: 2.5em;
  height: 2.5em;
  line-height: 2em;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
}


.calendar .day:hover {
  border: 2px solid #FFFFFF;
}


.calendar .day.today {
  background: gray;
  color: white;
}


.calendar .day.today.has-event:after {
  background: white;
}


.calendar .day.wrong-month {
  color: #333333;
}


.calendar .day.wrong-month:hover {
  border: 2px solid transparent;
}


.calendar .day.has-event:after {
  content: '';
  position: absolute;
  top: calc(50% + 10px);
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF0000;
}


.calendar .day.disabled {
  cursor: default;
}


.calendar .day.disabled:hover {
  border: 2px solid transparent;
}


.calendar .event-container {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 70px;
  background: #000000;
  box-sizing: border-box;
  z-index: 999999;
}


.calendar .event-container .event-wrapper {
  overflow-y: auto;
  max-height: 100%;
}


.calendar .event-container .close {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 20px;
  right: 20px;
  cursor: pointer;
}


.calendar .event-container .close:before, .calendar .event-container .close:after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: white;
}


.calendar .event-container .close:before {
  transform: rotate(45deg);
}


.calendar .event-container .close:after {
  transform: rotate(-45deg);
}


.calendar .event-container .event {
  position: absolute;
  left: 0;
  width: 100%;
  margin-bottom: 1em;
  background: #FF0000;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12);
}


.calendar .event-container .event-date {
  font-weight: 600;
  text-align: left;
  padding: 15px 10px;
}


.calendar .event-container .event-hour {
  font-weight: 600;
  float: right;
  padding: 15px 10px;
}


.calendar .event-container .event-summary {
  font-weight: 600;
  text-align: center;
  padding: 15px 0;
}


.calendar .filler {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: gray;
  transform: translate(-50%, -50%);
}

.schedule a,
.schedule a::after,
.schedule a:active {
  color: var(--tertiary);
  text-decoration: none;
}

.schedule h3 {
  text-align: center;
  margin: 0 auto;
  padding-bottom: 20px;
}


/* ============== 
  Form style    |
================= */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
  background-color: white;
  color: black;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus {
  background-color: black;
  color: white;
  border: solid 2px;
}

.join_form fieldset,
.login_form fieldset,
.newpass_form fieldset,
.hh_form fieldset {
  display: flex;
  flex-direction: column;
  justify-content: left;
  color: white;
  padding-left: 25px;
}

.hh_players fieldset {
  display: block;
  text-align: left;
  color: white;
  padding-left: 25px;
}

.hh_players fieldset table {
  display: block;
  justify-content: center;
  color: white;
  margin: 0 auto;
  font-size: 24px; 
  padding-bottom: 24px;
}

.hh_players fieldset button[type="submit"] {
  display: block;
  text-align: center;
  color: black;
  margin: 0 auto;
  font-size: 16px;
}

.hh_form fieldset table:nth-child(-n+2) {
  display: flex;
  justify-content: center;
  color: white;
  margin: 0 auto;
  font-size: 26px;
}

.hh_form fieldset table:last-child {
  display: flex;
  justify-content: center;
}

.hh_players input.member,
.hh_form input.member {
  width: 40px;
  height: 24px;
}

.hh_players fieldset table td,
.hh_form fieldset table td {
  padding-bottom: 5px;
  vertical-align: middle;
}

.hh_form .players {
  padding-bottom: 30px;
}

label {
  padding-top: 10px;
}

.hh_players fieldset table td label,
.hh_form fieldset table td label {
  vertical-align: top;
}

.rankings,
.altHand,
.altHand2 {
  text-align: center;
}

.hh_form .rankings,
.hh_form .altHand {
  padding-bottom: 20px;
}

.newpass_form button[type="submit"],
.join_form button[type="submit"],
.login_form button[type="submit"],
.reset_form button[type="submit"],
.first_dealer button[type="submit"],
.payout button[type="submit"],
.payout_input button[type="submit"],
.userInfo button[type="submit"],
.hh_form button[type="submit"],
.hh_players button[type="submit"] { 
  width: 125px;
  height: 40px;
  font-size: 1.25em;
  font-weight: bold;
  background-color: white;
  color: black;
  text-align: center;
  align-self: center;
  margin: 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 20px;
  cursor: pointer;
}

button[type="submit"]:hover,
button:hover,
#topBtn:hover,
input[type="submit"]:hover {
  background-color: var(--primary);
  color: var(--tertiary);
  border: 2px solid var(--secondary);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.join_form,
.login_form,
.cal-container,
.reset_form fieldset,
.newpass_form,
.hh_form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 360px;
  margin: 0 auto;
}

.hh_players {
  display: block;
  text-align: left;
  width: 95%;
  margin: 0 auto;
}

.userInfo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
  margin: 0 auto;
}

.join_form h1,
.reset_form h1,
.reset_form h2,
.hh_form h1,
.hh_players h1 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.join_form p,
.reset_form p {
  text-align: center;
  margin-top: 20px;
  font-size: 2em;
  color: green
}

.userInfo select,
.hh_form select {
  text-align-last: center;
}

.winner b {
  text-align: center;
  font-size: 4em;
  text-decoration: underline;
  color: var(--secondary);
}

.highhand img {
  width: 20%;
  padding: 50px 0 30px 0;
}

.highhand {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 20px;
}

.highhand body {
  overflow-x: hidden;
  overflow-y: hidden;
}

.ePlayers {
  font-size: 4em;
  text-decoration: underline;
  padding-bottom: 5px;
}

.part {
  padding: 0px 0 20px 0;
}

.part td p{
  margin: 0 auto;
  /* vertical-align: top; */
}

.part #clock {
  font-size: 5em;
  padding-top: 25px;
  color: green;
  width: min-content;
}

.part #timer {
  font-size: 5em;
  padding-top: 25px;
  color: green;
  width: min-content;
}

.part #current {
  margin: 0 auto;
  vertical-align: top;
}

.highhand table {
  width: 100%;
  text-align: center;
}

.highhand .title {
  font-size: 5em;
  padding: 10px 0 10px 0;
}

.plist {
  color: var(--tertiary);
  font-size: 2.5em;
  margin: 0;
  padding-bottom: 3px;
}

.cHigh {
  font-size: 4em;
  text-decoration: underline;
  padding-bottom: 20px;
}

.handReq {
  color: var(--tertiary);
  font-size: 2.5em;
  text-decoration: none;
  padding-bottom: 20px;
}

.leader {
  color: var(--tertiary);
  font-size: 6em;
  margin: 0;
  padding: 10px;
}

.leader h2 {
  margin: 0;
  max-width: 50%;
}

.hh_players,
.hh_form {
  margin-top: 20px;
  margin-bottom: 20px;
}

.hh_players fieldset,
.hh_form fieldset {
  padding-top: 10px;
}

.hh_players label,
.hh_form label {
  padding-bottom: 5px;
}

.hh_players input,
.hh_form input {
  margin: 0;
}

.join_form i,
.login_form i {
  text-align: center;
  margin-top: 20px;
  font-size: 1em;
  color: var(--tertiary);
}


.login_form,
.reset_form,
.newpass_form,
.userInfo,
.hh_form {
  margin-bottom: 20px;
}


.reset_form p,
.newpass_form p {
  text-align: center;
  margin-bottom: 20px;
}


.welcome h1,
.profile h1 {
  text-align: center;
  font-size: 2em;
  color: var(--secondary);
  padding: 10px 0 20px 0;
}


.welcome a,
.profile a {
  color: var(--tertiary);
  font-size: 1.5em;
}


.welcome p {
  text-align: center;
  padding-bottom: 20px;
}


#topBtn {
  display: none;
  position: fixed;
  bottom: 7px;
  right: 10px;
  z-index: 99;
  border: 2px solid var(--secondary);
  outline: none;
  background-color: var(--primary);
  color: var(--secondary);
  cursor: pointer;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 10px 5px 10px;}


/* ============== 
|   Dashboard    |
================= */

.dashboard {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 95%;
  /* margin-top: 10px; */
  margin-bottom: 20px;
}


.eventType h1 {
  font-size: 2em;
  text-align: center;
  margin: 0 auto;
}


.eventDate h2 {
  font-size: 1.25em;
  text-align: center;
  margin: 0 auto;
}

.eventDeadline {
  font-size: 1.25em;
  text-align: center;
  margin: 0 auto;
  padding-bottom: 15px;
}

.eventDetails h3 {
  font-size: 1em;
  text-align: center;
  margin: 0 auto;
  padding: 30px 0 5px;
}

.eventDetails h4 {
  font-size: 1em;
  text-align: center;
  margin: 0 auto;
  padding: 5px 0 5px;
}

.eventDetails h4:last-child {
  padding-bottom: 15px;
}

.dashboard {
  border: 2px solid var(--secondary);
  /* padding-top: 10px; */
}


.inHeader, 
.waitlistHeader,
.likelyHeader,
.unlikelyHeader,
.outHeader,
.unknownHeader {
  background-color: var(--tertiary);
  color: var(--primary);
  text-align: left;
  font-size: 1.5em;
  padding: 5px 0 5px 3px;
}

.inHeader b,
.waitlistHeader b,
.likelyHeader b,
.unlikelyHeader b,
.outHeader b,
.unknownHeader b {
  color: var(--primary);
  text-align: left;
  font-size: 1.5em;
  padding: 5px 0 5px 3px;
}


.inTotal,
.waitlistTotal,
.likelyTotal,
.unlikelyTotal,
.outTotal,
.unknownTotal {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--tertiary);
  color: var(--primary);
  text-align: center;
  font-size: 2em;
  padding: 8px 0 5px 3px;
}


.inList,
.waitlistList,
.likelyList,
.unlikelyList,
.outList,
.unknownList {
  font-size: 1.25em;
  padding: 5px 0 0 5px;
}

.inList:first-child,
.waitlistList:first-child,
.likelyList:first-child,
.unlikelyList:first-child,
.outList:first-child,
.unknownList:first-child {
  font-size: 1.25em;
  padding: 1px 0 0 5px;
  }


.in,
.waitlist,
.likely,
.unlikely,
.out {
  padding-bottom: 20px;
}

.fullTable b {
  font-size: 1.25em;
  background-color: var(--secondary);
  text-align: center;
  color: var(--tertiary);
}

#galleryImg:hover {opacity: 0.7;}

/* ============== 
  Gallery modal  |
================= */

 /* Style the Image Used to Trigger the Modal */
 /* #galleryImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#galleryImg:hover {opacity: 0.7;}

/* The Modal (background) */
/* .modal {
  display: none; /* Hidden by default */
  /*position: fixed; /* Stay in place */
  /*z-index: 1; /* Sit on top */
  /* padding-top: 100px; Location of the box */
  /* left: 0; */
  /* top: 0; */
  /* width: 100%; Full width */
  /* height: 100%; Full height */
  /* overflow: auto; Enable scroll if needed */
  /* background-color: rgb(0,0,0); Fallback color */
  /* background-color: rgba(0,0,0,0.9); Black w/ opacity */
/* } */

/* Modal Content (Image) */
/* .modal-content {
  margin: 0 auto;
  display: block;
  width: 80%;
  max-width: 700px;
} */

/* Caption of Modal Image (Image Text) - Same Width as the Image */
/* #caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
} */

/* Add Animation - Zoom in the Modal */
/* .modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
} */

/* The Close Button */
/* .close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}  */

/* 100% Image Width on Smaller Screens */
/* @media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
} */


/* ============== 
  Profile page   |
================= */

.userInfo {
  padding-top: 10px;
}

.userInfo table {
  margin: 0 auto;
  border: solid 2px var(--secondary);
  border-spacing: 0px;
}


.userInfo th {
  color: var(--tertiary);
  font-size: 2em;
  text-decoration: underline;
  padding: 10px 0 20px 0;
}


.userInfo a {
  color: var(--tertiary);
}


.userInfo td,
.userInfo tr {
  margin: 0 auto;
  text-align: center;
  width: 90%;
  padding: 0px 0px 10px;
}


.userInfo .statusApply {
  text-align: center;
}

.userInfo .gameStatus {
  padding-bottom: 15px;
}

.userInfo img {
  padding-top: 10px;
}

div#eventDate {
  padding-top: 10px;
}


/* ============== 
  Dealer slider  |
================= */

.slider {
  margin: auto;
  width: 90%;
  background: var(--secondary);
  border-radius: 20px;
}


.slider label {
  margin: 0 auto;
  font-size: 1.5em;
  font-weight: bold;
  padding: 10px 30px 10px 0;
  color: var(--primary);
}


.slider p {
  display: inline-flex;
  font-size: 1.5em;
  color: black;
}


.slider input[type="range"] {
  background: transparent;
  display: inline-flex;
  width: 75%;
  height: 8px;
  background-color: black;
  border: none;
  outline: none;
  margin-bottom: 30px;
}


.slider input[type="range"]:focus {
  outline: none;
}


.slider input[type="range"]::-webkit-slider-runnable-track {
  background: var(--primary);
  height: 5px;
 }
 

.slider input[type="range"]::-moz-range-track {
  background-color: var(--primary);
  height: 5px;
}


.slider input[type="range"]::-moz-range-progress {
  appearance: none;
  background-color: var(--tertiary);
  height: 5px;
}


.slider input[type=range]:focus::-webkit-slider-runnable-track {
  background: var(--tertiary);
}


.slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  background-color: var(--tertiary);
  border: 2px solid black;
  border-radius: 20px;
  cursor: pointer;
  margin-top: -17px;
}


.slider input[type="range"]::-moz-range-thumb {
  width: 40px;
  height: 40px;
  margin: 0;
  background-color: var(--tertiary);
  border: 2px solid black;
  border-radius: 20px;
  cursor: pointer;
}


#range {
  color: var(--tertiary);
}

#rangeValue {
  margin: 0 auto;
  padding: 10px 0 20px 0;
  font-weight: bold;
  font-size: 2.5em;
}

#output {
  display: table;
  margin: 0 auto;
  padding: 10px;
  background: var(--primary);
  color: var(--tertiary);
  font-size: 4em;
}

#output img {
  width: 100%;
}


/*Chrome, Safari, Edge*/

@media screen and (-webkit-min-device-pixel-ratio:0){
  input[type='range'] {
    background-color: var(--tertiary);
  }

  
  input[type='range']::-webkit-slider-runnable-track {
    color: var(--tertiary);
  }

  
  input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    color: var(--primary);
  }
}


/** FF*/

input[type="range"]::-moz-range-progress {
background-color: var(--tertiary); 
}


input[type="range"]::-moz-range-track {  
background-color: var(--primary);
}


/* IE

input[type="range"]::-ms-fill-lower {
background-color: var(--tertiary); 
}


input[type="range"]::-ms-fill-upper {  
background-color: var(--primary);
} */


/* ============== 
|   Cash sets   |
================= */

.grid-container-cashgame div,
.grid-container-cashgame table {
  width: 100%;
}

.cashsets table  {
  border-collapse: collapse;
  border-spacing: 0;
}

.cashsets td {
  font-size: 14px;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;
}

.cashsets .chips-data {
  border: 2px solid var(--secondary);
  color: var(--tertiary);
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

.cashsets .cashsets-bank {
  border: 2px solid var(--secondary);
  font-size: 16px;
  font-style: italic;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

.cashsets .cash-header {
  background-color: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
  font-size: 24px;
  overflow: hidden;
  padding: 10px 5px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

.cashsets .cashsets-data {
  border: 2px solid var(--secondary);
  font-size: 20px;
  text-align: left;
  vertical-align: top;
}

.cashsets .footnote {
  border: 2px solid var(--secondary);
  font-size: 14px;
  padding: 10px 5px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}


/* ============== 
|  Tourney sets  |
================= */

.grid-container-tournaments div,
.grid-container-tournaments table {
  width: 100%;
}

.T25 table {
  border-collapse: collapse;
  border-spacing: 0;
}

.T25 td {
  font-size: 14px;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;}

.T25 .chips-data {
  border: 2px solid var(--secondary);
  color: var(--tertiary);
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

.T25 .T25-start {
  border: 2px solid var(--secondary);
  font-size: 18px;
  font-style: italic;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

.T25 .tourney-header {
  background-color: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
  font-size: 24px;
  overflow: hidden;
  padding: 10px 5px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

.T25 .T25-data {
  border: 2px solid var(--secondary);
  font-size: 20px;
  text-align: left;
  vertical-align: top;
}

.T25 .T25-data2 {
  border: 2px solid var(--secondary);
  font-size: 20px;
  text-align: center;
  vertical-align: top;
}


/* ============== 
|  Blinds chart  |
================= */

.blind-structure {
  border-collapse: collapse;
  border-spacing: 0;
  border: 2px solid var(--secondary);
}

.blind-structure td {
  font-size: 24px;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;
}

.blind-structure .blind-structure-start {
  background-color: var(--secondary);
  color: var(--primary);
  border:2px solid var(--secondary);
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  padding: 10px 40px;
}

.blind-structure .blind-structure-data {
  color: var(--secondary);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  vertical-align: top;
}

.blind-structure .blind-structure-time {
  border:2px solid var(--secondary);
  font-style: italic;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

.blind-structure .blind-structure-odd {
  background-color: var(--secondary);
  color: var(--primary);
  font-weight: bold;
  text-align: center;
  vertical-align: top;
}

.blind-structure .blind-structure-even {
  font-weight: bold;
  text-align: center;
  vertical-align: top;
}

.blind-structure .blind-structure-break {
  background-color: var(--tertiary);
  color: var(--primary);
  font-size: 1.2em;
  border: 2px solid var(--secondary);
  font-weight: bold;
  text-align: center;
  vertical-align: top;
}

.blinds h3 {
  margin: 0 auto;
  padding-top: 5px;
}

.blinds h3:last-of-type {
  padding-bottom: 15px;
}


/* ============== 
| Payouts/Deals |
================= */

.grid-container-payouts div,
.grid-container-payouts table,
.grid-container-deal div,
.grid-container-deal table {
  width: 100%;
}

.payout table,
.payout-schedules table,
.chip_count table,
.payout_input table {
  border-collapse: collapse;
  border-spacing: 0;
  border: 2px solid var(--secondary);
}


.payout .payout-header,
.payout-schedules .payout-header {
  background-color: var(--secondary);
  color: var(--primary);
  border:2px solid var(--secondary);
  font-weight: bold;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;
  padding: 10px 20px;
}

.payout-schedules .payout-data {
  background-color: var(--tertiary);
  color: var(--primary);
  border: 2px solid var(--secondary);
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  padding: 10px 5px;
}

.payout .payout-data2,
.payout .payout-data3,
.deals .payout-data {
  background-color: var(--tertiary);
  color: var(--primary);
  border: 2px solid var(--secondary);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  padding: 10px 10px;
}

.payout-schedules .payout-data2 {
  background-color: var(--tertiary);
  color: var(--primary);
  border: 2px solid var(--secondary);
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  padding: 10px 5px;
}

.payout .payout-calc,
.payout-schedules .payout-calc,
.deals .payout-calc {
  color: var(--secondary);
  border: 2px solid var(--secondary);
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  padding: 10px 15px;
}

.payout .payout-blank,
.payout-schedules .payout-blank {
  color: var(--primary);
  height: 20px;
  text-align: center;
  vertical-align: top;
}

.payout button[type="submit"],
.payout_input button[type="submit"] {
  margin-top: 20px;
  margin-bottom: 0;
}

.deals {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 auto;
  margin-bottom: 20px;
}

.payouts th {
  font-size: 1.5em;
  font-weight: normal;
  overflow: hidden;
  padding: 10px 20px;
  word-break: normal;
}

#icm_deal,
#icm_deal2 {
  display: none;
}

#icm_deal td {
  height: 47px;
}


/* ============== 
  Media Queries  |
================= */

/* Desktop menu */

@media all and (min-width: 960px) {

  body {
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }
  
  body,
  html {
    min-height: 100dvh;
    margin: 0 auto;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background: var(--primary);
    color: var(--secondary);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  .button {
    order: 2;
  }


  .bird {
    margin: 0 auto;
    width: 15%;
  }

  .donation .venmo {
    max-width: 20%;
  }

  .donation .goal img {
    max-width: 50%;
  }

  #cal-container {
    display: flex;
    justify-content: center;
    width: 40%;
    margin: 0 auto;
  }

  .calendar .event-container .event {
    position: relative;
    left: 20%;
    width: 70%;
    margin-bottom: 1em;
    background: #FF0000;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12);
  }

  .calendar .event-container .event-date {
    font-weight: 600;
    text-align: left;
    padding: 15px 10px;
  }
  
  
  .calendar .event-container .event-hour {
    font-weight: 600;
    float: right;
    padding: 15px 10px;
  }
  
  
  .calendar .event-container .event-summary {
    font-weight: 600;
    text-align: center;
    padding: 15px 0;
  }
  
  .dashboard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 35%;
    margin: 0 auto;
    margin-top: 10px;
  }  

  
  .eventType h1 {
    font-size: 2em;
    text-align: center;
    margin: 0 auto;
  }

  
  .eventDate h2 {
    font-size: 1.25em;
    text-align: center;
    margin: 0 auto;
  }

  
  .dashboard {
    border: 2px solid var(--secondary);
    margin-bottom: 20px;
  }

  .userInfo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 25%;
    margin: 0 auto;
    padding-bottom: 20px;
  }

  .userInfo td {
    font-size: 18px;
  }

  .inHeader, 
  .inHeader b,
  .waitlistHeader,
  .waitlistHeader b,
  .likelyHeader,
  .likelyHeader b,
  .unlikelyHeader,
  .unlikelyHeader b,
  .outHeader,
  .outHeader b,
  .unknownHeader,
  .unknownHeader b {
    background-color: var(--tertiary);
    color: var(--primary);
    text-align: left;
    font-size: 1.5em;
    padding: 10px 0 10px 3px;
  }

  .inTotal,
  .waitlistTotal,
  .likelyTotal,
  .unlikelyTotal,
  .outTotal,
  .unknownTotal {
    background-color: var(--tertiary);
    color: var(--primary);
    font-weight: bold;
    text-align: center;
    padding-bottom: 7px;
    font-size: 2.5em;
  }

  .inList,
  .waitlistList,
  .likelyList,
  .unlikelyList,
  .outList,
  .unknownList {
    font-size: 1.25em;
    padding: 5px 0 0 5px;
  }

  .inList:first-child,
  .waitlistList:first-child,
  .likelyList:first-child,
  .unlikelyList:first-child,
  .outList:first-child,
  .unknownList:first-child {
    font-size: 1.25em;
    padding: 1px 0 0 5px;
  }

  .house,
  .horses,
  .status {
    width: 65%;
  }

  .slider {
    margin: auto;
    width: 35%;
    background: var(--secondary);
    border-radius: 20px;
  }
  
  .slider label {
    margin: 0 auto;
    font-size: 2em;
    font-weight: bold;
    padding: 10px 30px 10px 0;
    color: var(--primary);
  }
  
  .slider p {
    display: inline-flex;
    font-size: 2em;
    color: black;
  }
  
  .slider input[type="range"] {
    background: transparent;
    display: inline-flex;
    width: 75%;
    height: 8px;
    background-color: black;
    border: none;
    outline: none;
    margin-bottom: 50px;
  }
  
  .slider input[type="range"]:focus {
    outline: none;
  }
  
  .slider input[type="range"]::-webkit-slider-runnable-track {
    background: var(--primary);
    height: 5px;
   }
   
  .slider input[type="range"]::-moz-range-track {
    background-color: var(--primary);
    height: 5px;
  }
  
  .slider input[type="range"]::-moz-range-progress {
    appearance: none;
    background-color: var(--tertiary);
    height: 5px;
  }
  
  .slider input[type=range]:focus::-webkit-slider-runnable-track {
    background: var(--tertiary);
  }
  
  .slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    background-color: var(--tertiary);
    border: 2px solid black;
    border-radius: 20px;
    cursor: pointer;
    margin-top: -17px;
  }
  
  .slider input[type="range"]::-moz-range-thumb {
    width: 30px;
    height: 30px;
    margin: 0;
    background-color: var(--tertiary);
    border: 2px solid black;
    border-radius: 20px;
    cursor: pointer;
  }
  
  #range {
    color: var(--tertiary);
  }
  
  #rangeValue {
    margin: 0 auto;
    padding-bottom: 20px;
    font-weight: bold;
    font-size: 2.5em;
  }
  
  #output {
    display: table;
    margin: 0 auto;
    padding: 10px;
    background: var(--primary);
    color: var(--tertiary);
    font-size: 4em;
  }

  .grid-container-cashgame,
  .grid-container-tournaments,
  .grid-container-payouts,
  .grid-container-percentages,
  .grid-container-deal,
  .grid-container-goals,
  .grid-container-status {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 20px;
    vertical-align: top;
  }

.grid-container-payouts div,
.grid-container-payouts table,
.grid-container-deal div,
.grid-container-deal table {
  width: fit-content;
}

  .grid-container-cashgame div,
  .grid-container-tournaments div,
  .grid-container-payouts div,
  .grid-container-percentages div,
  .grid-container-deal div,
  .grid-container-goals div,
  .grid-container-status div {
    align-self: flex-start;
    padding-bottom: 25px;
  }

  .payout-schedules .payout-data {
    background-color: var(--tertiary);
    color: var(--primary);
    border: 2px solid var(--secondary);
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    padding: 10px 20px;
  }
  
  .payout-schedules .payout-data2 {
    background-color: var(--tertiary);
    color: var(--primary);
    border: 2px solid var(--secondary);
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    padding: 10px 20px;
  }

  .deals .payout-data {
  background-color: var(--tertiary);
  color: var(--primary);
  border: 2px solid var(--secondary);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  padding: 10px 20px;
  }

  #output img {
    width: 50%;
  }

  .navbar .logo img {
    width: 50%;
    padding-top: 25px;
  }
}

@media (max-width: 600px) {
  #hamburger {
    display: flex;
    margin: 0px 45px 5px 20px;
  }

  .menu {
    display: none;
    position: fixed;
    bottom: 0;
    margin-bottom: 45px;
    width: 100%;
    background-color: var(--secondary);
    z-index: 999999;
  }

  .menu-bar li:first-child ul:nth-child(1) {
    border-right: none;
    border-bottom: var(--border);
  }

  .nav-start,
  .nav-end,
  .menu-bar,
  .right-container,
  .right-container .search {
    display: flex;
    justify-content: left;
    align-items: center;
    padding-bottom: 7px;
}

.logo img {
  margin-left: 80px;
}

  .dropdown {
    display: none;
    flex-direction: column;
    min-width: 250px;
    min-height: auto;
    /* background-color: var(--white); */
    border-radius: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999999;
    visibility: hidden;
    opacity: 100;
    transform: scale(0.97) translateX(-5px);
    transition: 0.1s ease-in-out;
    box-shadow:rgba(0, 0, 0, 0.06)
  }

  .dropdown-link {
    display: flex;
    gap: 2rem;
    padding: 0.5rem 0;
    border-radius: 7px;
    font-size: 1.25rem;
    transition: 0.1s ease-in-out;
  }

  .menu.show,
  .dropdown.active {
    display: block;
  }

  .dropdown ul {
    padding: 0;
    box-shadow: 0 0 10px 0px #000000;
  }

  .menu-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    row-gap: 1rem;
    padding: 1rem;
  }

  .menu-bar .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
  }

  .menu-bar > li:not(:last-child) {
    padding-bottom: 0.5rem;
    border-bottom: var(--border);
  }

  .right-container {
    display: none;
  }

  .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #title img {
    display: inline-flex;
    justify-content: center;
    width: 95%;
  }


}


/*  Login form */

.cal-container,
.join_form {
  padding-bottom: 20px;
}


.rem-checkbox {
  appearance: none;
  background-color: var(--secondary);
  border: 1px solid #cacece;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
  padding: 9px;
  border-radius: 3px;
  display: inline-block;
  position: relative;
}

.checkbox {
  display: flex;
  justify-content: center;
}


.rem-checkbox:active, .rem-checkbox:checked:active {
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}


.rem-checkbox:checked {
  background-color: var(--tertiary);
  border: 1px solid #adb8c0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  color: var(--primary);
}


.rem-checkbox:checked:after {
  content: '\2714';
  font-size: 12px;
  position: absolute;
  top: 2px;
  left: 4px;
  color: var(--primary);
}


span.password {
  float: right;
  padding: 10px 10px 0 10px;
  color: var(--secondary);
  text-align: center;
}


.password a {
  color: var(--tertiary);
}


.first_dealer button[type="submit"] {
  position: relative;
  margin-top: 40px;
}


.submit_loading .submit_text {
  visibility: hidden;
  opacity: 0;
}


.submit_loading::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border: 4px solid transparent;
  border-top-color: var(--tertiary);
  border-left-color: var(--primary);
  border-right-color: var(--primary);
  border-bottom-color: var(--tertiary);
  border-radius: 50%;
  animation: button_loading_spinner 1s ease infinite;
}

@keyframes button_loading_spinner {
  from{
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}



