
@font-face {
    font-family: 'Poppins';
    src: url('fonts/poppins-regular-webfont.woff2') format('woff2'),
         url('fonts/poppins-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@keyframes float {
    0% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
        transform: translateY(0);
    }
    50% {
        filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.4));
        transform: translateY(-10px);
    }
    100% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
        transform: translateY(0);
    }
}

.chat {
    display: none;
}

.conversation .message .human-response.text[data-first] {
    border-bottom-right-radius: 5px;
    background: #fff;
}
.conversation .message .bot-response.text[data-first] {
    border-bottom-left-radius: 5px;
}
.conversation .message .human-response.text {
    font-size: 12px;
    line-height: 20px;
    border-radius: 20px;
    word-wrap: break-word;
    max-width: 100%;
    padding: 15px 17px;
    white-space: pre-line;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
}

#loader_resp img {
    width: 75px;
    margin: 14px 0px 0px 20px;
}

#loader_resp {
    display: none;
}

.conversation .message .bot-response.text {
    font-size: 12px;
    line-height: 20px;
    border-radius: 20px;
    word-wrap: break-word;
    max-width: 100%;
    padding: 15px 17px;
    white-space: pre-line;
    font-size: 0.9em;
    font-family: "Poppins", sans-serif;
}

body .conversation .message[data-bot='false'] {
    -webkit-box-align: flex-end;
    -ms-flex-align: flex-end;
    align-items: flex-end;
}

body .conversation {
    overscroll-behavior-y: contain;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: calc(60vh - 7vh);
    -webkit-box-flex: 1;
    -ms-flex: 1 0 0px;
    flex: 64vh 0 0;
    overflow-y: auto;
    scroll-behavior: smooth;
}

#app .app-wrapper .opened .chat .typing {
    height: 7vh;
    border-top: 1px solid;
    padding-right: 20px;
}

#app .app-wrapper .tpl-powered-by {
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    height: 81px;
    border-top-width: 1px;
    border-top-style: solid;
}
.conversation .message .message-date-wrapper {
    position: absolute;
    bottom: 3%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
    padding-bottom: 6px;
}

.conversation .message .message-human-date-wrapper {
    position: absolute;
    bottom: 0.5vh;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
    padding-bottom: 6px;
    right: 3vh;
}

.conversation .message .message-human-date-wrapper:hover, .conversation .message>:first-child:hover~.message-human-date-wrapper {
    opacity: 1 !important;
    visibility: visible;
}

.conversation .message .message-bot-date-wrapper {
    position: absolute;
    bottom: 0.5vh;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
    padding-bottom: 6px;
    left: 3vh;
}

.conversation .message .message-bot-date-wrapper:hover, .conversation .message>:first-child:hover~.message-bot-date-wrapper {
    opacity: 1 !important;
    visibility: visible;
}


/**/
.closed .image-class img.lazy-img-loaded{width: 35px;height: auto;}
#app .app-wrapper .lazy-img[data-status=loaded][data-cover=true] .image-class img.lazy-img-loaded{padding: 0.5em;}
#app .app-wrapper .closed .bubble{border: 1px solid #2b415f;}
#app .app-wrapper .opened .chat .top .company .header{font-weight: 400;line-height: 25px;}
#app .app-wrapper .opened .chat .top .close {position: absolute;top: 10px;right: 10px;border: 1px solid #fff;background: #fff;border-radius: 50%;}
.conversation .message .message-bot-date-wrapper{left: 0;}
.conversation:before {display: none;}
.message-date {font-size: 0.7em;}
.conversation .message .message-human-date-wrapper,.conversation .message .message-bot-date-wrapper{position: relative;bottom: 0;right: 0;padding-top: 0.3em;padding-bottom: 0;}
.message.bot-wrapper{align-items: flex-start !important;}
/*body .main-container .conversation .message .bot-response.text[data-first]{background: var(--chatbot-bg-color) !!important;color: #FFF ;}*/
.conversation .message{padding: 0 24.4px 5px;}
.icon .bubble{filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));animation: float 2s infinite;}
.main-container {position: fixed;bottom: 20px;z-index: 99999999999999;}
body .lazy-img {display: flex;justify-content: center;align-items: center;}
body .image-class {height: 50px;width: 50px;display: flex !important;align-items: center;justify-content: center;}
body .closed .image-class{height: 35px;width: 35px;border: 1px solid #000000;border-radius: 50%;}
body .poweredby{font-family: "Poppins", sans-serif;font-size: 0.8em;background: #FFF;margin: 0;color: #9d9d9d;font-weight: 600;padding:5px;text-align: center;}
body .poweredby a{color: #9d9d9d;font-family: "Poppins", sans-serif;}
.chat-txt {padding: 0.5em;height: fit-content;font-family: "Poppins", sans-serif;}
div#icon{display: flex;flex-direction: row-reverse;align-items: center;justify-content: center;margin: 0 2em;}
.conversation .message pre {margin: 0;}
.clear-chat{text-align: center;}
.clear-chat button#clear_chat {border: 0;background: 0;}