* {
	margin: 0px;
	padding: 0px;
}

html, body{
	height: 100%;
	width: 100%;
}

body {
	background-color: #ffffff;
	font-family: monospace;
	font-size:14px;
	line-height: 18px;
	margin: 0;
	padding: 0;
}

ol li {
	margin-left: 38px;
}

a {
	color: #000000;
}

a:hover {
	color: #888
}

a.invert {
	color: #fff;
}

a.invert:hover {
	color: #ccc;
}

img {
	border: 0
}

.phone {
	text-decoration: none;
}

a.btn {
	text-decoration: none;
}

a.disabled {
	cursor: default;
}

	a.disabled:hover {
		color: #000000;
	}

input.error {
	border: 1px solid red;
}

.btn {
	border-radius: 10px;
	padding: 4px 10px;
	background-color: #ececec;
	font-size: 16px;
}

.btn.active {
	background-color: #dc9203;
}

.btn.disabled {
	opacity: .5;
}

#bg {
	-webkit-transition: opacity 1s linear;
	-moz-transition: opacity 1s linear;
	-o-transition: opacity 1s linear;
	transition: opacity 1s linear;
	width: 100%;
	height: 100%;
	position: fixed;
	opacity: 0;
	display: none;
}
.sky {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cff1ff), to(#a4e4ff));
	background: -moz-linear-gradient(top,  #cff1ff,  #a4e4ff);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cff1ff', endColorstr='#a4e4ff');
}
.night {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#111), to(#222));
	background: -moz-linear-gradient(top,  #111,  #222);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#111', endColorstr='#222');
}

.night2 {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#333333), to(#666666));
	background: -moz-linear-gradient(top,  #333333,  #666666);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#666666');
}

#header {
	padding: 20px 0;
}

div#wrapper {
	-webkit-transition: opacity 1s linear;
	-moz-transition: opacity 1s linear;
	-o-transition: opacity 1s linear;
	transition: opacity 1s linear;
	min-height: 100%;
	position: relative;
}

div#content {
	padding-bottom: 140px;
	padding-left: 40px;
	/*width: 720px;*/
}

	div#content pre {
		max-width: 760px;
		white-space: pre-wrap;
		position: relative;
		z-index: 10;
	}

div#footer {
	width: 100%;
	height: 140px;
	position: absolute;
	bottom: 0px;
	display: none;
	overflow: hidden;
	min-width: 960px;
}

	div#footer a#play {
		padding-left: 40px;
		padding-top: 16px;
		padding-bottom: 20px;
		margin-top: 90px;
		display: block;
		position: relative;
		z-index: 40;
		background-color: #ececec;
		text-decoration: none;
	}

#game {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 640px;
}

#sound {
	display: none;
	position: absolute;
	left: 110px;
	bottom: 20px;
	border-radius: 20px;
	background-color: rgba(0, 0, 0, .75);
	z-index: 20;
	color: #fff;
	padding: 10px 20px 8px;
}

#timer {
	display: none;
	position: absolute;
	left: 20px;
	bottom: 20px;
	border-radius: 20px;
	background-color: rgba(0, 0, 0, .75);
	padding: 10px;
	z-index: 20;
	color: #fff;
}

#highscore {
	padding: 20px;
	color: #fff;
	width: 260px;

	-webkit-border-top-left-radius: 20px;
	-webkit-border-bottom-left-radius: 20px;
	-moz-border-radius-topleft: 20px;
	-moz-border-radius-bottomleft: 20px;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;

	position: absolute;
	right: 0;
	bottom: 32px;
	height: 360px;
	background-color: rgba(0, 0, 0, .75);

	opacity: 0;
	right: -260px;
}

	#highscore ol#scores {
		height: 200px;
		overflow: auto;
	}

#levelselect {
	border-radius: 20px;
	padding: 20px;
	color: #fff;
	width: 300px;
	height: auto;
	left: 50%;
	margin-left: -200px;
	bottom: 32px;
	background-color: rgba(0, 0, 0, .75);
	position: absolute;
	z-index: 20;
	display: none;
}
	#levelselect #congratulations {
		display: none;
	}

	#levelselect ul {
		height: 30px;
	}

	#levelselect li {
		list-style: none;
		float: left;
		margin: 5px;
		position: relative;
	}

	#levelselect h2 {
		margin: 0 0 15px;
	}

	#levelselect h3 {
		margin: 20px 0 10px;
	}

	#levelselect p {
		margin: 10px 0;
	}


@media (max-width: 760px) {
	div#content {
		padding-left: 20px;
		padding-right: 20px;
	}
	div#content pre {
		white-space: pre-line;
	}
	.phone {
		text-decoration: underline;
	}
	.sm-break {
		display: block;
	}
}
