/* style.css */

/* Begin HTML element styling */
* {
  color:#ccc;
  font-family:Arial;
  font-size:3vh;
}

html {
  height:100%;
}

body {
  background-color:#333;
  margin:0;
  max-height:100%;
  overflow:hidden;
}

p {
  margin:1vh;
}

a {
  font-family:'Poiret One', cursive;
  text-decoration:none;
  color:#888;
}

a:hover {
  color:#fff;
}

/* End HTML element styling */


/* Begin IDs */

#title {
  font-size:11vh;
  margin:3vh auto 5vh;
}

#about {
  font-size:2.5vh;
  margin:2vh;
}

#container {
  margin:0 auto;
  overflow:hidden;
  width:65vh;
}

#box {
  background-color:#333;
  overflow:hidden;
  height:72vh;
}

#level {
  font-size:3.5vh;
}

#loader {
  height:69vh;
  text-align:center;
}

#loader p {
  font-family:'Poiret One', cursive;
}

#image-container {
  position:relative;
  top:50%;
  -webkit-transform:translateY(-50%);
  -ms-transform:translateY(-50%);
  transform:translateY(-50%);
}

#board {
  border-spacing:0;
  margin:0 auto;
  display:none;
}

#overlay {
  position:relative;
  min-height:65vh;
/*  width:351px;
  padding:15px; */
  margin:0 auto;
  text-align:center;
  overflow: auto;
  display:none;
}

#overlay h1 {
  color:#bbb;
  padding:3vh;
  font-family:'Poiret One', cursive;
  font-size:5vh;
}

#overlay #holder {
  position:absolute;
  bottom:30px;
  left:0px;
  width:100%;
}

#overlay p {
  padding:10px;
  color:#ddd;
  font-family:'Poiret One', sans-serif;
}

#overlay button {
	-moz-box-shadow:inset 0px 1px 0px 0px #b3b3b3;
	-webkit-box-shadow:inset 0px 1px 0px 0px #b3b3b3;
	box-shadow:inset 0px 1px 0px 0px #b3b3b3;
	background-color:#707070;
	-webkit-border-top-left-radius:0px;
	-moz-border-radius-topleft:0px;
	border-top-left-radius:0px;
	-webkit-border-top-right-radius:0px;
	-moz-border-radius-topright:0px;
	border-top-right-radius:0px;
	-webkit-border-bottom-right-radius:0px;
	-moz-border-radius-bottomright:0px;
	border-bottom-right-radius:0px;
	-webkit-border-bottom-left-radius:0px;
	-moz-border-radius-bottomleft:0px;
	border-bottom-left-radius:0px;
	text-indent:0;
	border:1px solid #000000;
	display:inline-block;
	color:#ffffff;
	font-family:Arial;
	font-size:3vh;
	font-weight:bold;
	font-style:normal;
	height:10vh;
  min-width:26vh;
	line-height:2.4vh;
	text-decoration:none;
	text-align:center;
	text-shadow:1px 1px 0px #2e4d6b;
}

#overlay button:hover {
	background-color:#3e474f;
}

#overlay button:active, .active {
  bottom:10vh;
}
/* This button was generated using CSSButtonGenerator.com */

#overlay #content {
  color:#ddd;
  font-size:4vh;
  font-family:'Poiret One', sans-serif;
}
/* End IDs */

/* Begin Classes */
.cell {
  font-family: 'Open Sans', sans-serif;
  font-size:6.6vh;
  color:#555;
  width:20vh; /* Not 120px because otherwise cells are different widths */
  height:20vh;
  background-color:#999;
  padding:0;
  border:1px solid #333;
  box-sizing:border-box;
}

.selected {
  /*background-color:#444;*/
  box-sizing:border-box;
  font-size:6.8vh;
  font-weight:bold;
  color:#fff;
}

.selected.white {
  color:#000;
}

.poiret {
  font-family: 'Poiret One', cursive;
}

.center {
  text-align:center;
}

.light {
  color:#ddd;
}

.black {
  background-color:#333;
}

.white {
  background-color:#ccc;
}

.left {
  text-align:left;
  float:left;
}

.right {
  text-align:right;
  float:right;
}

#selector {
  float: left;
  height:20vh;
  width:20vh;
  text-align: center;
  position:absolute;
  top:0;
  left:0;
}

.dSelected {
  border: 3px solid #227687;
  box-sizing:border-box;
  font-weight:bold;
  color:#fff;
  -moz-box-shadow: inset 0 0 10px #227687;
  -webkit-box-shadow: inset 0 0 10px #227687;
  box-shadow: inset 0 0 10px #227687;
  display:none;
}

#levelSelect {
  height:69vh;
  display:none;
  overflow-y:auto;
}

::-webkit-scrollbar {
  display:none;
}

/* for the level selection */
#levelSelect table {
  margin:0 auto;
  width:60vh;
  height:60vh;
}

#levelSelect td {
  font-family: 'Open Sans', sans-serif;
  font-size:4.2vh;
  color:#555;
  background-color:#999;
  padding:0;
  position: relative;
}

#levelSelect td .inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  overflow: hidden;
  line-height:4.2;
  color:#555;
}

#levelSelect td .inner:hover {
  border: 1px solid #227687;
  box-sizing:border-box;
  color:#fff;
  -moz-box-shadow: inset 0 0 10px #227687;
  -webkit-box-shadow: inset 0 0 10px #227687;
  box-shadow: inset 0 0 10px #227687;
  background-color:#555;
}

#levelSelect img {
  width: 100%;
  height: auto;
  border: 0;
  visibility: hidden;
  display:table-cell;
}