/* image-protection.css - Site-wide image protection */
/* iframe-fix.css - Allow iframe interactions */
*[id*="iframe"], 
*[id*="Iframe"], 
*[class*="iframe"],
*[class*="Iframe"],
iframe,
iframe * {
    pointer-events: auto !important;
    user-select: auto !important;
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    -webkit-user-drag: auto !important;
}

.protection-overlay {
    display: none !important;
}

/* Apply to all images on the site */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Protect specific image classes used in your galleries */
.thumb, .pngDelayDisplay, .qx-img-Fit, .qx-img-box img {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
    -moz-user-drag: none !important;
    -ms-user-drag: none !important;
    user-drag: none !important;
    pointer-events: none !important;
}

/* Add protection to thumbnail containers */
.thumbnail, .qx-img-box, .slideshow, [data-widget="SLIDESHOW"] {
    position: relative;
    cursor: default;
}

.thumbnail::after, .qx-img-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 999;
}

/* Global body protection */
body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Protection overlay */
.protection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10000;
    pointer-events: none;
}