
@media (min-resolution: 400dpi) {
  #restest {
    display: none;
    width: 500px;
  }
}
@media (min-resolution: 300dpi) {
  #restest {
    display: none;
    width: 400px;
  }
}
@media (min-resolution: 250dpi) {
  #restest {
    display: none;
    width: 300px;
  }
}
@media (min-resolution: 92dpi) {
  #restest {
    display: none;
    width: 200px;
  }
}
@media (max-resolution: 91dpi) {
  #restest {
    display: none;
    width: 100px;
  }
}
html {
  min-height:0px;
}
body{

  /* padding-left:200px; */
  padding:0px;
  margin:0px;
  height:100%;
  background-color: transparent;
  overflow: hidden;

}
.template {
  display:none;
}

#preload-01 {
  position: absolute;
}

#preload-02 {
  position: absolute;
}

#navbar {
  position: fixed;
  height: 30px;
  margin-left: -10px;
  background: #DDD;
}
#landscapeWarning {
  margin: 0;
  background-size: contain;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 9999;
  display: none;
}

canvas {
  margin:auto !important;
}
#myprogresswd b {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

div#sidebar_controls{
  opacity: 0.9;
  overflow: auto;
  position:fixed;
  height:100%;
  width:470px;
  top:0;
  right:0;
  background:grey;
}

div#show-sidebar-when-mouse-enters-me-left {
  overflow: auto;
  position:absolute;
  top: 0px;
  height:100%;
  width: 30px;
}
div#show-sidebar-when-mouse-enters-me-right {
  overflow: auto;
  position:absolute;
  top: 0px;
  height:100%;
  width: 30px;
  right: 0px;
}

div#sidebar_config{
  opacity: 1;
  overflow: auto;
  position:fixed;
  height:100%;
  width:470px;
  top:0;
  left:0;
  background:grey;
  margin-left: -480px;

  padding-left:10px;
}
/*
div#sidebar_config input.coordinate{
  width: 54px;
}
div#sidebar_config input.scale {
  width: 25px;
}
div#sidebar_config input.rotation {
  width: 30px;
}
div#sidebar_configinput.hex {
  width: 60px;
}
idebar_confignput {
  margin-right: 2px;
}
div#sidebar_config label {
  font-weight: normal;
  margin-right: 2px;
}
div#sidebar_config h5 {
  margin-top: 2px;
  margin-bottom: 2px;
  font-weight: bold;
}

div#sidebar_config .category {
  padding-bottom: 20px;
}
div#sidebar_config .category div {
  margin: 1px;
  padding: 2px;
  border: solid white thin;
}
div#sidebar_config {

}
*/

div#sidebar_config {
  background: white;
  font-family: sans-serif;
}

div#sidebar_config ul,
div#sidebar_config li
{
  margin:0;
  padding:0;
  list-style-type: none;
  margin:0;padding:0; -webkit-margin-before: 0; -webkit-margin-after: 0;
  -webkit-padding-start: 0;
}
div[data-root="true"]  div.object {
  padding-top: 1em;
}

div.object > div.property.has_children{
  border: solid #b1b1b1 thin ;
  padding:2px;
  margin: 2px;
}


.array .item > .remove {
    display: none;
    float: right;
}

.array .item:hover {
    background: #ffd;
}
.array .item:hover > .remove {
    display: block;
}

div.object > div.property.has_children:before {
  content: "⇟";
  color:gray;
}
div.object > div.property.has_children.hidden:before {
  content: "⇞";
}
  /*div#sidebar-config div.property.has_children>label{*/
.has_children > label {
  font-weight: bolder;
  font-size: 1em;
  cursor: pointer;
}
.leaf > label {
  margin-right: .5em;
  min-width: 120px;
  display: inline-block;
  text-align: right;
}

.json > label {
  vertical-align: top;
}
div[data-root="true"]>div.object>div.property.has_children>label { font-size:1.3em;}
div[data-root="true"]>div.object>div.property.has_children .has_children>label { font-size:1.15em;}
div[data-root="true"]>div.object>div.property.has_children .has_children .has_children>label { font-size:1.0em}

div#show-betsettings-when-mouse-enters-me{
  overflow: auto;
  position: fixed;
  top: 0px;
  right: 0px;
  width: 30px;
  height: 100%;
  /*background: green;*/

}

div#sidebar_betsettings{
  overflow: auto;
  position: fixed;
  top: 0px;
  right: 0px;
  width: auto;
  height: 100%;
  background: grey;
  display: none;
}

div#content{
  /*
  background:black;

  width:100%;

  height:1600px;
*/
}



fieldset {

  -webkit-transition: height 2s; /* For Safari 3.1 to 6.0 */

  transition: height 2s;

  overflow: hidden;

}



legend {

}



a#edit-config {

  color: white;

  background-color: green;

  font-size: 1.5em;

  position: absolute;

  display: none;

}



#huelle {

  position:absolute;

  top:0;

  left: 0;

  width: 100%;

  /*background: green;;*/

}



.progress-bar {
  float: none;

  margin: 10px auto;

  background-color: #1a1a1a;

  height: 25px;

  padding: 5px;

  width: 100%;

  box-sizing: border-box;

  box-shadow: 0 1px 5px #000 inset, 0 1px 0 #444;

  text-align: left;



}



.progress-bar span#myprogresswd {

  display: inline-block;

  height: 100%;

  width: 0%;

  border-radius: 3px;

  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;

  transition: width .4s ease-in-out;

}



.blue span {

  background-color: #34c2e3;

}



.orange span {

  background-color: #fecf23;

  background-image: linear-gradient(top, #fecf23, #fd9215);

}


.red span {

  background-color: #ad1212;

  background-image: linear-gradient(top, #ad1212, #ad1212);

}

.green span {

  background-color: #a5df41;

  background-image: linear-gradient(top, #a5df41, #4ca916);

}



.stripes span {

  background-size: 30px 30px;

  background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,

          transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,

          transparent 75%, transparent);

  animation: animate-stripes 3s linear infinite;

}

#game_logo {
  margin-top: 10px;
}

#game_logo > .img-responsive {
  margin: 0 auto;
}
#game_overlay {
  max-width: 200%;
  max-height: 200%;
  display:none;
  background: url("/assets/game_bg_tile.png") repeat;
  margin: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  overflow: hidden;
}

#game_overlay h1 {
  color: #FFF;
  text-align: center;
}

#cdummy {
  display:none;
  left: -1000px;
  top: -1000px;
  position: absolute;
}

#loading_div {
  -moz-transform:translateY(50%); /* Firefox 3.6 Firefox 4 */
  -webkit-transform:translateY(50%); /* Safari */
  -o-transform:translateY(50%); /* Opera */
  -ms-transform:translateY(50%); /* IE9 */
  transform:translateY(50%); /* W3C */
  margin: 15px;
  position: relative;
}
#loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f00f20;
  size: 20px;
  font-family: 'Lato', sans-serif;
  font-weight: bold;
}
.spinner {
  height: 40px;
  text-align: center;
  font-size: 10px;
}

.spinner > div {
  background-color: #f00f20;
  height: 100%;
  width: 6px;
  display: inline-block;

  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }  20% {
       transform: scaleY(1.0);
       -webkit-transform: scaleY(1.0);
     }
}