.elementor-element.elementor-element-3864aa4, .elementor-element.elementor-element-206ca9c , .elementor-3865 .elementor-element.elementor-element-7e7ddf5, .elementor-element.elementor-element-59a5732, .elementor-element.elementor-element-e5815d0 {
display: none !important;
}
/*.elementor-3865 .elementor-element.elementor-element-bc1ef9a {*/
/*--e-con-grid-template-rows: repeat(1, 1fr) !important;*/
/*}*/
/* 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: 500px; /* 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 closeNursingPopup() {
document.getElementById('agriculture-popup').style.display = 'none';
}
// Optional: Close popup if they click anywhere outside the image box
window.onclick = function(event) {
var overlay = document.getElementById('agriculture-popup');
if (event.target == overlay) {
overlay.style.display = 'none';
}
}
×