﻿.blazored-toast-container {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 1055;
}

.position-topleft,
.position-topright,
.position-topcenter {
    top: 0;
}

.position-bottomleft,
.position-bottomright,
.position-bottomcenter {
    bottom: 0;
}

.blazored-toast {
    display: flex;
    flex-direction: row;
    animation: fadein 1.5s;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    color: #7B8091;
    background: white;
    width: 17.5rem;
    border: 1px solid #c6cdd7;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 25%) -5px 20px 20px;
    z-index: 150;
}

.blazored-toast-info {
    /*background: linear-gradient( 135deg,#25cfaf 0,#17d998 100%);*/
}

.blazored-toast-success {
    /*background: linear-gradient( 135deg,#25cfaf 0,#17d998 100%);*/
}

.blazored-toast-warning {
    /*background-image: linear-gradient( 135deg,#f8bc4c,#fc9c65);*/
}

.blazored-toast-error {
    color: #cc2941;
}

.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;
    width: 100%;
    word-break: break-word;
}

    .blazored-toast-body .blazored-toast-header {
        display: flex;
        /*align-items: flex-start;*/
        justify-content: flex-start;
    }

        .blazored-toast-body .blazored-toast-header h5 {
            font-weight: bold;
            /* text-transform: uppercase; */
            font-size: 15px;
            margin-bottom: 0;
            line-height: unset;
            word-break: break-word;
            margin-bottom: 5px;
        }

        .blazored-toast-body .blazored-toast-header .blazored-toast-close {
            background-color: transparent;
            border: 0;
            -webkit-appearance: none;
            color: inherit;
            right: 5px;
            position: absolute;
            top: 5px;
        }

    .blazored-toast-body p {
        margin-bottom: 0;
        font-size: 13px;
        font-weight: lighter;
        letter-spacing: .88px;
        padding-left: 22px;
    }

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (min-width: 576px) {

    .position-topleft {
        top: 2rem;
        left: 2rem;
    }

    .position-topright {
        /*top: 2rem;
        right: 2rem;*/
        /* top: 5rem;
        right: 1rem;*/
        top: 5rem;
        right: 1rem;
    }

    .toast-bg {
        position: absolute;
        top: 10px;
        right: -10px;
        z-index: -1;
    }
    .position-topcenter {
        top: 2rem;
        left: 50%;
        margin-left: -15rem;
    }

    .position-bottomleft {
        bottom: 2rem;
        left: 2rem;
    }

    .position-bottomright {
        bottom: 5rem;
        right: 2rem;
    }

    .position-bottomcenter {
        bottom: 2rem;
        left: 50%;
        margin-left: -15rem;
    }

    .blazored-toast {
        /*width: 30rem;
        border-radius: .25rem;*/
    }
}
