.elementor-element.elementor-element-e5815d0 , .elementor-3865 .elementor-element.elementor-element-7e7ddf5{
display: none;
}
.elementor-element.elementor-element-206ca9c {
display: none;
}
/* Style for the background blur/dark overlay */
.custom-popup-overlay {
display: flex;
position: fixed;
z-index: 99999; /* Ensures it sits on top of header/menu */
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
justify-content: center;
align-items: center;
}
/* Style for the popup box container */
.custom-popup-content {
position: relative;
background-color: #fff;
padding: 10px;
border-radius: 8px;
max-width: 400px; /* Adjust maximum width as you like */
width: 90%;
box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
animation: popupScale 0.3s ease-out;
}
/* Image scaling to make it responsive */
.custom-popup-content img {
width: 100%;
height: auto;
display: block;
border-radius: 4px;
}
/* Style for the Close 'X' button */
.custom-popup-close {
position: absolute;
top: -15px;
right: -15px;
background: #ff3b30;
color: white;
font-size: 24px;
font-weight: bold;
width: 30px;
height: 30px;
border-radius: 50%;
text-align: center;
line-height: 27px;
cursor: pointer;
box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
}
@keyframes popupScale {
from { transform: scale(0.7); opacity: 0; }
to { transform: scale(1); opacity: 1; }
}
// Function to close the popup when 'X' is clicked
function closepharmacyPopup() {
document.getElementById('pharmacy-popup').style.display = 'none';
}
// Optional: Close popup if they click anywhere outside the image box
window.onclick = function(event) {
var overlay = document.getElementById('pharmacy-popup');
if (event.target == overlay) {
overlay.style.display = 'none';
}
}
×