/**
* Wordfind.js 0.0.1
* (c) 2012 Bill, BunKat LLC.
* Wordfind is freely distributable under the MIT license.
* For all details and documentation:
*     http://github.com/bunkat/wordfind
*/

/*body {
  font: 1em Arial;
}

p {
  font: 22pt sans-serif;
  margin: 20px 20px 0px 20px;
}

h1 {
  text-align: center; 
}*/
#GameBackground{
	clear: both;
	text-align:center;
	background-image:url(../../images/games/word-searches/sm_tiled_bg.gif);
	background-position:left top;
	background-repeat: repeat;
	position: relative;
	transform-origin: 0 0;
	width:300%;
	height:2000px;
	color:#333;
	background-color: #36C;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size:16px;
}
#GameContent{
	clear: both;
	text-align:center;
	position:relative;
	width:900px;
	height:510px;
	color:#FFF;
	padding: 10px 10px 10px 10px; overflow:hidden;
}
#GameContent a{color:#FFF;font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size:16px;}
#GameContent p{font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size:16px; color:#FFF;}
#PuzzleImage{ position: absolute; left:0px; top:0px;
	padding: 0px 0px 0px 0px;
	float:left;z-index:19;width: 300px;display:none;
	/*background-image:url(../../images/games/word-searches/sm_tile_angle.png);*/
}
/*@media screen and (max-width: 640px){
#PuzzleImage{
	display:none;
}	
}*/
#StartButton{position:relative;
	width: 450px;
	padding: 10px 20px 10px 10px;
	float:right; z-index:20;
	
}
#StartText{ display:none;}

#mainpuzzle {clear: both;overscroll-behavior-y: contain;
  /*margin: 0 auto;max-width: 60rem;
  width: 98%;*/
  
  border: 0px solid red;
  text-align: left; /* to center #puzzle on small devices */
  display: none;
}
#explaintext{float:left; clear:both; padding-top:10px; font-size:80%; display:none;}

@media only screen and (min-width: 600px) {
  #mainpuzzle {clear: both;
    text-align: left;
  }
  #PuzzleImage{display:block;}
}

/**
* Styles for the puzzle
*/
#puzzle {
  display: inline-block;
  border: 0px solid black;
  padding: 0px;
  float: left;
}

#puzzle > div { /* rows */
  margin: 0 auto;
}

/* style for each square in the puzzle */
.puzzleSquare {
  /*height: 8vw;
  width: 8vw;
  font: 5vw sans-serif;
  text-transform: uppercase;*/
  height: 65px;
    width: 65px;
    font: 55px sans-serif;
  background-color: white;
  border: 0;
  
  margin: 2px 2px 2px 2px;
}
/*@media only screen and (min-width: 600px) {
  #puzzle {
    float: left;
    padding: 0rem;
  }
  .puzzleSquare {
    height: 40px;
    width: 40px;
    font: 30px sans-serif;background-color: #EEE;
  }
}*/

/*button::-moz-focus-inner {
  border: 0;
}*/

/* indicates when a square has been selected */
#puzzle .selected {
	background-color: #CCC;
}

/* indicates that the square is part of a word that has been found */ 
#puzzle .found {
	background-color: #06C;
	color: white;
}

#puzzle .solved {
  background-color: purple;
  color: white;
}

/* indicates that all words have been found */
#puzzle .complete {
	background-color: #AAD5FF;
}

/**
* Styles for the word list
*/
#wordarea { padding: 0px 0px 0px 20px;
}
#words { 
  display: inline-block;
  max-width: 156px;
  padding: 0em;
  list-style-type: none;
  text-align: left;
  float:left;
}
/*@media only screen and (min-width: 600px) {
  #words {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
    column-gap: 0px;
  }
}*/

#words li { margin:0px;
	width: 156px;
	padding: 3px 0;
	float: left;
}

.word {width: 150px;border: 0px solid black;/*font-size: 100%;*/}

/* indicates that the word has been found */
.wordFound {
  text-decoration: line-through;
  color:#FFF;
  background-color:#666;
}

/**
* Styles for the controls
*/
#controls {
  display: inline-block;
  max-width: 1rem;
  padding: 1em;
  border: none;
  text-align: left;
}
label {
  white-space: nowrap;
  margin-top: 1em;
}

/*input {
  border: none;
  border-bottom: 1px solid #ccc;
  font-size: 1em;
}
input[type="number"] {
  width: 2rem;
}*/
select {
  max-width: 10rem;
}
#create-grid, #solve {
  display: block;
  margin-top: 1rem;
  width:140px;
  float:left;
  background-color:#AAD5FF;
}
#secret-word {
  /*text-transform: uppercase;*/
}

#result-message {
  font-size: 1.2em;
}

#titletext{display:none; color:#FC3; font-weight:bold; font-size:24px;}

#results{ position:absolute; 
    right: 40px; top:10px; width:350px; height: 340px; background-color:#06C; border-radius: 10px; border:#AAD5FF solid 4px; padding:10px 5px 5px 5px;z-index:120; display:none; color:#FFF; box-shadow: 4px 4px 8px #333;}
	
#exitbutton{position: absolute; display:none; float:right; z-index:60; right:20px; top:20px;}

h3{color:#FFF;}