﻿/* ----------------------------------------------------------------------------------------------- custom ------------------------------------------------------ */
.message-chat div {
    margin: 20px 40px;
}

.message-user div {
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px;
    max-width: 70%;
    background-color: #e7e7e7;
    float: right;
}

.message-default div {
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px;
    background-color: #e7e7e7;
}

.color-mud-primary-text {
    color: var(--mud-palette-text-primary) !important;
}

.color-mud-secondary-text {
    color: var(--mud-palette-text-secondary) !important;
}

.color-mud-light-text {
    color: var(--mud-palette-overlay-light) !important;
}

.mud-nav-link .mud-icon-root {
    font-size: 16px !important;
    width: 1em !important;
    height: 1em !important;
    margin-top: 3px;
}

/* ----------------------------------------------------------------------------------------------- toast ------------------------------------------------------ */
.toast {
    width: 350px;
    max-width: 100%;
    font-size: .875rem;
    pointer-events: auto;
    background-color: rgba(255,255,255,.85);
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    border-radius: .25rem
}

    .toast.showing {
        opacity: 0
    }

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

.toast-container {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: 100%;
    pointer-events: none
}

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

.toast-header {
    display: flex;
    align-items: center;
    padding: .5rem .75rem;
    color: #6c757d;
    background-color: rgba(255,255,255,.85);
    background-clip: padding-box;
    border-bottom: 1px solid rgba(0,0,0,.05);
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px)
}

    .toast-header .btn-close {
        margin-right: -.375rem;
        margin-left: .75rem
    }

.toast-body {
    padding: .75rem;
    word-wrap: break-word
}

.position-static {
    position: static !important
}

.w-100 {
    width: 100% !important
}

.w-75 {
    width: 75% !important
}

.rounded-3 {
    border-radius: .3rem !important
}

.align-self-end {
    align-self: flex-end !important
}

.align-self-start {
    align-self: flex-start !important
}

.align-items-stretch {
    align-items: stretch !important
}