.tpvModelViewerBlock {
    height: 320px;
}

model-viewer {
    width: 630px !important;
    height: calc(320px + 0px);
    margin: 0 auto;
}

model-viewer:focus {
    outline: none;
}

.app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.editor-body-root {
    display: flex;
    flex: auto;
    height: 0;
}

.mvContainer {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    width: 100%;
}

/*Fullscreen Model Preview Code Start*/
.tpv-wrapper.tpv_model_parent {
    position: relative;
}

.tpv-fullscreen {
    position: absolute;
    width: 34px;
    height: 34px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 10px;
    top: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    color: #000;
}

.tpv-ar-btn {
    position: absolute;
    width: 34px;
    height: 34px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 50px;
    top: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    color: #000;
}

.tpv-wrapper.tpv_model_parent .tpv-ar-btn:nth-child(2) {
    right: 10px;
}

.tpv-wrapper.tpv_model_parent .tpv-ar-btn:nth-child(3) {
    right: 50px;
}

.tpv-wrapper.tpv_model_parent .tpv-ar-btn:nth-child(4) {
    right: 90px;
}

.tpv-ar-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tpv-close-icon {
    position: fixed;
    width: 34px;
    height: 34px;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 10px;
    top: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    color: #000;
}

/*Fullscreen Model Preview Code End*/

/* AR QR Code Popup CSS Start*/
.tpv-ar-model-popup {
    position: relative;
    display: inline-block;
}

.tpv-ar-icon {
    cursor: pointer;
}

.tpv-open-icon {
    display: flex;
}

.hide {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-50%) translateY(-50%) scale(0.8) !important;
    -moz-transform: translateX(-50%) translateY(-50%) scale(0.8) !important;
    -o-transform: translateX(-50%) translateY(-50%) scale(0.8) !important;
    -webkit-transform: translateX(-50%) translateY(-50%) scale(0.8) !important;
}

.tpv-ar-close-btn {
    position: absolute;
    right: 0;
    top: 0;
    width: 51px;
    height: 51px;
    font-size: 0;
    cursor: pointer;
}

.tpv-ar-close-btn:before,
.tpv-ar-close-btn:after {
    content: '';
    position: absolute;
    background: #767676;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    -o-border-radius: 1px;
    border-radius: 1px;
    left: 14px;
    right: 14px;
    top: 30px;
    height: 3px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    transition: all 100ms ease-in;
    -moz-transition: all 100ms ease-in;
    -webkit-transition: all 100ms ease-in;
    -o-transition: all 100ms ease-in;
}

.tpv-ar-close-btn:after {
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.tpv-ar-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: #FAFDFF;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    width: 600px;
    box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.09), 0px 11px 12px 7px rgba(0, 0, 0, 0.02);
    -moz-transition: all 120ms;
    -webkit-transition: all 120ms;
    -o-transition: all 120ms;
    transition: all 120ms;
    z-index: 99;
    padding: 25px;
    color: #5E5E5E;
}

.tpv-ar-popup-container {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1;
}

.tpv-ar-popup-container:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0000008f;
    left: 0;
    top: 0;
}

.tpv-ar-popup-header {
    text-transform: uppercase;
    font-size: 18px;
}

.tpv-ar-popup-body {
    padding: 25px 0;
}

.tpv-ar-popup-body img {
    margin: auto;
}

/* AR QR Code Popup CSS End*/

@media screen and (max-width:768px) {
    .mvContainer model-viewer {
        width: 100% !important;
    }
}