﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,700;0,800;0,900;1,600&family=Roboto:wght@100;300;400;500;700;900&display=swap');
html, body {
    font-family: 'Roboto', sans-serif;
    height: 100%;
}
body {
    background: #e0e0e0!important;
}
h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}
.user-container {
    max-width: 1000px!important;
}
.user-not-authroised {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
    .user-not-authroised p {
        line-height: 1.6;
        color: #6e6e6e;
        font-size: 18px;
    }
    .user-not-authroised img {
        max-width: 110px;
        margin-bottom:1rem;
    }
.mud-container.mud-container-maxwidth-false.mt-4 {
    max-width: 1500px;
    position: relative;
    z-index: 1300;
}
    .mud-container.mud-container-maxwidth-false.mt-4 .d-flex.flex-grow-1.flex-row {
        border: 1px solid #e0e0e0;
    }
    .mud-paper.mud-elevation-25.pa-3.ml-6 {
        margin-left: 0px !important;
        border-radius: 0;
        box-shadow: none;
        padding: 0px !important;
        min-width: 480px !important;
    }
        .mud-paper.mud-elevation-25.pa-3.ml-6.contact-head {
            border-right: 1px solid #dadada;
        }
.d-flex.flex-row.my-2.sendmessage .mud-typography.mud-typography-body2 {
    background: #d9fdd3 !important;
    padding: 8px 16px !important;
    border-radius: 5px 0px 5px 5px !important;
    display: inline-block;
    float: right;
}
.d-flex.flex-row.my-2.sendmessage span.mud-typography.mud-typography-caption {
    text-align: right;
    color: #898989;
    margin-top: 0px;
}
#chatContainer .mud-paper{
    background:none;
}
.d-flex.flex-row.my-2.sendmessage:last-child {
    padding-bottom: 10px;
}
.d-flex.flex-row.my-2:last-child {
    padding-bottom: 10px;
}
.d-flex.flex-row.my-2 .mud-typography.mud-typography-body2 {
    max-width: 80%;
    background: #fff !important;
    padding: 8px 16px !important;
    border-radius: 0px 5px 5px 5px !important;
    display: inline-block;
    -webkit-box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.12);
    -moz-box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.12);
    box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.12);
    color: #000;
}
/*p.mud-typography.mud-typography-body2::before {
    content: "";
    display: block;
    border-width: 12px 8px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent;
    margin-left: 0px;
    position: absolute;
    bottom: 0;
    left: -8px;
    border-top-color: #ffffff;
    top: 0;
}*/
.contacts-lists p.mud-typography.mud-typography-body2.mt-3.mb-n2 {
    margin-top: 4px !important;
    line-height: 1.5;
    font-weight: 500;
}
button.mud-button-root.mud-button.mud-button-text.mud-button-text-secondary.mud-button-text-size-medium.mud-ripple{
    font-weight:600;
}
.d-flex.flex-row.my-2 p.mud-typography.mud-typography-body1 {
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.d-flex.flex-row.my-2.sendmessage p.mud-typography.mud-typography-body1 {
    text-align: right;
}
.d-flex.flex-row.my-2 span.mud-typography.mud-typography-caption {
    display: block;
    margin-top: 0px;
    color: #898989;
}
.contacts-lists .d-flex.flex-row.mt-n1.mb-n1 {
    align-items: center;
}
.contacts-lists .mud-list-item {
    border-bottom: 1px solid #f4f4f4;
}
p.mud-typography.mud-typography-body1 {
    font-size: 14px;
}
img.mud-image.object-fill.object-center.mud-elevation-25.rounded-lg.ma-4 {
    margin: 0.2rem 0rem !important;
    object-fit: cover;
    border: 2px solid #fff1f1;
}
.lightboxOverlay{
    background:#fff!important;
}
.unread-message span.mud-typography.mud-typography-caption {
    color: #f00e4b;
    font-weight: 600;
}
.unread-message p {
    font-weight: 500;
}
/* width */
div#chatContainer::-webkit-scrollbar {
    width: 6px;
}

/* Track */
div#chatContainer::-webkit-scrollbar-track {
    background: rgba(239,239,239,0.6);
}

/* Handle */
div#chatContainer::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    div#chatContainer::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
.mud-avatar.mud-avatar-medium {
    font-size: 14px !important;
}
.mud-paper.mud-elevation-25.py-4.flex-grow-1 {
    border-radius: 0;
    box-shadow: none;
    padding-top: 0px !important;
    background-image: url('/media/bg-wht.jpg');
    background-repeat: repeat;
    padding-bottom: 0px !important;
}
.mud-paper.mud-elevation-25.d-flex.flex-row.px-2.mx-4 {
    padding: 0;
    margin: 0px !important;
    border-radius: 0;
    box-shadow: none;
    align-items: center;
}
.chat-box .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text {
    margin-top: 0px !important;
}
.mud-input.mud-input-outlined.mud-input-adorned-end {
    padding-right: 14px;
    padding-inline-end: 14px;
    padding-inline-start: unset;
    background: #f2f2f2;
    border: none !important;
    border-radius: 6px;
}
.mud-input.mud-input-outlined .mud-input-outlined-border{
    border:none!important;
}
.mud-input-control > .mud-input-control-input-container > .mud-input-label-outlined.mud-input-label-inputcontrol {
    background: none;
}
header.mud-appbar {
    background: #f5f1ee !important;
    color: #f00e4b !important;
    position: relative;
}
    header.mud-appbar::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 200px;
        background: #f5f1ee !important;
    }
.d-flex.flex-row.my-2.sendmessage .mud-grid-item.mud-grid-item-xs-12.mud-grid-item-md-8{
    margin-left:auto;
    text-align:end;
}
.mud-toolbar.mud-toolbar-dense.mud-toolbar-gutters {
    background: #f4f4f4;
    display: flex;
    align-items: center;
}
.select-contact {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
    .select-contact p {
        font-size: 16px;
        padding: 0.4rem 1rem;
        border: 1px solid #decfc2;
        border-radius: 6px;
        background: #f5f1ee;
        line-height: 1.4;
    }
    
.mud-toolbar.mud-toolbar-dense.mud-toolbar-gutters h6.mud-typography.mud-typography-h6 {
    font-size: 1rem;
    font-weight: 500;
}
    .mud-appbar .mud-toolbar.mud-toolbar-gutters.mud-toolbar-appbar {
        height: 55px;
    }
        .mud-appbar .mud-toolbar.mud-toolbar-gutters.mud-toolbar-appbar h6.mud-typography.mud-typography-h6.ml-4.flex-grow-1 {
            font-size: 18px;
            font-weight: 600;
            color: #f00e4b;
            background:none;
            padding:0;
            border:none;
        }
        .mud-appbar .mud-toolbar.mud-toolbar-gutters.mud-toolbar-appbar h6.mud-typography.mud-typography-h6.ml-4 {
            font-size: 16px;
            font-weight:500;
            color: #f00e4b;
            background: #fff;
            border-radius: 4px;
            padding: 0.2rem 0.6rem;
            border:1px solid;
        }
    #blazor-error-ui {
        background: lightyellow;
        bottom: 0;
        box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
        display: none;
        left: 0;
        padding: 0.6rem 1.25rem 0.7rem 1.25rem;
        position: fixed;
        width: 100%;
        z-index: 1000;
    }

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2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wMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
.mud-badge-root .mud-badge-wrapper.mud-badge-top.right{
    display:none!important;
}
.activeitem {
    background-color: var(--mud-palette-action-default-hover)!important;
}
label.mud-button-root.mud-fab.mud-fab-success.mud-fab-size-small.mud-ripple {
    margin: 12px 15px 12px 0 !important;
    box-shadow: none;
    background-color: #f4f4f4 !important;
}
    label.mud-button-root.mud-fab.mud-fab-success.mud-fab-size-small.mud-ripple svg {
        color: #000;
    }

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 30px;
    width: 30px;
    transform: translate(-50%, -50%) rotate(45deg) translate3d(0, 0, 0);
    -webkit-animation: animate2 1.2s ease-in-out infinite;
    animation: animate2 1.2s ease-in-out infinite;
}
.contact-head h6.mud-typography.mud-typography-h6 {
    text-transform:capitalize;
}
.contacts-lists .mud-list-item .mud-list-item-text {
    margin-top: 6px;
    margin-bottom: 6px;
}
@-webkit-keyframes animate2 {
    0%, 10%, 100% {
        height: 30px;
        width: 30px;
    }

    65% {
        height: 60px;
        width: 60px;
    }
}

@keyframes animate2 {
    0%, 10%, 100% {
        height: 30px;
        width: 30px;
    }

    65% {
        height: 60px;
        width: 60px;
    }
}

.loading span {
    position: absolute;
    display: block;
    width: 15px;
    height: 15px;
    -webkit-animation: rotate2 1.2s linear both infinite;
    animation: rotate2 1.2s linear both infinite;
}

@-webkit-keyframes rotate2 {
    0%, 30% {
        transform: rotate(0);
    }

    65% {
        transform: rotate(-40deg);
    }

    100% {
        transform: rotate(-90deg);
    }
}

@keyframes rotate2 {
    0%, 30% {
        transform: rotate(0);
    }

    65% {
        transform: rotate(-40deg);
    }

    100% {
        transform: rotate(-90deg);
    }
}

.loading span:nth-child(1) {
    top: 0;
    left: 0;
    background: #ccc;
}

.loading span:nth-child(2) {
    top: 0;
    right: 0;
    background: #bdbdbd;
}

.loading span:nth-child(3) {
    bottom: 0;
    left: 0;
    background: #9e9e9e;
}

.loading span:nth-child(4) {
    bottom: 0;
    right: 0;
    background: #808080;
}
/*.lightbox{
    top:25%!important;
}
.lb-outerContainer {
    max-width: 500px;
    height: auto !important;
    border-radius: 6px!important;
}
.lightbox .lb-image {
    width: 500px !important;
    height: 500px !important;
    object-fit: contain;
    background: #000;
    border-radius: 0px!important;
    border: 0px solid #838383!important;
}*/
.lb-data .lb-close {
    width: 20px !important;
    height: 20px !important;
    background-size: contain !important;
    filter: brightness(0) invert(0);
}

    @media only screen and (min-width: 992px) {
        .user-not-authroised p {
            max-width: 500px;
        }
    }

    @media only screen and (max-width: 991.98px) {
        .user-not-authroised {
            width: 100%;
        }

            .user-not-authroised p {
                font-size: 15px;
            }
        .mud-container.mud-container-maxwidth-false.mt-4.user-container {
            padding: 0;
            margin-top: 0px !important;
        }
        .user-container #chatContainer {
            padding: 10px !important;
        }
        header h6.mud-typography.mud-typography-h6.flex-grow-1 {
            font-size: 15px;
        }
        header h6.mud-typography.mud-typography-h6.ml-4 {
            font-size: 13px!important;
        }
    }
.mud-scroll-to-top.visible{
    bottom:unset!important;
}
.predefined-chats {
    display: flex;
    grid-gap: 10px;
    gap: 10px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 1rem 1rem;
    height: 104px;
    background-image: url('/media/s.jpg');
    background-repeat: repeat;
    overflow-y:auto;
}
    .predefined-chats button {
        background-color: #fffbf8;
        border: 1px solid #eaeaea;
        padding: 0.4rem 0.8rem;
        border-radius: 4rem;
        font-size: 12px;
        display: flex;
        align-items: center;
        cursor: pointer;
        transition: all .3s;
        margin: 0 !important;
        text-transform: capitalize;
        height: 30px;
    }
.emoji .mud-drawer-header {
    justify-content: center;
    background: #f7f7f7;
}
.emoji .mud-button-outlined {
    border: 1px solid #eee;
    background: #ffffff;
}
.mud-popover-provider .mud-popover {
    z-index: 1301 !important;
    height: 275px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.support-chat .mud-popover-provider .mud-popover {
    width: calc(100% - 530px);
    max-width: 970px;
}
.user-chat .mud-popover-provider .mud-popover {
    width: 100%;
    max-width: 950px;
}
    .mud-popover-provider .mud-popover .mud-button-outlined-size-small {
        padding: 0;
        font-size: 2rem;
        margin: 0px !important;
        width: unset !important;
        border: unset !important;
        height: 45px;
        min-width: 45px;
    }
.support-chat .cm-emojis {
    background: #fff;
    border-bottom: 1px solid #efefef;
    width: calc(100% - 0px);
    max-width: 970px;
}
.cm-emojis .mud-button-outlined {
    border: none !important;
}
    .cm-emojis .mud-button-outlined-size-small {
        padding: 0px 0px;
        font-size: 1.15rem;
        min-width:23px;
    }
.user-chat .cm-emojis {
    width: 100%;
    max-width: 950px;
    background: #fff;
    border-bottom: 1px solid #efefef;
}
.user-container .mud-paper.mud-elevation-25.py-4.flex-grow-1 {
    width: 100%;
}
.cm-emojis .mud-tabs-toolbar.mud-tabs-rounded.mud-elevation-1 {
    border-radius: 0px;
    box-shadow: none;
}
.cm-emojis .mud-tab {
    min-width: 40px;
}
.cm-emojis .mud-tab-slider {
   background:unset!important;
}
.cm-emojis .mud-icon-button {
    width: 30px;
}
.cm-emojis .mud-icon-button:hover, .mud-icon-button:focus-visible {
    background-color: unset !important;
    width: 30px;
   /* height: 30px;
    display: block;*/
}
.mud-input > input.mud-input-root:focus, div.mud-input-slot.mud-input-root:focus {
    outline: unset!important;
    box-shadow: none!important;
}
.ai-editor {
    background: #fff;
    padding: 2rem;
}
    .ai-editor h4 {
        font-size: 1rem;
        display: inline-block;
        background: #fff;
        color: #f00e4b;
        border:1px solid  #f00e4b;
        border-radius: 16px;
        padding: 0.4rem 1rem;
        margin-right: 6px;
    }
    .ai-editor .btn {
        background: #f00e4b;
        color:#fff;
        border:none;
    }
    .ai-editor .form-control {
        background: #f6f6f6;
        border: 1px solid #ebebeb;
    }
    .ai-editor table {
        margin-top: 2rem;
    }
        .ai-editor table thead tr th {
            border-bottom: none;
            font-size: 16px;
        }
    .ai-editor .input-group.margin-top-standard {
        margin-bottom: 1rem;
    }
        .ai-editor .input-group.margin-top-standard .btn {
            padding: 4px 15px;
            font-size: 24px;
            background: #cecece;
            color: #f00e4b;
            border: none!important;
        }
button.btn.btn-primary.btn-sm.margin-top-standard {
    background: #fff;
    color: #f00e4b;
    border: 1px solid #f00e4b!important;
}

.mud-main-content.cmuser-container {
    padding-top: 0;
}
.cmuser-container .mud-container {
    padding-left:0px;
    padding-right:0px;
}
.cm-chat-window {
    height: 100vh!important;
}
.cm-chat-window .cm-chat-input {
    margin: 12px 15px 12px 0 !important;
    height: 40PX!important;
}
.cm-loginform {
    width: 100%!important;
    margin: 0px!important;
}
    .cm-loginform .mud-paper.mud-card {
        background-color: #d9fdd3!important;
    }
.mud-progress-circular.mud-progress-small {
    height: 16px!important;
    width: 16px!important;
    margin-left: 5px!important;
}