/*
 * 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 {
	padding: 5px;
	border: 1px solid #222222;
	background-color: #DDDDFF;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* 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;
}

/* div wrapper which holds the puzzle pieces and the solution image */
.jqPuzzle .jqp-wrapper {
	padding: 2px;
	border: 1px solid #FFFFFF;
	background-color: #444455;
}

/* a single puzzle piece */
.jqPuzzle .jqp-piece {
	border: 1px solid #FFFFFF;
	color: #FFFFFF;
	font-size: 36px;
}

.jqPuzzle .jqp-piece:hover {
	border-style: dashed;
}

.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: 8px;
	padding: 3px 5px;
	border: 1px outset #FFFFFF;
	background-color: #777799;
	color: #FFFFFF;
	font-size: 12px;
	line-height: normal;
 	text-decoration: none;
	float: left;
}

.jqPuzzle .jqp-controls a:hover {
	background-color: #77B;
	background-color: #eda;
	color: black;
	cursor: pointer;
}


/* toggle/down state for buttons */
.jqPuzzle .jqp-controls a.jqp-toggle, 
.jqPuzzle .jqp-controls a.jqp-down {
	padding-left: 4px;
	padding-right: 6px;
	border-style: inset;
	background-color: #BBF;
}

/* disabled state for buttons */
.jqPuzzle .jqp-controls a.jqp-disabled {
	background-color: #DDE;
	color: #666666;
	cursor: default;
}

/* the area which holds the moves/seconds display */
.jqPuzzle .jqp-controls span {
	margin-top: 5px;
	padding: 2px 4px;
	padding-left: 0px;
	border: none;
	background-color: transparent;
	color: #666666;
	font-size: 14px;
	float: left;
}

/* disabled state for the display (non-shuffled puzzle) */
.jqPuzzle .jqp-controls span.jqp-disabled {
	color: #AAA;
}

/* solved state for the display (non-shuffled puzzle) */
.jqPuzzle.jqp-solved .jqp-controls span {
	padding: 1px 3px;
	border: 1px dotted #0F8F08;
	background-color: #9FEF86;
	color: #0F8F08;
}

/* a text field for the moves/seconds display */
.jqPuzzle .jqp-controls span input {
	margin: 0px 3px;
	padding: 3px;
	padding-bottom: 2px;
	border-style: none;
	background-color: #FFFFFF;
	color: #666666;
	font-weight: bold;
	text-align: right;
}

/* 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;
}

/*
Additional items added for use by page on Helen's Web
www.helenhollick.net
*/

ul.tabs
{
    padding: 1px 0;
    font-size: 0;
    margin:0;
    list-style-type: none;
    text-align: right; /*set to left, center, or right to align the tabs as desired*/
}
        
ul.tabs li
{
    display: inline;
    margin: 0;
    margin-right:6px; /*distance between tabs*/
}
        
ul.tabs li a
{
    font: normal 14px Arial;
    text-decoration: none;
    position: relative;
    padding: 1px 14px;
    border: 1px solid #B7B7B7;
    color: #000;
    background: white;
    border-radius: 3px 3px 0 0;
    outline:none;
}
        
ul.tabs li a:visited
{
    color: #000;
}
        
ul.tabs li a:hover
{
    background: #eda;
}
        
ul.tabs li.selected a, ul.tabs li.selected a:hover
{
    position: relative;
    top: 0px;
    background: #eda;
    border-bottom-color: #eda;
}
        
        
ul.tabs li.selected a:hover
{
    text-decoration: none;
    background: #eda;
}
   

div.tabcontents
{
    border-top: 1px solid #B7B7B7; padding:10px 16px;
}

div.tabmask
{
	font-size:10px;
    text-decoration: none;
    position: relative;
    outline:none;
}


/*
Define classes allowing tab background to light up when reward earned.
*/

.tabs li a.white { background-color: #FFFFFF; }
.tabs li a.green { background-color: #C2FFAF; }
.tabs li a.red   { background-color: #CCFFFF;}


div.reward {
	position: absolute; 
	width: 575px; 
	height: 490px; 
	left:1px; 
	top:1px;
	background-repeat: repeat repeat;
	padding: 2px;
	background-color: #999999;
}


/* help button */
.jqPuzzle .jqp-controls .jqp-help{
	margin-top: 5px;
	margin-right: 8px;
	padding: 3px 5px;
	border: 1px outset #FFFFFF;
	background-color: #777799;
	color: #FFFFFF;
	font-size: 12px;
	line-height: normal;
	float: left;
}

.jq_animated {
	animation-duration			: 3s;
	-webkit-animation-duration	: 3s;
	}
	
@-webkit-keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
	}
	
@keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
	}
	
.jq_fadeIn {
	-webkit-animation-name: fadeIn;
	animation-name: fadeIn;
	}

ul.help {
/*    list-style: disc outside none;  */
	list-style-type: decimal;
    margin-left: 0; 
    padding-left: 1em;
}

 ul.help li {
    padding-left: 0.5em;
	padding-bottom: 5px;
}


div.viewer {
  position: absolute;
  top:19px; 
  left:0px; 
  width: 585px; 
  height:531px;
}

div.viewscreen {
 width: 579px; 
 height: 494px; 
}
