

.fabs {
    bottom: 0;
    margin: 1em;
    position: fixed;
    right: 0;
    z-index: 998
}

#prime {
    border-radius: 0%;
    /* box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28); */
    /* color: #f0f0f0; */
    cursor: pointer;
    display: block;
    height: 72px;
    margin: 25px auto 0;
    overflow: hidden;
    position: relative;
    text-align: center;
    transition: all .1s ease-out;
    width: 72px;
    z-index: 998;
    left: -10px;
}
#prime>i {
    font-size: 2em;
    line-height: 55px
}

#prime>i,
.chat {
    transition: all .2s ease-in-out
}

.chat {
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    border-radius: 10px;
    bottom: 20px;
    box-shadow: 1px 1px 100px 2px rgba(0, 0, 0, .22);
    display: none;
    font-size: 12px;
    font-weight: 500;
    line-height: 22px;
    opacity: 0;
    position: fixed;
    right: 85px;
    width: 400px
}

.chat_fullscreen {
    bottom: 0;
    position: fixed;
    right: 0;
    top: 0
}

.chat_header {
    background: linear-gradient(to left, #f67a45 50%, rgba(246, 122, 69, 0.9) 50%) right;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #f3f3f3;
    font-size: 13px;
    font-weight: 500;
    height: 55px;
    padding-top: 8px
}

.chat_header .span {
    float: right
}

.chat.is-visible {
    -webkit-animation: zoomIn .2s ease-in-out;
    animation: zoomIn .2s ease-in-out;
    display: block;
    opacity: 1
}

.chat_option {
    float: left;
    font-size: 15px;
    font-weight: 400;
    height: 100%;
    letter-spacing: .5px;
    list-style: none;
    margin-right: 10px;
    position: relative;
    text-align: relative;
    width: 100%
}

.chat_option img {
    border-radius: 50%;
    float: left;
    height: 40px;
    margin: 1px 15px 10px 6px;
    -o-object-fit: cover;
    object-fit: cover;
    width: 40px
}

.change_img img {
    margin: 0 20px;
    width: 35px
}

.chat_option .agent {
    font-size: 12px;
    font-weight: 300
}

.chat_option .online {
    font-size: 11px;
    font-weight: 300;
    opacity: .4
}

.chat_color {
    border-radius: 50%;
    display: block;
    float: left;
    height: 20px;
    margin: 10px;
    width: 20px
}

.chat_body {
    background: #fff;
    display: inline-block;
    overflow-y: auto;
    text-align: center;
    width: 100%
}

#chat_body {
    height: 450px
}

.chat_body li,
.chat_login p {
    -webkit-animation: zoomIn .5s ease-in-out;
    animation: zoomIn .5s ease-in-out
}

.chat_body p {
    color: #888;
    padding: 20px
}

.chat_body a {
    border: none;
    box-shadow: none;
    font-size: 15px;
    line-height: 40px;
    text-align: center;
    width: 10%
}

.chat_field {
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    border: none;
    color: #4b4b4b;
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    line-height: 30px;
    margin: 5px 0;
    outline: none;
    position: relative;
    width: 90%
}

.chat_field.chat_message {
    background: transparent;
    border-radius: 5px;
    font-size: 13px;
    height: 30px;
    height: 40px;
    margin-left: 5px;
    overflow: visible;
    overflow-x: visible;
    padding-left: .75rem;
    padding-right: .75rem
}

.fab_field {
    background: #fff;
    border-bottom: 1px solid #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top: 1px solid #fff;
    display: inline-block;
    text-align: left;
    width: 97%
}

.fab_field a {
    display: inline-block;
    text-align: center
}

#fab_camera {
    float: left
}

#fab_camera,
#fab_send {
    background: transparent
}

#fab_send {
    float: right
}

.fab_field .fab {
    box-shadow: none;
    height: 35px;
    margin: 5px;
    width: 35px
}

.fab_field .fab>i {
    color: #bbb;
    font-size: 1.6em;
    line-height: 35px
}

.fab_field .fab>i:hover {
    color: #42a5f5
}

.chat_converse {
    background: #fff;
    float: right;
    font-size: 12px;
    height: 350px;
    line-height: 18px;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 15px !important;
    padding-top: 15px !important;
    position: relative;
    width: 100%
}

.chat .chat_converse .chat_msg_item {
    word-wrap: break-word;
    border-radius: 3px;
    clear: both;
    display: block;
    margin: 8px 0 15px;
    max-width: 60%;
    padding: 8px 10px;
    position: relative;
    z-index: 999
}

.status {
    float: right;
    font-size: 11px;
    margin: 45px -50px 0 0;
    opacity: .7
}

.status2 {
    display: block;
    float: left;
    font-size: 11px;
    margin: 52px 23px 0 -108px;
    opacity: .3
}

.chat .chat_converse .chat_msg_item .chat_avatar {
    position: absolute;
    top: 0
}

.chat .chat_converse .chat_msg_item.chat_msg_item_admin .chat_avatar {
    background: rgba(0, 0, 0, .03);
    left: -52px
}

.chat .chat_converse .chat_msg_item.chat_msg_item_user .chat_avatar {
    background: rgba(0, 0, 0, .6);
    right: -52px
}

.chat .chat_converse .chat_msg_item .chat_avatar,
.chat_avatar img {
    border-radius: 50%;
    height: 40px;
    text-align: center;
    width: 40px
}

.chat .chat_converse .chat_msg_item.chat_msg_item_admin {
    background: rgba(0, 0, 0, .03);
    color: #666;
    float: left;
    margin-left: 60px
}

.chat .chat_converse .chat_msg_item.chat_msg_item_user {
    background: #6b719b;
    color: #eceff1;
    float: right;
    margin-right: 20px
}

.chat .chat_converse .chat_msg_item.chat_msg_item_admin:before {
    border: 6px solid transparent;
    border-right-color: hsla(0, 0%, 100%, .4);
    content: "";
    left: -12px;
    position: absolute;
    top: 15px;
    z-index: 998
}

input {
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    background: #fff;
    border-radius: 3px;
    color: #4b4b4b;
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    outline: none;
    padding: 5px;
    position: relative;
    resize: none;
    width: 90%
}

::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    border-radius: 0
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .2);
    border-radius: 10px;
    margin: 2px
}

@-webkit-keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@-webkit-keyframes load {
    0% {
        opacity: 0;
        transform: scale(0)
    }

    50% {
        opacity: 1;
        transform: scale(1.5)
    }

    to {
        opacity: 0;
        transform: scale(1)
    }
}

@keyframes load {
    0% {
        opacity: 0;
        transform: scale(0)
    }

    50% {
        opacity: 1;
        transform: scale(1.5)
    }

    to {
        opacity: 0;
        transform: scale(1)
    }
}

@media only screen and (min-width:300px) {
    .chat {
        width: 300px
    }

    #chat_fullscreen {
        padding: 0 10px
    }
}

@media only screen and (min-width:480px) {
    .chat {
        width: 300px
    }

    .chat_field {
        width: 65%
    }
}

@media only screen and (min-width:768px) {
    .chat {
        width: 300px
    }

    .chat_field {
        width: 90%
    }
}

@media only screen and (min-width:1024px) {
    .chat {
        width: 300px
    }

    .chat_field {
        width: 90%
    }
}

.msg_form #chat_fullscreen {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden
}

.bubble {
    border-radius: 5px;
    clear: both;
    display: inline-block;
    font-size: 16px;
    margin-bottom: 8px;
    padding: 10px;
    position: relative;
    transition-timing-function: cubic-bezier(.4, -.04, 1, 1);
    vertical-align: top
}

.bubble:before {
    content: " ";
    display: block;
    height: 6px;
    position: absolute;
    top: 16px;
    transform: rotate(29deg) skew(-35deg);
    width: 8px
}

.bubble.you {
    align-self: flex-start;
    -webkit-animation-name: slideFromLeft;
    animation-name: slideFromLeft;
    background-color: #6b719b;
    color: var(--white);
    float: left
}

.bubble.you:before {
    background-color: #6b719b;
    left: -3px
}

.bubble.me {
    align-self: flex-end;
    -webkit-animation-name: slideFromRight;
    animation-name: slideFromRight;
    background-color: #6b719b;
    color: var(--white);
    float: right
}

.bubble.me:before {
    background-color: #6b719b;
    right: -3px
}

.emojionearea.focused {
    border-color: #6b719b !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(45, 42, 188, .6) !important;
    outline: 0 !important
}

.chat-conversation {
    padding: 20px
}

.chat__msg-day-divider {
    background-color: #ebebeb;
    height: 1px;
    margin: 45px 0 10px
}

.chat__msg-day-title {
    background-color: #fff;
    border-radius: 4px;
    font-weight: 500;
    height: 42px;
    padding: 10px 25px;
    position: relative;
    top: -22px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content
}

.chat-conversation__receiver {
    display: flex;
    margin: 10px 0;
    padding: 5px 0;
    position: relative
}

.chat-conversation__receiver .chat-conversation__bubble {
    background-color: #8fca57;
    border-radius: 0 8px 8px 8px;
    color: #fff;
    margin-right: 10px;
    padding: 10px
}

.chat-conversation__receiver .chat-conversation__bubble:before {
    border-color: transparent #6b719b transparent transparent;
    left: -8px
}

.chat-conversation__receiver .chat-conversation__bubble .chat-container__time {
    left: 0
}

.chat-conversation__receiver .chat-conversation__bubble .chat-container__time,
.chat-conversation__sender .chat-container__time {
    bottom: -12px;
    color: #6c757d;
    font-size: 12px;
    opacity: .8;
    position: absolute
}

.chat-conversation__sender {
    display: flex;
    justify-content: flex-end;
    margin: 10px 0;
    padding: 5px 0;
    position: relative
}

.chat-conversation__sender .chat-conversation__bubble {
    background-color: #e6ae01;
    border-radius: 8px 0 8px 8px;
    color: #fff;
    padding: 10px
}

.chat-conversation__sender .chat-conversation__bubble:before {
    border-color: #f2f2f2 transparent transparent;
    border-width: 8px 8px 0 0;
    right: -8px
}

.chat-conversation__sender .chat-container__time {
    right: 15px
}

.chat-conversation__sender .chat-container__read-status {
    bottom: -12px;
    color: hsla(0, 0%, 63%, .561);
    right: 0
}

.chat-conversation__sender .chat-container__read-status--read {
    color: #6b719b
}

.chat-conversation__bubble-text img {
    max-height: 200px;
    max-width: 200px;
    -o-object-fit: contain;
    object-fit: contain
}

img.emojione {
    height: 14px;
    width: 13px
}

.emojionearea .emojionearea-picker .emojionearea-search>input {
    border: 1px solid
}

.chat-conversation__bubble-text a {
    color: #fff
}

.close-chat {
    border: none !important;
    margin-left: 200px;
    margin-top: 10px;
    outline: none !important
}

@media (max-width:576px) {
    .chat {
        bottom: 82px;
        right: 10px
    }
}
