/* Pop Up Options Css */
/* *{
    margin: 0;
    padding: 0;
}*/
/*body{
    font-family: Arial, Helvetica, sans-serif;
}*/
h1{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: black;
    height: 100vh;
}
/* Chat Popup css */
.chat-popup{
    position: fixed;
    bottom: 15px;
    left: 80px;
    z-index: 9999999999;
    cursor: pointer;
}
/* Options Container contains the icons in place */
.options-container{
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background: blue;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.options-container:hover{
    opacity: 0.8;
}
/* To place the icon correctly into the container */
.options-container i{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-style: 25px;
    color: white;
}
/*Setting the ht and wt of last container*/
.options{
    width: 70px;
    height: 70px;
    background: rgb(14, 20, 104);
}
/*The options are given in format of li so css of li*/
.options-popup{
    list-style-type: none;
    margin: 0;
    position: absolute;
    bottom: 70px;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0);
    transform-origin: 85% bottom;
}
/*When hovered at last container and the options only then its visible*/
.options:hover + .options-popup,  .options-popup:hover{
    opacity: 1;
    transform: scale(1);
}
/*aligning the icons and the label*/
.options-popup li{
    display: flex;
    justify-content: flex;
    padding: 7px;
}
/*The css of label to the icons*/
.options-label{
    padding: 4px 6px;
    align-self: center;
    user-select: none;
    white-space: nowrap;
    border-radius: 3px;
    font-size: 16px;
    background: rgb(75, 101, 150);
    color: black;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    margin-right: 12px;
}
.btn{
    background-color: blue !important;
    color:white !important;
    align-items: center;
    justify-content: center;
    display: flex;
    text-decoration: none;
    height: 100%;
    width: 100%;
    outline: none !important;
}
button:focus , button:active{
    outline: none !important;
}
/*---------------------Chat Box--------------------*/







.chatbox{
    display:block;
    background: #efefef;
    position:fixed;
    right:30px;
    bottom:50px;  
    width:350px;
    /*max-width: 85vw;*/
    z-index: 99999999999999;
    height: 400px;
    border-radius:5px;  
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.chat-header{
    background: #5A5EB9;
    height:50px;
    width: 100%;
    border-top-left-radius:5px;
    border-top-right-radius:5px; 
    color:white;
    display: inline-block;
    text-align: center;
    font-size:20px;
    padding:10px;
}
.logo{
    float: left !important;
    margin-left: 3px;

}
.close{
    color: white !important;
    cursor: pointer;
}
.logo , .heading , .close {
    display: inline-block;
}
.chat-footer{
    background: #f4f7f9;
    height: 47px;
    overflow: hidden;
    border-bottom-right-radius:5px;
    border-bottom-left-radius:5px;
}
#chat-form{
    height: 47px;
    border-bottom-right-radius:10px;
    border-bottom-left-radius:10px;
}
#text-input{
    background: #f4f7f9;
    width:85%; 
    position:relative;
    height:47px;  
    padding-top:10px;
    padding-right:35px;
    padding-bottom:10px;
    padding-left:15px;
    border:none;
    resize:none;
    outline:none;
    color:#888;
    text-emphasis-color: black;
    border-top:none;
    border-bottom-right-radius:5px;
    border-bottom-left-radius:5px;
    overflow:hidden;  
}
.chat-submit-mic{  
    position:absolute;
    bottom:5px;
    right:40px;
    display: block;
    background: transparent;
    box-shadow:none !important;
    border:none !important;
    border-radius:50%;
    color:#5A5EB9;
    margin-left: 5px;
    margin-right: 5px;
    width:35px;
    height:35px;
    outline: none !important;  
}
.chat-submit-btn{  
    position:absolute;
    bottom:5px;
    right:10px;
    display: block;
    background: transparent;
    box-shadow:none !important;
    border:none !important;
    border-radius:50%;
    color:#5A5EB9;
    width:35px;
    height:35px;
    outline: none !important;  
}
.chat-body{
    position: relative;  
    height:303px;    
    overflow:hidden
}
.chat-body:after {
    content: "";
    background-image: url('../images/bg_image_chat.jpg');
    opacity: 0.3;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height:100%;
    position: absolute;
    width: 350px;
    z-index: -1;   
}
.chat-logs {
    width: 100%;
    position: relative;
}
.chat-messages {
    width: 95%;
    overflow-y: scroll;
    height: 290px;
    padding: 3px;
    margin: 10px;
}
.chat-messages::-webkit-scrollbar-track{
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    */background-color: #F5F5F5;
}
.chat-messages::-webkit-scrollbar{
    width: 5px;  
    background-color: #F5F5F5;
}
.chat-messages::-webkit-scrollbar-thumb{
    background-color: #5A5EB9;
}
.chat-messages::-webkit-scrollbar-thumb:hover{
    background-color:#3d4077 ;
}
.chatarea.user {
    float: right;
    padding: 20px 0;
}
.chatarea {
    float: left;
    width: auto;
    height: auto;
    padding: 10px;
    color: #ffffff;
    position: relative;
    margin: 5px 0;
}
.chatarea.user{
    background:#6a6eb6b9;
    /*width: 80%;
    height:45px;*/
    float: right;
    margin-right: 6px;
    border-radius: 15px;
    padding: 3px;
    word-break: break-word;
}
.chatarea.chatbot{
    background: #444aafb9;
    /*width: 80%;
    height: 45px;*/
    float: left;
    margin-right: 6px;
    border-radius: 15px;
    padding: 3px;
}
.chatbot-img{
    height: 35px;
    width: 35px;
    float: left;
    border-radius: 50%;
    padding-right: 7px;
}
.user-img{
    border-radius: 50%;
    height: 30px;
    margin-left: 15px;
    width: 30px;
    float: right;
}
.userset{
    margin: auto;
    content: " ";
    clear: both;
    display: inline-flex;
    padding: 5px;
    float: right;
    height: auto;
    width: auto;
    word-break: break-word;
}
.chatbotset{
    content: " ";
    margin: auto;
    clear: both;
    height: auto;
    width: auto;
    display: inline-flex;
    padding: 5px;
    float: left;
}
