@font-face {
	font-family: panel;
	src: url("font/dearborn.ttf");
}
@font-face {
	font-family: lcd;
	src: url("font/digital7mono.ttf"); /* LiquidCrystal-NormalItalic.otf"); */
}


/* @group Blink */
.blink {
	-webkit-animation: blink .75s linear infinite;
	-moz-animation: blink .75s linear infinite;
	-ms-animation: blink .75s linear infinite;
	-o-animation: blink .75s linear infinite;
	 animation: blink .75s linear infinite;
}
@-webkit-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@-moz-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@-ms-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@-o-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}

body {
	background-color: #000000;
	color: #ffffff;
	font-family: panel, monospace;
	font-size: 10pt;
}
body.portrait {
	font-size: 8pt;
}

img#timetravel_banner {
	display: block;
	width: 80%;
	margin: 0 auto;
}

div#splash {
	width: 80%;
	margin: 0 auto;
}
div#splash p {
	text-align: center;
	color: #ffcc00;
}
div#splash p#future_self {
	color: #ffffff;
	font-weight: bold;
}
div#splash p img {
	height: 16px;
	width: 16px;
	vertical-align: middle;
}
div#splashchars {
	width: 100%;
	text-align: center;
}
div#splashchars img {
	padding: 4px;
}
div#meetchar_choose {
	width: 100%;
	text-align: center;
}
div#meet_chars {
	border: 2px solid #ffcc00;
	border-radius: 16px;
	padding-left: 16px;
	padding-right: 16px;
	padding-bottom: 8px;
}
div#meet_chars p {
	
}
span#meet_chars_header {
	font-size: 18px;
	font-weight: bold;
}
div#meet_chars p#name {
	text-align: left;
}
div#meet_chars p#description {
	text-align: left;
}
div#splash div#meetchar_choose img {
	height: 32px;
	vertical-align: middle;
	cursor: hand;
}
div#splash div#meetchar_choose img.selected {
	padding: 2px;
	border: 2px solid #ffcc99;
}
p#name {
	text-transform: uppercase;
}

img#meetchar_pic {
	height: 64px;
	float: left;
	padding-right: 16px;
}

button#ok_splash {
	font-size: 24pt;
	border-radius: 8px;
	padding-left: 8px;
	padding-right: 8px;
}

p.blurb {
	font-size: 9px;
	text-align: left;
}
body.portrait p.blurb {
	display: none;
}

div#game {
	display: none;
	top: -8px;
}

canvas#sokoCanvas {
	display: block;
	width: 576px;
	height: 256px;
	margin: 0 auto;
}
body.portrait canvas#sokoCanvas {

}
div#gameTime {
	margin-top: 8px;
	font-family: lcd;
	text-align: center;
	font-size: 48px;
	color: #33ff33;
}
body.portrait div#gameTime {
	margin-top: 2px;
	font-size: 18pt;
}
div#levelContainer {
	display: block;
	color: #ffcc00;
	margin: 0 auto;
	text-align: center;
	font-size: 14pt;
}
body.portrait div#levelContainer {
	font-size: 12pt;
}
div#levelNo {
	font-size: 24pt;
}
div#level_menu {
	text-align: center;
}
p#or_select_level {
	margin-bottom: 1px;
}
button.start_level {
	font-family: lcd;
	display: inline-block;
	font-size: 12pt;
	border: 1px solid #ff9900;
	vertical-align: middle;
}
button.start_level:hover {
	color: #000000 !important;
}
button.start_level.finished {
	color: #33ff33;
	border-color: #33ff33;
	cursor: pointer;
}
button.start_level.next {
	color: #ff9900;
	border: 2px solid #ff9900;
	font-weight: bold;
	font-size: 14pt;
	cursor: pointer;
}
button.start_level.unready {
	color: #ff3333;
	border-color: #ff3333;
	cursor: not-allowed;
}
body.landscape div.timeContainer {
	min-width: 100px;
	min-height: 76px;
}
div#subjTimeContainer {
	display: inline-block;
	color: #ff3333;
}
div#absTimeContainer {
	display: inline-block;
	color: #33ff33;
}
/* div#absTime {
	font-style: italic;
}
div#subjTime {
	font-style: italic;
}
div#depTime {
	font-style: italic;
} */
div#depTimeContainer {
	display: inline-block;
	color: #ffff33;
}
body.landscape div.timeLabel {
	min-width: 160px;
}
div.timeLabel {
	display: inline-block;
	padding-left: 1em;
	padding-right: 1em;
	margin-bottom: 4px;
	background-color: #333333;
	font-size: 10pt;
	font-family: panel;
}
body.portrait div.timeLabel {
	width: 90%;
	font-size: 8pt;
	padding-left: 8px;
	padding-right: 8px;
}
div.timeLabel.level {
	min-width: 50px;
	background-color: #000000;
	padding-left: 0;
	padding-right: 0;
}
div#paradox {
	font-family: lcd;
	text-align: center;
	font-size: 48px;
	color: #ff3333;
	min-height: 76px;
}
div#welldone {
	font-family: lcd;
	text-align: center;
	font-size: 48px;
	padding-top: 14px;
	min-height: 76px;
	color: #33ff33;
}
div#restart_undo {
	font-family: lcd;
	color: #33ff33;
	text-align: center;
	font-size: 18px;
}
div#intro {
	display: none;
	vertical-align: top;
	position: absolute;
	top: 4px;
	left: 4px;
	width: 90%;
	min-height: 80%;
	border: 2px solid #ffcc00;
	border-radius: 8px;
	padding: 8px;
	text-align: center;
	color: #ffcc00;
	font-size: 12pt;
	background-color: #000000;
}
div#intro div {
	display: inline-block;
	vertical-align: top;
	border: 2px solid #ffcc00;
	border-radius: 8px;
	padding: 8px;
	margin: 6px;
	text-align: center;
}
div#intro div.intro_column {
	border: 0;
	display: inline-block;
	width: 40%;
}
body.portrait div#intro div.intro_column {
	display: block;
	width: 80%;
	margin: 0 auto;
}
div#intro p img {
	width: 16px;
	height: 16px;
	vertical-align: middle;
}
div#intro div {
	vertical-align: middle;
}
div.warpdemo {
	display: inline-block;
	width: 30%;
	font-size: 10pt;
	border: 1px solid #ffcc00 !important;
	vertical-align: middle;
}
div.warpdemo img {
	width: 48px;
	height: 48px;
}
span.keys {
	padding: 4px;
	border: 1px solid #ffcc00;
	display: inline-block;
	border-radius: 4px;
	margin: 4px 0 4px 0;
}
button#ok_intro {
	font-size: 36pt;
	margin-top: 6px;
	padding-left: 32px;
	padding-right: 32px;
	border-radius: 16px;
}
body.portrait button#ok_intro {
	font-size: 18pt;
	padding-left: 16px;
	padding-right: 16px;
}
span.box_header {
	font-size: 18px;
	text-decoration: underline;
}
p.intro_header {
	font-size: 36px;
	font-weight: bold;
	margin-top: 0px;
	margin-bottom: 0px;
}
sup {
	font-size: medium;
}
sub {
	font-size: medium;
}

button {
	cursor: pointer;
	font-family: panel;
	color: #ffcc00;
	background-color: #000000;
	padding: 4px;
	border: 2px solid #ffcc00;
	border-radius: 4px;
	display: block;
	margin: 0 auto;
	text-align: center;
}
button:hover {
	color: #000000;
	background-color: #ffcc00;
}
button#back_to_menu {
	font-size: 10pt;
}

div#winnar {
	display: none;
	text-align: center;
	border: 2px solid #ffcc00;
	padding: 16px;
	border-radius: 16px;
	font-size: 24pt;
	background-color: #000000;
	color: #ffcc00;
}
body.portrait div#winnar img {
	width: 80%;
	font-size: 16pt;
}
body.landscape div#winnar img {
	height: 128px;
}
div#credits {
	font-size: 12pt;
	text-align: center;
	text-transform: uppercase;
}
span#role {
	padding-right: 1em;
}
span#role:after {
	content: ":";
}
span#person {
}
p#congrats {
	font-size: 48pt;
	background-color: #000000;
	color: #ffff00;
	padding-bottom: 0px;
	margin-bottom: 0px;
}
body.portrait p#congrats {
	font-size: 20pt;
}
p#repaired {
	background-color: #000000;
}
div#winnar button {
	font-size: 24pt;
	border-radius: 16px;
	padding-left: 32px;
	padding-right: 32px;
	margin-top: 18px;
}
input {
	vertical-align: middle;
}

body.landscape div#d_pad {
	display: none;
	position: fixed;
	height: 20%;
	top: 50%;
	left: 80%;
	width: 20%;
	opacity: 0.5;
}
body.portrait div#d_pad {
	display: none;
	text-align: center;
	position: fixed;
	width: 100%;
	top: 60%;
	margin: 0 auto;
	opacity: 1;
}
div#d_pad table {
	margin: 0 auto;
}
div#d_pad img {
	width: 50px;
	height: 50px;
	border: 2px solid #ffcc00;
	border-radius: 4px;
	cursor: pointer;
}
div#d_pad img:hover {
	background-color: #cc9900;
}
tr#undo_restart img {
	margin-top: 16px;
}

