/* 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;

  /* Begin disable text-selection */
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  user-select: none;
  /* End disable text-selection */
}

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 {
  color: white;
    font-family: Comic Sans MS;
    font-size: 5vh;
    font-weight: bold;
    margin-top: -1vh;
}

#container {
  margin:0 auto;
  width:55vh;
}

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

#level {
 color: white;
    font-family: Comic Sans MS;
    font-size: 6vh;
    font-weight: bold;
   
}

#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%);
}


/* The Tutorial overlay that shows on Level 1 of the game */
#introtutorial {
  background-image:url('../images/introtutorial.png');
  width:66vh;
  height:59vh;
  background-position: center center;
  background-size:contain;
  background-repeat:no-repeat;
  position: fixed;
  display:none;
  opacity:0.5;
}

/* A giant transparent overlay for swiping. It simplifies everything */
#swipeArea {
  width:66vh;
  height:59vh;
  background-position: center center;
  background-size:contain;
  background-repeat:no-repeat;
  position: fixed;
  z-index:99999999;
}

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

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

#overlay h1 {
    color: #fff;
    font-family: Tahoma,cursive;
    font-size: 5vh;
    font-weight: bold;
    padding: 3vh;
}

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

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

#overlay button {
	background-color: rgba(238, 228, 218, 0.4);
    border: 1px solid rgba(238, 228, 218, 0.5);
    border-radius: 15px;
    box-shadow: 0 1px 0 0 #b3b3b3 inset;
    color: #fff;
    display: inline-block;
    font-family: Arial;
    font-size: 3vh;
    font-style: normal;
    font-weight: bold;
    height: 10vh;
    line-height: 2.4vh;
    min-width: 26vh;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    text-shadow: 0 1px 0 #2e4d6b;
}

#overlay button:hover {
	opacity:0.8;
}

#overlay button:active, .active {
  bottom:10vh;
}


#overlay #content {
 color: #fff;
 font-family: "Trebuchet MS",sans-serif;
 font-size:4vh;
}
/* End IDs */

/* Begin Classes */
.cell {
  font-family: 'Open Sans', sans-serif;
  font-size:6.6vh;
  color:#fff;
  width:20vh; /* Not 120px because otherwise cells are different widths */
  height:20vh;
  background-color: rgba(238, 228, 218, 0.4);
  border: 2px solid rgba(238, 228, 218, 0.35);
  padding:0;
  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:#292929; /* one shade darker than #333 */
}

.white {
  background-color:#ccc;
}

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

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

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

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

.fb-like {
  position:absolute !important;
  bottom:20px;
  left:20px;
}

/* Hides the "flyout" comment box when Facebook like button is clicked */
.fb_edge_widget_with_comment span.fb_edge_comment_widget iframe.fb_ltr {
  display: none !important;
}