.alert-wrapper { position: relative; } .alert-screen-wrapper { background: $chrome; top: 3rem; left: 0; right: 0; bottom: -2px; height: auto; overflow: hidden; position: absolute; z-index: 2000; /* Above form validation error tooltip */ &.-full-screen { top: 0; } } .alert-screen { margin-top: 3.4rem; display: flex; align-items: center; justify-content: center; &.-full-screen { margin-top: 5rem; } } .alert-screen-content { width: 75%; .alert-screen_image { display: flex; align-items: center; justify-content: center; img { display: block; width: 2rem; height: auto; } } .alert-screen_text { margin-top: 1rem; text-align: center; white-space: pre-line; h1, h2, big, strong { font-weight: 600; font-size: ms(1); line-height: ms(1) * 1.3; margin-bottom: 0.25rem; } p { color: $grey; font-size: 0.8rem; line-height: 1.4; padding-top: 0.5rem; } } }