@import url(https://fonts.googleapis.com/css?family=Roboto:700);
body {
  margin: 0;
  padding: 0;
  min-width: 300px;
}

.gheader {
  padding-top:20px;
}

.center {
  text-align:center;
}

.board {
  margin: auto;
  margin-top: 10px;
  margin-bottom: 5px;
  text-align: center;
  width: 92vw;
  max-width: 92vh;
  height: 92vh;
  max-height: 92vw;
}

#ga_game{
  overflow-y:auto;
}

.col-4 {width: 39%;display:inline-block;position:relative;float:left}
.col-8 {width: 60%;display:inline-block;position:relative;}

.newGameCtrl, .sizeCtrl, .messages {
    margin-left:20px;
  }

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
  [class*="col-"] {
    width: 100%;
  }
}

/*
@media screen and (max-width: 800px) {
  .board{
    max-width:700px;
    max-height:700px;
  }

  .newGameCtrl, .sizeCtrl, .messages {
    margin-left:20px;
  }
}

@media screen and (max-height: 800px) {
  .board{
    max-width: 700px;
    max-height: 700px;
  }
  .newGameCtrl, .sizeCtrl, .messages {
    margin-left:20px;
  }
}

@media screen and (min-width: 1300px) {
  .board{
    max-width: 700px;
    max-height: 700px;
  }
}

@media screen and (min-height: 760px) {
  .board{
    max-width: 700px;
    max-height: 700px;
  }
}
*/
.gmk {
  color:white;
  text-align: center;
}

.boardRow {
  width: 100%;
  border-bottom: 1px solid #000000;
  box-sizing: border-box;
}

.boardCol {
  height: 100%;
  background-color:#232323;
  float: left;
  border-radius: 3px;
  border-left: 1px solid #000000;
  box-sizing: border-box;
}

.boardCellCross {
  margin: auto;
  margin-top: 0.65%;
  width: 3px;
  height: 98.7%;
  background-color: #2ecc71;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  border-radius: 1.5px;
}
.boardCellCross:before {
  background-color: inherit;
  border-radius: inherit;
  height: inherit;
  width: inherit;
  position: absolute;
  content: "";
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.boardCellCircle {
  margin: 15%;
  width: 70%;
  height: 70%;
  border: 3px solid #e74c3c;
  border-radius: 50%;
  box-sizing: border-box;
}

.controls {
  height: 40px;
  margin: auto;
}

.newGameCtrl, .sizeCtrl, .messages {
  position: relative;
  display: inline-block;
  height: 100%;
  width: 40px;
}

.sizeCtrl, .messages {
  float: right;
}

.messages {
  width: 73.3333333333%;
  z-index: 0;
}

#check {
  display: none;
}

.newContainer {
  z-index: 10;
}

.newMain, .sizeScale, .messagesContainer {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10;
  display: table;
  text-align: center;
}

.newMain, .sizeScale {
  cursor: pointer;
  background-color: #2ecc71;
  border-radius: 50%;
}
.newMain:hover, .sizeScale:hover {
  background-color: #e74c3c;
}

.newMainText {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: #2c3e50;
  display: table-cell;
  vertical-align: middle;
}

.messagesContainer .newMainText {
  color: #2ecc71;
}

.messagesContainer .looseState {
  color: #e74c3c;
}

.newPlate {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.2s ease-in;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
}
.newPlate:hover {
  background-color: #34495e;
}

.newPlate:nth-of-type(1) {
  transition-delay: 0s;
}
.newPlate:nth-of-type(2) {
  transition-delay: 0.4s;
}
.newPlate:nth-of-type(3) {
  transition-delay: 0.2s;
}

#check:checked ~ .newMain + .newContainer .newPlate {
  opacity: 1;
}
#check:checked ~ .newMain + .newContainer .newPlate:nth-of-type(1) {
  left: 120%;
}
#check:checked ~ .newMain + .newContainer .newPlate:nth-of-type(2) {
  left: 360%;
}
#check:checked ~ .newMain + .newContainer .newPlate:nth-of-type(3) {
  left: 240%;
}
