:root {
    --toast-theme-default: #fff;
    --toast-theme-primary: #0d6efd;
    --toast-theme-secondary: #6c757d;
    --toast-theme-success: #198754;
    --toast-theme-danger: #dc3545;
    --toast-theme-warning: #ffc107;
    --toast-theme-info: #0dcaf0;
    --toast-theme-light: #f8f9fa;
    --toast-theme-dark: #212529
}

.toast-container {
    top: 15px;
    right: 15px;
}

.toast {
    max-width: 480px;
    height: auto;
    float: right;
    position: fixed;
    padding: 1%;
    bottom: 90px;
    right: 20px;
    text-align: left;
    font-size: 16px;
    background-clip: padding-box;
    /**border: 2px solid #3f4075; **/
    border-radius: 10px;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    transition: .3s opacity;
    z-index: 1;
}

@media (max-width:768px) {
    .toast {
        right: 0px;
    }
}

.toast_default {
    color: #212529;
    background-color: var(--toast-theme-default)
}

.toast_primary {
    color: #fff;
    background-color: var(--toast-theme-primary)
}

.toast_secondary {
    color: #fff;
    background-color: var(--toast-theme-secondary)
}

.toast_success {
    color: #fff;
    background-color: var(--toast-theme-success)
}

.toast_danger {
    color: #fff;
    background-color: var(--toast-theme-danger)
}

.toast_warning {
    color: #212529;
    background-color: var(--toast-theme-warning)
}

.toast_info {
    color: #212529;
    background-color: var(--toast-theme-info)
}

.toast_light {
    color: #212529;
    background-color: var(--toast-theme-light)
}

.toast_dark {
    color: #fff;
    background-color: var(--toast-theme-dark)
}

.toast_danger .toast__close,
.toast_dark .toast__close,
.toast_primary .toast__close,
.toast_secondary .toast__close,
.toast_success .toast__close {
    filter: invert(1)
}

.toast:not(:last-child) {
    margin-bottom: .75rem
}

.toast:not(.toast_show) {
    display: none
}

.toast_showing {
    opacity: 0
}

.toast__header {
    position: relative;
    padding: .5rem 2.25rem .5rem 1rem;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .05)
}

.toast__close {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 18px;
    height: 18px;
    border: 0;
    background: transparent url("/static/images/close.svg");
    cursor: pointer;
    transition: opacity .1s ease-in-out
}

.toast__close:hover {
    opacity: 1
}

.toast_message .toast__body {
    padding-right: 2.25rem
}