﻿#float-icon-chat, #float-icon-chat *, #chat-sec *, #chat-sec {
    box-sizing: border-box;
    word-break: break-word;
    font-size: 14px
}
#chat-sec .mCSB_container {
    display: block;
}
#chat-sec .mCSB_container::after {
    clear: both;
    display: block;
    content: '';
}
#chat-sec .botMessage::before {
    content: "";
    /*background: url('https://wbm-chatbots.s3.ap-south-1.amazonaws.com/BOM-200x200+(1).jpg') no-repeat center;*/
    background: url('../../../../scripts/assets/BOM.png') no-repeat center;
    vertical-align: bottom;
    background-size: 25px;
    padding: -1px;
    display: inline-flex;
    margin-right: 5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #0089cf;
    margin-bottom: 10px;
}
#chat-sec.chat {
    width: 400px;
    max-height: 0;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    background: #fff;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    transition: 0.3s ease-in-out;
    z-index: 9999;
    position: fixed;
    height: 90%;
    right: 15px;
    bottom: 15px;
}
#chat-sec.chat.open {
    height: 80vh;
    max-height: 600px;
    padding-bottom: 60px;
}
#chat-sec .close-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    cursor: pointer;
}
#chat-sec .min-icon {
    position: absolute;
    right: 60px;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    cursor: pointer;
}
#float-icon-chat {
    position: fixed;
    right: 5px;
    bottom: 0px;
    cursor: pointer;
    width: 120px;
    height: 100px;
    z-index: 100;
    align-items: center;
    display: flex;
}
#float-icon-chat .fa-robot {
    color: #2f89cf;
    font-size: 2rem;
}
.float-icon img {
    max-width: 120px;
}
@media(max-width: 575px) {
    #float-icon-chat {
        width: 80px;
        height: 60px;
    }

    .float-icon img {
        max-width: 80px;
    }
}
.chat-icon-img {
    width: 100%;
    height: auto;
    margin: 0 auto;
}
#chat-sec .chat-title {
    flex: 0 1 45px;
    position: relative;
    z-index: 2;
    /*background: #0089cf;*/
    background: #005580 !important;
    color: #fff;
    text-transform: uppercase;
    text-align: left;
    padding: 15px 10px 10px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 20px #ddd;
    position: relative;
}
#chat-sec .chat-title h1,
#chat-sec .chat-title h2 {
    font-weight: normal;
    font-size: 18px;
    line-height: 22px;
    margin: 0;
    padding: 0;
    font-weight: 700;
}
#chat-sec .chat-title h2 {
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}
#chat-sec .chat-title .avatar {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    overflow: hidden;
    margin: 0 20px 0 0;
    padding: 0;
}
#chat-sec .chat-title .avatar img {
    width: 100%;
    height: auto;
}
#chat-sec .messages {
    flex: 1 1 auto;
    color: rgba(255, 255, 255, 0.5);
    overflow-y: auto;
    position: relative;
    margin-bottom: 1px;
    padding: 15px 15px;
    background: white;
}
#chat-sec .message {
    clear: both;
    padding: 6px 10px 7px;
    border-radius: 10px 10px 10px 0;
    background: #e3e4e5;
    margin: 10px 0;
    font-size: 16px;
    line-height: 19px;
    position: relative;
    text-shadow: 0 1px 1px rgb(0 0 0 / 20%);
    color: #333;
    margin-bottom: 10px;
    display: inline-block;
    max-width: 70%;
    word-break: break-word;
}
#chat-sec .message a {
    color: blue;
}
#chat-sec .messages-content {
    height: 100%;
}
#chat-sec .selectedButton {
    color: white;
    background: #0089cf;
    padding: 10px;
    border-radius: 25px;
    margin: 2px;
    font-size: 15px;
    border: 1.5px solid #0089cf;
    cursor: pointer;
}
#chat-sec .timestamp {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 12px;
    color: #555;
}
#chat-sec .avatar {
    z-index: 1;
    width: 30px;
    height: 30px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
#chat-sec .avatar img {
    width: 100%;
    height: auto;
}
#chat-sec .message-personal {
    float: right;
    color: #fff;
    text-align: right;
    background: #0089cf;
    border-radius: 10px 10px 0 10px;
    word-break: break-word;
    min-width: 50px
}
#chat-sec .message::before {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 5px solid transparent;
    border-top: 4px solid #257287;
    bottom: -4px;
}
#chat-sec .loading::before {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #333;
    z-index: 2;
    margin-top: 4px;
    -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    border: none;
    -webkit-animation-delay: 0.15s;
    animation-delay: 0.15s;
}
#chat-sec span {
    display: block;
    font-size: 0;
    width: 20px;
    height: 10px;
    position: relative;
}
#chat-sec .loading span::before {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #333;
    z-index: 2;
    margin-top: 4px;
    -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    margin-left: -7px;
}
#chat-sec .loading span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #333;
    z-index: 2;
    margin-top: 4px;
    -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    margin-left: 7px;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}
#chat-sec .rmvMar {
    margin-top: 0 !important;
}
#chat-sec .message-box {
    flex: 0 1 40px;
    width: 100%;
    padding: 10px;
    position: relative;
    box-shadow: 0 0 19px #aaa;
}
#chat-sec .message-box .message-input {
    background: none;
    border: none;
    outline: none !important;
    resize: none;
    color: #000;
    font-size: 16px;
    height: 34px;
    line-height: 34px;
    margin: 0;
    padding-right: 20px;
    width: 99%;
}
#chat-sec .message-box textarea:focus:-webkit-placeholder {
    color: transparent;
}
#chat-sec .message-box .message-submit {
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 10px;
    color: rgb(255, 255, 255);
    border: none;
    background: #0089cf;
    font-size: 10px;
    text-transform: uppercase;
    line-height: 1;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.2s ease 0s;
    outline: none !important;
}
#chat-sec .fa-paper-plane {
    font-size: 20px;
}
#chat-sec .message-box .message-submit:hover {
    background: #1d7745;
}
#chat-sec .mCSB_scrollTools {
    margin: 1px -3px 1px 0;
    opacity: 0;
}
#chat-sec .mCSB_inside > .mCSB_container {
    margin-right: 0px;
    padding: 0 10px;
}

#chat-sec .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: rgba(0, 0, 0, 0.5) !important;
}
#chat-sec .options {
    text-decoration: underline;
    color: #2d91c4;
    cursor: pointer;
    display: inline;
}
#chat-sec .login_div .content {
    position: relative !important;
    background-color: #f6fcfa;
}
#chat-sec .btn-section {
    padding: 3px 0px;
}
#chat-sec .img-caption {
    padding: 6px 10px 7px;
}
#chat-sec .btn-style {
    padding: 10px;
    border-radius: 25px;
    background: white;
    margin: 2px;
    font-size: 15px;
    border: 1.5px solid #0089cf;
    color: #0089cf;
    cursor: pointer;
}
#chat-sec .mCSB_container.btn-section .flow-decider.btn-style {
    padding: 10px;
    border-radius: 25px;
    background: #0089cf;
    margin: 2px;
    font-size: 15px;
    border: 1.5px solid #0089cf;
    color: #fff;
    cursor: pointer;
}
#chat-sec .img-section {
    max-width: 65%;
    display: inline-block;
    padding: 5px;
    border-radius: 7px;
    background-color: #e3e4e5;
    margin-top: 20px;
    color: #333;
}
#chat-sec .actual-image {
    min-width: 200px;
    max-width: 100%;
    width: auto;
    display: inline-block;
}
#chat-sec .btn-disable {
    opacity: 0.5;
    pointer-events: none;
}
#chat-sec .closeIcon {
    font-size: 22px !important;
}
#chat-sec .input-action {
    pointer-events: none;
    opacity: 0.5;
}
#chat-sec.chat #inputSection{
  position:absolute;width:100%;bottom:0;left:0;z-index:1;background:#fff;
}
#chat-sec .chat-confimration-wrap{display:none;position:absolute;width:100%;height:100%;background:rgba(255,255,255,0.8);z-index: 3;}
#chat-sec.chat-close-confirm .chat-confimration-wrap{display:block}
.chat-confirmation{position: absolute;width: 80%;min-height: 30%;z-index: 11;background-color: #fff;top: 50%;left: 50%;
  top: 50%;transform: translate(-50%,-50%);border-radius: 15px;box-shadow: 0 0 20px #bababa;text-align: center;display: none;flex-direction: column;
  justify-content: center;align-items: center;}
  .chat-confirmation h4,.chat-confirmation h2{color: #0089cf;font-size: 20px;text-align: center;margin: 10px auto;position: relative;width: 100%;}
  .chat-confirmation p{text-align: center;margin: 5px auto;padding:10px}
  .chat-confirmation .rating-all-btn {display:flex;margin-top:5px}
  .chat-confirmation .rating-btn{background-color: #2f89cf;color: #fff;outline: none;border: none;margin:10px;text-align: center; width: 20px;padding: 10px 20px;cursor:pointer;}
  .chat-confirmation .rating-btn-1 {background-color:#ca7bb0}
  .chat-confirmation .rating-btn-2 {background-color:#ac955ceb}
  .chat-confirmation .rating-btn-3 {background-color:#d8dc8a}
  .chat-confirmation .rating-btn-4 {background-color:#greenyellow}
  .chat-confirmation .rating-btn-5 {background-color:#13a113}
  .chat-confirmation .textparent {padding:0 10px;width:100%}
  .chat-confirmation .textparent .text-area {width: 100%;margin-top:3px}
  .chat-confirmation .exit-note {margin-top:10px}
  .chat-confirmation button{background-color: #2f89cf;color: #fff;outline: none;border: none;padding: 10px 20px;margin-top: 20px;margin-bottom: 20px;text-align: center;
  width: 150px;cursor:pointer;}
  #chat-sec.chat-close-confirm .chat-confirmation{display:flex}
@media only screen and (max-width:991px) {
  #chat-sec.chat.open{max-height: 100%;height: 100%;width: 100%;max-width:100%;border-radius:0;margin: 0;left:0;right:0;top:0;}
  

#float-icon-chat.show-float-chat-icon{display:none !important;}
 
}
@keyframes ball {
    from {
        -webkit-transform: translateY(0) scaleY(0.8);
        transform: translateY(0) scaleY(0.8);
    }
    to {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}
.text-light {
    font-size: 18px;
}