/* CSS Reset for consistent rendering */
* {
  box-sizing: border-box;
}

.bg_titlebar {
  height: 70px;
}

h1.topHead {
  font-size: 30px;
}

.footer {
  margin-top: 0;
}

.boardgames_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 30px;
  width: 100%;
}

.gameboard {
  width: 1100px;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 150px 150px 150px 150px 150px 150px 150px;
  grid-template-rows: 140px 140px 140px 140px 140px;
  gap: 5px;
  justify-items: start;
  align-items: center;
}

.gameboard div {
  padding: 10px;
  font-size: 20px;
  line-height: 24px;
  position: relative;
}

div.penalty, div.start, div.finish {
  width: 150px;
  height: 140px;
  background-color: orange;
  text-align: center;
  padding: 8px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

div.start {
  background-color: #99ff66;
  width: 150px;
  height: 140px;
}

div.finish {
  background-color: #fff;
  background-image: url("/img/boardgames/checks.jpg");
  width: 150px;
  height: 140px;
}

div.blank {
  background-color: #fff;
  position: relative;
  z-index: -99;
  width: 150px;
  height: 140px;
}

div.gamespace, div.bg_createGamespace {
  background-color: #afeeee;
  width: 150px;
  height: 140px;
}

/* -------------COUNTERS ----------------*/
span.roundNum {
  position: absolute;
  bottom: 3px;
  z-index: 3;
  display: inline-block;
  color: white;
  text-align: center;
  background: cornflowerblue;
  border-radius: 50%;
  height: 1.7em;
  width: 1.7em;
  padding: 0;
  margin: -0.2em 0.5em 0 0;
  line-height: 1.7em;
  font-weight: bold;
}

#player0 {
  left: 4px;
  background-color: cornflowerblue;
  z-index: 10;
}

#player1 {
  left: 19px;
  background-color: #c0392b;
  z-index: 11;
}

#player2 {
  left: 34px;
  background-color: #4caf50;
  z-index: 12;
}

#player3 {
  left: 49px;
  background-color: #ff6f00;
  z-index: 13;
}

#player4 {
  left: 64px;
  background-color: black;
  z-index: 14;
}

#player5 {
  left: 79px;
  background-color: #283593;
  z-index: 15;
}

#player6 {
  left: 94px;
  background-color: #faa6ec;
  color: #961937;
  z-index: 16;
}

#player7 {
  left: 109px;
  background-color: #f1c40f;
  color: #000;
  z-index: 17;
}

/* --------------------------------- BUTTON BOX ---------------------------------------------*/
#playerBox {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  width: 200px;
  height: 700px;
  margin: 0 60px 0 0;
}

#playerBox input {
  margin-bottom: 20px;
}

#playerBox h3 {
  text-align: right;
  background-image: url("/img/boardgames/dice.png");
  background-repeat: no-repeat;
  background-position: left center;
  margin-top: 0;
  width: 100%;
  line-height: 26px;
  font-size: 26px;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #333;
}

#playerBox input[type="button"] {
  cursor: pointer;
  font-size: 24px;
  font-weight: 700;
  padding: 11px 39px;
  width: 100%;
  border: 1px solid white;
}

#playerBox input[type="button"]:active {
  box-shadow: 0 2px 4px rgba(119, 136, 153, 0.3);
}

#playerBox input[type="button"]:hover {
  border: 1px solid black;
}

#playerBox input[type="button"]:disabled {
  background-color: lightgrey;
  color: white;
}

#playerBox input[type="button"] input[type="button"]#playerButton8 {
  color: #333;
}

.select {
  width: 190px;
  font-size: 18px;
}

#playerButton0 {
  background-color: cornflowerblue;
  color: #fff;
}

#playerButton1 {
  background-color: #c0392b;
  color: #fff;
}

#playerButton2 {
  background-color: #4caf50;
  color: #fff;
}

#playerButton3 {
  background-color: #ff6f00;
  color: #fff;
}

#playerButton4 {
  background-color: black;
  color: #fff;
}

#playerButton5 {
  background-color: #283593;
  color: #fff;
}

#playerButton6 {
  background-color: #faa6ec;
  color: #961937;
}

#playerButton7 {
  background-color: #f1c40f;
  color: black;
}

#playerButton8 {
  margin-top: 20px;
  border: 2px solid #333 !important;
  background-color: #eee;
  color: #333;
}

/*  ------------------ Create --------------------*/
.bg_createContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 30px;
  width: 100%;
}

.formBox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.textButton {
  font-size: 16px;
  color: blue;
}

div.bg_createGamespace {
  padding: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
}

div.bg_createGamespace textarea {
  width: 140;
  height: 120px;
  border: 1px solid cornflowerblue;
  resize: none;
  font-size: 18px;
}

div.bg_createGamespace p {
  word-wrap: break-word;
  padding: 0;
  margin: 0;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -1;
  line-height: 1.2em;
  margin-bottom: 3px;
}
/*# sourceMappingURL=boardgame_game.css.map */