@CHARSET "ISO-8859-1";

* {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
	background-color: #F2F2F2;
	color: #373737;
	font-family: Helvetica;
	font-size: 14px;
	margin: 0;
	padding: 0;
}

.toolbar {
	height: 41px;
	background: url("images/toolbar_bg.png") repeat-x;
}

.toolbar h1 {
	margin: 0;
	padding: 7px 0;
	color: #FFF;
	display: block;
	font-size: 18px;
	font-weight: normal;
	letter-spacing: 1px;
	text-align: center;
	text-decoration: none;
	text-shadow: 0px 1px 1px #000;
}

div.headerButton {
	cursor: pointer;
	font-weight: bold;
	text-align: center;
	line-height: 28px;
	color: white;
	text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0px;
	position: absolute;
	top: 7px;
	left: 6px;
	max-width: 60px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border-width: 0 8px 0 8px;
	-webkit-border-image: url(images/button.png) 0 8 0 8;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

div.backButton {
	cursor: pointer;
	font-weight: bold;
	font-size: 12px;
	letter-spacing: 1px; text-align : center;
	line-height: 21px;
	color: white;
	text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0px;
	position: absolute;
	top: 7px;
	left: 15px;
	padding: 1px 3px; max-width : 50px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border-width: 0 3px 0 11px;
	-webkit-border-image: url(images/back_btn.png) 0 3 0 11;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	max-width: 50px;
	text-align: center;
}

div.aboutButton {
	cursor: pointer;
	float: right;
	width: 32px;
	height: 39px;
	margin-right: 4px; background : url(images/about_button.png) no-repeat
	center center;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	background: url(images/about_button.png) no-repeat center center;
}

#loading {
	background: #1B3245;
	position: fixed;
	width: 100%;
	height: 100%;
}

#footer {
	width: 100%;
	height: 50px;
	clear: both;
	background: url("images/footer_bg.png") repeat-x;
}

#footer span {
	color: #FFF;
	display: block;
	padding-top: 13px;
	padding-left: 8px;
	font-size: 7pt;
}

#footer a {
	color: #F58E1E;
	text-decoration: none;
}

#footer img {
	float: right;
	margin-top: 10px;
	margin-right: 8px;
}

.clr {
	display: block;
	clear: both;
	padding: 0;
	margin: 0;
}

#projects div.header {
	height: 170px;
	background: url("images/header_bg.png") repeat-x;
}

#projects div.header div.himg {
	height: 170px;
	width: 100%;
	background: url("images/header.png") no-repeat center;
}

ul.nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.nav-list {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0.6);
}

ul.nav-list li {
	background: #DDD;
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFC),
		to(#DDD) );
	background: -moz-linear-gradient(top, #FFFFFC, #DDD);
	border: none;
	display: block;
	height: 60px;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0.6);
}

ul.nav-list div.project {
	background: url("images/project_icon.png") no-repeat 14px 14px;
	padding-left: 42px;
	height: 60px;
}

ul.nav-list div.project.custom-icon {
	background-image: none;
	padding-left: 14px;
}

ul.nav-list img {
	margin-top: 15px;
	max-height: 32px;
	vertical-align: top;
}

ul.nav-list span {
	display: block;
	color: #333;
	text-decoration: none;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

ul.nav-list span.title {
	font-size: 16px;
	font-weight: bold;
	padding: 16px 10px 0px 14px;
}

ul.nav-list span.desc {
	font-size: 11px;
	font-weight: normal;
	padding: 0 14px;
}

ul.nav-list li span.pressed {
	background-color: #ccc;
}

.loginform {
	margin: 0px 23px;
	padding: 0;
}

.loginform h2 {
	font-size: 14px;
	color: #444;
	margin: 20px 0px 15px 0px;
	display: block;
	clear: both;
}

.loginform input {
	font-size: 17px;
	padding-top: 4px;
	padding-bottom: 4px;
	margin-top: 5px;
	margin-bottom: 5px;
	width: 100%;
}

.loginform input.submit {
	padding: 5px;
	margin: 0;
	width: 90px;
}

.loginform input {
	font-size: 17px;
	padding-top: 4px;
	padding-bottom: 4px;
	margin-top: 5px;
	margin-bottom: 5px;
	width: 100%;
}

.loginform input.cb {
	width: auto;
	margin-top: 12px;
	margin-bottom: 13px;
}

.loginform img.secure {
	margin-left: 10px;
	vertical-align: middle;
}

.loginform label {
	white-space: nowrap;
	text-overflow: ellipsis;
}

#project-canvas {
	position: relative;
}

#project-canvas canvas {
	margin: 0;
	padding: 0;
	border: none;
	-webkit-user-select: none;
}

#project-canvas div.acc {
	position: absolute;
}

#toolbar {
	position: absolute;
	padding: 0;
	margin: 0;
}

#toolbar ul {
	height: 100%;
	list-style: none;
	margin: 0;
}

#toolbar ul li {
	float: left;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

#connection-quality {
	background-image: url("images/connection_quality.png");
	background-repeat: no-repeat;
	opacity: 0.85;
}

#connection-quality.good {
	background-position: 0px 0px;
}
#connection-quality.warn {
	background-position: 0px -16px;
}
#connection-quality.bad {
	background-position: 0px -32px;
}

#canvas-debug {
	position:fixed;
	top:0;
	left:0;
	z-index:1;
	font-family: monospace;
	margin:0;
	padding:0;
	display: none;
	background: white;
	color: black;
}

.popup {
	position: fixed;
	top: 50%;
	left: 50%;
	border: 2px solid white;
	color: white;
}

.popup h1 {
	font-size: 13px;
	font-weight: bold;
	text-shadow: 1px 1px 1px #000;
}

.popup p {
	padding: 0 10px 10px 10px;
	font-size: 11px;
}

#reconnect-popup {
	margin-left: -100px;
	margin-top: -60px;
	width: 200px;
	height: 120px;
	text-align: center;
	background: rgba(0, 0, 0, 0.5);
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	z-index: 200;
}

#reconnect-popup h1 {
	font-size: 16px;
	background: url("images/reconnect.gif") no-repeat 15px 2px;
	margin-bottom: 7px;
}

#reconnect-popup p {
	padding: 0;
}

#reconnect-popup button {
	padding: 0.7ex;
}

#info-popup {
	margin-left: -130px;
	margin-top: -70px;
	width: 260px;
	height: 140px;
	text-align: center;
	background: rgba(0, 5, 80, 0.7);
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	z-index: 201;
}

#info-popup h1 {
	margin: 10px 5px 10px 5px;
}

#loading-popup {
	margin-left: -80px;
	margin-top: -40px;
	width: 160px;
	height: 80px;
	text-align: center;
	background: rgba(0, 0, 0, 0.5);
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	z-index: 200;
}

#loading-popup h1 {
	font-size: 16px;
	font-weight: bold;
	text-shadow: 1px 1px 1px #000;
	margin-top: 28px;
}

#about {
	margin-left: -150px;
	margin-top: -88px;
	width: 300px;
	height: 176px;
	background: #1B3245;
	-moz-box-shadow: 4px 4px 5px #AAA;
	-webkit-box-shadow: 4px 4px 5px #AAA;
	box-shadow: 4px 4px 5px #AAA;
	z-index: 100;
}

#about div.close {
	background: url("images/about_close.png") no-repeat 0px 3px;
	float: right;
	width: 25px;
	height: 25px;
}

#about div.logo {
	background: url("images/header_about.png") no-repeat 22px 10px;
	display: block;
	height: 73px;
}

#about p {
	padding: 0;
	margin-top: 20px;
	margin-left: 25px;
}

#about p span {
	display: block;
	font-size: 11px;
}

#about-copyright {
	margin-top: 1em;
} 

#about a {
	color: #F58E1E;
	text-decoration: none;
}

.error-pane p {
	margin: 25px;
}

button.restart {
	font-size: 14px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-left: -75px;
	margin-top: -25px;
	width: 150px;
	height: 50px;
	width: 150px;
	position: fixed;
}