*{
    margin:0;
    padding:0;
    }
    html{
    height: 100%;
    width: 100%;
    }
    body {
      height: 100%;
      width: 100%;
    }
    model-viewer{
		height:100%;
		width:100%;
		}

#error {
background-color: #ffffffdd;
border-radius: 16px;
padding: 16px;
position: absolute;
left: 50%;
top: 50%;
transform: translate3d(-50%, -50%, 0);
transition: opacity 0.3s;
}
#error.hide {
opacity: 0;
visibility: hidden;
transition: visibility 2s, opacity 1s 1s;
}


/* Dimensions */

.controls {
    z-index: 100;
    display: block;
    text-align: center;
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);

  }

  .dot{
    display: none;
  }

  .dim{
    background: #fff;
    border-radius: 4px;
    border: none;
    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;
  }

  @media only screen and (max-width: 800px) {
    .dim{
      font-size: 3vw;
    }
  }

  .dimensionLineContainer{
    pointer-events: none;
    display: block;
  }

  .dimensionLine{
    stroke: #16a5e6;
    stroke-width: 2;
    stroke-dasharray: 2;
  }

  .hide{
    display: none;
  }
  /* This keeps child nodes hidden while the element loads */
  :not(:defined) > * {
    display: none;
  }

  /* Fim Dimensions */

  @import url('https://fonts.googleapis.com/css?family=Rubik:400,500');
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:400,500');

body {
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    line-height: 18px;
    margin: 0;
    /* padding: 2%; */
    font-weight: 400;
    /* max-width: 100vh; */
    -webkit-font-smoothing: antialiased;
    margin: 0 auto;
    overflow: hidden;
}

:not(:defined) > * {
    display: none;
}

model-viewer {
    display: flex;
    width: 100%;
    height: 100%;
    margin: auto;
}

h1 {
    margin: 10px;
    font-size: 16px;
    line-height: 24px;
    font-style: normal;
    font-weight: normal;
}

p {
    margin: 10px;
}

#ar-button {
    background-image: url(./TelhasModel/ic_view_in_ar_new_googblue_48dp.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;
    display: block;
  }
  @media only screen and (min-width: 769px) {
    #ar-button {
      /* display: none; */
    }
  }
  #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: 175px;
    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;
  }

  model-viewer > #ar-failure {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 175px;
    display: none;
  }

  model-viewer[ar-tracking="not-tracking"] > #ar-failure {
    display: block;
  }

  h1 { 
    color:green; 
} 
.btn-circle.btn-sm { 
    width: 30px; 
    height: 30px; 
    padding: 6px 0px; 
    border-radius: 15px; 
    font-size: 8px; 
    text-align: center; 
    background-color: blue; 

} 
.btn-circle.btn-md { 
    width: 50px; 
    height: 50px; 
    padding: 7px 10px; 
    border-radius: 25px; 
    font-size: 10px; 
    text-align: center; 
} 
.btn-circle.btn-xl { 
    width: 70px; 
    height: 70px; 
    padding: 10px 16px; 
    border-radius: 35px; 
    font-size: 12px; 
    text-align: center;
} 

.btn-circle {
  /* display: block; */
  margin-bottom: 10px;
  
}

.Hotspot{
  background: rgb(255, 255, 255);
  border-radius: 32px;
  border: 0px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 4px;
  box-sizing: border-box;
  cursor: pointer;
  padding: 8px;
  position: relative;
  transition: opacity 0.3s ease 0s;
  width: 12px;
  height: 12px;

}

.Hotspot[slot="hotspot-1"]{
  --min-hotspot-opacity: 0;
  background-color: rgb(255, 255, 255);
  border: 3px solid rgb(35, 121, 75); 
}

.Hotspot[slot="hotspot-3"] {
  --min-hotspot-opacity: 0;
  background-color: rgb(255, 255, 255);
  border: 3px solid rgb(35, 121, 75);
}
.Hotspot[slot="hotspot-4"] {
  --min-hotspot-opacity: 0;
  background-color: rgb(255, 255, 255);
  border: 3px solid rgb(35, 121, 75);
}
.HotspotAnnotation{
  background-color: #cecece;
  position: absolute;
  transform: translate(15px, -15px);
  border-radius: 5px;
  padding: 5px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 4px;
  white-space: nowrap;


}
/* This keeps child nodes hidden while the element loads */
:not(:defined) > * {
  display: none;
}

@media (max-width:767px) {
.controls{width:100%;
}
    
}