/**
* 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/med_tiled_bg.gif);
	background-position:left top;
	background-repeat: repeat;
	position: relative;
	transform-origin: 0 0;
	width:300%;
	height:2000px;
	color:#333;
	background-color: #396;
	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 0px 10px 10px;
	overflow:hidden;
}
#GameContent a{color:#FFF;font-family: Arial, Verdana, Helvetica, sans-serif;
}
#GameContent p{font-family: Arial, Verdana, Helvetica, sans-serif;
 color:#FFF;}
#PuzzleImage{ position: absolute; left:0px; top:0px;
	padding: 0px 0px 0px 0px;
	float:left;z-index:19;width: 300px;display:none;}

#StartButton{position:relative;
	width: 450px;
	padding: 10px 20px 10px 10px;
	float:right; z-index:20;
}
#StartText{ display:none;}
#mainpuzzle {clear: both; 
  /*margin: 0 auto;max-width: 60rem;*/
  width: 100%;
  
  border: 0px solid red;
  text-align: left; /* to center #puzzle on small devices */
  display: none;
}
@media only screen and (min-width: 600px) {
  #mainpuzzle {clear: both;
    text-align: left;
	width: 100%;
  }
  #PuzzleImage{display:block;}
}

/**
* Styles for the puzzle
*/
#puzzle {position:relative;
  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: 6.8vw;
  width: 6.8vw;font: 4.3vw sans-serif;
  text-transform: uppercase;*/
  height: 36px;
  width: 36px;
  font: 20px 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: 42px;
    width: 42px;
    font: 28px 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: #008282;
	color: white;
}

#puzzle .solved {
  background-color: purple;
  color: white;
}

/* indicates that all words have been found */
#puzzle .complete {
	background-color: #00EAEA;
}

/**
* 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: 10px;
  }
}*/

#words li {
	max-width: 156px;
	padding: 3px 0;
	font: 1em sans-serif;
	float: left;
}

.word {width: 150px;border: 0px solid black;font-size: 1em;}

/* indicates that the word has been found */
.wordFound {
  text-decoration: line-through;
  color: gray;
}

/**
* 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:#00EAEA;
}
#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: 30px; top:10px; width:350px; height: 340px; border:#00EAEA solid 4px; background-color:#008282; border-radius: 10px; padding:10px 5px 5px 5px;z-index:70; display:none;box-shadow: 4px 4px 8px #333;}
	
#exitbutton{position: absolute; display:none; float:right; z-index:60; right:20px; top:20px;}

h3{color:#FFF;}