﻿.toast {
    display: none;
    padding: 1.5rem;
    color: #fff;
    z-index: 1;
    position: absolute;
    width: 25rem;
    top: 2rem;
    border-radius: 1rem;
    /*left: 50%;*/
    right:0;
}

.toast-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0.5rem;
  /* padding: 0 1vh;*/
    font-size: 2.5rem;
}

.toast-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 1rem;
}

    .toast-body p {
        margin-bottom: 0;
    }

.toast-visible {
    display: flex;
    flex-direction: row;
    animation: fadein 1.5s;
}

body .toast:not(.showing):not(.show) { opacity:1
}
.toast.toast-visible.bg-success {
    padding-left: 70px;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.toast.bg-danger {
    padding-left: 60px;
    right: 20px;
}

.toast-icon {
    position: absolute;
    left: 15px;
    top: 24px;
}

.toast.bg-danger .toast-body {
    padding-bottom: 0;
    padding-top: 0;
}

    .toast.bg-danger .toast-body p {
        font-size: 16px;
    }

    .toast.bg-danger .toast-body h5 {
        font-size: 20px;
        text-transform: uppercase;
    }
.toast.toast-visible.bg-warning {
    padding-left: 60px;
    right: 20px;
}
