﻿div .notification-container {
    position: sticky;
    /*justify-content: flex-end;*/
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 !important;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
}

.notification-wrapper {
    position: absolute;
    width: 100%;
    position: fixed;
    margin-top: 0;
    max-width: 96%;
}

.notification {
    display: none;
    background-color: green;
    padding: 0.5rem;
    z-index: 50;
    width: 100%;
    
}

.toast {
    
    color: #fff;
    z-index: 1;
    /*position: absolute;*/
    width: 25rem;
    top: 2rem;
    border-radius: 1rem;
    left: 50%;
}

.toast-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem;
    font-size: 2.5rem;
}

.toast-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 1rem;
}

    .toast-body p {
        margin-bottom: 0;
    }

.notification-visible {
    display: flex;
    width: 100%;
    opacity: 1;
    animation: slideIn 1s;
}

.notification-hidden {
    display: flex;
    flex-direction: row;
    animation: slideOut 1s;
}

@keyframes slideIn {
    from {
        margin-top: -10%;
    }

    to {
        margin-top: 0%;
        display : block;
    }
}

@keyframes slideOut {
    from {
        margin-top: 0%;
    }

    to {
        margin-top: -10%;
    }
}


.info-color {
    background-color: #17a2b8;
    color: white;
}

.success-color {
    background-color: #28a745;
    color: white;
}

.warning-color {
    background-color: #ffc107;
    color: black;
}

.error-color {
    background-color: #dc3545;
    color: white;
}