#tableLayout, #dice1graphic, #dice2graphic, #cardDeck, #remainingCardDeckSpot, .divsToHide {
visibility: hidden;
display: none;
}

html {
  width: 100%;
  height: 100%;
}
body {
  background: #485563;  /* fallback for old browsers */
  /*overflow: hidden; */
  margin: 4px;
}

#bjGameSpace {
color: white;
}
/*
#gameSpace {
  display: grid;
  grid-template-columns: repeat(10,1fr);
  grid-template-rows: repeat(10,1fr);
}
*/
.cardSpots {
  margin: 0px;
}
.cardSpots img {
  max-width: 90%;
}
.handHeader {
  margin: 2px;
}
.gameMessages {
  margin: 5px;
}
.playerCardSpotsContainer {
  border: 1px white solid;
}
#scoreBoard {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: repeat(2,1fr);
}
#dealer {
 grid-row-start: 1;
 grid-column-start: 1;
}
#dealerTotal1 {
 grid-row-start: 2;
 grid-column-start: 1;
}
#hand1 {
  grid-row-start: 3;
  grid-column-start: 1;
}
#hand2 {
  grid-row-start: 5;
  grid-column-start: 1;
}
#playerTotal1 {
  grid-row-start: 4;
  grid-column-start: 1;
}
#playerTotal2 {
  grid-row-start: 6;
  grid-column-start: 1;
}
#cardSpotsDiv {
  display: grid;
  grid-template-columns: 32px repeat(5,1fr);
  grid-template-rows: repeat(6,1fr);
  font-size: 14pt;
  margin: 5px;
  max-width: 98%;
  height: 300px;
  border: solid white 1px;
  text-align: center;
}
#dealerCardSpots{
  grid-row-start: 1;
  grid-row-end: span 2;
  grid-column-start: 2;
  grid-column-end: span 6;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  align-items: end;
  justify-items: center;
}
#playerCardSpotsHand1 {
  grid-row-start: 3;
  grid-row-end: span 2;
  grid-column-start: 2;
  grid-column-end: span 6;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  align-items: end;
  justify-items: center;
}
#playerCardSpotsHand2 {
  grid-row-start: 5;
  grid-row-end: span 2;
  grid-column-start: 2;
  grid-column-end: span 6;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  align-items: end;
  justify-items: center;
}


#dealerTotal, #playerTotal {
  margin: 2px;
}

button {
font-size: 20pt;
background-color: white;
}
#controls {
  margin: auto;
  text-align: center;
}
.controlButton {
  padding: 10px;
}

#visibleGameStats {
  /*
  grid-row-start: 1;
  grid-row-end: 3;
  grid-column-start: 1;
  grid-column-end: span 10;
  */
  display: grid;
  color: white;
  justify-content: center;
  align-items: flex-end;
  grid-template-columns: repeat(7,1fr);
  grid-template-rows: repeat(2,1fr);
  max-width: 98%;
  font-size: 94%;
  margin-bottom: 10px;
  margin-left: auto;
}
.VGSITR {
  grid-row-start: 1;
  grid-row-end: span 1;
}
.VGSIBR {
  grid-row-start: 2;
  grid-row-end: span 1;
}
#betAmountPicker {
  /*
  grid-row-start: 1; 
  grid-row-end: span 1;
  grid-column-start: 1;
  grid-column-end: span 20;
  */
  display: grid;
  min-height: min-content;
  grid-template-columns: repeat(4,1fr);
  justify-items: center;
  align-items: flex-end;
  gap: 2px;
  width: 100%;
}
#oneChip {
  visibility: hidden;
  display: none;
}
#bjBetSpots {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  width: 95%;
  justify-items: center;
  margin: auto;
}

#bjBetSpot1 {
  border: 5px solid white;
  color: white;
  width: 75%;
  height: 95%;
  display: flex;
  justify-content: center;
  grid-row-start: 1;
  grid-row-end: span 1;
  grid-column-start: 3;
  grid-column-end: span 1;
  cursor: pointer;
}
#bjBetSpot2 {
  border: 5px solid white;
  color: white;
  width: 75%;
  height: 95%;
  display: flex;
  justify-content: center;
  grid-row-start: 1;
  grid-row-end: span 1;
  grid-column-start: 2;
  grid-column-end: span 1;
  cursor: pointer;
}

#bjBetSpot3, #bjBetSpot4, #bjBetSpot5, .cardSpotsToHide {
  visibility: hidden;
  display: none;
}
.visibleGameStatsItem {
  display: flex;
  justify-content: center;
  margin: 0px;
  font-size: 75%;
}
.handHeader {
  font-size: 18pt;
}
.gameStatsValue {
  border: solid white 1px;
  text-shadow: 1px 1px 0 #444;
  align-content: center;
  width: 90%;
 }
#bjBetAmnts {
  visibility: hidden;
  display: none;
}
#betAmount {
  grid-column-start: 7;
  font-size: 100%;
  color: yellow;
  font-family: "digital7Font";
}

#atmIcon{
  max-width: var(--outer-dim-1);
  max-height: var(--outer-dim-1);
  cursor: pointer;
}
#menuIcon {
  width: var(--outer-dim-1);
  cursor: pointer;
}
/*-----------------------------Playing Cards----------------------------------*/
.tight {
  font-size: 85pt;
  font-family: Lucida Sans Unicode;
  background:white;
  display: inline-block;
  position: relative;
  width: 0.59em;
  height: 0.77em;
  color: black;
}
.tight span {
  position: absolute;
  left: -0.055em;
  top: -0.255em;
}

/*---------------------------------Menu---------------------------------------*/
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 55;
  top: 0;
  left: 0;
  background-color: #485563;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a, .sidenav p {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
  white-space: nowrap;
  cursor: pointer;
}

.sidenav a:hover, .sidenav p:hover {
  color: #f1f1f1;
}

/*
.sidenav .closebtn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}
*/
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}