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

/**
* Styles for the puzzle
*/
#puzzle {
  padding: 15px 20px; /*sas*/
  margin: 30px 20px;
}

#puzzle div {
  width: 100%;
  margin: 0 auto;
}

/* style for each square in the puzzle */
#puzzle .puzzleSquare {
  height: 30px;
  width: 30px;
  text-transform: uppercase;
  background-color: white;
  border: 0px solid black;
  font: bold 1em sans-serif;
}

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

/* indicates when a square has been selected */
#puzzle .selected {
  border-radius: 5px;
  background-color: orange;
}

/* indicates that the square is part of a word that has been found */ 
#puzzle .found {
  border-radius: 0px;
  background-color: blue;
  color: white;
}

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

#puzzle .foundHMiddle {
  border-top:2px solid black;
  border-bottom:2px solid black;
}

#puzzle .foundVMiddle {
  border-left:2px solid black;
  border-right:2px solid black;
}

#puzzle .foundLeft {
  border-top:2px solid black;
  border-bottom:2px solid black;
  border-left:2px solid black;
}

#puzzle .foundRight {
  border-top:2px solid black;
  border-bottom:2px solid black;
  border-right:2px solid black;
}

#puzzle .foundBottom {
  border-bottom:2px solid black;
  border-left:2px solid black;
  border-right:2px solid black;
}

#puzzle .foundTop {
  border-top:2px solid black;
  border-left:2px solid black;
  border-right:2px solid black;
}

#puzzle .foundDiagonal {
  border-top:2px solid black;
  border-bottom:2px solid black;
  border-left:2px solid black;
  border-right:2px solid black;
}




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

/**
* Styles for the word list
*/
#words {
  padding-top: 20px;
  -moz-column-count: 3;
  -moz-column-gap: 20px;
  -webkit-column-count: 3;
  -webkit-column-gap: 20px;
  column-count: 3;
  column-gap: 20px;
  width: 550px;
  clear:both;
  margin: 11px 20px;
}

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

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

/* indicates that the word has been found */
#words .wordFound {
  text-decoration: line-through;
  font-weight: normal;
  color: gray;
}

/**
* Styles for the button
*/
#solve {
  margin: 0 30px;
}
#solve2 {
    margin: 0 30px;
    background: #000;
    width: 272px;
    height: 50px;
    color: #fff;
    font-size: 22px;
    margin: 5px 9%;
    text-align: center;
}
