select {
  appearance: none;
}

body {
  font: 1em 'Lucida Grande', Helvetica, Arial, sans-serif;
  border: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background-color: #eeeeee;
  line-height: 1.5em;
}

textarea:focus,
input:focus {
  outline: 0px !important;
}

textarea,
input[type='text'] {
  font: 1em 'Lucida Grande', Helvetica, Arial, sans-serif;
}

textarea {
  outline: 0px !important;
  appearance: none;
  overflow: hidden;
  box-sizing: border-box;
  resize: none;
  outline: none;
  line-height: 1.3em;
  height: 1.3em;
  width: 100%;
  padding: 0;
}

#chatForm div {
  margin-right: 4em;
  overflow: auto;
}

#chatButton {
  width: 4em;
  float: right;
}
th {
  color: gray;
  margin: 0 5px;
}

td {
  color: black;
  text-align: center;
  vertical-align: middle;
}

td span,
td img {
  vertical-align: middle;
  margin: 0 2px;
}

td.inactive {
  color: gray;
  font-style: italic;
}

td.dead {
  color: red;
  text-decoration: line-through;
}

td {
  padding: 1px;
}
tr.active {
  border: 1px solid red;
}

tr.winner {
  background-color: green;
}
/* Voor resolutie op IPAD1 */
#theContainer {
  width: 100%;
  display: none;
  font-size: 1rem;
  line-height: 1.5;
  position: relative;
}

/* bevat ameland canvas, en debugdivjes */
#gameContainer {
  display: none;
}

#gameContainer canvas {
  position: absolute;
  left: 0;
  top: 0;
}

#gameCanvas {
  z-index: 1;
}
#gameCanvasAnim {
  z-index: 2;
}

#gameCanvasLevee {
  z-index: 3;
}

#gameSettings {
  background-color: gray;
  position: absolute;
  width: 86%;
  padding: 2%;
  top: 5%;
  left: 5%;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
  z-index: 99;
  display: none;
}

#windContainer {
  border: 1px solid gray;
}
#wind {
  width: 50%;
  margin: 5% auto;
  position: relative;
  background-image: url(../svg/compass.svg);
  background-size: cover;
  background-position: 0px center;
  background-repeat: no-repeat;
}

#windArrow {
  width: 100%;
  z-index: 11;
}
/* table met gameSettings*/
.descriptive {
  text-align: right;
}

#gameRound ol {
  list-style-position: inside;
  list-style-type: none;
  overflow: auto; /* similar to clearing the floats... */
}

#gameRound ol li {
  float: left;
  margin: 0 3px 3px 0;
  counter-increment: customlistcounter;
}

#gameRound ol li:before {
  content: counter(customlistcounter) ' ';
  font-size: 1em;
  width: 20px;
  border: 1px solid gray;
  background-color: white;
  width: 12px;
  height: 12px;
  text-align: center;
  line-height: 12px;
  float: left;
}

#gameRound ol li:first-child {
  counter-reset: customlistcounter;
}

#gameRound ol li.active:before {
  background-color: red;
}

#gameRound ol li.done:before {
  background-color: blue;
}

table {
  width: 100%;
  /*table-layout:fixed;*/
}

.credit {
  background-image: url(../svg/credit.svg);
  background-size: 25px 25px;
  background-position: 0px center;
  background-repeat: no-repeat;
}

/*.leveeClaim{
	background-image: url(../svg/levee.svg);
}
.hexClaim{
	background-image: url(../svg/hex.svg);
}*/

#restartTimer,
#timeBar {
  padding: 0;
  height: 20px;
  width: 100%;
  position: relative;
}

.tdTime {
  position: relative;
  height: 30px;
}

.time {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: black;
  text-align: center;
}

.bar {
  width: 0%;
  height: 100%;
  background-color: #999999;
}

.bar.alarm {
  background-color: #ff0000;
}

#panels.inGame,
#inGameInfo {
  position: absolute;
  font-size: 1em;
}

#panels.inGame {
  width: 220px;
}

#inGameInfo {
  background: rgba(255, 255, 255, 0.5);
  top: 10%;
  width: 20%;
  right: 2%;
  z-index: 11;
}

#restartTimerInfo,
#turnInfo,
#gameInfo {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid gray;
  padding: 1%;
}

/* de knopjes links op het spelbord*/
#gameControlButtons input[type='image'] {
  width: 2em;
  height: 2em;
  padding: 0.1em;
}

#panels {
  top: 0%;
  z-index: 20;
  padding: 1%;
  box-sizing: border-box;
}

.randje {
  border: 1px solid blue;
}

/********/
/* CHAT */
/********/

#topBar {
  background-color: #ddd;
  vertical-align: middle;
  overflow: hidden;
}

#openGameTitle {
  font-weight: bolder;
}

.bold {
  font-weight: bolder;
}

#messages {
  height: 240px;
  overflow: auto;
  background-color: #ffffff;
}

#sendForm {
  display: inline-block;
}

#openGameList,
#usersInOpenGame {
  width: 10em;
  float: right;
  height: 280px;
  overflow: auto;
}

#usersInOpenGame {
  background: #ddd;
}

#openGameList.inGame {
  display: none;
}

#openGameList {
  background: #bb9999;
}

#usersInOpenGame p,
#openGameList p {
  padding: 0px;
  margin: 1%;
}
#openGameList p.game {
  cursor: pointer;
}
#openGameList p.game:hover {
  background-color: #ddd;
}

#startThisGameButton,
#leaveGameButton {
  display: none;
}

/************/
/* END CHAT */
/************/

/* Picknamediv */
#pickNameContainer {
  width: 90%;
  border: 1px solid black;
  margin: 5% auto 5% auto;
  font-size: 1em;
  line-height: 1.5;
}

#pickName {
  background-color: white;
  width: 90%;
  padding: 5%;
}

#pickNameTextInput {
  width: 50%;
}

.button {
  background: #eeeeee;
  color: #000000;
  cursor: pointer;
  border: 1px solid black;
  padding: 0.1% 0.7%;
  text-decoration: none;
  box-shadow: rgba(0, 0, 0, 0.4) 0rem 0.25rem 0.5rem;
}

.button:hover {
  border: gray 1px solid;
}

#newGameSettings {
  display: none;
  background-color: white;
  width: 100%;
  font-size: 1em;
  line-height: 1.5em;
}

#newGameSettings p {
  line-height: 1.5;
}

#newGameSettings input[type='radio'] {
}

#newGameSettings input[type='text'] {
  margin-left: 1%;
}

#newGameSettings div label {
  display: inline-block;
  line-height: 2;
}

form label {
  text-align: right;
  width: 60%;
}

li .name {
  font-weight: bold;
}
li .name:after {
  content: ': ';
}
li.msg {
}

li .stamp {
  float: right;
  vertical-align: top;
}

li .hidden {
  display: none;
}
@media all and (min-width: 50em) {
}
