html,
body {
  margin: 0px;
  padding: 0px;
  -webkit-user-select: none; 
-moz-user-select: none; 
-ms-user-select: none; 
user-select: none; 
}
html, body {margin: 0; height: 100%; overflow: hidden}
#c {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
}
.movetobuttonstyle {
  position: relative;
  padding: 5px 10px 5px 10px;
  background-color: #3c4448c5;
  color: #fff;
  margin-bottom: 5px;
  transition: background-color 0.2s ease;
  transition: color 0.2s ease;
  border-right: solid 8px #3c4448c5;
  transition: border-right 0.2s ease;
}
.bigspacing {
  margin-top: 20px;
}
.fullscreenbutton {
  align-self: flex-end;
  height: 2.5rem;
  width: 2.5rem;
  background-color: #3c4448c5;
  cursor: pointer;
}
.gyromode {
  height: 2.5rem;
  width: 2.5rem;
  background-color: #3c4448c5;
  cursor: pointer;
}
.settings {
  height: 2.5rem;
  width: 2.5rem;
  background-color: #3c4448c5;
  cursor: pointer;
}
.fullscreeninner {
  height: 2.5rem;
  width: 2.5rem;
  background-image: url("../assets/UI/openfullscreen.svg");
  background-size: 65%;
  background-position: center center;
  background-repeat: no-repeat;
}
.gyromodeinner {
  height: 2.5rem;
  width: 2.5rem;
  background-image: url("../assets/UI/gyroscope.svg");
  background-size: 50%;
  background-position: center center;
  background-repeat: no-repeat;
}
.settingsinner {
  height: 2.5rem;
  width: 2.5rem;
  background-image: url("../assets/UI/settings.svg");
  background-size: 70%;
  background-position: center center;
  background-repeat: no-repeat;
}

.isfullscreen > .fullscreeninner {
  background-color: #b5db1f;
  background-image: url("../assets/UI/closefullscreen.svg");
}
.ingyromode > .gyromodeinner {
  background-image: url("../assets/UI/touch.svg");
  background-size: 70%;
}

.fullscreeninner:hover {
  background-size: 75%;
}
.gyromodeinner:hover {
  background-size: 55%;
}
.settingsinner:hover {
  background-size: 80%;
}
.ingyromode > .gyromodeinner:hover {
  background-size: 75%;
}
.isfullscreen > .fullscreeninner:hover {
  background-size: 60%;
}
.movetobuttonstyle:hover {
  cursor: pointer;
  border-right: solid 8px #b5db1f;
  transition: border-right 0.2s ease;
  transition: color 0.2s ease;
}
.buttonwrapper {
  right: 1vh;
  top: 1vh;
  position: absolute;
  display: flex;
  flex-direction: column;
  z-index: 100;
}
.active {
  border-right: solid 8px #b5db1f;
  background-color: #b5db1f;
  color: #3c4448c5;
  transition: background-color 1s ease;
  transition: color 1s ease;
}
.locked {
  cursor: not-allowed !important;
  color: #666 !important;
  border-right: solid 8px #3c3c3c !important;
  background-color: #3c4448c5 !important;
  transition: color 1s ease;
}
.hide {
  display: none !important;
}

/* canvas */
#container canvas {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
#container {
  position: relative;
  width: 100vw;
  height: 100vh;
}
/* Premenu */
#premenu {
  z-index: 10001;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #3c3c3c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 1;
  transition: opacity 0.5s linear;
}
#premenu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 112px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='112px' height='16px' viewBox='0 0 112 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' fill='%23B5DB1F' fill-rule='evenodd'%3E%3Cpolygon points='0 0 112 0 96 16 0 16'%3E%3C/polygon%3E%3C/g%3E%3C/svg%3E");
}
#loadingbar {
  position: relative;
  width: 90%;
  max-width: 500px;
  height: 50px;
  overflow: hidden;
}
.corner {
  width: 26px;
  height: 26px;
  position: absolute;
  transform: rotate(45deg);
  background-color: #3c3c3c;
}
.cornertopleft {
  left: -16px;
  top: -16px;
}
.cornerbotright {
  right: -16px;
  bottom: -16px;
}
#progress {
  position: absolute;
  height: 100%;
  width: 0%;
  background-color: #b5db1f;
  transition: width 0.5s linear;
}
#border {
  position: absolute;
  width: 100%;
  height: 100%;
}
#progresstext {
  margin-top: 1rem;
  font-size: 1.5rem;
  color: #b5db1f;
  font-weight: bold;
}
body {
  font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;

}
.rendering {
  position: absolute;
  bottom: 2%;
  left: 2%;
  background-color: rgb(199, 52, 52);
  color: white;
  font-weight: bold;
  padding: 0.5rem;
  z-index: 100000;
  font-size: 1.4rem;
  display: none;
}
.notrendering {
  background-color: #469505 !important;
  display: none;
}

#switchFloor{
  position: absolute;
  background-color: #eee ;
  color: #333;
  font-size: 1.4rem;
  bottom: 2%;
  right: 2%;
  z-index: 100000;
  cursor: pointer;
  padding: 0.5rem;
  font-weight: bold;
}
.mirrorFloorActive{
  color: #eee!important;
  background-color: #333 !important;
}
#switchBPCEM{
  display:none;
  position: absolute;
  background-color: #eee ;
  color: #333;
  font-size: 1.4rem;
  bottom: calc(4% + 2.4rem);
  right: 2%;
  z-index: 100;
  cursor: pointer;
  padding: 0.5rem;
  font-weight: bold;
}