
/**
 * This element is using CSS from the following:
 *
 * - opengemeenten_site/Components/Notification/OpenGemeentenSite-Notification.css
 *
 * Variables can be set there globally or override them here!
 */

.calamity {
    --font-size: var(--root-font-size); /* Reset: use REM */
}

.calamity__info {
    --color-background: var(--root-color--red-light);
    --color-border: var(--root-color--red);
    --color-text: var(--root-color-text);
    --font-family: inherit;
    --font-size: 1em;
    --font-weight: normal;
    --font-style: normal;
    --line-height: inherit;
}

.calamity__show-closed {
    --color-text: var(--root-color-text);
    --font-family: inherit;
    --font-size: 1em;
    --font-weight: var(--root-font-weight--normal);
    --font-style: normal;
    --line-height: inherit;
}

.calamity {
    margin-bottom: 0;
    margin-top: 0;
}

.calamity__info {
    border-style: solid;
    border-width: 0.125rem;
    display: none;
    padding: 0.5rem 0.75rem;
    margin: 1rem;
}

.calamity__show-closed {
    cursor: pointer;
    text-decoration: underline;
}

.calamity__list .notification:first-child {
    margin-top: 3rem;
}

.calamity__list .notification:last-child {
    margin-bottom: 3rem;
}

.calamity {
    font-size: var(--font-size, 1rem);
}

.calamity__info {
    background-color: var(--color-background, hsl(6, 75%, 96%));
    border-color: var(--color-border, hsl(6, 75%, 51%));
}

.calamity__show-closed {
    color: var(--color-text, black);
    font-family: var(--font-family, inherit);
    font-size: var(--font-size, 0.833em);
    font-weight: var(--font-weight, normal);
    font-style: var(--font-style, normal);
    line-height: var(--line-height, inherit);
}
