.bg {
  /* The image used */
  background-image: url("../placeholder.png");

  /* Full height */
  height: 100%;
  height: 100vh;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* For Mobile */
@media screen and (max-width: 540px) {
  ::-webkit-scrollbar {
    width: 2px;
    height: 2px;
  }

  ::-webkit-scrollbar-button {
    width: 2px;
    height: 2px;
  }

  i#openbutton-icon {
    font-size: 10px;
    margin: auto;
    text-align: center;
  }

  .openbutton {
    background: #fff;
    border-radius: 5px;
    /* border: 1px solid #ccc; */
    border: 1px solid #ccc;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.8);
    display: block;
    font-family: Futura, Helvetica Neue, sans-serif;
    font-size: 1em;
    font-weight: 700;
    max-width: 128px;
    overflow-wrap: break-word;
    padding: 0.0em 0.5em;
    position: absolute;
    width: max-content;
    height: max-content;
    transform: translate3d(-50%, -50%, 0);
    /* pointer-events: none; */
    --min-hotspot-opacity: 0;
  }


  .floatingbutton {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    /* transform: translate(0, 40vh); */
    border-radius: 0 2px 2px 0 !important;
    /* If use only right side rounded  */
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0.8rem auto;
    padding-left: 0px;
    padding-top: 7px;
    font-family: Geomanist;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 16px;
    align-items: center;
    text-align: center;
    color: #000000;
    left: 0px;
    top: 75vh;
  }

  .item-box {
    border-right: 1px solid #ccc;
    min-width: 230px;
  }

  .item {
    cursor: pointer;
    margin-top: 1vh;
  }

  .active {
    border: solid black 2px;
  }

  .offcanvas-header .offcanvas-close {
    position: -webkit-sticky;
    position: sticky;
    width: 30px;
    height: 30px;
    left: 540px;
    right: 50px;
    margin-top: -31px;
    margin-bottom: 0rem;
    align-items: center;
    background-color: #FFFFFF;
    box-shadow: 2px 0px 0px rgba(0, 0, 0, 0.2);
    border-radius: 2px 2px 0 0 !important;
  }

  .scrollmenu {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .scrollmenu>div {
    display: block;
    transform-origin: right top;
  }

  .squares {
    padding: 220px 0 0 0;
  }

  .squares>div {
    width: 230px;
    height: auto;
  }

  .tap-image {
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 60vh;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
    /* transform: translate(0, 80vh); */
  }

  .tap-rotate {
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 60vh;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
    /* transform: translate(0, 80vh); */
    animation: rotate-indicator 4s infinite;
  }


  .measure-button {

    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 6px;
    border: 1px solid rgba(204, 204, 204, 0.349);
    position: absolute;
    /* left: 0;
  right: 0; */
    left: 10px;
    top: 10px;
    border-radius: 5px;
    /* padding: 10px; */
    background-color: #fff;
    /* margin-left: 100vh;
  margin-right: auto; */
    /* width: 70px; */
    /* transform: translate(100vw, 10vh); */
  }

  .measure-text {
    color: #ccc;
  }

  .iframe-container {
    position: relative;
    width: 100%;
    height: 100vh;
    flex: 1;
    display: flex;
    color: white;
    background-color: white;
    padding-bottom: 50vw;
  }

}

/* For Tablets and Desktop */
@media screen and (min-width: 540px) {
  .offcanvas-header .offcanvas-close {
    position: absolute;
    width: 30px;
    height: 30px;
    left: 320px;
    margin-top: 27px;
    margin-bottom: 0rem;
    align-items: center;
    background-color: #FFFFFF;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 0 2px 2px 0 !important;
  }

  .item-box {
    padding: 1rem 1rem;
    border-block-end: 1px solid #ccc;
  }

  .active {
    border: solid black 3px;
  }

  .tap-image {
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 80vh;
    margin-left: auto;
    margin-right: auto;
    width: 20%;
    /* transform: translate(0, 80vh); */
  }

  .tap-rotate {
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 80vh;
    margin-left: auto;
    margin-right: auto;
    width: 20%;
    /* transform: translate(0, 80vh); */
    animation: rotate-indicator 4s infinite;
  }


  .measure-button {

    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 6px;
    border: 1px solid #ccc;
    position: absolute;
    /* left: 0;
  right: 0; */
    left: 10px;
    bottom: 10px;
    border-radius: 5px;
    /* padding: 10px; */
    background-color: #fff;
    /* margin-left: 100vh;
  margin-right: auto; */
    /* width: 70px; */
    /* transform: translate(100vw, 10vh); */
  }

  .measure-text {
    color: #ccc;
  }

  .iframe-container {
    position: relative;
    width: 100%;
    height: 100vh;
    flex: 1;
    display: flex;
    color: white;
    background-color: white;
  }

  .openbutton {
    background: #fff;
    border-radius: 5px;
    /* border: 1px solid #ccc; */
    border: 1px solid #ccc;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.8);
    display: block;
    font-family: Futura, Helvetica Neue, sans-serif;
    font-size: 1em;
    font-weight: 700;
    max-width: 128px;
    overflow-wrap: break-word;
    padding: 0.5em 1em;
    position: absolute;
    width: max-content;
    height: max-content;
    transform: translate3d(-50%, -50%, 0);
    /* pointer-events: none; */
    --min-hotspot-opacity: 0;
  }

}

.floatingbutton {
  position: absolute;
  background: white;
  width: 150px;
  height: 30px;
  border-radius: 0 2px 2px 0 !important;
  /* If use only right side rounded  */
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  margin: 0.8rem auto;
  padding-left: 0px;
  padding-top: 7px;
  font-family: Geomanist;
  font-style: normal;
  font-weight: normal;
  font-size: 13px;
  line-height: 16px;
  align-items: center;
  text-align: center;
  color: #000000;
  left: 0px;
  /* top: 0px; */
}





.ar-button {
  position: absolute;
  /* left: 0;
  right: 0; */
  /* right: 10px;
  bottom: 30px; */
  right: 10px;
  top: 10px;
  /* margin-left: 100vh;
  margin-right: auto; */
  width: 70px;
  /* transform: translate(100vw, 10vh); */
}





.item-line {
  display: block;
  height: 0px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
  width: 320px;
  height: 0px;
  left: 0px;
}

.hidden {
  display: none;
}

.further {
  text-align: center;
}

body {
  background: rgb(255, 255, 255);
}

.offcanvas {
  position: fixed;
  bottom: 0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  /* 100% */
  visibility: hidden;
  background-color: #fff;
  background-clip: padding-box;
  outline: 0;
  transition: transform 0.6s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .offcanvas {
    transition: none;
  }
}

.offcanvas-header {
  display: flex;
  align-items: center;
  padding: 0rem 0rem;
}

/* */

.offcanvas-title {
  margin-bottom: 0;
  line-height: 1;
}

.offcanvas-body {
  flex-grow: 1;
  padding: 0rem 0rem;
  overflow-y: auto;
}

.offcanvas-start {
  top: 0;
  left: 0;
  width: 320px;
  border-right: 1px solid rgb(255, 255, 255);
  transform: translateX(-100%);
}

.offcanvas-end {
  top: 0;
  right: 0;
  width: 320px;
  border-left: 1px solid rgb(255, 255, 255);
  transform: translateX(100%);
}

.offcanvas-top {
  top: 0;
  right: 0;
  left: 0;
  height: 30vh;
  max-height: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  transform: translateY(-100%);
}

.offcanvas-bottom {
  right: 0;
  left: 0;
  height: 38vh;
  max-height: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
}

.offcanvas.show {
  transform: none;
}

.item {
  cursor: pointer;

}

.item .link {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.iframe-container>iframe {
  color: white;
  background-color: white;
  border: 0;
  width: 100%;
  flex: 1;
}

.loader {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  /* color: rgb(255, 255, 255); */
  background-color: rgb(255, 255, 255);
  z-index: 99999;
  /* pointer-events: none; */
}

.progress-bar {
  transition: width 1s;
  background-color: #ccc;
}

.item-text {
  text-align: center;
}

.underline {
  border-bottom: 3px solid black;
}



/* width */
::-webkit-scrollbar {
  display: block;
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgb(212, 212, 212);
  /* background: #f1f1f1;  */
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(212, 212, 212);
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #d4d4d4;
}

/* 
::-webkit-scrollbar-track-piece:end {
  background: transparent;
  margin-bottom: 200px; 
}

::-webkit-scrollbar-track-piece:start {
  background: transparent;
  margin-top: 200px;
} */




.in-loader {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  position: relative;
  margin: 0 auto;
}

/* LOADER 7 */

#loader-7 {
  -webkit-perspective: 120px;
  -moz-perspective: 120px;
  -ms-perspective: 120px;
  perspective: 120px;
}

#loader-7:before {
  content: "";
  position: absolute;
  left: 25px;
  top: 25px;
  width: 50px;
  height: 50px;
  background-color: rgb(0, 0, 0);
  animation: flip 1.3s infinite;
}

@keyframes rotate-indicator {
  0% {
    transform: translate(-20%);
  }

  50% {
    transform: translate(20%)
  }

  100% {
    transform: translate(-20%);
  }
}


@keyframes flip {
  0% {
    transform: rotate(0);
  }

  50% {
    transform: rotateY(180deg);
  }

  100% {
    transform: rotateY(180deg) rotateX(180deg);
  }
}

:not(:defined)>* {
  display: none;
}

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

model-viewer {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
}


.progress-bar {
  display: block;
  width: 33%;
  height: 10%;
  max-height: 2%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 25px;
  box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.5), 0px 0px 5px 1px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.5);
}

.progress-bar.hide {
  visibility: hidden;
  transition: visibility 0.3s;
}

.update-bar {
  background-color: rgba(255, 255, 255, 0.9);
  width: 0%;
  height: 100%;
  border-radius: 25px;
  float: left;
  transition: width 0.3s;
}

#ar-button {
  background-image: url(ar_icon.png);
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 12px 50%;
  background-color: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  bottom: 16px;
  padding: 0px 16px 0px 40px;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 14px;
  color: #4285f4;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
  border: 1px solid #DADCE0;
}

#ar-button:active {
  background-color: #E8EAED;
}

#ar-button:focus {
  outline: none;
}

#ar-button:focus-visible {
  outline: 1px solid #4285f4;
}

@keyframes circle {
  from {
    transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg);
  }

  to {
    transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg);
  }
}

@keyframes elongate {
  from {
    transform: translateX(100px);
  }

  to {
    transform: translateX(-100px);
  }
}

model-viewer>#ar-prompt {
  position: absolute;
  left: 50%;
  bottom: 60px;
  animation: elongate 2s infinite ease-in-out alternate;
  display: none;
}

model-viewer[ar-status="session-started"]>#ar-prompt {
  display: block;
}

model-viewer>#ar-prompt>img {
  animation: circle 4s linear infinite;
}




#controls {
  position: absolute;
  bottom: 16px;
  left: 16px;
  max-width: unset;
  transform: unset;
  pointer-events: auto;
  z-index: 100;
}

.dot {
  display: none;
}

.debugdot {
  display: none;
  background-color: rgba(0, 0, 0, 0);
  border: 0px;

}

.dim {
  background: #fff0;
  border: none;
  box-sizing: border-box;
  color: #6c757d;
  display: block;
  font-family: 'geomanist';
  font-size: 1em;
  font-weight: 700;
  max-width: 128px;
  overflow-wrap: break-word;
  padding: 0.5em 1em;
  position: absolute;
  width: max-content;
  height: max-content;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  --min-hotspot-opacity: 0;
}



@media only screen and (max-width: 800px) {
  .dim {
    font-size: 3vw;
  }
}

.dimensionLineContainer {
  pointer-events: none;
  display: block;
}

.dimensionLine {
  stroke: #6c757d;
  stroke-width: 2;
  /* stroke-dasharray: 2; */
}

.hide {
  display: none;
}

/* This keeps child nodes hidden while the element loads */
:not(:defined)>* {
  display: none;
}