/* this is a CSS file from the post
 * divilife.com/how-to-create-popup-in-divi/
 * added here for use with St Cecilia promotion , 11/2026 --RC */

/* Overlay styles */
.lightbox-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background-color: rgba(0,0,0,0.8) !important;
	z-index: 999998 !important;
	display: none;
}
/* Lightbox content styles */
[class*="lightbox-content"] {
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	background: #fff !important;
	padding: 30px !important;
	border-radius: 5px !important;
        width: 90%;
	max-width: 1440px !important;
	max-height: 90% !important;
	overflow: auto !important;
	z-index: 999999 !important;
	display: none;
	box-shadow: 0 0 20px rgba(0,0,0,0.2) !important;
}
@media (max-width: 767px) {
  /* Styles for mobile devices */
 [class*="lightbox-content"] {
	transform: translate(-20%, -20%) !important;
}
}
/* Close button styles */
.lightbox-close {
	position: absolute !important;
	top: 10px !important;
	right: 10px !important;
	font-size: 24px !important;
	cursor: pointer !important;
	color: #333 !important;
	background: none !important;
	border: none !important;
	padding: 5px !important;
	line-height: 1 !important;
}
/* Prevent scrolling on body when lightbox is open */
body.lightbox-open {
	overflow: hidden !important;
}
