/*
* {
  margin: 0;
  padding: 0;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.col {
  display: flex;
  flex-direction: column;
}

.fill {
  flex: 1 1 auto;
}

.btn {
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  background-color: #C00;
  color: #FFF;
}

div.btn {
  font-size: larger;
  padding: 5px;
}

span.btn {
  color: inherit;
  background-color: inherit;
  padding: 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #000;
  position: relative;
  top: 1px;
}

.cell {
  background-color: #626262;
  color: #CFE0CE;
  text-align: center;
  0margin: 1px;

  background-color: #FFF;
  color: #000;
  border: 2px solid rgba(0,0,0,0.2);
}




html,body {
  height: 100%;
}

body {
  padding: 0;
  background-color: #CFE0CE;
  font-family: "Source Code Pro", serif;
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #626262;
  background: #FFF;
}

#container {
  height: 100%;
  background: #FFF;
}

#game {
  height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overflow: hidden;
}

#game * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#game > * {
  margin: 0 0 10px 0;
}

#game p.label {
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
}






#game #board {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

#game #board .label {
  flex: 1 1 auto;
}

#game #board .btn {
  float: right;
  color: #C00;
  border-color: #C00;
  font-size: smaller;
}

#game #board #cells {
  flex: 1 1 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#game #board #cells > .row {
  flex: 1 1 auto;
}

#game #board .cell {
  cursor: pointer;
}

#game #ui {
  display: flex;
  flex-direction: row;
}

#game #ui .btn#spin {
  flex: 1 1 auto;
  background-color: #C00;
  color: #FFF;
  border: 2px solid rgba(0,0,0,0.2);

  background-color: inherit;
  color: #626262;
  border-color: #626262;
}











#game #board p.title {
  display: inline-block;
}

#game #board .cell {
  font-size: 1rem;
  margin: 1px;
  width: calc(100%/6 - 2px);
  line-height: 0.9;
  flex: 1 1 auto;
}

#game #board div.cell.no-color {
  line-height: 16px;
}

#game #board .cell .outcome {
  flex: 1 1 auto;
}

#game #board .cell .bet {
  flex: 1 1 auto;
}

#game #ui .btn {
  margin-right: 5px;
}
#game #ui .btn:last-child {
  margin-right: 0;
}
*/








/* monochrome */

* {
  box-sizing: border-box;
}

html,body {
  height: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
}

#container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #FFFFF8;
}

#game {
  height: 100%;
}
@media (min-width: 500px) {
  #game {
    max-width: 500px;
    max-height: 750px;
  }
}

#game * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#game table {
  width: 100%;
  height: 100%;
  font-size: 1rem;
  border-collapse: separate;
  border-spacing: 0px;
  table-layout:fixed;
}

#game table tr {
}

#game table td {
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid #4F463E;
  position: relative;
  width: 20%;
  -webkit-tap-highlight-color:  rgba(255, 255, 255, 0);
}

#game table td:first-child {
  0border-left-width: 0;
}
#game table tr:first-child td {
  0border-top-width: 0;
}
#game table td:last-child {
  0border-right-width: 0;
}
#game table tr:last-child td {
  0border-bottom-width: 0;
}

#game table td.history {
  background-color: #EEE;
  text-align: left;
  padding: 0 2px;
}

#game table td.history .spin {
  display: inline-block;
  margin: 0 1px;
  width: 20px;
  text-align: center;
  padding: 1px;
  border: 1px solid #EEE;


  font-size: 1rem;
  padding: 0;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
}

#game table td.history .spin.red {
  background: #C00;
  color: #EEE;
}
#game table td.history .spin.black {
  background: #000;
  color: #EEE;
}
#game table td.history .spin.green {
  background: #0A0;
  color: #EEE;
}

#game table td#cash {
  text-align: right;
  font-size: 1.5rem;
  padding-right: 7px;
  background-color: #4F463E;
  color: #EEE;
  background-color: #CCC;
  color: #4F463E;
}

#game table td .chips {
  font-size: 0.9rem;
  padding: 1px;
  position: absolute;
  right: 2px;
  bottom: 0px;
}

#game table td .chips.zero {
  opacity: 0;
}

#game table .btn {
  display: table-cell;
  font-size: 1.5rem;
}

#game table td, #game table .btn {
  color: #4F463E;
  background: #EEE;
}

#game table td.with-chips {
  background: #007DC5;
  color: #EEE;
}

#game table .void {
  background-color: #4F463E;
  color: #EEE;
  cursor: inherit;
}

#game table .label {
  font-size: 1.2rem;
  background-color: #4F463E;
  color: #EEE;
  cursor: inherit;
}

#game table .black {
  color: #EEE;
  background-color: #4F463E;
}

#game table .black.with-chips {
  color: #EEE;
  background-color: #000;
}

#game table .red {
  color: #4F463E;
  background-color: #CCC;
}

#game table .red.with-chips {
  color: #EEE;
  background-color: #C00;
}

#game table .green {
  background-color: #EEE;
  color: #4F463E;
}

#game table .green.with-chips {
  background-color: #0A0;
  color: #EEE;
}


/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (min-width: 750px) {}

/* Larger than desktop */
@media (min-width: 1000px) {}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}
