.typing_loader{
    width: 6px;
    height: 6px;
    border-radius: 50%;
    -webkit-animation: typing 1s linear infinite alternate;
    -moz-animation: typing 1s linear infinite alternate;
    -ms-animation: typing 1s linear infinite alternate;
    animation: typing 1s linear infinite alternate;
    position: relative;
    left: -12px;
    margin: 7px 15px 6px;
}
.to .typing_loader {
    animation: typing-black 1s linear infinite alternate;
}
@-webkit-keyframes typing{
    0%{
        background-color: rgba(255,255,255, 1);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4),
        24px 0px 0px 0px rgba(255,255,255,0.2);
    }
    50% {
        background-color: rgba(255,255,255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,1),
        24px 0px 0px 0px rgba(255,255,255,0.4);
    }
    100%{ background-color: rgba(255,255,255, 0.2);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4),
        24px 0px 0px 0px rgba(255,255,255,1);
    }
}

@-moz-keyframes typing{
    0%{
        background-color: rgba(255,255,255, 1);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4),
        24px 0px 0px 0px rgba(255,255,255,0.2);
    }
    50% {
        background-color: rgba(255,255,255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,1),
        24px 0px 0px 0px rgba(255,255,255,0.4);
    }
    100%{ background-color: rgba(255,255,255, 0.2);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4),
        24px 0px 0px 0px rgba(255,255,255,1);
    }
}

@keyframes typing-black{
    0%{
        background-color: rgba(74, 74, 74, 1);
        box-shadow: 12px 0px 0px 0px rgba(74, 74, 74, 0.4),
        24px 0px 0px 0px rgba(74, 74, 74, 0.2);
    }
    50% {
        background-color: rgba(74, 74, 74, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(74, 74, 74, 1),
        24px 0px 0px 0px rgba(74, 74, 74,0.4);
    }
    100%{ background-color: rgba(74, 74, 74, 0.2);
        box-shadow: 12px 0px 0px 0px rgba(74, 74, 74,0.4),
        24px 0px 0px 0px rgba(74, 74, 74,1);
    }
}
@keyframes typing{
    0%{
        background-color: rgba(255,255,255, 1);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4),
        24px 0px 0px 0px rgba(255,255,255,0.2);
    }
    50% {
        background-color: rgba(255,255,255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,1),
        24px 0px 0px 0px rgba(255,255,255,0.4);
    }
    100%{ background-color: rgba(255,255,255, 0.2);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4),
        24px 0px 0px 0px rgba(255,255,255,1);
    }
}

form.convFormDynamic {
    padding-left:initial;
    width: calc(100% - 33px);
   
    margin-top:-17px;
    margin-bottom:15px;
    margin-left:auto;
    margin-right:auto;
    padding: 0 !important;
    position: relative;
    box-shadow: 0 0 5px 5px rgba(222, 222, 222, 0.4);
}

form.convFormDynamic textarea.userInputDynamic {
    border: none;
    padding: 7px 10px;
    outline: none;
    font-size: 0.905rem;
    float: left;
    width: calc(100% - 70px);
    line-height: 1.3em;
    min-height: 1.7em;
    max-height: 10rem;
    display: block;
    max-width: 88%;
    margin-right: 2.5%;
    position:initial;
    bottom:90px;
}


form.convFormDynamic input.userInputDynamic {
    border: none;
    padding: 7px 10px;
    outline: none;
    font-size: 0.905rem;
    float: left;
    width: calc(100% - 70px);
    line-height: 1.3em;
    min-height: 1.7em;
    max-height: 10rem;
    display: block;
    max-width: 88%;
    margin-right: 2.5%;       
}
div.conv-form-wrapper:after {
    content: '';
    display: block;
    clear: both;
    width: 100%;
    height: 1px;
}
div.conv-form-wrapper div#messages {
    max-height: 65vh;
    height: auto !important;
    overflow-y: scroll;
    overflow-x: scroll;
    overflow: scroll;
    
    -ms-overflow-style: none; /* IE 11 */
}
div.conv-form-wrapper * {
    scrollbar-width: thin;
    -ms-overflow-style: none;
}
div.conv-form-wrapper div#messages:after {
    content: '';
    display: table;
    clear: both;
}
div.conv-form-wrapper {
    position: relative;
}
div.conv-form-wrapper div.wrapper-messages {
    position: relative;
    height: 577px;
    max-height: 77vh;
    overflow-y: scroll;
       
    transition: margin 0.1s;
}
.activehead {
    display:block;
}
.headlogo {
    width:400px;
    float:right;
    margin-right:30px;
    padding:10px;
    background-color:#117a8b;
    bottom:0px !important;
     background-image: linear-gradient(180deg, #117a8b , #032024);
     /*margin-top: 5.5%;*/
        /*clear: both;*/
        /*position:absolute;*/ 
}

div.conv-form-wrapper:before {
  
    content: '';
    /*background-image:url(../images/Spphirelogo.png);
    background-repeat:no-repeat;*/
    position: absolute;
    width: 100%;
    display: block;
    height: 20px;
    padding:10px;
    top: 0;
    left: 0;
    z-index: 2;
    /*background-color:#117a8b;
      background-position: 10px 10px !important;*/
    /*background: linear-gradient(#fff, transparent);*/
}
.mobiicon {
         display:none;
    }
.chaticonimg {
    display:block;
}
@media (max-width: 767px) {
    div.conv-form-wrapper div.wrapper-messages, div.conv-form-wrapper div#messages {
        max-height:77vh;
    }
    .chat_box {
        right:0 !important;
        width:100%;
        height:82vh;
    }
  
    .headlogo
    {
         margin-right:0 !important;
          width:100%;
    }
    .chaticonimg {
    display:none;
}
    .mobiicon {
         display:block;
    }

}

div.conv-form-wrapper div.wrapper-messages::-webkit-scrollbar, div#feed ul::-webkit-scrollbar, div.conv-form-wrapper div.options::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    /* remove scrollbar space */
    background: transparent;
    /* optional: just make scrollbar invisible */

}
input[type="text"].userInputDynamic.error {
    color: #ac0000 !important;
}
input[type="text"].userInputDynamic {
    border-radius: 3px;
    margin: 7px 10px;
}

textarea.userInputDynamic.error {
    color: #ac0000 !important;
}

textarea.userInputDynamic {
    border-radius: 3px;
   /*  margin-top:-18px;
      margin-left:10px;*/
      margin:7px 10px;
}

.disp {
    display:inline-block;
}
.confbtn {
    height:22px!important;
    width:75px!important;
    float:right!important;
    padding:0px!important;
    text-align:center!important;
    margin:0px!important;
}
.subbtn {
    height: 22px !important;
    width: 100px !important;
    padding: 3px !important;
    text-align: center !important;
    color: #000000ff !important;
    border: 2px solid #0f6f7f !important;
    background-color: #ffffffff !important;
    font-size: 12px !important;
    border-radius: 5px;
}
div.parentcls {
  overflow: auto;
  white-space: nowrap;
   max-width:350px;
    display:-webkit-box;
}
.parentcls::-webkit-scrollbar {
  width: 1em;
  height:10px;
}
 
.parentcls::-webkit-scrollbar-track {
  /*box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);*/
}
 
.parentcls::-webkit-scrollbar-thumb {
  background-color: #06b79a;
  /*outline: 1px solid slategrey;*/
}

div.conv-form-wrapper div#messages {
    transition: bottom 0.15s, padding-bottom 0.15s;
    position: absolute;
    bottom: 0;
    height: auto !important;
    width: 100%;
    padding-bottom: 20px;
      padding-bottom: 40px;
    /*max-height: 49vh;*/
}
div.conv-form-wrapper div.options {
    word-wrap: normal;
    /*white-space: nowrap;*/
    overflow-x: scroll;
    position: absolute;
    bottom: -25%;
    width: 100%;
    transform: translateY(-85px);
}
div.conv-form-wrapper div.options:after {
    content: '';
    display: table;
    clear: both;  
}
div.conv-form-wrapper div.options div.option {
    padding: 4px 8px;
    border: 1px solid rgba(1,75,154,0.42);
    display: inline-block;
    margin:3px;
    background: #FFFFFF;
    color: #221f1f;
    cursor: pointer;
    border-radius:5px;
    font-size: 13px;   
}
div.conv-form-wrapper div.message {
    animation: slideTop 0.15s ease;
}

.clsimg
{
    float: left;
    height: 15px;
    width:15px;
    margin-right: 3px;
    margin-top: 4px;
}
div.conv-form-wrapper div.message:after {
    content: '';
    display: table;
    clear: both;
}
   
div.conv-form-wrapper  div.message.ready {
    animation: bounceIn 0.2s ease;
    transform-origin: 0 0 0;
}
div.conv-form-wrapper  div#messages div.message {
    border-radius: 20px;
    padding: 12px 22px;
    font-size: 13px;
    color: #333;
    display: inline-block;
    padding: 10px 15px 8px;
    border-radius:10px;
    margin-bottom: 8px;
    float: right;
    clear: both;
    max-width:85%;
    word-wrap: break-word;
}
div.conv-form-wrapper  div#messages div.message.to {
    background: #ffffff7d;
    color: #000;
    float: left;
    border-top-left-radius: 0;
}
div.conv-form-wrapper div#messages div.message.from {
    background: #117a8b;
    color: #fff;
    border-top-right-radius: 0;
}
.message.to+.message.from, .message.from+.message.to {
    margin-top: 15px;
}
@keyframes slideTop {
    0% {
        margin-bottom: -25px;
    }
    100% {
        margin-bottom: 0;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.75, 0.75);
    }
    100% {
        transform: scale(1.0, 1.0);
    }
}
div.conv-form-wrapper div.options div.option:hover {
    
    background: #117a8b;
    border: 1px solid #fff;
    color: white;
}
div.conv-form-wrapper div.options div.option.selected {
    background: #06b79a;
    color: #fff;
}
div.conv-form-wrapper div.options div.option.selected:hover {
    background: #069c7f;
}

form.convFormDynamic button.submit {
    padding: 3px;
    border: none;
    float: left;
    margin: 5px;
    color: #117a8b ;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.1rem;
    width: 36px;
    height: 35px;
    margin-top: 4px;
    background: #fff;
    outline: none !important;
}


form.convFormDynamic button.submit:hover {
    background: #117a8b ;
    color: #fff;
}

button.submit.glow {
    box-shadow: 0 0 10px 5px rgba(6, 197, 166, 0.4);
}
.no-border {
    border: none !important;
}
.dragscroll {
    cursor: grab;
}
div.conv-form-wrapper div#messages::-webkit-scrollbar, div#feed ul::-webkit-scrollbar {
    width: 0px;
    /* remove scrollbar space */
    background: transparent;
    /* optional: just make scrollbar invisible */
}
span.clear {
    display: block;
    clear: both;
}

.spinLoader,
.spinLoader:before,
.spinLoader:after {
    background: #06c5a6 !important;
    -webkit-animation: spinLoaderChat 1s infinite ease-in-out;
    animation: spinLoaderChat 1s infinite ease-in-out;
    width: 1em;
    height: 4em;
}
.spinLoader {
    color: #06c5a6 !important;
    text-indent: -9999em;
    margin: 50% auto;
    position: relative;
    font-size: 11px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.spinLoader:before,
.spinLoader:after {
    position: absolute;
    top: 0;
    content: '';
}
.spinLoader:before {
    left: -1.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.spinLoader:after {
    left: 1.5em;
}
@-webkit-keyframes spinLoaderChat {
    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }
    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}
@keyframes spinLoaderChat {
    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }
    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

.custome-link{
    cursor:pointer;

}
