
@font-face {
	font-family: terminal;
	src: url("dearborn.ttf");
}
@font-face {
	font-family: terminal_ie;
	src: url("dearborn.ttf"); /* should be eot */
}

body {
	background-color: #222222;
	color: #99ff77;
	font-family: terminal, terminal_ie, monospace;
}

a {
	color: #7799ff;
}
a:visited {
	color: #5577dd;
}
a:hover {
	color: #ffffff;
}

div#game {
	display: none;
}

div#start_screen {
	display: block;
	width: 90%;
	height: 88%;
	background-color: #000000;
	border: 2px solid #99ff77;
	border-radius: 32px;
	padding: 40px;
	margin: auto;
	text-align: center;
	font-size: 14pt;
}

h1 {
	font-size: 36pt;
	font-weight: normal;
	margin-bottom: 4px;
}
h2 {
	font-size: 16pt;
	font-weight: normal;
	margin-bottom: 4px;
	text-transform: uppercase;
	text-decoration: underline;
}

div.info {
	display: none;
	top: 5%;
	position: absolute;
	width:80%;
	background-color: #000000;
	border: 2px solid #99ff77;
	border-radius: 32px;
	padding: 40px;
	margin: auto;
}

div#message {
	display: none;
	
	position: absolute;
	
	width: 70%;
	margin: auto;
	padding: 32px;
	border: 2px solid #99ff77;
	border-radius: 16px;
	background-color: #000000;
	color: #99ff77;
	font-family: terminal, Courier New,Courier;
	font-size: 12pt;
}
span#to {
	color: #ffffff;
}
span#from {
	color: #ffffff;
}
span#subject {
	color: #ffffff;
}

div.start_screen_section {
	margin-top: 40px;	
}

div#start_buttons button {
	display: inline-block;
	min-height: 100px;
}

div.info button {
	min-width: 100px;
}

button {
	display: inline-block;
	margin: auto;
	margin-top: 16px;
	background-color: #000000;
	color: #99ff77;
	border: 2px solid #99ff77;
	border-radius: 4px;
	font-family: terminal, Courier New,Courier;
	font-size: 12pt;
	text-transform: uppercase;
	cursor: pointer;
}
button.ok {
	display: block;
	min-width: 100px;
}

button:hover {
	background-color: #99ff77;
	color: #000000;
}

div#arena_container {
	width: 80%;
}

table#arena {
	border: 2px solid #99ff77;
	width: 90%;
	margin: auto;
	background-color: #000000;
}
table#arena td {
	width: auto;
	height: auto;
	cursor: pointer; /* todo: dynamically change this to a directional pointer depending on position of hero */
}
table#arena img {
	width: 100%;
	height: 100%;
}
td.arrow {
	text-align: center;
	border: 1px solid #99ff77;
}

table#arena img.speechbubble {
	width: 71;
	height: 53;
}

div#control_panel {
	float: right;
	width: 20%;
	margin: auto;
	background-color: #000000;
	color: #99ff77;
	border: 2px solid #99ff77;
	border-radius: 8px;
	padding: 8px;
	margin-top: 4px;
	font-family: terminal, terminal_ie, Courier New, Courier;
	text-transform: uppercase;
}

#floor_description {
	font-size: 8pt;
}
#surviving_robots_display {
	font-size: 8pt;
}
#num_robot_models_display {
	font-size: 9pt;
}

div#control_panel button {
	display: inline-block;
}

div#short_message {
	display: block;
	width: 90%;
	text-transform: uppercase;
	font-size: 12pt;
	padding-left: 16px;
	margin-top: 8px;
	clear: left;
}

div#control_panel button {
	border: 2px solid #99ff77;
	border-radius: 4px;
	background-color: #000000;
	color: #99ff77;
	width: 40px;
	height: 40px;
	font-family: terminal, terminal_ie, Courier New, Courier;
	text-align: center;
	font-size: 30px;
	padding-left: 10px;
	cursor: pointer;
}
button#emp {
	margin-top: 4px;
}
div#control_panel button:hover {
	background-color: #99ff77;
	color: #000000;
}
button.empty {
	color: #004400 !important;
	border-color: #004400 !important;
	cursor: not-allowed !important;
}
button.empty:hover {
	background-color: #000000 !important;
	color: #004400 !important;
	cursor: not-allowed !important;
}

div#dir_pad button {
	padding-left: 4px;
	font-family: Sans;
}

div#dir_pad{
	min-width: 100px;
	min-height: 100px;
	padding: 8px;
	float: left;
	cell-spacing: 0;
}

div#dir_pad table {
	padding: 0;
	margin: 0;
	border: 0;
	cell-spacing: 0;
	border-collapse: collapse;
}
div#dir_pad td {
	padding: 0;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}
div#dir_pad button {
	padding: 0;
	margin: 0;
}

div#score_display {
	display: block;
}
span#score {
	font-size: 18pt;
}

div.cpl_section {
	display: block;
	margin-top: 4px;
}

div#level_display {
	display: block;
}
div#teleport_display {
	margin-top: 8px;
	clear: left;
	padding-top: 0;
	display: block;
}
div#teleport_display button {
	margin-top: 0;
}
div#safe_teleports_display {
	display: inline-block;
}
div#emp_display {
	clear: left;
	display: block;
	margin-top: 4px;
}
div#emp_display button {
	margin-top: 0;
}

span.option {
	display: inline-block;
}
div#control_panel span.option {
	display: block;
}
