/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.webar-image-ar-overlay {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1500;
    text-align: center;
}

.webar-image-ar-overlay #modelviewer-container {
    position: absolute;
    left: 25%;
    top: 25%;
    transform: translate(-16%, -16%);
    width: 75%;
    height: 75%;
    background: white;
    border-radius: 20px;
    text-align: center;
}

.webar-image-ar-overlay #qrcode-container {
    height: auto;
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    text-align: center;
    padding: 15px;
    max-width: 600px;
}

#qrcode-container h4 {
    display: inline;
}

#webar_image_qr_code_heading {
    margin-bottom: 20px;
}

#qrcode-container .client-logo img {
    max-height: 100px;
}

#qrcode {
    margin-bottom: 20px;
}

.after-qr-code {
    margin-bottom: 80px;
}

#qr_code_tooltip::after {
    content: "?";
    color:white;
    background-color: #555;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 20px;
}

.webar_image_qr_code_tooltip {
    z-index: 1501;
    font-size: 14px;
    background-color: #555;
    color:white;
    border-radius: 15px;
    padding: 20px;
    max-width: 400px;
}
.webar_image_ar_link_loader {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #555; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

#webar_image_ar_link_email_form h4 {
    display: block;
    margin-bottom: 10px;
}

#webar_image_ar_link_email_success {
    display: none;
    color: green;
}

.webar_image_email_form_group {
    margin-bottom: 10px;;
}

#webar_image_email_ar_link_submit_loader {
    display: none;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#qr-overlay-close {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0 0 20px 20px;
}

#qrcode img {
    margin: auto;
}

.webar-image-ar-overlay #webarimage-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.webar-image-ar-overlay iframe {
    height: 100%;
    width: 100%;
}

.webar-close-ar-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 60px;
    padding: 0 20px 0 20px;
}

#close-ar-view-button {
    height: 60px;
    line-height: 60px;
}

.webar_image_preview_ar_button {
    margin-bottom: 10px;
}

.webar_image_preview_ar_button::before {
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-right: 10px;
}