html,
body {
  background-color: #000;
  margin: 0;
  padding: 0;
  position: relative;
  font-family: "Arial";
  width: 100%;
}
#game {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}
#ajaxbar {
  background: url("media/graphics/loading/ajax-loader.gif") center no-repeat;
}
#canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -ms-interpolation-mode: nearest-neighbor;
  -webkit-transform: scale3d(1, 1, 1);
  z-index: 1;
}
#orientate {
  position: absolute;
  float: left;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10002;
  display: none;
}
#orientate img {
  position: absolute;
  float: left;
  width: 100%;
  height: 100%;
}
.play {
  position: absolute;
  float: left;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: #fff;
  left: 0;
  top: 0;
  display: none;
}
.play img {
  position: absolute;
  float: left;
  width: 100%;
  height: 100%;
  z-index: 1000;
  left: 0;
  top: 0;
}
#nohtml5 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 1002;
  visibility: hidden;
}
#nohtml5 img {
  position: absolute;
  width: 100%;
  height: 100%;
}
#nohtml5-bubble {
  position: absolute;
  bottom: 20px;
  left: 50px;
  width: 380px;
  height: 100px;
  z-index: 1002;
  color: #000;
  background: rgba(255, 255, 255, 0.75);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
#nohtml5-text {
  padding: 10px;
}
.horizontal-seperator {
  height: 10px;
  width: 100%;
}
.preloadText {
  position: absolute;
  top: -100;
  left: -100;
  display: none;
  z-index: -1;
}
@font-face {
  font-family: "mainfont";
  src: url("media/fonts/mainfont.ttf") format("truetype"), url("media/fonts/mainfont.html") format("woff");
}
@font-face {
  font-family: "caviardreams";
  src: url("media/fonts/caviardreams.html") format("truetype"), url("media/fonts/caviardreams-2.html") format("woff");
}

.ig_debug {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #000;
  border-top: 2px solid #f57401;
  font-size: 12px;
  color: #fff;
  z-index: 1000;
  -webkit-user-select: none;
  display: none;
}
.ig_debug_panel_menu {
  height: 28px;
  background: #222;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #000000), color-stop(1, #333));
  background: -moz-linear-gradient(center bottom, #000000 0%, #333 100%);
  background: -o-linear-gradient(#333, #000000);
}
.ig_debug_panel_menu div {
  float: left;
  height: 22px;
  padding: 6px 8px 0 8px;
  border-right: 1px solid #333;
}
.ig_debug_panel_menu .ig_debug_head {
  font-weight: bold;
  color: #888;
}
.ig_debug_menu_item:hover {
  cursor: pointer;
  background-color: #fff;
  color: #000;
}
.ig_debug_menu_item.active,
.ig_debug_menu_item.active:hover {
  background-color: #000;
  color: #fff;
}
.ig_debug_stats {
  position: absolute;
  right: 0;
  top: 0;
  float: right;
  color: #888;
  border-left: 1px solid #333;
  text-align: right;
}
.ig_debug_stats span {
  width: 3em;
  display: inline-block;
  color: #fff !important;
  margin-right: 0.2em;
  margin-left: 0.3em;
  font-family: bitstream vera sans mono, courier new;
  white-space: nowrap;
}
.ig_debug_panel {
  height: 152px;
  overflow: auto;
  position: relative;
}
.ig_debug_panel canvas {
  border-bottom: 1px solid #444;
}
.ig_debug_panel .ig_debug_panel {
  padding: 8px;
  height: auto;
  float: left;
  background-color: #000;
  border-right: 2px solid #222;
}
.ig_debug_option {
  padding: 2px 0 2px 8px;
  cursor: pointer;
}
.ig_debug_option:first-child {
  margin-top: 8px;
}
.ig_debug_option:hover {
  background-color: #111;
}
.ig_debug_graph_mark {
  position: absolute;
  color: #888;
  left: 4px;
  font-size: 10px;
  margin-top: -12px;
}
.ig_debug_legend {
  color: #ccc;
}
.ig_debug_label_mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  -webkit-transition: 0.1s linear;
  -moz-transition: 0.1s linear;
}
.ig_debug_legend_color {
  display: inline-block;
  width: 6px;
  height: 10px;
  margin-right: 4px;
  margin-left: 16px;
}
.ig_debug_legend_number {
  width: 3em;
  display: inline-block;
  text-align: right;
  font-family: bitstream vera sans mono, courier new;
  color: #fff;
  margin-right: 0.2em;
}
.ig_debug_map_container {
  position: relative;
  overflow: hidden;
  border: 1px solid #888;
}
.ig_debug_map_container canvas {
  position: absolute;
}
.ig_debug_map_screen {
  position: absolute;
  border: 1px solid #f0f;
}
