#background{
    background: #222;
}


.tooltiptext {
  /*visibility: hidden;*/
  width: 200px;
  background-color: #777777;
  color: #00ffa2;
  text-align: center;
  border-radius: 6px;
  padding: 10px 6px;
  position: absolute;
  z-index: 1;
  bottom: 135%;
  /* text-shadow: none; */
  left: 0;
  font-size: 18px;
  margin-left: -60px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0;
}

.tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: #aaa transparent transparent transparent;
}


#viewModeContainer {
  position: fixed;
  bottom: 0;
  left: 0;
  display: inline-block;
  margin: 5px 10px;
}

#viewModeTitle {
  padding: 0;
  margin: 0;
  color: #00ffa2;
  font-size: 18px;
  visibility: hidden;
}

#viewModeBtnParent {
  /*background: #000000;*/
}

.viewModeBtn {
  position: relative;
  float: left;
  display: inline-block;
  background: #555555;
  padding: 10px 15px;
  color: #00ffa2;
  opacity: 0.8;
  font-size: 18px;
  font-family: arial;
  cursor: pointer;
  border-radius: 0px;
  /* border-left: 1px solid #007b4e; */
  /* border-right: 1px solid #007b4e; */
  border: 1px solid #007b4e;
  text-shadow: 0 1px 2px #000;
  box-shadow: inset 0 0px 7px -1px #000;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.viewModeBtn:hover {
  opacity: 1;
}

.viewModeBtn:first-child {
  border-radius: 5px 0 0 5px;
}

.viewModeBtn:last-child {
  border-radius: 0 5px 5px 0;
}

.vmSelected {
  background: #666;
  opacity: 1;
  box-shadow: 0px 1px 5px 0px #000;
  transform: translateY(-2px);
  /*font-size: 18px;*/
}

.vmDisabled {
  display: none;
}



#lightIcon {
  position: fixed;
  cursor: move;
  opacity: 0.4;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

#lightIcon:hover {
  opacity: 1;
}

canvas {
  cursor: auto;
}

#tl-button{
  position: fixed;
  bottom: 10px;
  left: 15px;
  padding: 6px;
  width: auto;
  display: inline-block;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(72, 67, 62, 0.76);
  box-shadow: 0px 1px 5px 3px rgba(0, 255, 162, 0.5), 0px 5px 5px 4px #000;
  transition: all 0.3s;
}

#tl-button p {
  transition: all 0.3s;
  font-size: 18px;
  color: rgba(0, 255, 162, 0.68);
  margin: 0;
  padding: 0;
  text-shadow: 0px 1px 0px #000, 0px 2px 2px #000, 0px 3px 2px #000;
}

#tl-button:hover p{
  color: rgba(0, 255, 162, 1);
}

#tl-button:hover {
  background: rgba(72, 67, 62, 1);
  box-shadow: 0px 1px 5px 3px rgba(0, 255, 162, 1), 0px 5px 5px 4px #000;
}



#logoLoading {
  top: 0;
  right: 0;
  margin: 17px;
  width: 30px;
  height: 30px;
  opacity: 0.9;
  position: fixed;
}

#loader {
  top: 0;
  right: 0;
  margin: 10px;
  position: fixed;
  border-top: 3px solid rgba(0, 255, 162, 0.2);
  border-right: 3px solid rgba(0, 255, 162, 0.2);
  border-bottom: 3px solid rgba(0, 255, 162, 0.2);
  border-left: 3px solid #00ffa2;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 0.8s infinite linear;
  animation: load8 0.8s infinite linear;
}
#loader,
#loader:after {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


@media only screen and (max-width:500px) {


.tooltiptext {
  display: none;
}

  #viewModeContainer {
    margin: 3px;
  }

  .viewModeBtn {
    font-size: 16px;
    padding: 6px 10px;
    float: none;
    display: block;
  }

  .viewModeBtn:first-child {
    border-radius: 5px 5px 0 0;
  }

  .viewModeBtn:last-child {
    border-radius: 0 0 5px 5px;
  }

  #tl-button{
      bottom: 10px;
      left: 10px;
      padding: 5px;
  }

  #tl-button p {
      font-size: 16px;
  }

  #lightIcon {
      width: 45px;
      height: 45px;
  }

}

#mTooltip {
  pointer-events: none;
  display: none;
  opacity: 0;
  z-index: 1;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 50px;
  color: #00ffa2;
  transition: opacity 0.1s;
}