:root {
    --colorPrimary: #ff735c;
}

#chat-square {
    right: 50px;
    background-image: url('../images/chatbot/priya.gif');
    background-position: center center;
    background-size: cover;
    width: 60px;
    height: 60px;
    color: #fff;
    cursor: pointer;
    z-index: 1100;
    background-repeat: no-repeat;
}

.close-img{
        background-image: url('../images/chatbot/closebtn3.svg');
        padding:11px;
            background-position: center center;
    background-size: cover;
        position: absolute;
    top: 18px;
    left: 18px;
}
/*#chat-close {*/

/*    right: 50px;*/
/*    background-position: center center;*/
/*    background-size: cover;*/
/*    width: 60px;*/
/*    height: 60px;*/
    /*color: transparent;*/
/*    cursor: pointer;*/
/*    z-index: 1100;*/
    /*border: 5px solid;*/
    /*animation: blink 1s;*/
    /*animation-iteration-count: infinite;*/
    /*border-radius: 50%;*/
/*    position: fixed;*/
/*    bottom: 52px;*/
/*    display:none;*/
/*    background-color: var(--colorPrimary);*/
/*        border-radius: 7px;*/
        
/*}*/

#chat-close {
    right: 30px;
    background-position: center center;
    background-size: cover;
    width: 60px;
    height: 60px;
    /* color: transparent; */
    cursor: pointer;
    z-index: 1100;
    /* border: 5px solid; */
    /* animation: blink 1s; */
    /* animation-iteration-count: infinite; */
    /* border-radius: 50%; */
    position: fixed;
    bottom: 90px;
    display: none;
    background-color: var(--colorPrimary);
    border-radius: 7px;
    box-shadow: 0 0 8px 4px rgb(0 0 0 / 16%);
}

@media (max-width: 767px) {
  #chat-close {
      right: 9px;
     z-index: 9999;
    top: 0px;
    box-shadow:none;
  }  
}
#chat-square {
    /*border: 3px solid;*/
    /*animation: blink 1s;*/
    /*animation-iteration-count: infinite;*/
    border-radius: 7px;
  box-shadow: 0 0 8px 4px rgb(0 0 0 / 16%);
    
}

#chat-square {
    position: fixed;
    bottom: 90px;
    right:30px;
}
.chat-wrapper {
    position: fixed;
    bottom: 174px;

}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    /*transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;*/
}

.hb-actions-buttons-button {box-shadow: 0px 3px 3px #ddd !important;}
.hb-actions-buttons-button:active {box-shadow: 0px 0px !important; transform: translateY(3px)}
.hb-actions-buttons-button:hover {box-shadow: 0px 0px !important; border: 1px solid rgba(0, 0, 0, .2); transform: translateY(3px)}

.chat-wrapper {
    display: none;
    background: #efefef;
    right: 30px;
    width: 365px;
    max-width: 85vw;
    /*max-height: 100vh;*/
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 5px;
    box-shadow: rgb(0 0 0 / 16%) 0 5px 40px;
    z-index: 1100;
    /*max-height:500px;*/
    /*max-height: calc(100% - 58px);*/
     /*height: 100vh;*/
         height: 70%;
    max-height: 602px;
}

.chat-header {
    background: var(--colorPrimary);
    height: 72px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    color: #fff;
    text-align: left;
    font-size: 16px;
    padding: 11px;
    border: 1px solid rgba(0, 0, 0, .1);
}

.chat-header-photo {
     float: left;
    background-image: url('../images/chatbot/priya.gif');
    background-position: center center;
    background-size: cover;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #fff;
    margin-left: 5px;
    /*float: left;*/
    /*background-image: url('../images/chatbot/priya.gif');*/
    /*background-position: center center;*/
    /*background-size: cover;*/
    /*width: 45px;*/
    /*height: 45px;*/
    /*border-radius: 50%;*/
    /*margin-right: 15px;*/
}

.chat-header-name{
    float: left;
    line-height: 40px;
}

.chat-box-toggle {
    /*float: right;*/
    /*margin-right: 15px;*/
    /*cursor: pointer;*/
    /*line-height: 50px;*/
}

.chat-box-body {
    /*height: 450px;*/
    width: 100%;
    /*max-height:500px;*/
        height: calc(100% - 54px);
    width: 100%;
    
}
.chat-container{
      /*background-image: url('../images/chatbot/background1.jpg');*/
      /*height: 100vh;*/
      /*background-size: cover;*/
      background-color:#F4F4F4;
}


#chat-input, .chat-box-body {
    position: relative;
    border: 1px solid #ccc;
    overflow: hidden;
        margin-top: -10px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 5px;
    border-top:0px;
    background-color:#F4F4F4;

}

.chat-box-body:after {
    content: "";
    /*background-image: url('../images/chatbot/background1.jpg');*/
    /*background-size: cover;*/
    /*opacity: .4;*/
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    position: absolute;
    z-index: -1;
     background-color:#F4F4F4;
}

.hb-message {
    min-height: 30px;
     margin-top: 6px;
     position: relative;
}

.hb-message-content.loading {
    background-color: transparent !important;
    line-height: 1.3;
    text-align: center;
    border: 0px;
}
.hb-message-content {
    padding: 7px 13px;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    color: #595a5a;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .1);
}
.hb-message-content {
    width: auto;
    max-width: 80%;
    display: inline-block;
}
.hb-message-content .dot:nth-last-child(5) {
    animation: .6s linear .1s infinite loading;
    -webkit-animation: .6s linear .1s infinite loading;
}

.hb-message-content .dot:nth-last-child(4) {
        margin-left: 0.2rem;
    animation: .6s linear .1s infinite loading;
    -webkit-animation: .6s linear .2s infinite loading;
}

.hb-message-content .dot:nth-last-child(3) {
        margin-left: 0.2rem;
    animation: .6s linear .1s infinite loading;
    -webkit-animation: .6s linear .3s infinite loading;
}
.hb-message-content .dot:nth-last-child(2) {
    margin-left: 0.2rem;
    animation: .6s linear .1s infinite loading;
    -webkit-animation: .6s linear .4s infinite loading;
}
.hb-message-content .dot:nth-last-child(1) {
    margin-left: 0.2rem;
    animation: .6s linear .5s infinite loading;
}
.hb-message-content .dot {
    width: 4px;
    height: 4px;
    border-radius: 0.5rem;
    display: inline-block;
    background-color: #333;
}

.chat-actions-container, .chat-messages-container {
    padding: 10px 28px;
    position: relative;
}
.chat-actions-container .hb-actions-mobile {
    /*background-color: #FFFFFF;*/
    border-radius: 15px;

}


.hb-message {
    margin: 10px 0;
    min-height: 20px;
}

button.hb-actions-buttons-button:not(:last-child) {
    margin-right: 10px;
}

button.hb-actions-buttons-button {
    margin-top: 10px;
    margin-bottom: 10px;
}

button.hb-actions-buttons-button {
    cursor: pointer;
    -webkit-appearance: button;
}

button.hb-actions-buttons-button, input.hb-actions-text-input {
    margin: 0;
    font-size: 100%;
    line-height: normal;
    vertical-align: baseline;
    margin-bottom: 12px;
    color: #fff;
}

.hb-actions-buttons-button {
    box-shadow: 2px solid var(--colorPrimary);
    border: 2px solid var(--colorPrimary);
    color: #2e2d2d;
    line-height: 1;
    cursor: pointer;
    font-weight: 500;
    padding: 7px 15px;
    border-radius: 50px;
    background: var(--colorPrimary);
    box-shadow: 2px 3px 4px 0 rgb(174 174 174 / 25%);

}

.hb-message-content.human {
    color: #2e2d2d;
    background-color: var(--colorPrimary);
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 15px;
    color: #fff;
}

.hb-message.human {
    text-align: right;
}
.hb-message:after {
    display: block;
    content: "";
    clear: both;
}

.chat-logs {
    height: 100%;
    overflow-y: scroll;
    font-size: 13px;
}
.chat-logs::-webkit-scrollbar {
    width: 5px;
    background-color: #f5f5f5;
}

.chat-elements.country-dropdown {
    width: 40%;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.chat-elements.mobile-text {
    width: 60%;
    padding: 0 8px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.chat-elements {
    display: inline-block;
    border-top: none;
    border-left: none;
    border-right: none;
    height: 40px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: transparent;
    background-clip: padding-box;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-bottom: 13px;
    padding: 0;
    border-bottom: 1px solid;
    width: 88%;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .1);
    padding-left: 16px;
    border-radius: 15px;
    padding-right: 10px;
}
.chat-elements:focus-visible {
    outline: none;
}
.hb-actions-text-submit {
    color: #fff;
    width: 40px;
    padding: 5px;
    height: 40px;
    line-height: 1;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .2);
    background: var(--colorPrimary);
    display: inline-block;
    cursor: pointer;
    right: 22px;
    position: absolute;
}
@media (max-width: 767px) {
.chat-wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    display: none;
    background: #efefef;
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    height: auto;
    padding: 0;
    margin: 0;
}
.chat-box-body {
    height: 100vh;
}
}
@keyframes blink { 50% { border-color: var(--colorPrimary); }  }
@keyframes loading{0%,50%{transform:translate(0,0);background-color:#ababab}25%{transform:translate(0,-3px)}75%{transform:translate(0,3px)}100%{transform:translate(0,0)}}

.hb_message_time {
    opacity: 0;
    font-size: 10px;
    color: #353f45;
    transition: all .3s ease;
    transition-delay: .35s;
    top: 43%;
    position: absolute;
    padding: 0 6px;
}

.human .hb_message_time {
    left: 0;
}

.hb-message:hover .hb_message_time {
    opacity: 1;
}

.hb_message_time_flash{
    display: block;
    font-size: 10px;
    color: #353f45;
    transition: all .3s ease;
    transition-delay: .35s;
    padding: 0 6px;
}

.hb_message_time_flash .material-icons{
    font-size: inherit;
    font-weight: 600;
    color: green;
    padding-right: 3px;
}

.chat-messages-time{
        font-size: 10px;
    color: #353f45;
    padding: 9px 0;
    text-align: center;
    text-transform: uppercase;
}

.chat-footer{
    background-color:#c6c6c6;
    bottom: 0;
    position: absolute;
    width: 100%;
    padding: 3px;
    color: #000;
    padding-left: 10px;
    text-align:right;
}

.hb-message-content .dot:after {
    content: none;
}

#required_msg {
    display: none;
    margin-top: -12px;
    color: red;
    padding-left: 10px;
}
