/* Clients area css styling */

.customer_admins_wrapper {
    /*position: absolute;*/
    display: flex;
    /*margin-left: 20px;*/
    /*margin-top: -113px;*/
}


/* Notifications */

.notification {
    display: inline-block;
    position: relative;
    padding: 0.6em;
    border-radius: 0.2em;
    font-size: 1.3em;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.notification::before,
.notification::after {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.notification::before {
    display: block;
    content: "\f0f3";
    font-family: "FontAwesome";
    transform-origin: top center;
}

.notification::after {
    font-family: Arial;
    font-size: 0.7em;
    font-weight: 700;
    position: absolute;
    top: -15px;
    right: -15px;
    padding: 5px 8px;
    line-height: 100%;
    border: 2px #fff solid;
    border-radius: 60px;
    opacity: 0;
    content: attr(data-count);
    opacity: 0;
    transform: scale(0.5);
    transition: transform, opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
}

.notification.notify::before {
    animation: ring 1.5s ease;
}

.notification.show-count::after {
    transform: scale(1);
    opacity: 1;
}

@keyframes ring {
    0% {
        transform: rotate(35deg);
    }
    12.5% {
        transform: rotate(-30deg);
    }
    25% {
        transform: rotate(25deg);
    }
    37.5% {
        transform: rotate(-20deg);
    }
    50% {
        transform: rotate(15deg);
    }
    62.5% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
    }
}


/* Chat Notifications */

.chatNewNotification {
    position: absolute !important;
    display: none;
}


.chatNewNotification::after {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.chatNewNotification::after {
    right: 18px;
    top: -32px;
    font-size: 0.5em;
    font-weight: 700;
    position: absolute;
    padding: 3px 6px;
    border-radius: 50%;
    opacity: 0;
    content: attr(data-count);
    background: #2ac865;
}

.chatNewNotification.notify::before {
    animation: ring 1.5s ease;
    -webkit-animation: ring 1.5s ease;
}

.chatNewNotification.show-count::after {
    transform: scale(1);
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
}

@keyframes ring {
    0% {
        transform: rotate(35deg);
        -webkit-transform: rotate(35deg);
        -moz-transform: rotate(35deg);
        -ms-transform: rotate(35deg);
        -o-transform: rotate(35deg);
    }
    12.5% {
        transform: rotate(-30deg);
    }
    25% {
        transform: rotate(25deg);
    }
    37.5% {
        transform: rotate(-20deg);
    }
    50% {
        transform: rotate(15deg);
    }
    62.5% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.ch_pointer .ch_pointer-main {
    position: fixed;
    width: 60px !important;
    height: 60px !important;
    bottom: 70px;
    right: 20px;
    color: #fff;
    background-color: #2B3643;
    padding: 10px 10px;
    transition: all 300ms;
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
    z-index: 999990;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ch_pointer .ch_pointer-main:hover {
    /*background-color: #6437f3;*/
}

.ch_pointer .ch_pointer-main svg {
    fill: #fff;
}

.ch_pointer .ch_pointer-main-first,
.ch_pointer .ch_pointer-main-under {
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    /*right: 0;*/
    /*bottom: 0;*/
    margin: auto;
    /*width: 30px;*/
    /*height: 30px;*/
}

.ch_pointer .ch_pointer-main-first svg,
.ch_pointer .ch_pointer-main-under svg {
    width: 30px;
    height: 30px;
}

.ch_pointer .ch_pointer-main-under {
    display: none;
    /*width: 20px;*/
    /*height: 20px;*/
}

.ch_pointer .ch_pointer-main-under svg {
    width: 20px;
    height: 20px;
}

.ch_pointer .ch_pointer-main-body {
    display: inline-block;
    width: 100%;
    padding-left: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ch_pointer.ch_pointer-open .ch_pointer-main {
    width: 60px;
}

.top_close_icon {
    position: absolute;
    z-index: 9;
    right: 0;
    cursor: pointer;
    margin-top: 10px;
    margin-right: 14px;
}

.info_company_name span {
    color: #000;
    font-size: 26px;
}

.info_company_name {
    margin-top: 16px;
    text-align: center;
    background: #fff;
    width: fit-content;
    border-radius: 12px;
    opacity: 0.6;
    margin: 0 auto;
    padding: 2px 14px 0px 14px;
    margin-top: 10px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.company_top_info {
    /*height: 231px;
  */
    /*height: 216px;*/
    position: relative;
    min-height: 60px;
    color: white;
    transition: height 160ms ease-out 0s;
    background: #2B3643;
    -webkit-transition: height 160ms ease-out 0s;
    -moz-transition: height 160ms ease-out 0s;
    -ms-transition: height 160ms ease-out 0s;
    -o-transition: height 160ms ease-out 0s;
}

.company_top_info_parent {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    box-sizing: border-box;
    padding: 5px 40px 5px 14px;
}

.mtopbottomfixed {
    margin-top: 53px;
    margin-bottom: -38px;
}

.company_logo_placeholder a {
    display: block;
    height: 50px;
    pointer-events: none;
    cursor: default;
    line-height: unset;
}

.company_logo_placeholder img {
    display: flex;
}

.intercom-15952ex {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.intercom-15952ex>span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.intercom-chmsnk {
    color: rgb(255, 255, 255);
    display: block;
    line-height: 1.5em;
}

.intercom-15952ex>span>span {
    white-space: pre;
}

/*.company_top_info::before {*/
    /*content: '';*/
    /*opacity: 0.75;*/
    /*top: -36px;*/
    /*left: 7px;*/
    /*bottom: 40px;*/
    /*right: -10px;*/
    /*position: absolute;*/
    /*background-image: url(./images/main_bg.svg);*/
    /*background-size: cover;*/
    /*pointer-events: none;*/
    /*margin-left: 183px;*/
/*}*/

.customer_first_co_wrapper {
    width: 100%;
    background-color: #fff;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #000;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 -2px 0 0 #30b261;
}

.customer_main_placeholder_top {
    line-height: 1.5;
    padding: 10px;
}

.staff_info_wrapper_div {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.staff_muted_text_info {
    line-height: 1;
    margin-bottom: 8px;
    word-break: break-word;
    color: rgb(150, 150, 154);
    font-size: 14px;
    text-align: left;
}

.staff_image_parent {
    /*display: flex;*/
    /*flex-wrap: wrap;*/
    /*-webkit-box-align: center;*/
    /*align-items: center;*/
    /*margin-top: -5px;*/
    overflow-y: auto;
    max-height: 115px;
}

.staff_online_text {
    line-height: 1.25;
    word-break: break-word;
    font-size: 16px;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
}

.staff_image_wrapper {
    /*margin-right: 6px;*/
    /*margin-left: 11px;*/
    display: flex;
    -webkit-box-pack: start;
    justify-content: flex-start;
    align-items: center;
    flex-flow: row nowrap;
}

.staff_children_parent_child_div {
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    /*line-height: 42px;*/
    /*font-size: 26px;*/
    /*margin: 0px auto;*/
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff_children_parent_child_div img {
    width: 100%;
    height: 100%;
}

.staff_image_wrapper .staff_children_parent_child_div {
    border-width: 2px;
    border-style: solid;
    border-color: rgba(109, 133, 212, 0.18);
    border-image: initial;
}

.staff_notification[data-notification]:after {
    content: attr(data-notification);
    animation: zoom 3s 3s both infinite;
    -webkit-animation: zoom 3s 3s both infinite;
}

.staff_notification {
    display: none;
    background: #30b261;
    width: 18px;
    color: #fff;
    font-size: 13px;
    text-align: center;
    border-radius: 50%;
    margin-left: 3px;
    position: absolute;
    clear: both;
    top: 0;
}

ol.chat {
    height: 390px;
    padding-top: 43px;
}

.userIsTyping {
    display: none;
    position: absolute;
    bottom: 80px;
    left: 5px;
    clear: both;
}

.userIsTyping img {
    width: 30px;
}

.staff_image_second_children_div {
    position: relative;
}

.staff_container {
    cursor: pointer;
    display: inline-block;
    /*margin-left: -6px;*/
    padding: 0px;
}

.admin_name_placeholder a.admin_href_text:hover {
    color: #dedede;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.admin_name_placeholder a.admin_href_text {
    color: #fff;
    font-size: 15px;
}

.admin_name_placeholder {
    padding: 4px;
    background: #d4d2d2;
}

.chat {
    list-style: none;
    background: none;
    padding: 0;
    margin: 0;
}

.chat li {
    /*padding: 8px;*/
    padding: 0 0.5rem;
    font-size: 1rem;
    /* overflow: hidden; */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    color: #000000;
}
.chat li:last-child{
    margin-bottom: 15px;
}
#staffMessagesForm{
    height: 90px;
    background: #fff;
}
.send_client_message {
    cursor: pointer;
    position: absolute;
    bottom: .5%;
    right: 2%;
    /* height: 33px; */
    display: flex;
    align-items: center;
    background-color: #30b261;
    border: 1px solid #30b261;
    color: #fff;
    padding: 0.28rem 0.8rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.15rem;
}

.customer_admin .msg,
.customer_admin {
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    -ms-grid-row-align: flex-start;
    align-items: flex-start;
}

.client {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    -ms-grid-row-align: flex-end;
    align-items: flex-end;
}

li.customer_admin:last-child {
    margin-bottom: 20px;
}

.customer_admin .msg {
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    /*border-top-right-radius: 2px;*/
    margin-top: 5px;
}

.client .msg {
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    /*border-top-left-radius: 2px;*/
    margin-top: 5px;
}

.path {
    stroke: #8771ff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
    -webkit-animation: dash 1.5s ease-in-out infinite;
}

.message_client_loader {
    animation: rotate 2s linear infinite;
    display: none;
    z-index: 2;
    position: absolute;
    top: 55%;
    left: 40%;
    width: 85px;
    height: 85px;
    opacity: 1;
    -webkit-animation: rotate 2s linear infinite;
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
    }
}

.msg {
    word-wrap: break-word;
    max-width: 80%;
    width: auto;
    padding: 10px;
    background: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

.client_name {
    float: right;
    margin-top: -6px;
    font-size: 13px;
    color: #6c6eb3;
}

.msg p {
    color: #333;
    margin: 3px 0 0 0;
    font-size: 14px;
    clear: both;
    line-height: normal;
}

.msg .time {
    font-size: 1rem;
    color: #333;
    margin-top: 3px;
    float: right;
    cursor: first;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.closeIcon {
    vertical-align: middle;
}

.firstDiv {
    display: none;
    position: fixed;
    bottom: 26px;
    right: 81px;
    z-index: 999999999;
    box-sizing: content-box;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 20px;
    width: 350px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
@media screen and (max-width: 767px){
    .firstDiv {
        width: 96vw;
        left: 0;
        right: 0;
        margin: auto;
    }
    .m-area{
        height: 55vh !important;
    }
}
@media screen and (max-width: 374px){
    .m-area{
        height: 40vh !important;
    }
}
.thirdDiv {
    display: flex;
    align-items: center;
    padding: 0px 30px 0px 0px;
    font-size: 15px;
    font-weight: normal;
}

.clients_textarea {
    outline: none;
    width: 96%;
    box-shadow: none;
    height: 33px !important;
    overflow: hidden !important;
    resize: none !important;
    padding: .45rem .9rem;
    margin: 2%;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6c757d;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .2rem;
}

.circled {
    width: 50px;
    height: 50px;
    border-radius: 34%;
    -webkit-border-radius: 34%;
    -moz-border-radius: 34%;
    -ms-border-radius: 34%;
    -o-border-radius: 34%;
}

.m-area {
    background: #fff;
    display: block;
    height: 350px;
    overflow-y: scroll;
    padding-bottom: 10px;
}
.m-area::-webkit-scrollbar {
    width: 8px;
}
.m-area::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
}

.admin_name {
    padding-left: 7px;
    width: -webkit-fill-available;
    margin-left: -9px;
    font-size: 13px;
    color: #6c6eb3;
}

body #clientChat .attachment {
    font-size: 20px;
    color: #333 !important;
    cursor: pointer;
    position: absolute;
    left: 2%;
    bottom: 1.5%;
    height: 30px;
    display: flex;
    align-items: center;
}

body .onlineStaff {
    border-color: rgb(83, 196, 129) !important;
}

body .staff_image_wrapper .staff_children_parent_child_div.active_staff img {
    margin-left: -1px;
}

body .staff_image_wrapper .staff_children_parent_child_div.active_staff {
    border-width: 2px;
    border-color: #30b261;
    width: 40px;
    height: 40px;
    transition: border-color 500ms;
    -webkit-transition: border-color 500ms;
    -moz-transition: border-color 500ms;
    -ms-transition: border-color 500ms;
    -o-transition: border-color 500ms;
}

img.emoji {
    width: 22px !important;
    height: 22px !important;
    background-size: contain !important;
    float: none !important;
    margin-left: 3px;
    margin-top: -1px;
}

.lity {
    z-index: 999999999 !important;
}

img.chat_convertedImage {
    border-radius: 0;
    max-width: 100%;
    width: -webkit-fill-available;
}

 .chat-module-loader:before {
     content: 'Uploading...';
     position: absolute;
     bottom: 35%;
     color: #ffffff;
 }

.chat-module-loader {
    display: flex;
    position: absolute;
    width: 100%;
    align-items: center;
    background: rgb(0, 0, 0, 0.6);
    z-index: 99999999999999999;
    height: 100%;
    top: 50%;
    left: 50%;
    justify-content: center;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.chat-module-loader div {
    animation: chat-module-loader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 32px 32px;
    -webkit-animation: chat-module-loader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    position: absolute;
    margin-left: -50px;
    margin-top: -50px;
}

.chat-module-loader div:after {
    content: ' ';
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 20%;
    background: #fff;
    margin: -3px 0 0 -3px;
}

.chat-module-loader div:nth-child(1) {
    animation-delay: -0.036s;
}

.chat-module-loader div:nth-child(1):after {
    top: 50px;
    left: 50px;
}

.chat-module-loader div:nth-child(2) {
    animation-delay: -0.072s;
}

.chat-module-loader div:nth-child(2):after {
    top: 54px;
    left: 45px;
}

.chat-module-loader div:nth-child(3) {
    animation-delay: -0.108s;
}

.chat-module-loader div:nth-child(3):after {
    top: 57px;
    left: 39px;
}

.chat-module-loader div:nth-child(4) {
    animation-delay: -0.144s;
}

.chat-module-loader div:nth-child(4):after {
    top: 58px;
    left: 32px;
}

.chat-module-loader div:nth-child(5) {
    animation-delay: -0.18s;
}

.chat-module-loader div:nth-child(5):after {
    top: 57px;
    left: 25px;
}

.chat-module-loader div:nth-child(6) {
    animation-delay: -0.216s;
}

.chat-module-loader div:nth-child(6):after {
    top: 54px;
    left: 19px;
}

.chat-module-loader div:nth-child(7) {
    animation-delay: -0.252s;
}

.chat-module-loader div:nth-child(7):after {
    top: 50px;
    left: 14px;
}

.chat-module-loader div:nth-child(8) {
    animation-delay: -0.288s;
}

.chat-module-loader div:nth-child(8):after {
    top: 45px;
    left: 10px;
}
.reply_container {
    display: none;
    padding: 10px;
    background-color: #AFE1F5;
    border-radius: 0.2rem;
    margin-bottom: 10px;
}
.reply_container:before {
    content: "\e856";
    font-family: feather;
    margin-right: 10px;
}
.reply_container--fullsize {
    border-radius: 0;
    width: 100%;
    margin-bottom: 0;
}
.reply_container.show {
    display: inline-block;
}
.reply_for_msg_chat {
    display: none;
    margin-bottom: auto;
    float: right;
    cursor: pointer;
    margin-left: 10px;
}

.to_reply_for_msg_chat {
    display: none;
    margin-bottom: auto;
    float: right;
    cursor: pointer;
    margin-left: 10px;
}
.to_reply_for_msg_chat.reply_msg_my {
    margin-left: auto;
    margin-right: 10px;
}
li:hover .reply_for_msg_chat {
    display: block;
}
li:hover .to_reply_for_msg_chat {
    display: block;
}
.reply_container__cancel {
    margin-left: 20px;
    float: right;
    cursor: pointer;
}
.reply__blockquote {
    display: block;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0.2rem;
}


@keyframes chat-module-loader {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
    }
}

.client_sent_time, .customer_sent_time {
    font-size: 11px;
    font-style: italic;
    color: var(--secondary);
}
.customer_sent_time {
    float: left;
    margin: 5px -5px -5px -5px;
}
.client_sent_time {
    float: right;
    margin: 0px -5px -5px 0px;
}
/*@media screen and (max-width: 735px) {*/
    /*.ch_pointer {*/
        /*display: none;*/
    /*}*/
/*}*/

.placeholder-messages .reply_container .reply__text{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}