﻿

.chat-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-header {
    background: #064b92;
    color: white;
    padding: 15px;
    text-align: center;
}

    .chat-header h1 {
        margin: 0;
        font-size: 1.5rem;
        text-align: left;
        color: #fff;
    }

    .chat-header p {
        margin: 5px 0 0;
        opacity: 0.8;
    }

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 2px;
    align-items: center;
}

.message {
    margin-bottom: 10px;
    padding: 10px 10px;
    border-radius: 18px;
    max-width: 70%;
    word-wrap: break-word;
    display: flex;
    align-items: flex-end;
    margin-bottom: 15px;
   
}

.user-message {
    margin-left: auto;
    border-bottom-right-radius: 5px;
    justify-content: flex-end;
}
    .user-message .icon {
        background-image: url('users.png');
        background-size: contain;
        background-position: bottom;
        background-repeat: no-repeat;
        border-radius: 50%;
        background-color: #fff;
        width: 32px;
        height: 32px;
        margin: 0 8px;
        border: solid 1px #ccc;
    }
.tospeak {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 15px;
    position: relative;
    font-size: 14px;
    line-height: 1.4;
}
.user-message .tospeak {
    background: #d5e8f8;
    color: #000;
    border-bottom-right-radius: 0;
}
.bot-message {
    margin-right: auto;
    justify-content: flex-start;
}
    .bot-message .icon {
        background-image: url('bcdmamascot.jpg');
        background-size: contain;
        background-position: bottom;
        background-repeat: no-repeat;
        border-radius: 50%;
        background-color: #fff;
        width: 32px;
        height: 32px;
        margin: 0 8px;
        float: right;
        border: solid 1px #ccc;
    }
    .bot-message .tospeak {
        background: #f0f0f0;
        color: #000;
        border-bottom-left-radius: 0;
    }





.chat-input {
    /*display: flex;*/
    padding: 10px;
    border-top: 1px solid #eee;
    background-color: #064b92;
}

    .chat-input input {
        flex: 1;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 20px;
        outline: none;
    }

    .chat-input button {
        margin-left: 10px;
        /*padding: 10px 20px;*/
        background: #4285f4;
        color: white;
        border: none;
        border-radius: 20px;
        cursor: pointer;
    }

        .chat-input button:hover {
            /*background: #3367d6;*/
        }
        .chat-input button .sendbtn {
            fill: #ffffff;
        }
.faq-suggestions {
    padding: 10px 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

    .faq-suggestions p {
        margin-top: 0;
        font-weight: bold;
        color: #555;
    }

.faq-item {
    display: inline-block;
    margin: 5px;
    padding: 8px 12px;
    background: #e3f2fd;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
}

    .faq-item:hover {
        background: #bbdefb;
    }

.timestamp {
    font-size: 0.7rem;
    color: #777;
    display: block;
    margin-top: 5px;
}



.frame-content {
    display: block;
    border: none;
    position: fixed;
    inset: auto 0px 0px auto;
    width: 450px;
    height: auto;
    max-height: 100%;
    opacity: 1;
    color-scheme: none;
    background: none transparent !important;
    margin: 0px;
    max-width: 100vw;
    transform: translateY(0px);
    transition: none 0s ease 0s !important;
    visibility: visible;
    z-index: 999999999 !important;
}

#chat-button {
    position: fixed;
    width: 250px;
    height: 200px;
    bottom: 12px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    right: 0px;
}

    #chat-button:not(.sidebar) .buttonWave {
        position: absolute;
        z-index: -1;
        width: 60px;
        height: 60px;
    }

    #chat-button:not(.sidebar).clicked .buttonWave::after {
        animation: 0.5s ease-out 0s 1 normal none running buttonWave;
    }

    #chat-button:not(.sidebar) .buttonWave::after {
       /* content: "";
        position: absolute;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: rgb(20, 127, 255);
        opacity: 0.5;*/
    }

#button-body {
    width: 250px;
    height: 60px;
    border-radius: 28px;
    display: inherit;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    pointer-events: initial;
    /* background-size: 130% 130%;*/
    transition: all 0.2s ease-in-out 0s;
    position: relative;
    color: rgb(0, 125, 252);
    /*border: 1px solid #1E88E5;*/
}

    #button-body::before {
        content: "";
        transition: opacity 0.5s ease-in-out 0s;
        position: absolute;
        inset: -1px;
        opacity: 0;
        border-radius: 50%;
       /* background-color: rgb(198, 204, 220);*/
    }

#chat-button button i.for-closed.active {
    transform: translateX(0px);
}

#chat-button button i.for-closed {
    transform: translateX(-10px);
}

#chat-button button i.active {
    opacity: 1;
}

#chat-button button i {
    height: 26px;
    width: 26px;
    position: absolute;
    opacity: 0;
    transition: all 0.2s ease-in-out 0s;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    /* justify-content: center; */
}

i {
    user-select: none;
}

#chat-button button i.type1 svg {
    fill: currentcolor;
}

/*svg {
    width: 24px;
    height: 24px;
}*/

#chat-button button i.type1::after {
    content: "";
    position: absolute;
    width: 68px;
    height: 68px;
    border-radius: 32px;
    background: rgb(255, 255, 255);
    transition: all 0.2s ease-in-out 0s;
    transform: scale(0);
    right: -18px;
}

#chat-button button i.for-closed.active {
    transform: translateX(0px);
}

#chat-button button i.for-closed {
    transform: translateX(-10px);
}

#chat-button button i.type2 {
    width: 32px;
    height: 32px;
}

#button button i.type1.for-opened {
    width: 31px;
    height: 28px;
}

#chat-button button i.for-opened {
    transform: translateX(10px);
}




#chat-button button i.type2 svg {
    width: 32px;
    height: 32px;
    fill: rgb(0, 125, 252);
    transform: scale(0);
}

svg:not(:root) {
    overflow-clip-margin: content-box;
    overflow: hidden;
}

#button-body {
    /*box-shadow: rgba(0, 77, 255, 0.5) 0px 4px 24px;*/
}

body:not(.mobile) #button button:not(.disabled):hover i.type1 svg, body:not(.mobile) #button button:not(.disabled):focus i.type1 svg {
    transform: scale(1.4);
}

body:not(.mobile) #button button:not(.disabled):hover i.type1::after, body:not(.mobile) #button button:not(.disabled):focus i.type1::after {
    transform: scale(1);
}

#chat-button button i.for-closed.active {
    transform: translateX(0px);
}

.chat.chrome, .start-group.chrome {
    box-shadow: rgba(0, 18, 46, 0.16) 0px 8px 36px 0px;
}

.chat {
    max-height: calc(100% - 47px);
    display: flex;
    flex-direction: column;
}

.chat, .start-group {
    width: 372px;
    position: fixed;
    bottom: 26px;
    border-radius: 16px;
    pointer-events: auto;
    box-shadow: rgba(0, 18, 46, 0.16) 0px 8px 22px 0px;
    overflow: hidden;
    z-index: 999;
    right: 48px;
    left: auto;
    background-color: white;
}

.message-operator.bots-quick-replies {
    width: 85%;
    background-color: rgb(255, 255, 255);
    margin-top: 0px;
    float: right;
}

    .message-operator.bots-quick-replies .button-wrapper {
        margin-top: 0px;
        display: flex;
        flex-wrap: wrap;
        -webkit-box-pack: end;
        justify-content: flex-end;
        width: 100%;
        border: none;
    }

.message-operator {
    color: rgb(6, 19, 43);
    background: rgb(240, 242, 247);
    float: left;
}

.message {
    padding: 6px 2px;
    border-radius: 20px;
    margin: 2px 0px;
    font-size: 15px;
    line-height: 20px;
    overflow-wrap: break-word;
    display: flex;
    max-width: 95%;
    clear: both;
    position: relative;
    transition: margin 0.28s ease-in-out 0s;
}

.input-group {
    padding: 0px 28px 6px;
    width: 100%;
    position: relative;
    background: rgb(255, 255, 255);
    z-index: 3;
    flex: 0 0 auto;
}

    .input-group .footer-input-wrapper, .input-group .footer-icons-wrapper {
        transition: all 0.5s ease-in-out 0s;
        opacity: 1;
        transform: translateY(0px);
    }

textarea {
    border: 0px;
    width: 100%;
    font-size: 17px;
    margin: 20px 0px 14px;
    resize: none;
    line-height: 24px;
    overflow: hidden;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 0px;
    flex: 1 0 0;
}

.send-icon {
    width: 26px;
    height: 26px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 26px;
    flex: 0 0 26px;
    -webkit-backface-visibility: hidden;
    -webkit-transition: all .3s;
    transition: all .3s;
    cursor: pointer;
}

hr {
    margin: 0px;
    border-width: 0px 0px 1px;
    border-top-style: initial;
    border-right-style: initial;
    border-left-style: initial;
    border-top-color: initial;
    border-right-color: initial;
    border-left-color: initial;
    border-image: initial;
    border-bottom-style: solid;
    border-bottom-color: rgb(219, 223, 230);
}

#conversation-group {
    padding: 0px 28px;
    width: 100%;
    height: 357px;
    overflow: hidden auto;
    background: rgb(255, 255, 255);
    transition: all 0.3s ease 0s;
    max-height: 357px;
    min-height: 160px;
    flex: 0 1 auto;
}

.message-operator.bots-quick-replies button {
    font-size: 15px;
    padding: 8px 16px;
    border: 1px solid;
    border-radius: 20px;
    margin: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: inherit;
}

.offline-message span.online::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    top: calc(50% - 4px);
    background: rgb(88, 183, 67);
    border-radius: 50%;
    left: 0px;
}

.no-clip-path .offline-message {
    padding: 14px 28px 20px;
}

.offline-message span {
    z-index: 2;
    position: relative;
    display: inline-block;
    font-size: 16px;
}

.message-operator.message-with-buttons .button-wrapper, .message-operator .message-with-buttons .button-wrapper, .message-operator.bots-quick-replies .button-wrapper {
    background: rgb(255, 255, 255);
    width: 100%;
    margin-top: 10px;
    /* border-width: 0px 1px 1px;
                border-right-style: solid;
                border-bottom-style: solid;
                border-left-style: solid;
                border-right-color: rgb(235, 238, 240);
                border-bottom-color: rgb(235, 238, 240);
                border-left-color: rgb(235, 238, 240);*/
    border-image: initial;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-style: initial;
    border-top-color: initial;
    position: relative;
}

#chat-button button i.for-opened.active {
    transform: translateX(0px);
}

.message-operator.bots-quick-replies .sent {
    font-size: 15px;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    margin: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: inherit;
}

.message-operator.message-with-buttons .sent, .message-operator .message-with-buttons .sent, .message-operator.bots-quick-replies .sent {
    margin: 0px auto;
    min-width: 100%;
    display: block;
    font-size: 16px;
    line-height: 19px;
    padding: 8px 16px;
    color: rgb(0, 125, 252);
    background: #f2f9ff;
    position: relative;
    z-index: 2;
    outline: none;
    border-radius: 20px;
    font-weight: normal;
}



.avatars-wrapper {
    width: 52px;
    height: 52px;
    margin: 0px 18px 0px 0px;
    float: left;
}

.chat h2.oneline {
    margin-top: 0px;
    line-height: 52px;
    min-height: 52px;
}
img {
    vertical-align: middle;
}


.chat h2 {
    font-size: 22px;
    font-weight: 600;
    color: currentcolor;
    margin: 4px 0px 0px;
    padding: 0px;
    display: inline-block;
    position: relative;
    max-width: calc(100% - 145px);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
}

    .chat h2 .emoji {
        width: 31px;
        height: 31px;
    }
button.material-icons.voice-ctrl {
    margin-right: 30px;
    padding: 0 !important;
}

button.material-icons.exit-chat, label.material-icons.exit-chat {
    margin-right: -3px;
}

button.material-icons.options, button.material-icons.exit-chat, label.material-icons.options, label.material-icons.exit-chat, button.material-icons.icon-audi {
    z-index: unset;
    padding:0!important;
}

button.material-icons, label.material-icons {
    position: relative;
    z-index: 1;
    margin: -41px 0px 8px 11px;
    float: right;
}

    button.material-icons.options::before, button.material-icons.exit-chat::before, label.material-icons.options::before, label.material-icons.exit-chat::before {
        background: rgba(0, 36, 92, 0.16);
    }

    button.material-icons::before, label.material-icons::before {
        content: "";
        position: absolute;
        background: rgb(239, 242, 246);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        z-index: -1;
        transition: all 0.16s ease-in-out 0s;
        transform: scale(0);
        top: calc(50% - 20px);
        left: calc(50% - 20px);
    }

    button.material-icons svg#ic-minimize, button.material-icons svg.options-icon, label.material-icons svg#ic-minimize, label.material-icons svg.options-icon {
        fill: currentcolor;
    }


element.style {
}

.tidio-1s5t5ku span {
    background: rgb(255, 255, 255);
    padding: 6px 8px;
    border-radius: 2px;
    box-shadow: rgba(0, 18, 46, 0.32) 0px 2px 8px 0px;
    font-size: 13px;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: all 0.16s ease-in-out 0s;
    z-index: 1;
    right: calc(100% + 10px);
    top: 50%;
    transform: translate(5px, -50%);
    color: rgb(6, 19, 43);
}
.icon-audi {
    background: rgb(255, 255, 255);
    padding: 6px 8px;
    border-radius: 2px;
    font-size: 13px;
    position: absolute;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
    right: 11%;
    top:150px;
    color: rgb(6, 19, 43);
}
.offline-message {
    margin: 18px -28px 0px;
    color: currentcolor;
    width: calc(100% + 56px);
    padding: 14px 28px 7px;
    position: relative;
    background-size: 100% calc(100% + 12px);
    z-index: 1;
}

.no-clip-path .offline-message {
    padding: 14px 28px 20px;
}

.offline-message span.online {
    padding-left: 20px;
}

.no-clip-path .offline-message::after {
    content: "";
    position: absolute;
    width: calc(100% + 10px);
    bottom: -8px;
    left: -5px;
    border-image-source: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNzIgMTUiPgogIDxwYXRoIGQ9Ik0zNDkuOCAxLjRDMzM0LjUuNCAzMTguNSAwIDMwMiAwaC0yLjVjLTkuMSAwLTE4LjQuMS0yNy44LjQtMzQuNSAxLTY4LjMgMy0xMDIuMyA0LjctMTQgLjUtMjggMS4yLTQxLjUgMS42Qzg0IDcuNyA0MS42IDUuMyAwIDIuMnY4LjRjNDEuNiAzIDg0IDUuMyAxMjguMiA0LjEgMTMuNS0uNCAyNy41LTEuMSA0MS41LTEuNiAzMy45LTEuNyA2Ny44LTMuNiAxMDIuMy00LjcgOS40LS4zIDE4LjctLjQgMjcuOC0uNGgyLjVjMTYuNSAwIDMyLjQuNCA0Ny44IDEuNCA4LjQuMyAxNS42LjcgMjIgMS4yVjIuMmMtNi41LS41LTEzLjgtLjUtMjIuMy0uOHoiIGZpbGw9IiNmZmYiLz4KPC9zdmc+Cg==);
    border-image-slice: 0 0 100%;
    border-image-width: 0 0 15px;
    border-image-repeat: stretch;
    border-width: 0px 0px 15px;
    border-bottom-style: solid;
    border-color: initial;
    border-top-style: initial;
    border-left-style: initial;
    border-right-style: initial;
}

.input-group .footer-input-wrapper, .input-group .footer-icons-wrapper {
    transition: all 0.5s ease-in-out 0s;
    opacity: 1;
    transform: translateY(0px);
}

.send-icon:hover svg path {
    fill: #1775ec;
}

.message-operator {
    color: rgb(6, 19, 43);
    background: rgb(240, 242, 247);
    float: left;
}

.message span.message-content {
    white-space: pre-line;
}

#chatContainer {
    transition: all 0.3s ease-in-out;
    right: -300px;
}

.onlyBubble {
    display: none;
    transition: all 0.3s ease-in-out;
}

.open {
    display: block;
    transition: all 0.3s ease-in-out;
}

#chatContainer.open {
    right: 0;
}

.footer-input-wrapper {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.clicked {
    display: none !important;
}

#button:not(.sidebar).clicked .buttonWave::after {
    animation: 0.5s ease-out 0s 1 normal none running buttonWave;
}

#button:not(.sidebar) .buttonWave::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgb(20, 127, 255);
    opacity: 0.5;
}

.sentText {
    margin: 0px auto;
    min-width: 100%;
    display: block;
    font-size: 16px;
    line-height: 19px;
    padding: 8px 16px;
    color: rgb(0, 125, 252);
    background: #f2f9ff;
    position: relative;
    z-index: 2;
    outline: none;
    border-radius: 20px;
    font-weight: normal;
    margin: 10px;
}

.botText {
    color: rgb(6, 19, 43);
    background: rgb(240, 242, 247);
    padding: 10px 16px;
    border-radius: 20px;
    margin: 2px 0px;
    font-size: 15px;
    line-height: 20px;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 85%;
    clear: both;
    position: relative;
    transition: margin 0.28s ease-in-out 0s;
}

.svgsent svg path {
    fill: #1775ec;
}
.a11y-hidden {
    position: absolute;
    left: -1000in;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: polygon(0 0, 0 0);
}

.chat-input  button#dictate {
    transform: scale(0);
    transition: transform 0.5s;
    transition-delay: 1s;
    visibility: hidden;
}

    .chat-input  button#dictate svg {
        display: none;
        margin: auto auto;
    }

    .chat-input  button#dictate.show {
        visibility: visible;
        transform: scale(1);
    }

    .chat-input  button#dictate.active i {
        display: none;
    }

    .chat-input button#dictate.active svg {
        display: block;
    }

.search {
    padding: 1px;
    position: relative;
}

    .search .input-bar {
        --active: #eee;
        align-items: center;
        background: #fff;
        border: 2px solid #0000;
        border-radius: 4rem;
        box-sizing: border-box;
        box-shadow: 0 1rem 2rem -1.5rem #0005;
        display: inline-flex;
        height: 2.5rem;
        overflow: hidden;
        transition: box-shadow 0.5s;
        width: 100%;
    }

        .search .input-bar:focus-within {
            background: #fffffc;
            border: 2px solid #444;
            box-shadow: 0 1rem 2rem -1.5rem #0007;
        }

        .search .input-bar:hover {
            box-shadow: 0 1rem 2rem -1.5rem #0007;
        }

        .search .input-bar label {
            position: absolute;
            color: #888;
            left: 1.625rem;
            font-family: Lato, Arial, sans-serif;
            font-size: 1.25rem;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            width: calc(100% - 8rem);
            max-width: calc(100% - 8rem);
            display: flex;
            align-items: center;
            z-index: 0;
        }

            .search .input-bar label span {
                visibility: hidden;
                overflow: hidden;
                max-width: 0;
                display: inline-block;
                margin: 0 0.125rem;
                transition: max-width 1s, margin 0.125s;
                transition-delay: 1s;
            }

                .search .input-bar label span.show {
                    visibility: visible;
                    margin: 0 0.25rem;
                    max-width: calc(100% - 8rem);
                }

        .search .input-bar input {
            background: transparent;
            border: 0;
            box-sizing: border-box;
            flex: 1;
            font-size: 1.25rem;
            margin-left: 0.5rem;
            min-width: 8rem;
            outline: none;
            padding-left: 1rem;
            position: relative;
            z-index: 1;
        }

            .search .input-bar input::-ms-clear, .search .input-bar input::ms-reveal {
                display: none;
                width: 0;
                height: 0;
            }

            .search .input-bar input::-webkit-search-decoration, .search .input-bar input::-webkit-search-cancel-button, .search .input-bar input::-webkit-search-results-button, .search .input-bar input::-webkit-search-results-decoration {
                display: none;
                width: 0;
                height: 0;
            }

        .search .input-bar button {
            background: transparent;
            border: 0;
            border-radius: 50%;
            color: #444;
            font-size: 1.25rem;
            margin: 0;
            outline: none;
            width: 3rem;
            min-width: 3rem;
            height: 3rem;
            transition: background-color, color;
            transition-duration: 0.25s;
            box-shadow: 0 0 2rem #0000;
        }

            .search .input-bar button:hover {
                background: #eee;
            }

            .search .input-bar button:focus {
                background: #444;
                color: #fff;
            }

            .search .input-bar button:active, .search .input-bar button.active {
                background: #000;
            }

            .search .input-bar button#dictate {
                transform: scale(0);
                transition: transform 0.5s;
                transition-delay: 1s;
                visibility: hidden;
            }

                .search .input-bar button#dictate svg {
                    display: none;
                    margin: auto auto;
                }

                .search .input-bar button#dictate.show {
                    visibility: visible;
                    transform: scale(1);
                }

                .search .input-bar button#dictate.active i {
                    display: none;
                }

                .search .input-bar button#dictate.active svg {
                    display: block;
                }

            .search .input-bar button:last-child {
                margin-right: 0.5rem;
            }