/* 
    Document   : style
    Created on : 07-Mar-2013, 15:08:57
    Author     : Ray Hammond
    Description:
        CSS styles for a matching game written using HTML5.
*/

root { 
    display: block;
}

body {
	background-color: #faf8ef;
	margin: 20px 0px 0px 0px;
}

body article#game {
	width: 570px;
	margin: 0 auto;
}

header div {
	height: 64px;
	font-size: 18px;
	color: #a67900;
	padding-top: 15px;
}

#board {
	padding-top: 10px;
    width: 570px;
    height: 450px;
	background-color: rgb(228, 223, 208);
}

header div {
	text-align: center;
	font-family: 'Cherry Swash', cursive;
	font-weight: 400;
	font-size: 30px;
	color: rgb(20, 166, 0);
}

footer div {
	font-family: 'Cherry Swash', cursive;
	font-weight: 400;
	color: rgb(20, 166, 0);
	padding-bottom: 10px;
	display: block;
}

#startGameButton
{
	font-family: 'Cherry Swash', cursive;
	font-weight: 400;
	color: rgb(20, 166, 0);
	padding-bottom: 10px;
	display: block;
}

.tile {
	float:left;
	width: 100px;
	height: 100px;
	margin-left: 10px;
	margin-bottom: 10px;
	border: 1px solid #cfcfcf;
	cursor: pointer;
}

.tile img {
	display: block;
	margin: 0 auto;
	padding-top: 25px;
	width: 50px;
}

.tileColor1 {
	 background-color: #FE2E2E;
}

.tileColor2 {
	 background-color: #00BFFF;
}

.tileColor3 {
	 background-color: #FFFF00;
}

.tileColor4 {
	 background-color: #FE9A2E;
}


.tileColor5 {
	 background-color: #82bd2d;
}


.ui {
	width: 602px;
	margin: 0 auto;
	padding-bottom: 20px;
    padding-top: 15px;
	overflow: hidden;
}

.ui h1 {
	text-align: center;
	font-size: 3em;
	font-weight: lighter;
	padding: 20px 0 10px;
	margin: 0;
	color: #fff;
	text-shadow: 0 0 20px #FFFFFF, 3px 3px 0px #000000;
}

.ui h1 strong {
	text-transform: uppercase;
	letter-spacing: -1px;
	font-weight: bolder;
}

.ui p {
font-family: 'Cherry Swash', cursive;
	float: left;
	background: rgb(228, 223, 208);
	border-radius: 10px;
	padding: 10px;
	margin: 5px 5px 0 0;
	font-size: 2em;
	line-height: 1;
	width: 550px;
	color: #000000;
}

.ui p span {
	font-weight: bold;
}


#gameOverMenu {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  -webkit-user-select: none;
}

#gameOverMenu {
  visibility: hidden;
}

.messagego {
	background: #faf8ef;
	border-radius: 15px;
	box-shadow: 3px 3px 1px rgba(0,0,0,0.25);
	position: absolute;
	top: 250px;
	left: 50%;
	height: 200px;
	width: 500px;
	padding: 30px 0;
	margin: 0 0 0 -265px;
	box-sizing: border-box;
	text-align: center;
}

.messagego ul,
.messagego li {
	display: inline-block;
	margin: 0;
	padding: 0;
}

.messagego a {
	display: block;
	font-size: 1em;
	padding: 20px;
	border: none;
	background: #ccc;
	border-radius: 10px;
	box-shadow: 3px 3px 1px rgba(0,0,0,0.15);
	color: #fff;
	font-weight: bold;
	text-shadow: 0 0 10px rgba(0,0,0,0.5);
	cursor: pointer;
}


.messagego .button {
	background-color: #2868C7;
}


.messagego h2 {
font-family: 'Cherry Swash', cursive;
	margin: 0;
	padding: 0 0 20px 0;
	text-align: center;
	font-size: 2em;
	color: #000000;
}

.message {
	background: #fff;
	border-radius: 15px;
	box-shadow: 3px 3px 1px rgba(0,0,0,0.25);
	position: absolute;
	top: 350px;
	left: 50%;
	height: 200px;
	width: 500px;
	padding: 30px 0;
	margin: 0 0 0 -250px;
	box-sizing: border-box;
	text-align: center;
	z-index: 99;
}

.message h2 {
	margin: 0;
	padding: 0 0 20px 0;
	text-align: center;
	font-size: 2em;
	color: #ccc;
}

.message ul,
.message li {
	display: inline-block;
	margin: 0;
	padding: 0;
}

.message button {
	display: block;
	font-size: 1em;
	padding: 20px;
	border: none;
	background: #ccc;
	border-radius: 10px;
	box-shadow: 3px 3px 1px rgba(0,0,0,0.15);
	color: #fff;
	font-weight: bold;
	text-shadow: 0 0 10px rgba(0,0,0,0.5);
	cursor: pointer;
}

.message .six {
	background-color: #25CF6B;
}
