/*
 * jqPuzzle - Sliding Puzzles with jQuery
 * Default CSS theme
 * 
 * Copyright (c) 2008 Ralf Stoltze, http://www.2meter3.de/jqPuzzle/
 * Dual-licensed under the MIT and GPL licenses.
 *
 * Note that some CSS properties are set by the jqPuzzle script itself to make 
 * sure that the puzzle works properly. These properties will overwrite 
 * user-defined properties.
 * 
 * The class 'jqp-solved' is added to the outermost element when a puzzle is 
 * solved by the user. Use '.jqPuzzle.jqp-solved' to define different styles
 * for solved puzzles.
 */

/* outermost element which holds the full puzzle interface */
.jqPuzzle { }

/* only needed if external css rules set defaults for divs,
   this rule only resets the most common properties */
.jqPuzzle div {
	background-color: transparent;
	margin: 0px;
	padding: 0px;
	border-style: none;
	text-align:center;
}

/* div wrapper which holds the puzzle pieces and the solution image */
.jqPuzzle .jqp-wrapper {
	background-color: #DADADA;
	text-align:center;
}

/* a single puzzle piece */
.jqPuzzle .jqp-piece {
	border: 1px solid #000033;
	color: #fff;
	font-size: 36px;
}

.jqPuzzle .jqp-piece:hover {
	border-style: dashed;
	border-color:#ffffff;
}

.jqPuzzle.jqp-solved .jqp-piece:hover {
	border-style: solid;
}

/* the controls area which holds the buttons and the display */
.jqPuzzle .jqp-controls {
	float: left;
}

/* a button */
.jqPuzzle .jqp-controls a {
	margin-top: 5px;
	margin-right: 5px;
	padding: 3px;
	border: 1px outset #FFFFFF;
	background-color: #777777;
	color: #DADADA;
	font-size: 0.85em;
	line-height: normal;
	float: left;
}

.jqPuzzle .jqp-controls a:hover {
	background-color: #DADADA;
	color:#8B8B8B;
}

/* toggle/down state for buttons */
.jqPuzzle .jqp-controls a.jqp-toggle, 
.jqPuzzle .jqp-controls a.jqp-down {

	border-style: inset;
	background-color: #DADADA;
	color:#8B8B8B;
}

/* disabled state for buttons */
.jqPuzzle .jqp-controls a.jqp-disabled {
	background-color: #DADADA;
	color: #FFFFFF;
}

/* the area which holds the moves/seconds display */
.jqPuzzle .jqp-controls span {
	margin-left:35px;
	margin-top: 4px;
	border: none;
	background-color: transparent;
	color: #8B8B8B;
	float: left;
}

/* disabled state for the display (non-shuffled puzzle) */
.jqPuzzle .jqp-controls span.jqp-disabled {
	color: #AAAAAA;
}

/* solved state for the display (non-shuffled puzzle) */
.jqPuzzle.jqp-solved .jqp-controls span {
	padding: 1px 2px;
	border: 1px dotted #0F8F08;
	background-color: #9FEF86;
	color: #0F8F08;
}

/* a text field for the moves/seconds display */
.jqPuzzle .jqp-controls span input {
	margin-right: 2px;
	padding: 1px 2px;
	border-style: 1px solid #8B8B8B;
	background-color: #fff;
	color: #004080;
	text-align: right;
	font-size:0.95em;
}

/* disabled state for the text fields */
.jqPuzzle .jqp-controls span.jqp-disabled input {
	background-color: #EEEEFF;
	color: #AAAAAA;
}

/* solved state for the text fields */
.jqPuzzle.jqp-solved .jqp-controls span input {
	background-color: #C2FFAF;
	color: #444444;
}
