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

p {
  font: 22pt sans-serif;
  margin: 20px 20px 0px 20px;
  font-weight: bold;
}

/**
* Styles for the puzzle
*/
#puzzle {
/*  border: 1px solid black;*/
  padding: 20px;
  font-weight: bold;
  float: left;
  margin: 30px 20px;
  opacity: 1.5;
}

#puzzle div {
  width: 100%;
  margin: 0 auto;
  font-size: 80%;
}

/* style for each square in the puzzle */
#puzzle .puzzleSquare {
  opacity: 1.5;
  font-weight: bold;
  height: 30px;
  width: 30px;
  text-transform: uppercase;
  background-color: transparent;
  opacity: 0.8;
  border: 0;
  font: 20px sans-serif;
}

button::-moz-focus-inner {
  border: 0;
}

/* indicates when a square has been selected */
#puzzle .selected {
  background-color: #ec7f2e;
  font-weight: bold;
}

/* indicates that the square is part of a word that has been found */ 
#puzzle .found {
  background-color: #345cdd;
  font-weight: bold;
  color: white;
}

#puzzle .solved {
  background-color: purple;
  color: white;
}

/* indicates that all words have been found */
#puzzle .complete {
  background-color: #399230;
}

/**
* Styles for the word list
*/
#words {
  padding-top: 20px;
  -moz-column-count: 2;
  -moz-column-gap: 20px;
  -webkit-column-count: 2;
  -webkit-column-gap: 20px;
  column-count: 2;
  column-gap: 20px;
  width: 500px;
  opacity: 1.5;
  font-size: 130%;
  font-weight: bolder;
}

#words ul {
  list-style-type: none;
}

#words li {
  padding: 3px 0;
  font: 1em sans-serif;
}

/* indicates that the word has been found */
#words .wordFound {
  text-decoration: line-through;
  color: seagreen;
  opacity: 1.5;
  font-size: 130%;
  font-weight: bold;
}

/**
* Styles for the button
*/
#solve {
  margin: 0 30px;
}
