body {
	background: #112;
	color: #3c9dd0;
	font-family: 'Raleway', sans-serif;
	font-size: 18px;
}
a {
	color: #3c9dd0;
}
::selection { background-color:transparent; }
h1 {
	margin-bottom: 30px;
}
#main_wrapper {
	position:fixed; left:0; top:0; right:0; bottom:0;
}
#main_canvas {
	width: 100%; height: 100%;
	background: linear-gradient(to bottom, #0A0A21 0%,#071547 100%);
}

.dialog {
	z-index:20;
	background-color: #034569;
	border-radius: 15px;
	opacity: 0.92;
}
.dialog.small {
	margin:auto;
	margin-top: 10%;
	width: 500px;
}
.dialog.big {
	margin:auto;
	margin-top: 10%;
	width: 1000px;
}
.dialog.full_page {
	width: 1000px;
	margin:auto;
	margin-top: 2%;
	height: 96%;
}
.dialog_title {
	padding-top: 10px;
	text-align: center;
	font-weight: bold;
	font-size : 130%;
}
.dialog_content {
	padding: 20px;
}
.dialog_buttons {
	text-align: right;
	padding: 20px;
}
span.button {
	margin-left: 10px;
	padding: 5px;
	background-color: #3c9dd0;
	color: #112;
	border-radius: 5px;
	font-size : 110%;
	opacity: 0.65;
	cursor: pointer;
}
span.button:hover {
	opacity: 1;
}
.sbname {
	font-weight: bold;
}
p.lose {
	font-weight: bold;
	color: #a33;
}
p.win {
	font-weight: bold;
	color: #3a3;
}

#grid {
	position:relative;
	z-index: 20;
	width: 800px;
	margin: auto;
	margin-top: 20px;
}
#grid span.mission {
	display: inline-block;
	width: 90px;
	height: 80px;
	margin-left: 10px;
	margin-bottom: 10px;
	background-color: #3c9dd0;
	border-radius: 5px;
	padding-top: 20px;
	font-size: 40px;
	opacity: 0.5;
	cursor: pointer;
	text-align: center;
}
#grid span:hover {
	opacity: 1;
}
#grid span.done {
	color: #1f1;
}
#grid span.not_done, #grid span.home {
	color: #112;
}

output {
	display: block;
	margin: 10px;
}
output.error {
	color: red;
}
#mission_text {
	margin: 5px;
	width: 99%;
	height: 300px;
}
kbd:before {
	content: "[";
}
kbd:after {
	content: "]";
}
#menu {
	z-index: 12;
	position: fixed;
	top:10px; left:5px;
}
#menu_content {
	max-width: 200;
}
.menu_item {
	font-size: 16px;
	display:block;
	cursor: pointer;
	padding: 4px;
}
.menu_item:hover {
	background-color: #054061;
	border-radius: 5px;
}

#auto-pause, #pause, #brag {
	position:fixed;
	z-index:100;
	top:0;
	left:0;
	right:0;
	text-align:center;
	font-size: 15px;
	font-weight: bold;
	opacity: 0.25;
	color: lightblue;
}
#brag {
	opacity: 0.5;
}
#auto-pause, #pause {
	opacity: 0.25;
	pointer-events: none;
}

.warning {
	position:fixed;
	z-index:90;
	bottom:30px;
	left:0;
	right:0;
	text-align:center;
	font-size: 15px;
	font-weight: bold;
	opacity: 0.65;
	color: red;
}
