﻿.backgroundDialog {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
    z-index: 5;
}

    .backgroundDialog > div {
        background-color: var(--color-backgroundDialogs);
        box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.1);
        padding: 25px;
        border-radius: 10px;
        max-height: 95%;
    }

    .backgroundDialog label {
        color: var(--color-text);
    }

    .backgroundDialog p {
        margin-top: 20px;
        margin-bottom: 2px;
    }

    .backgroundDialog header {
        color: var(--color-highlight);
        font-size: 1.2em;
        margin-bottom: 15px;
    }

    .backgroundDialog footer {
        margin-top: 20px;
        padding: 0px;
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        text-align: left;
        gap: 10px;
    }

        .backgroundDialog footer > button {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

@keyframes fadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        visibility: hidden;
    }

    100% {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .backgroundDialog > div {
        width: 90%;
    }
}
