﻿/*
AD 320 - Tiling Puzzle, JavaScript exam

You should not modify this style sheet file.
*/

body {
	background-color: white;
	font-family: "Times New Roman";
	font-size: 14pt;
}

#controls, #overall, #puzzlearea {
	width: 400px;
}

#controls, .instructions {
	padding-top: 10px;
	text-align: center;
}

h1 {
	margin: 0px;
}

h2 {
	margin: 0px;
}

/* Used to center the puzzle. */
#overall {
	margin-left: auto;
	margin-right: auto;
}

/* The area that holds the 15 puzzle pieces. */
#puzzlearea {
	font-family: sans-serif;
	font-size: 32pt;
	height: 400px;
	margin-bottom: 10px;
	padding: 0px;
	position: relative;
}

/* This class should be applied to each of the 15 puzzle pieces. */
.puzzlepiece {
	background-repeat: no-repeat;
	border: 2px solid black;
	cursor: default;
	height: 96px;
	line-height: 96px;
	position: absolute;
	text-align: center;
	vertical-align: middle;
	width: 96px;
}

/* This indicates which piece will be moved. */
.puzzlepiece:hover {
	border-color: red;
	color: #009900;
	text-decoration: underline;
}

