#gameWrap {
	position: relative;
}

#debugStatus {
	position: absolute;
	bottom: 0;
	display: none;
}

#snowCanvas {
	width: 910px;
	height: 600px;
	cursor: none;
	margin: -5px;
}

.dialogPopover {
	border: 1px solid black;
	text-align: center;
	border-radius: 10px;
	box-shadow: -1px 1px 3px #666666;
}

#gameMenu {
	position: absolute;
	width: 90%;
	height: 75%;
	top: 20px;
	left: 3%;
	background: rgba(255,255,255,0.8);
	padding: 20px;
	z-index: 20;
}

.button {
	background-image: linear-gradient(to bottom, #fafcfc, #5ea18e);
	border-radius: 30px;
	color: black;
	font-size: 2em;
	font-weight: bold;
	font-variant: small-caps;
	border: 2px solid black;
	padding: 10px 20px;
	text-decoration: none;
	margin: 5px;
	cursor: pointer;
}

.button:hover {
	background-image: linear-gradient(to bottom, #fafcfc, #cee7f0);
}

.menuHeader {
	font-size: 2em;
	font-weight: bold;
}

#gameUI {
	position: absolute;
	width: 100%;
	height: 600px;
	top: 0;
	left: 0;
	pointer-events: none;
	font-family: Tahoma, Geneva, sans-serif;
	z-index: 10;
}

.uiElement {
	position: absolute;
	background: rgba(225, 225, 225, 0.8);
	margin: -5px;
}

.uiElement div {
	float: left;
}

.uiHint {
	clear: both;
}

#timerBox
{
	top: 0;
	right: 0;
	text-align: right;
	border-radius: 0 0 0 30px;
	min-width: 3em;
	padding: 0 2px 2px 10px;
}

#timerHint {
	width: 100%;
	text-align: right;
}

#timer {
	float: right;
	text-shadow: black 0px 1px 2px;
}

.timerPlain {
	font-size: 1.5em;
	font-weight: 700;
}

.timerGreen {
	font-size: 2em;
	color: green;
	font-weight: 500;
}

.timerYellow {
	font-size: 3em;
	color: yellow;
	font-weight: 700;
}

.timerRed {
	font-size: 4em;
	color: red;
	font-weight: 700;
}

#scoreBox {
	top: 0;
	left: 0;
	border-radius: 0 0 30px 0;
	padding: 0 10px 2px 2px;
}

#score {
	font-size: 2em;
	font-weight: bold;
}

#scoreHint {
	padding-right: 20px;
}

#hsBox {
	top: 4em;
	left: 0;
	border-radius: 0 10px 10px 0;
	padding: 0 10px 2px 2px;
}

#menuButton {
	display: none;
	pointer-events: auto;
	cursor: pointer;
	position:absolute;
	bottom: 0;
	left: 0;
	font-size: 1.5em;
	color: #b22222;
	font-variant: small-caps;
	font-weight: bold;
	padding: 2px 20px 2px 2px;
	border-radius: 0 30px 0 0;
	margin-bottom: 2px;
}

#menuButton.active {
	display: block;
}

#help {
	display: none;
	position: absolute;
	width: 400px;
	height: 300px;
	left: calc(50% - 200px);
	top: 10px;
	z-index: 50;
	background: white;
	padding: 20px;
}

#help p {
	margin: 10px;
}

#help.active {
	display: block;
}

#help .button {
	display: inline-block;
	position: absolute;
	bottom: 10px;
	left: calc(50% - 85px);
	width: 150px;
	text-align: center;
}

#endGame {
	display: none;
	position: absolute;
	top: 10px;
	left: calc(50% - 300px);
	width: 600px;
	height: 400px;
	z-index: 100;
	background: white;
}

#endGame .button {
	position: absolute;
	bottom: 5px;
	left: calc(50% - 50px);
	width: 100px;
	text-align: center;
}

#endGame .label {
	font-size: 2em;
	font-weight: bold;
	font-variant: small-caps;
}

#endGame .score {
	font-size: 3em;
	font-weight: bold;
	margin-bottom: 1em;
}

#endGame.active {
	display: block;
}

#prize {
	font-size: 1.5em;
}