/* Election information: a floating, non-blocking notice. */
.ewybory-visit-notice-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 24px 10vw !important;
    box-sizing: border-box !important;
    /* Do not cover or intercept the page while the notice is visible. */
    pointer-events: none !important;
    background: transparent !important;
    overflow: visible !important;
}
.ewybory-visit-notice-panel {
    position: relative !important;
    flex: 0 1 400px !important;
    width: 100% !important;
    max-width: 400px !important;
    max-height: calc(100dvh - 48px) !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    border: 1px solid #000 !important;
    border-radius: 5px !important;
    background: #fff9c4 !important;
    color: #171717 !important;
    padding: 15px !important;
    margin: auto !important;
    box-shadow: 0 10px 38px rgba(0,0,0,.16) !important;
    pointer-events: auto !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: center !important;
}
.ewybory-visit-notice-content {
    text-align: center !important;
    overflow-wrap: anywhere !important;
    white-space: pre-wrap !important;
    /* Symmetric vertical spacing; horizontal space keeps text clear of the close icon. */
    padding: 0 30px !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}
.ewybory-visit-notice-close {
    position: absolute !important;
    top: 3px !important;
    right: 5px !important;
    width: 33px !important;
    height: 33px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #000 !important;
    cursor: pointer !important;
    font: normal 28px/33px Arial,sans-serif !important;
    text-align: center !important;
}
.ewybory-visit-notice-close:focus-visible {
    outline: 2px solid #000 !important;
    outline-offset: -2px !important;
}
@media (max-width: 760px) {
    .ewybory-visit-notice-overlay { padding-left: 10vw !important; padding-right: 10vw !important; }
    .ewybory-visit-notice-panel { max-width: 100% !important; }
}
