.blazored-toast-container {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 1100;
}

.position-topleft,
.position-topright,
.position-topcenter {
    top: 0;
}

.position-bottomleft,
.position-bottomright,
.position-bottomcenter {
    bottom: 0;
}

.blazored-toast {
    display: flex;
    position: relative;
    flex-direction: row;
    animation: fadein 1.5s;
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    color: #000;
    width: 100vw;
    box-shadow: rgba(0,0,0,0.25) 0px 0px 3px;
}

.blazored-toast-info {
    background-color: #fff;
}

.blazored-toast-success {
    background-color: #fff;
}

.blazored-toast-warning {
    background-color: #fff;
}

.blazored-toast-error {
    background-color: #fff;
    border: 4px solid #FF514B;
}

.blazored-toast-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem 0 0;
    font-size: 2.5rem;
}

.blazored-toast-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .blazored-toast-body .blazored-toast-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

        .blazored-toast-body .blazored-toast-header h5 {
            font-weight: bold;
            font-size: 1rem;
            margin-bottom: 0;
            line-height: 32px;
        }

        .blazored-toast-body .blazored-toast-header .blazored-toast-close {
            background-color: transparent;
            border: 0;
            -webkit-appearance: none;
            color: inherit;
            font-size: 1rem;
        }

    .blazored-toast-body p {
        margin-bottom: 0;
        font-size: 0.9rem;
    }

.blazored-toast-progressbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    /*border-bottom-left-radius: .25rem;
    border-bottom-right-radius: .25rem;*/
    margin: 10px;
    margin-top: 20px;
}

.blazored-toast-info .blazored-toast-progressbar > span {
    background-color: #22bbbf;
}

.blazored-toast-success .blazored-toast-progressbar > span {
    background-color: #22bbbf;
}

.blazored-toast-warning .blazored-toast-progressbar > span {
    background-color: #22bbbf;
}

.blazored-toast-error .blazored-toast-progressbar > span {
    background-color: #22bbbf;
}

.blazored-toast-progressbar > span {
    position: absolute;
    /*filter: brightness(75%);*/
    height: 4px;
    border-radius: .25rem;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (min-width: 576px) {

    .position-topleft {
        top: 2rem;
        left: 2rem;
    }

    .position-topright {
        top: 5rem;
        right: 2rem;
    }

    .position-topcenter {
        top: 2rem;
        left: 50%;
        margin-left: -15rem;
    }

    .position-bottomleft {
        bottom: 2rem;
        left: 2rem;
    }

    .position-bottomright {
        bottom: 2rem;
        right: 2rem;
    }

    .position-bottomcenter {
        bottom: 2rem;
        left: 50%;
        margin-left: -15rem;
    }

    .blazored-toast {
        width: 20rem;
        border-radius: .25rem;
    }
}
