@font-face {
    font-family: 'Chango';
    font-style: normal;
    font-weight: 400;
    src: local('Chango Regular'), local('Chango-Regular'), url(../fonts/chango.woff) format('woff');
}

body {
	background: #000000 url('../images/gray-brick-wall-texture.jpg') repeat;
	font-family: Arial;
	color: #FFFFFF;
	min-width: 320px;
	-webkit-text-size-adjust: none;
}

#menu {
	margin: 10px;
	text-align: center;
	width: 100%;
}

#gameArea {
    display: block;
    margin: 0 auto;
    width: 70%;
    float: left;
}

#gameAreaCanvas {
	background: url('../images/grid.png') 0 0px no-repeat;
	border: 3px ridge;
	outline: none;
	margin: 10px;
	float: left;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#nextShapeCanvas {
	border: 2px ridge;
	margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 0px;
    margin-right: 20px;
    float: left;
}

.score {
	margin: 10px;
    font-family: 'Chango', cursive;
    font-size: 16px;
}

#level {
	margin: 10px;
    font-family: 'Chango', cursive;
    font-size: 16px;
}

.highScore {
	margin: 10px;
    font-family: 'Chango', cursive;
    font-size: 11px;
}

#newHighScore {
	margin: 10px;
	padding: 5px;
	position: absolute;
	top: 25%;
	left: 15%;
	background: #699E21;
	opacity: 0.8;
	width: 30%;
	text-align: center;
	color: #FFFFFF;
	font-weight: bold;
	border:2px ridge;
	border-radius:10px;
	visibility: hidden;
}

#controller {
	margin: 10px;
	padding: 0 0 0 75px;
	outline: none;
	clear: both;
}

#controller area {
	outline: none;
}

#splash {
	margin: 0px;
	position: fixed;
	top: 0px;
	left: 0px;
	background: #FFFFFF;
	opacity: 0.9;
	width: 100%;
	height: 100%;
    visibility: hidden;
}

#about {
	margin: 10px;
	color: #000000;
}

#about img {
	margin: 5px;
	float: left;
	vertical-align: text-bottom;
}

#help {
	margin: 15px;
	color: #000000;
	text-align: justify;
	clear: both;
}

#help img {
	width: 24px;
	height: 24px;
	vertical-align: text-bottom;
}

#help table {
	margin: 15px;
}

#help th {
	text-align: center;
}

#help td {
	padding-right: 10px;
}

#continue {
	margin: 5px;
	color: #000000;
	text-align: center;
	clear: both;
}

#info {
    bottom: 20px;
    float: right;
    position: absolute;
    width: 95%;
}

#info img {
	margin: 10px;
	float: right;
}

#pauseCheckBox  {
	display: none;
}

#pauseCheckBox + label {
	background: url('../images/93.png') 0 0px no-repeat;
	height: 48px;
	width: 48px;
	display: inline-block;
	padding: 0 0 0 0px;
}
   
#pauseCheckBox:checked + label {
	background: url('../images/94.png') 0 0px no-repeat;
	height: 48px;
	width: 48px;
	display: inline-block;
	padding: 0 0 0 0px;
}

#pauseCheckBox:disabled + label {
	background: url('../images/93_grey.png') 0 0px no-repeat;
	height: 48px;
	width: 48px;
	display: inline-block;
	padding: 0 0 0 0px;
}

#soundCheckBox  {
	display: none;
}

#soundCheckBox + label {
	background: url('../images/17_nosound.png') 0 0px no-repeat;
	height: 48px;
	width: 48px;
	display: inline-block;
	padding: 0 0 0 0px;
}
   
#soundCheckBox:checked + label {
	background: url('../images/17.png') 0 0px no-repeat;
	height: 48px;
	width: 48px;
	display: inline-block;
	padding: 0 0 0 0px;
}

#chaosGameCheckBox  {
	display: none;
}

#chaosGameCheckBox + label {
	background: url('../images/37.png') 0 0px no-repeat;
	height: 48px;
	width: 48px;
	display: inline-block;
	padding: 0 0 0 0px;
}
   
#chaosGameCheckBox:checked + label {
	background: url('../images/39_chaos.png') 0 0px no-repeat;
	height: 48px;
	width: 48px;
	display: inline-block;
	padding: 0 0 0 0px;
}

#chaosGameCheckBox:disabled + label {
	background: url('../images/37_grey.png') 0 0px no-repeat;
	height: 48px;
	width: 48px;
	display: inline-block;
	padding: 0 0 0 0px;
}
   
#chaosGameCheckBox:checked:disabled  + label {
	background: url('../images/39_chaos_grey.png') 0 0px no-repeat;
	height: 48px;
	width: 48px;
	display: inline-block;
	padding: 0 0 0 0px;
}

#playGameCheckBox  {
	display: none;
}

#playGameCheckBox + label {
	background: url('../images/98.png') 0 0px no-repeat;
	height: 48px;
	width: 48px;
	display: inline-block;
	padding: 0 0 0 0px;
}
   
#playGameCheckBox:checked + label {
	background: url('../images/91.png') 0 0px no-repeat;
	height: 48px;
	width: 48px;
	display: inline-block;
	padding: 0 0 0 0px;
}

.styled-select {
	width: 40px;
	height: 34px;
	overflow: hidden;
	background: url('../images/down_arrow_select.png') no-repeat right #ddd;
    display: inline-block;
}

.styled-select select {
	background: transparent;
	width: 40px;
	padding: 5px;
	border: 1px solid #ccc;
	font-size: 16px;
	height: 34px;
	-webkit-appearance: none;
}

#images {
	display: none;
}
