.modal-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); background-color: rgba(0, 0, 0, 0.5); z-index: 1501; display: flex; justify-content: center; align-items: center; box-sizing: border-box; } .modal-backdrop>.disruption-modal { display: flex; flex-direction: column; background-color: white; border-radius: 8px 8px 0 0; width: 100%; overflow-y: auto; /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */ z-index: 1502; color: #444; font-family: 'Noto Sans Display', Arial, sans-serif; position: absolute; bottom: 0; max-height: 90vh; } @media (pointer: fine) and (min-width: 769px) { .modal-backdrop>.disruption-modal { max-width: calc(100% - 300px); /* Subtract 150px from both left and right */ position: unset; border-radius: 8px; } } .modal-backdrop>.disruption-modal .header-with-line>header { padding: 0 0 0 16px; height: 70px; background-color: #fef7d7; display: flex; align-items: center; } @media (pointer: fine) and (max-width: 768px) { .modal-backdrop>.disruption-modal .header-with-line>header { height: 50px; padding: 10px; } } .modal-backdrop>.disruption-modal .header-with-line>header:focus { outline: none; } .modal-backdrop>.disruption-modal .header-with-line>header .header-text { font-weight: 500; font-size: 16px; } .modal-backdrop>.disruption-modal .header-with-line>header .header-text:focus { outline: none; } .modal-backdrop>.disruption-modal .header-with-line .line { height: 1px; align-self: stretch; flex-grow: 0; background-color: #e8e8e8; } .modal-backdrop>.disruption-modal>#modal-content { overflow-y: auto; padding: 16px 16px 0; font-size: 16px; box-shadow: 0px -10px 15px -5px rgba(0, 0, 0, 0.2) inset; } @media (pointer: fine) and (min-width: 768px) { .modal-backdrop>.disruption-modal>#modal-content { max-height: 80vh; } } @media (pointer: fine) and (max-width: 768px) { .modal-backdrop>.disruption-modal>#modal-content { max-height: none; padding: 10px 10px 0; } } .modal-backdrop>.disruption-modal>#modal-content:focus { outline: none; } .modal-backdrop>.disruption-modal>#modal-content h2:focus, .modal-backdrop>.disruption-modal>#modal-content p:focus { outline: none; } .modal-backdrop>.disruption-modal>#modal-content h2 { font-weight: 500; font-size: 16px; } .modal-backdrop>.disruption-modal>#modal-content h2:is(:first-of-type) { margin-top: 0; } .modal-backdrop>.disruption-modal>#modal-content p, .modal-backdrop>.disruption-modal>#modal-content ul li { font-weight: 300; margin-bottom: 0; line-height: 1.5; padding: 0; } html.ar .modal-backdrop>.disruption-modal>#modal-content ul li { font-size: 1.4rem; } .modal-backdrop>.disruption-modal>#modal-content ul { padding-inline-start: 40px; } .modal-backdrop>.disruption-modal>#modal-content a { color: #333; text-decoration: underline; } .modal-backdrop>.disruption-modal>#modal-content a:hover { background: rgba(0, 0, 0, .05); text-decoration: none; } .modal-backdrop>.disruption-modal>#modal-content a:focus { border-radius: 2px; outline: 0; box-shadow: 0 0 2px 1.5px #fff, 0 0 3px 3px #000; } .modal-backdrop>.disruption-modal>#modal-content p:not(:last-child) { margin: 15px 0; } .modal-backdrop>.disruption-modal>#modal-content p:last-child { padding-bottom: 2rem; } .modal-backdrop>.disruption-modal>footer { padding: 1.6em; } @media only screen and (min-width: 768px) { .modal-backdrop>.disruption-modal>footer { margin-top: 0; } } @media (pointer: fine) and (max-width: 768px) { .modal-backdrop>.disruption-modal>footer { padding: 1em; } } .modal-backdrop>.disruption-modal>footer .confirm-button { height: fit-content; min-height: 56px; width: fit-content; min-width: 180px; padding: 16px; border-radius: 8px; } .modal-backdrop .hide-scrollbar { overflow: scroll; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; } .modal-backdrop .hide-scrollbar::-webkit-scrollbar { display: none; } /* Additional Overrides */ .modal-backdrop ul>li { list-style: disc; } .modal-backdrop .cta--primary { border: 0; background: #d71921; color: #fff; } .modal-backdrop .cta { display: block; cursor: pointer; font-weight: 700; text-decoration: none; appearance: none !important; white-space: normal; } .modal-backdrop .cta--ghost, .cta--primary, .cta--secondary { font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px; line-height: 19px; font-style: normal; border-radius: .3rem; width: 100%; } .modal-backdrop .sr-end { position: absolute; display: block; width: 0; height: 0; padding: 0; opacity: 0; } .modal-backdrop [tabindex]:focus { -webkit-box-shadow: none; border-radius: 0; box-shadow: none; } .modal-backdrop hr { border-top: 1px solid #eee; }