/*----------Lightbox Popup-------*/ div#lightbox_popup { position: fixed; top: 0px; bottom: 0px; left: 0px; right: 0px; width: 100%; background: rgba(0, 0, 0, 0.7); z-index: 99999999999; overflow: auto; } #lightboxScrollFrame { width: 100%; height: 100%; z-index: 99999999999; display: table !important; overflow: auto; } .lightboxWrapper { display: table-cell; vertical-align: middle; text-align: center; width: 100%; } div#popupContainer { position: relative; padding: 25px 20px; background: #fff; text-align: left; display: inline-block; max-width: 800px; margin: 2%; width: 96%; } div#close_lightbox { position: absolute; top: 12px; right: 10px; font-size: 4rem; }