﻿/* SnackBar */
#snackBar {
    visibility: hidden;
    min-height: 50px;
    min-width: 300px;
    background-color: rgba(234, 219, 165, 0.95);
    color: #000;
    border-radius: 10px;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    left: 50%;
    transform: translateX(-50%);
    top: 80px;
}

    #snackBar.sbShow {
        visibility: visible;
        text-align: center;
        padding: 10px;
        -webkit-animation: fadein 0.8s, fadeout 0.8s 5.25s;
        animation: fadein 0.8s, fadeout 0.8s 5.25s;
    }

    #snackBar.warningBox {
        background-color: #FFD700;
        color: #ff0000;
    }

    #snackBar.alertBox {
        background-color: #ff0000;
        color: #fff;
    }

    #snackBar #snackButtonBox {
        margin-top: 8px;
    }


@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 80px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 80px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 80px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        top: 80px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}
