/**
 * SimpleLightbox styles for DW Video or Featured Widget
 */

/* Base lightbox styling */
.dw-vof-lightbox {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.dw-vof-lightbox:hover {
    opacity: 0.9;
}

/* SimpleLightbox customization */
.sl-overlay {
    background-color: #000;
    opacity: 0.9;
}

.sl-wrapper .sl-close {
    color: #fff;
    font-size: 30px;
}

.sl-wrapper .sl-navigation button {
    color: #fff;
}

.sl-wrapper .sl-counter {
    color: #fff;
}

.sl-wrapper .sl-caption {
    background: transparent !important;
    color: #fff;
    text-align: center;
    box-shadow: none;
    padding: .25rem 0; /* bring closer to the image */
    margin: 0 auto;      /* center block and avoid bottom edge bias */
    position: static !important; /* move out of overlay and below image */
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
}
.sl-wrapper .sl-caption .sl-caption-text {
    background: transparent !important;
    color: #fff !important;
    text-align: center;
    display: block;
    margin: 0 auto;
    padding: 0;
}

/* Zoom icon indicator */
.dw-vof-lightbox-container {
    position: relative;
    display: block;      /* allow full-width scaling */
    width: 100%;
}
.dw-vof-lightbox-link {
    display: block;      /* anchor should fill container */
}
.dw-vof-lightbox {
    display: block;      /* img as block for proper scaling */
    width: 100%;
    height: auto;
}

.dw-vof-lightbox-container::after {
    content: "";
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3Cpath d='M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.dw-vof-lightbox-container:hover::after {
    opacity: 1;
}
