.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 {
    width: calc(100% - 0px);
    margin: 10px auto 15px;
    padding: 0 !important;
    position: relative;
    box-shadow: 0 0 5px 5px rgba(222, 222, 222, 0.4);
}

form.convFormDynamic input.userInputDynamic {
    border: none;
    padding: 7px 10px;
    outline: none;
    font-size: 14px;
    float: left;
    width: calc(100% - 50px);
    line-height: 1.3em;
    min-height: 1.7em;
    max-height: 10rem;
    display: block;
    max-width: 88%;
    margin-right: 2.5%;
}
.right-sidebar .rpanel-title {
    background: #1F3253;
}
.right-sidebar .rpanel-title {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 15px;
    background: #398bf7;
}

.ps {
    -ms-touch-action: auto;
    touch-action: auto;
    overflow: hidden !important;
    -ms-overflow-style: none;
}
.shw-rside {
    right: 0px;
    width: 320px;
    display: block;
}
.right-sidebar {
    position: fixed;
    right: -320px;
    width: 320px;
    display: block!important;
    z-index: 1100;
    background: #ffffff;
    top: 0px;
    padding-bottom: 20px;
    height: 100%;
    -webkit-box-shadow: 5px 1px 40px rgba(0, 0, 0, 0.1);
    box-shadow: 5px 1px 40px rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

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: 71vh;
    height: auto !important;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none; /* IE 11 */
}
div.conv-form-wrapper * {
    scrollbar-width: none;
    -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: 71vh;
    overflow-y: scroll;
    transition: margin 0.1s;
}
div.conv-form-wrapper:before {
    content: '';
    position: absolute;
    width: 100%;
    display: block;
    height: 30px;
    top: 0;
    left: 0;
    z-index: 2;
}
@media (max-width: 767px) {
    div.conv-form-wrapper div.wrapper-messages, div.conv-form-wrapper div#messages {
        max-height: 71vh;
    }
}

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;
}

input.userInputDynamic.error {
    color: #ac0000 !important;
}

input.userInputDynamic {
    border-radius: 3px;
    margin: 7px 10px;
}

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: 2px;
    /*max-height: 71vh;*/
}
div.conv-form-wrapper div.options {
    word-wrap: normal;
    white-space: nowrap;
    overflow-x: scroll;
    position: absolute;
    bottom: 100%;
    width: 100%;
    transform: translateY(-5px);
}
div.conv-form-wrapper div.options:after {
    content: '';
    display: table;
    clear: both;
}
div.conv-form-wrapper div.options div.option {
    padding: 7px 12px;
    border: 1px solid #398bf7;
    display: inline-block;
    margin: 5px;
    background: #fff;
    color: #398bf7;
    cursor: pointer;
    border-radius: 20px;
    font-size: 13px;
	    height: 26px;
    line-height: 12px;
}



div.conv-form-wrapper div.message {
    animation: slideTop 0.15s ease;
}
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: 14px;
    color: #333;
    display: inline-block;
    padding: 10px 15px 8px;
    border-radius: 20px;
    margin-bottom: 10px;
    float: right;
    clear: both;
    max-width: 65%;
    word-wrap: break-word;
}
div.conv-form-wrapper  div#messages div.message.to {
    background: #f8f8f8;
    color: #000;
    float: left;
    border-top-left-radius: 0;
}
div.conv-form-wrapper div#messages div.message.from {
    background: #398bf7;
    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: #eeeeee;
}
div.conv-form-wrapper div.options div.option.selected {
    background: #398bf7;
    color: #fff;
}
div.conv-form-wrapper div.options div.option.selected:hover {
    background: #398bf7;
}

form.convFormDynamic button.submit {
    padding: 3px;
    border: none;
    float: left;
    margin: 5px;
    color: #3C8BF7;
    cursor: pointer;
    border-radius: 8px;
    font-size: 13px;
    width: 22px;
    height: 35px;
    margin-top: 4px;
    background: #fff;
    outline: none !important;
}


form.convFormDynamic button.submit:hover {
        background: transparent;
    color: #3C8BF7;
}


.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;
    }
}

.hidden {
    display: none!important;
}
.vertical-align{
	    bottom: 0;
    position: absolute;
    width: 100%;
}

.vertical-align .card{
	    margin-bottom: 0px!important;
}

.vertical-align .card{
    background-color: transparent!important;
}



/*Online CSS*/

.chat-main-box {
    position: relative;
    overflow: hidden; }
    .chat-main-box .chat-left-aside {
      position: relative;
      width: 250px;
      float: left;
      z-index: 9;
      top: 0px;
      border-right: 1px solid rgba(120, 130, 140, 0.13); }
      .chat-main-box .chat-left-aside .open-panel {
        display: none;
        cursor: pointer;
        position: absolute;
        left: -webkit-calc(100% - 1px);
        top: 50%;
        z-index: 100;
        background-color: #fff;
        -webkit-box-shadow: 1px 0 3px rgba(0, 0, 0, 0.2);
        box-shadow: 1px 0 3px rgba(0, 0, 0, 0.2);
        border-radius: 0 100px 100px 0;
        line-height: 1;
        padding: 15px 8px 15px 4px; }
      .chat-main-box .chat-left-aside .chat-left-inner {
        position: relative; }
        .chat-main-box .chat-left-aside .chat-left-inner .chatonline {
          position: relative;
          height: 90%; }
        .chat-main-box .chat-left-aside .chat-left-inner .form-control {
          height: 60px;
          padding: 15px;
          background-image: -webkit-gradient(linear, left top, left bottom, from(#398bf7), to(#398bf7)), -webkit-gradient(linear, left top, left bottom, from(rgba(120, 130, 140, 0.13)), to(rgba(120, 130, 140, 0.13)));
          background-image: -webkit-linear-gradient(#398bf7, #398bf7), -webkit-linear-gradient(rgba(120, 130, 140, 0.13), rgba(120, 130, 140, 0.13));
          background-image: -o-linear-gradient(#398bf7, #398bf7), -o-linear-gradient(rgba(120, 130, 140, 0.13), rgba(120, 130, 140, 0.13));
          background-image: linear-gradient(#398bf7, #398bf7), linear-gradient(rgba(120, 130, 140, 0.13), rgba(120, 130, 140, 0.13)); }
        .chat-main-box .chat-left-aside .chat-left-inner .style-none {
          padding: 0px; }
          .chat-main-box .chat-left-aside .chat-left-inner .style-none li {
            list-style: none;
            overflow: hidden; }
            .chat-main-box .chat-left-aside .chat-left-inner .style-none li a {
      padding: 20px;
      border-bottom: solid 1px rgba(9,30,66,.12);
  }
              .chat-main-box .chat-left-aside .chat-left-inner .style-none li a:hover, .chat-main-box .chat-left-aside .chat-left-inner .style-none li a.active {
                background: #ebf3f5; }
    .chat-main-box .chat-right-aside {
      width: calc(100% - 250px);
      float: left; }
      .chat-main-box .chat-right-aside .chat-rbox {
        height: auto;
        position: relative; }
      .chat-main-box .chat-right-aside .chat-list {
        max-height: none;
        height: 100%;
        padding-top: 40px; }
        .chat-main-box .chat-right-aside .chat-list .chat-text {
          border-radius: 6px; }
      .chat-main-box .chat-right-aside .send-chat-box {
        position: relative; }
        .chat-main-box .chat-right-aside .send-chat-box .form-control {
          border: none;
          border-top: 1px solid rgba(120, 130, 140, 0.13);
          resize: none;
          height: 80px;
          padding-right: 180px; }
          .chat-main-box .chat-right-aside .send-chat-box .form-control:focus {
            border-color: rgba(120, 130, 140, 0.13); }
        .chat-main-box .chat-right-aside .send-chat-box .custom-send {
          position: absolute;
          right: 20px;
          bottom: 10px; }
          .chat-main-box .chat-right-aside .send-chat-box .custom-send .cst-icon {
            color: #67757c;
            margin-right: 10px; }

  .chatonline li a span {
      color: #67757c;
      font-weight: 600;
  }


  .chat-list li .chat-img {
      display: inline-block;
      width: 26px;
      vertical-align: top;
  }
  .chat-list li .chat-img img {
      width: 26px;
      border-radius: 100%;
  }
  .chat-list li .chat-content h5 {
      color: #99abb4;
      font-weight: 500;
      color: rgba(9,30,66,.74);
      font-size: 12px;
  }

  html body .bg-light-info {
      background-color: #cfecfe;
      background-color: #c6e5f8;
      border-radius: 8px 20px 20px;
      font-size: 13px;
      line-height: 1.24;
          color: rgba(9,30,66,.87);
      font-weight: 500;
  }

  html body .bg-light-inverse {
      background-color: #f6f6f6;
      border-radius: 20px 4px 8px 20px!important;
      box-shadow: -1px 1px 1px rgba(0,0,0,.12);
      color: rgba(9,30,66,.87)!important;
      font-size: 13px;
      line-height: 1.24;
          color: rgba(9,30,66,.87);
      font-weight: 500;
      background: #fff;
  }
  .chatonline li a span {
      color: #67757c;
      font-weight: 600;
      color: rgba(9,30,66,.87);
      font-weight: 600;
      font-size: 14px;
  }

  .chat-list li .chat-time {
      display: block;
      text-align: right;
      width: 80px;
      font-size: 13px;
      color: #99abb4;
      font-size: 11px;
      font-weight: 400;
      color: rgba(9,30,66,.74);
      margin-left: 7px;
      margin-top: -5px;
      font-size: 11px;
      font-weight: 400;
      text-transform: uppercase;
  }

  .chat-main-box .chat-right-aside {
      width: calc(100% - 650px);
      float: left;
      width: calc(100% - 646px);
  }
  .assignbutton{
      padding-left: 15px;
      height: 59px;
      border-bottom: 1px solid #ececec;
          color: rgba(9,30,66,.87);
      font-weight: 600;
      font-size: 14px;
      background: #fff;

  }

  .assignbutton .col-form-label {
      padding-top: calc(.375rem + 1px);
      padding-bottom: calc(.375rem + 1px);
      margin-bottom: 0;
      font-size: inherit;
      line-height: 30px;
  }

  .reverse .chat-time{
      width: 100%!important;
      text-align: right!important;
          padding-right: 46px;
  }

  .chat-main-box .chat-left-aside .chat-left-inner {
      position: relative;
      height: calc(100vh - 70px)!important;
  }

  .chat-main-box .chat-right-aside .chat-list {
      max-height: none;
     height: calc(100vh - 275px)!important;
      padding-top: 40px;

  }

  .tickbutton {
          width: 51px!important;
      padding-left: 18px;
      padding-right: 20px;
      margin-top: 11px;
      float: right;
      margin-right: 12px;
  }

  .chat-list li .chat-content .box {
      display: inline-block;
      margin-bottom: 10px;
      color: #263238;
      padding: 10px 15px;
      text-align: left;
  }


  .chat-main-box .chat-left-aside1 {
      position: relative;
      width: 325px;
      float: left;
      z-index: 9;
      top: 0px;
      border-left: 1px solid rgba(120, 130, 140, 0.13);
  }

  .chat-main-box .chat-left-aside {
      position: relative;
     width: 327px;
      float: left;
      z-index: 9;
      top: 0px;
      border-left: 1px solid rgba(120, 130, 140, 0.13);
  }

  .form-control {
      display: block;
      width: 100%;
      height: calc(2.25rem + 2px);
      padding: .375rem .75rem;
      font-size: 15px!important;
      font-weight: 400;
      line-height: 1.5;
      color: #495057;
      background-color: #fff;
      background-clip: padding-box;
      border: 1px solid #ced4da;
      border-radius: .25rem;
  }

  .chatonline img {
      margin-right: 10px;
      float: left;
          width: 55px;
  }

  .truncate {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 12px;
      font-weight: 400;
  }

  .date {
      font-size: 11px!important;
      float: right!important;
      margin-top: 5px!important;
      color: rgba(9,30,66,.54)!important;
      font-weight: 400!important;
  }

  .chat-left-inner .right-sidebar {

      -webkit-box-shadow: none!important;
      box-shadow: none;
      border-left: 1px solid rgba(120, 130, 140, 0.13);
       border-right: 1px solid rgba(120, 130, 140, 0.13);
  }

  .chat-right-aside{
      background-image: url(/assets/images/pattern_agent.svg);
  }

  .chatbag{
          background-color: #fff;
      border: 1px solid rgba(9,30,66,.12);
      border-radius: 5px;
      min-height: 120px;
      width: 100%;
  }

  div.unity-compose-editor .chat-type .send-actions .send.disabled {
      background-color: #fff;
      border: 1px solid rgba(9,30,66,.12);
      color: rgba(9,30,66,.87);
  }

  .chatbag .btn{
          background-color: #fff;
      border: 1px solid rgba(9,30,66,.12);
      color: rgba(9,30,66,.87);
  }

  .editable-input .form-control.input-sm{
      padding-right: 24px!important;
      height: 28px!important;
      background: #fff!important;
  }

  .user-img {
     width: 54px;
      position: relative;
      display: inline-block;
      margin: 0 10px 0px 0;
      float: left;
  }

  .user-img .online {
      background: #06d79c;
  }
  .user-img .profile-status {
        border: 2px solid #ffffff;
      border-radius: 50%;
      display: inline-block;
      height: 10px;
      left: 43px;
      position: absolute;
      bottom: 3px;
      width: 10px;
  }



  .right-sidebarsmall .chat-list.p-20 {list-style: none;   padding-top: 10px;     height: 663px;     overflow: scroll!important;       height: calc(100vh - 125px)!important;    overflow-x: hidden!important; }
  .right-sidebarsmall .chat-right-aside .chat-content {    background-image: url(/assets/images/pattern_agent.svg); width: calc(100% - 40px)!important;     display: inline-block;     padding-left: 15px; }
  .right-sidebarsmall .chat-list li .chat-content .box {     display: inline-block;     margin-bottom: 10px;     color: #263238;     padding: 10px 15px;     text-align: left;     width: 100%;     word-wrap: break-word; }
  .right-sidebarsmall .btn-circle.btn-lg {     width: 34px;     height: 34px;     padding: 5px 8px;     font-size: 18px;     line-height: 23px; }
  .right-sidebarsmall .ps:hover>.ps__scrollbar-x-rail, .ps:hover>.ps__scrollbar-y-rail {     opacity: 0.6;     display: none; }
  .hr-sect { display: flex; flex-basis: 100%; align-items: center; color: rgba(0, 0, 0, 0.35); margin: 8px 0px; 		    margin-left: -31px;     margin-right: -30px; 		    margin-top: 20px; }
  .hr-sect::before, .hr-sect::after { content: ""; flex-grow: 1; background: rgba(0, 0, 0, 0.35); height: 1px; font-size: 0px; line-height: 0px; margin: 0px 8px; }

