html,
body,
div#main-content {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  font-family: arial;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  overflow: auto;
  scrollbar-width: thin;
}

#datenschutz {
  font-size: 16px;
  background-color: #fff;
  text-align: left;
  padding: 0 20px;
}

#datenschutz hr {
  border: 0;
  height: 1px;
  background-color: #aaa;
  margin: 0;
}

#datenschutz a {
  color: #3e5a8d;
}

#datenschutz-translate-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: url(../gfx/translator-icon.png) no-repeat center center, #F0F0F0;
}

.hidden {
  display: none;
}

div#main-content {
  position: relative;
  box-sizing: border-box;
  border: 8px solid #FEFEFE;
  min-width: 1000px;
  min-height: 800px;
  overflow: hidden;
}

div.menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  line-height: 40px;
  background-color: #F5F5F5;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;

  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,f1f1f1+50,e1e1e1+51,f6f6f6+100;White+Gloss+%231 */
  background: linear-gradient(to bottom,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

div#top-links {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 14px;
}

  #top-links a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
  }

    #top-links a:hover {
      color: #000;
      text-decoration: underline;
    }

div#fastcounter {
  position: absolute;
  top: 0;
  left: 10px;
}

div#main-canvas {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: calc(100% - 50px);
  /*background: #F5F5F5;*/
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;

  background-position: center center;
  background-repeat: repeat;
  background-color: #fff;

  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}
  .grid-on div#main-canvas {
    background-image: url(../gfx/grid_bg.png);
  }
  .grid-dot div#main-canvas {
    background-image: url(../gfx/grid_dot_bg.png);
  }
  .grid-off div#main-canvas {
    background-image: none;
  }

div#main-canvas canvas {
  background: transparent;
  display: block;
}