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

html {
  height: 100%;
}

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

model-viewer {
  width: 100%;
  height: 100%;
  /*background-color: transparent;*/
}


.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_icon1.png);
  background-repeat: no-repeat;
  background-size: 55px 55px;
  background-position: 5px 50%;
  background-color: transparent; 
  position: absolute;
  left: 12%;
  transform: translateX(-50%);
  white-space: nowrap;
  top: 20px;
  padding: 0px 16px 0px 40px;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 14px;
  color:#4285f4;
  height: 60px;
  width: 60px;
  line-height: 36px;
  border-radius: 18px;
  border: none; /*border: 1px solid #DADCE0;*/
}

#link-button {
  background-image: url(ar_icon1.png);
  background-repeat: no-repeat;
  background-size: 55px 55px;
  background-position: 5px 50%;
  background-color: transparent; 
  position: absolute;
  left: 12%;
  transform: translateX(-50%);
  white-space: nowrap;
  top: 20px;
  padding: 0px 16px 0px 40px;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 14px;
  color:#4285f4;
  height: 60px;
  width: 60px;
  line-height: 36px;
  border-radius: 18px;
  border: none; 
  cursor: pointer;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 200px;
  height: 250px;
  /*background-color: #4285f4;*/
  background-color: #fff;
  color: #000;
  text-align: center;
  line-height: 1;
  border-radius: 6px;
  padding: 0px 0;
  position: absolute;
  z-index: 1;
  top: 10%;
  left: 250%;
  margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 8%;
  left: -2%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

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

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

#ar-button:focus-visible {
  outline: 1px solid #4285f4;
}
.controls {
  width: 100%;
  text-align: left;
  overflow: hidden;
  position: absolute;
  top: 15px;
  left: 15px;
}	
.slider {
  width: 100%;
  text-align: center;
  overflow: hidden;
  position: absolute;
  bottom: 10px;
  /*left: 10px;*/
  left: 43%;
}

.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.slide {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  /*background-color: #fff;*/
  margin-right: 10px;
  border-radius: 10px;
  border: none;
  display: flex;
}

.slide.selected {
  /*border: 2px solid #4285f4;*/
  border: 1px solid #000;
}

.slide:focus {
  outline: none;
}

.slide:focus-visible {
  outline: 1px solid #4285f4;
}

@media screen and (max-width: 350px) {
  #link-button {
    display: none;
  }
}