  model-viewer#test {
    width: 100%;
    height: 100vh;

    overflow: hidden;
  }

  html,
  body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #171717;
    overflow: hidden;
  }



  .overlay {
    width: 100%;
    position: fixed;
    text-align: center;
    z-index: 2;
  }

  .inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
  }


  .overlay {
    left: 0;
    margin-top: 2rem;
    width: 100%;
    position: fixed;
    text-align: center;
    z-index: 2;
    /* padding: 5px; */

  }

  label.upload-label {
    cursor: pointer;

  }






  div#loader-container {
    background-color: rgba(0, 0, 0, 0.98);
    position: fixed;
    z-index: 99;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    perspective: 1000px;
    /* perspective-origin: 100% 100%; */




    margin: 0;
    /*  background: #000; */
    height: 100vh;
    display: none;
    place-items: center;

  }






  .cube {
    position: relative;
    width: 50px;
    height:50px;
    transform-style: preserve-3d;
    animation: rotate 5s linear infinite;
  }

  .cube>div {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0.9;
    background: linear-gradient(to right, #898989, #ededed);
  }

  .s1 {
    transform: translateZ(26px);
  }

  .s2 {
    transform: rotateY(90deg) translateZ(26px);
  }

  .s3 {
    transform: rotateY(180deg) translateZ(26px);
  }

  .s4 {
    transform: rotateX(90deg) translateZ(26px);
  }

  .s5 {
    transform: rotateY(-90deg) translateZ(26px);
  }

  .s6 {
    transform: rotateX(-90deg) translateZ(26px) rotate(180deg);
  }


  @keyframes rotate {
    100% {
      transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg);
    }
  }


  @import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

  * {
    box-sizing: border-box;
  }

  body {
    font-family: "Montserrat", sans-serif;
    transition: background 0.3s linear;

  }

  body.light {
    background-color: #ffffff;
  }



  .checkbox {
    opacity: 0;
    position: absolute;
  }

  .checkbox-label {
    background-color: #111;
    width: 50px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .fa-moon {
    color: #f1c40f;
  }

  .fa-sun {
    color: #f39c12;
  }

  .checkbox-label .ball {
    background-color: #939596;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    transition: transform 0.3s linear;
  }

  .checkbox:checked+.checkbox-label .ball {
    transform: translateX(24px);
  }


  .sidebar {
    background-color: rgb(59 71 81 / 60%);
    position: fixed;
    top: 10vh;
    right: 1vh;
    z-index: 99;
    border-radius: 0.5rem;
    padding: 0.75rem;
    -webkit-box-shadow: 0px 0px 9px 1px rgba(82,142,161,0.18); 
box-shadow: 0px 0px 9px 1px rgba(82,142,161,0.18);
  }

  body.light .sidebar {
    background-color: rgb(190 190 190 / 60%);
    -webkit-box-shadow: 0px 0px 9px 1px rgba(166,166,166,0.28); 
    box-shadow: 0px 0px 9px 1px rgba(166,166,166,0.28);
  }

  body.light .checkbox-label {
    background-color: #ffffff;
  }

  .sidebar-btn {
    cursor: pointer;
    font-size: 1.2rem;
    color: #ffffff;
    margin-top: 0.5rem;
    text-align: center;
    background-color: #5a5a5a;
    padding: 2px 4px;
    border-radius: 4px;
  }

  #initial-poster {

    width: 100%;
    height: 100vh;
    perspective: 1000px;
    /* perspective-origin: 100% 100%; */




    margin: 0;
    /*  background: #000; */
    height: 100vh;
    display: grid;
    place-items: center;

  }

  div#initial-poster svg {
    fill: #989898;
    /* color: red; */
    width: 8rem;
  }

  .initial-text {
    text-align: center;
    color: #a6a6a6;
    font-size: 1.5rem;
  }

  .svg-container {
    text-align: center;
    cursor: pointer;
  }

  /* This keeps child nodes hidden while the element loads */
  :not(:defined)>* {
    display: none;
  }

  model-viewer {
    background-color: #eee;
    overflow-x: hidden;
  }

  #ar-button {
    text-transform:uppercase;
    background-image: url(https://slabcloud.com/common/ar/assets/ar-view-light.png);
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: 12px 50%;
    background-color: rgb(59 71 81 / 70%);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    bottom: 100px;
    padding: 0px 16px 0px 40px;
    font-family: Roboto Regular, Helvetica Neue, sans-serif;
    font-size: 16px;
    color: #ffffff;
    height: 40px;
    line-height: 40px;
    border-radius: 6px;
    border: 1px solid #373737;
  }

  .light #ar-button {
    background-image: url(https://slabcloud.com/common/ar/assets/ar-view-dark.png);
    background-color: rgb(190 190 190 / 70%);
    color: #5f5f5f;
    border: 1px solid #cdcdcd;
  }

  #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;
  }

  .slider {
    width: 100%;
    text-align: center;
    overflow: hidden;
    position: absolute;
    bottom: 16px;
  }

  .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: 100px;
    height: 100px;
    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;
  }

  .slide:focus {
    outline: none;
  }

  .slide:focus-visible {
    outline: 1px solid #4285f4;
  }
  .slabsmith .s1 {
    background: linear-gradient(to right, #fff200, #fffa74) !important;
}
.slabsmith .s6 {
  background: linear-gradient(to right, #ff0000, #ff8585) !important;
}
.slabsmith .s3 {
  background: linear-gradient(to right, #00ff15, #adff8b) !important;
}

.slabsmith .s4 {
  background: linear-gradient(to right, #0010ff, #7787ff) !important;
}

.slabsmith .s5 {
  background: linear-gradient(to right, #0010ff, #7787ff) !important;
}

.slabsmith .s2 {
  background: linear-gradient(to right, #cb00ff, #ec81fc) !important;
}







   .sidebar {
      background-color: rgb(59 71 81 / 60%);
      position: fixed;
      top: 25vh;


    }

    .sidebar-btn {
    cursor: pointer;
    font-size: 1.3rem;
    color: #ffffff;
    margin-top: 0.5rem;
    text-align: center;
    background-color: #5a5a5a;
    padding: 0px;
    padding-top: 4px;
    padding-bottom: 0px;
    border-radius: 4px;
}

    div#layout-selector {
      z-index: 3;
      position: absolute;
      width: 100%;
      top: 0px;
      background-color: rgba(0, 0, 0, 0.5);
      text-align: center;
      -webkit-box-shadow: 0px 0px 9px 1px rgb(84 84 84 / 18%);
      box-shadow: 0px 0px 9px 1px rgb(83 83 83 / 18%);
    }

    .layout-wrapper {
    display: table;
    margin: 2px auto;
}

    .layout-item {
      display: table-cell;
      width: 300px;
     /* height: 133px; */
      padding: 10px;
    }
    .layout-item.active {
    border: 1px solid #3d3d3d;
    background-color: #1d2a30;
}

 

    img.layout-thumb {
    cursor: pointer;
    padding: 0.3rem;
    height: 96px;
}

.layout-title {
    margin-top: -6px;
}

    /* img.layout-thumb:hover { */
    .layout-item:hover {

      background-color: #263b4b;
      /* transform: translate(0px,30px) scale(1.5); */

      border: 1px solid gray;
      transition: transform 0.5s ease-in-out;
      -webkit-transition: transform 0.5s ease-in-out;
      -moz-transition: transform 0.5s ease-in-out;
      -ms-transition: transform 0.5s ease-in-out;
    }

    .layout-title {
      color: #b3b3b3;
    }

 

    .light .layout-item:hover {
      background-color: #e7e7e7;
      border: 1px solid #e6e6e6;

    }

    .light .layout-title {
      color: #484848;
    }

    .light div#layout-selector {
    border-bottom: 1px solid #e4e4e4;
    background-color: rgb(235 235 235 / 85%);
    -webkit-box-shadow: 0px 0px 9px 1px rgba(166, 166, 166, 0.28);
    box-shadow: 0px 0px 9px 1px rgba(166, 166, 166, 0.28);
}

.light .layout-item.active {
    background-color: #ffffff;
    border: 1px solid #cfcfcf;
}


    .sidebar-btn img {
      width: 22px;
    }

    div#qr-code-wrapper {
      display: none;
      border: 1px solid gray;
      background-color: rgba(0, 0, 0, 0.8);
      padding: 1rem;
      padding-top: 0.1rem;
      z-index: 3;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      -webkit-box-shadow: 0px 0px 9px 1px rgba(82, 142, 161, 0.18);
    box-shadow: 0px 0px 9px 1px rgba(82, 142, 161, 0.18);
}

div#approve-wrapper {
  width: 98%;
  max-width: 960px;
      border: 1px solid gray;
      background-color: #fff;
      padding: 1rem;
      padding-top: 0.1rem;
      z-index: 3;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      -webkit-box-shadow: 0px 0px 9px 1px rgba(82, 142, 161, 0.18);
    box-shadow: 0px 0px 9px 1px rgba(82, 142, 161, 0.18);
}
  

    #qr-close {
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    color: #fff;
}

div#qr-close i {
    margin-right: -12px;
    float: right;
    font-size: 1.3rem;
}


.light div#qr-code-wrapper {
    border: 1px solid #dcdcdc;
    background-color: rgba(235, 235, 235, 0.8);
    -webkit-box-shadow: 0px 0px 9px 1px rgba(166, 166, 166, 0.28);
    box-shadow: 0px 0px 9px 1px rgba(166, 166, 166, 0.28);
}
.light #qr-close {
    color: #1a1a1a;
}


.icon-phone {
    color: #ffc800;
}
.icon-icons8-sun {
    color: #ffa500;
}

i.icon {
    margin-top: 5px;
    font-size: 1.1rem;
}



#sign-btn {
    border: 1px solid #656565;
    border-radius: 4px;
    font-weight: 500;
    left: 50%;
    transform: translate(-50%, 0%);
    margin-top: 1rem;
    cursor: pointer;
    padding: 0.7rem;
    text-transform: uppercase;
    color: #fff;
    background-color: #009de3;
    position: fixed;
    width: 210px;
    margin: auto;
    font-size: 1rem;
    margin-top: 1rem;

    -webkit-box-shadow: 0px 0px 9px 1px rgba(82, 142, 161, 0.18);
    box-shadow: 0px 0px 9px 1px rgba(82, 142, 161, 0.18);
}

div#loader-container {
    background-color: rgba(0, 0, 0, 0.98);
    position: fixed;
    z-index: 101;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    perspective: 1000px;
    /* perspective-origin: 100% 100%; */
    margin: 0;
    /* background: #000; */
    height: 100vh;
    display: none;
    place-items: center;
}

div#pdf-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 100;
    background-color: #000;
    display:none;
}
div#pdf-close {
    color: #3e3e3e;
    position: absolute;
    width: 100%;
    text-align: right;
    padding-right: 10px;
    padding-top: 10px;
}
i#close-pdf {
    color: #ffffff;
    background-color: #454545;
    font-size: 24px;
    padding: 6px;
    padding-bottom: 0px;
    cursor: pointer;
}


div.sidebar-btn svg
 {
    padding-bottom: 6px;
    margin-top:3px;
}

svg.svg-icon
 {
    margin: auto;
}


@media screen and (max-width: 600px) {
.sidebar {
    transform: scale(0.8);
   
    top: 25vh;
    right: -4px;
}
  
}