.preview-3d-container{
    width: 100%;
    height: 85%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: stretch;
    align-items: stretch;
    -ms-flex-pack: start;
    justify-content: center;
    align-items: center;
}


#overlay3d {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 6;
    cursor: pointer;
    display: none;
    justify-content: center;
  }
  /* use for 3D */
  #overlayreder3d{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
  }
  .preview-3d{
    position: relative;
    width: 98%;
    height: auto;
  }
  .mouse-control-3d{
    position: absolute;
    top: 100px;
    left: 10px;
    border: 1px solid #1068e2;
  }
  .mouse-control-3d-close{
    position: absolute;
    bottom: 10px;
    right: 10px;
    border: 0px solid #1068e2;
  }
  .mouse-control-3d-2{
    position: absolute;
    top: calc(100%-60px);
    left: 10px;
    border: 1px solid #c50707;
    display: flex;
    top: calc(100% - (50px + 25px));
    /* align-items: center; */
    /* justify-content: center; */
    left: 50%;
    transform: translateX(-50%);
  }
  .background-list-3d{
    position: absolute;
    /* right: 10px; */
    top: 2px;
    display: flex;
    width: 100%;
  }
  .background-3d .image{
    width: 65px;
    height: 60px;
    border-radius: 5px;
    object-fit: cover;
  }
  .button.active{
    border: unset;
    padding: 0;
  }
  .mouse-control-3d .button{
    max-width: 60px;
    white-space: normal;
    height: auto !important;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  
  }
  .mouse-control-3d .button .image{
    width: 30px;
  }
  .mouse-control-3d .button .image span{
    height: auto !important;
  }  
  .btn-preview-3d {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 50px;
    height: 40px;
    border: 1px #665858 solid;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
  }
  .background-3d{
    width: calc(100%/6);
  }
  .wrap-3d{
    width: 100%;
    height: 100%;
    border-radius: 5px;
  }
  #canvas_3d_preview{
    width: 100%;
    height: 450px;
    touch-action: none;
    border-radius: 5px;
  }
  .background-list-3d .button{
    border-radius: 5px;
  }

  .mouse-control-3d-box .button{
    border: unset;
    padding: 0 10px;
    height: 52px !important;
  } 
  .mouse-control-3d-box .button .image{
    height: 28px !important;
  } 

  
  .guidance-3d-view{
    max-width: 60px;
    white-space: normal;
    height: 60px;
    font-size: 11px;
  }

  .background-3d-select{
    max-width: 65px;
    white-space: normal;
    height: 60px;
  }

  .guidance-3d-label{
    max-width: 60px;
    white-space: normal;
    height: 70px;
    font-size: 11px;
  }

  .loader-3d{
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid blue;
    border-right: 16px solid green;
    border-bottom: 16px solid red;
    border-left: 16px solid pink;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 41%;
    left: 41%;
  }
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
