/* Emergency Notification styling */

/* Admin Side */
.wrap {
    max-width: 800px;
    margin: 0 auto;
}

.toplevel_page_fgwp-notice .radio-label span {
    padding: 0.5rem;
    display: inline-block;
    border-radius: 3px;
    margin-bottom: 5px;
    width: 5rem;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
}

/* Public Side */
.admin-bar .fgwp-notice {
    top: 0px;
}

.fgwp-notice {
    font-size: 16px;
    padding: 1em;
    /* Below WordPress admin toolbar 99998 */
    /* Below Elementor Popup 9998 */
    z-index: 9998;
    width: 100%;
    position: static;
    top: 0;
    left: 0;
    line-height: 1.8;
    display: flex;
    justify-content: center;
    visibility: hidden;
    transition:
        opacity 0.25s,
        margin 0.25s,
        transform 0.25s;
    transform: translateY(-100%);
    margin-bottom: -61px;
    box-sizing: border-box;
}
.fgwp-notice--show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0%);
    margin-bottom: 0;
}
.admin-bar .fgwp-notice.fgwp-notice--show {
    top: 32px;
}
.fgwp-notice--sticky {
    position: sticky;
}
.fgwp-notice--alert {
    background-color: #f8d7da;
    color: #842029;
    border-color: #f5c2c7;
}
.fgwp-notice--warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}
.fgwp-notice--info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}
.fgwp-notice__message {
    padding-left: 2em;
    padding-right: 2em;
}
.fgwp-notice__message p:last-of-type {
    margin-bottom: 0;
    margin-block-end: 0;
}
.fgwp-notice .mlauto {
    margin-left: auto;
}

.fgwp-notice__close {
    color: inherit;
    text-decoration: none;
    line-height: 1;
    padding: 0;
    margin: 0;
    text-decoration: none;
    background: 0 0;
    border: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
}
.fgwp-notice__close svg {
    fill: black;
}
.fgwp-notice__close:hover svg {
    fill: rgba(0, 0, 0, 0.5);
}
