
/**
 * Messenger
 */
.follow-up-message{
    background: antiquewhite;
    padding-top: 10px;
    margin-top: 7px;
}
.resp-question{
    margin-top: -13px !important;
}
.sender {
    background: #318DDE !important;
    color: #fff !important;
}
.ba-chat-messenger *{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.ba-chat-messenger{
    position: fixed;
    right: 40px;
    bottom: 20px;
    z-index: 1000;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-chat-messenger .ba-msg-icon{
    height: 56px;
    width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2B962B;
    border-radius: 50%;
    cursor: pointer;
}
.ba-chat-messenger .ba-msg-icon svg{
    height: 24px;
}

.ba-chat-messenger .ba-chat-msg-content{
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    width: 360px;
    height: 512px;
    background: #077A2F;
    z-index: 10;
    border-radius: 20px;
    box-shadow: -14px -8px 92px 0px rgba(0, 0, 0, 0.20);
    padding: 5px;
}

@media (max-width: 575px){
    .ba-chat-messenger{
        right: 20px;
    }
    .ba-chat-messenger .ba-chat-msg-content{
        width: 340px;
    }
}

.ba-chat-container{
    position: relative;
    width: 100%;
    padding-top: 50px;
    display: block;
}
.ba-chat-container .ba-chat-head{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    height: 50px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    column-gap: 10px;
    padding: 0 10px;
}
.ba-chat-container .ba-chat-head .top-chat-icon{
    height: 26px;
    width: 26px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2B962B;
    cursor: pointer;
}
.ba-chat-container .ba-chat-head .top-chat-icon img,
.ba-chat-container .ba-chat-head .top-chat-icon svg{
    display: block;
    width: 20px;
}

.ba-chat-container .ba-chat-logo-sec{
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0 30px 15px;
    color: #ffffff;
}
.ba-chat-container .ba-chat-logo-sec .ba-chat-logo{
    display: flex;
    padding: 10px;
    height: 50px;
    width: 180px;
    border-radius: 50px;
    margin: 0 auto 10px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}
.ba-chat-container .ba-chat-logo-sec .ba-chat-logo img{
    width: auto;
    height: 28px;
}
.ba-chat-container .ba-chat-logo-sec p{
    padding: 0;
    margin: 0;
    font-size: 14px !important;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.80);
}

.ba-chatbox-content{
    background: #ffffff;
    height: 335px;
    overflow-y: auto;
    position: relative;
    border-radius: 16px;
    padding: 10px 0 60px;
}
.ba-chatbox-content .ba-chatbox-footer{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    padding: 5px 100px 5px 15px;
    border-top: 1px solid #E3E3E3;
}
.ba-chatbox-content .ba-chatbox-footer .ba-chat-footer-btn{
    position: absolute;
    right: 15px;
    bottom: 0;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    width: 80px;
    column-gap: 10px;
}
.ba-chatbox-content .ba-chatbox-date-title{
    text-align: center;
    padding: 10px 20px;
    display: block;
    width: 100%;
}
.ba-chatbox-content .ba-chat-date{
    font-size: 13px !important;
    line-height: 1.2;
    display: block;
    color: #969696;
}

.ba-chat-send-btn{
    height: 40px;
    width: 40px;
    border: none !important;
    background: #077A2F !important;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 50%;
}
.ba-chat-emoji-btn{
    height: 30px;
    width: 30px;
    border: none !important;
    background: #F0F6FD !important;
    color: #318DDE;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
}

.ba-chat-footer-btn svg,
.ba-chat-footer-btn img{
    display: block;
    width: 20px;
}

.ba-chat-input-box{
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 5px 0px;
}
.ba-chat-input-box .ba-chat-input:focus,
.ba-chat-input-box .ba-chat-input {
    height: 40px;
    border: none !important;
    font-size: 14px !important;
    line-height: 20px;
    color: #1B3540;
    outline: none !important;
    box-shadow: none !important;
    width: 100%;
    background: #ffffff;
    padding: 10px;
    margin: 0;
    overflow: auto;
    resize: none;
    -webkit-appearance: none;
    -mox-appearance: none;
    appearance: none;
}

.ba-chat-conv-lists{
    position: relative;
    height: 100%;
    overflow-y: auto;
    padding-bottom: 10px;
}
.ba-chat-conv-lists .chat-conv-row{
    position: relative;
    display: flex;
    width: 100%;
    padding: 5px 15px;
    justify-content: flex-start;
}

.chat-conv-lists-item{
    display: flex;
    padding-left: 35px;
    position: relative;
    width: 90%;
    max-width: 500px;
    min-height: 30px;
    text-align: left;
}
.chat-conv-lists-item .chat-conv-list-desc{
    background: #F4F3F4;
    padding: 10px 12px;
    border-radius: 12px 12px 12px 0;
    display: block;
}
.chat-conv-lists-item .chat-conv-list-photo{
    display: block;
    height: 26px;
    width: 26px;
    background-color: #E3E5EB;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 14px !important;
    border-radius: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
}
.chat-conv-lists-item .chat-conv-text{
    display: block;
    font-size: 14px !important;
    line-height: 20px;
    margin-top: 2px;
}

.ba-chat-conv-lists .chat-conv-row.ba-chat-sender{
    justify-content: flex-end;
}
.ba-chat-sender .chat-conv-lists-item{
    padding-left: 0;
    padding-right: 35px;
}
.ba-chat-sender .chat-conv-lists-item .chat-conv-list-photo{
    left: auto;
    right: 0;
}
.ba-chat-sender .chat-conv-lists-item .chat-conv-list-desc{
    border-radius: 12px 12px 0 12px;
    margin-left: auto;
}

.ba-chat-info-btn-group{
    text-align: left;
    padding: 10px 15px 0;
}
.ba-chat-info-btn-group .ba-chat-info-btn{
    display: inline-block;
    vertical-align: middle;
    padding: 7px 10px;
    color: #318DDE;
    font-size: 13px !important;
    line-height: 16px;
    border: 1px solid #318DDE;
    border-radius: 40px;
    margin: 0 5px 8px 0;
    text-decoration: none !important;
}
.ba-chat-info-btn-group .ba-chat-info-btn:hover{
    background: #318DDE;
    color: #ffffff;
}


/*# Chatbot */

@media (max-width: 1366px) {
    .ba-chat-messenger .ba-chat-msg-content{
        position: absolute;
        right: 0;
        bottom: calc(100% + 10px);
        width: 337px;
        /*    height: 512px;*/
        height: 400px;
        background: #077A2F !important;
        z-index: 10;
        border-radius: 20px;
        box-shadow: -14px -8px 92px 0px rgba(0, 0, 0, 0.20);
        padding: 5px;
    }
    .ba-chat-container .ba-chat-logo-sec{
        display: inline-block;
        width: 100%;
        text-align: center;
        /*
        padding: 0 30px 15px;
        */
        padding: 0 30px 20px;
        color: #ffffff;
        margin-top: -45px;
    }
    .ba-chatbox-content{
        background: #ffffff;
        /*  height: 335px;*/
        height: 272px;
        overflow-y: auto;
        position: relative;
        border-radius: 16px;
        padding: 10px 0 60px;
        margin-top: -14px;
    }
}

