.overlay_container { top: 0; left: 0; width: 100%; height: 100%; position: fixed; z-index: $overlayZ; background: rgba(22, 185, 252, .9); } .overlay_content { color: #fff; text-align: center; width: 400px; height: 250px; top: 50%; left: 50%; position: absolute; margin-top: -125px; margin-left: -200px; } .overlay_text_small { display: block; font-size: 18px; } .overlay_icon { font-size: 100px; }