
.chat_header {
    cursor: move;
}

.chat_msg_item .emojionearea .emojionearea-button {
    display: none;
}
.chat_msg_item .emojionearea, .emojionearea.form-control {
    display: initial;
    position: initial;
    width: initial;
    height: initial;
    padding: initial;
    font-size: initial;
    background-color: #FFF;
    border: initial;
    -moz-border-radius: initial;
    -webkit-border-radius: initial;
    border-radius: initial;
    -moz-box-shadow: initial;
    -webkit-box-shadow: initial;
    box-shadow: initial;
    -moz-transition: initial;
    -o-transition: initial;
    -webkit-transition: initial;
    transition: initial;
}
.chat_msg_item .emojionearea .emojionearea-editor {
    display: inherit;
    height: inherit;
    min-height: inherit;
    max-height: inherit;
    overflow: inherit;
    line-height: inherit;
    font-size: 13px;
    color: inherit;
    border: 0;
    cursor: inherit;
    margin-right: inherit;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    max-width: 140px;
}
.emojionearea .emojionearea-button.active+.emojionearea-picker-position-top {
    z-index: 999;
}
.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem .5rem;
    clear: both;
    font-weight: 400;
    color: rgba(73,80,87,.8);
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
.d-flex {
    display: flex!important;
}
.align-items-center {
    align-items: center!important;
}
.dropdown .dropdown-menu .dropdown-item {
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
}
.dropdown-menu.show {
    display: block;
}
.dropdown-menu {
    z-index: 1025;
    font-size: .875rem;
}

.message-time-sign {
    text-align: center;
    display: block;
    position: relative;
    margin: 10px 0 20px;
    width: 100%;
    float: left;
}
.message-time-sign span {
    background-color: #fff;
    font-size: 12px;
    color: #a7a7a7;
    z-index: 11;
    position: relative;
    padding: 0 10px;
}
.message-time-sign:before {
    display: none;
}

  .responsive-nav.extanded ul {
      overflow: hidden;
  }

@media (min-width: 1600px) {
    header .header_wrap {
        margin-left: 380px;
    }
    .post-main {
        left: -100px;
        position: relative;
    }

    .sidebar {
        left: 180px
    }
    .main_content {
        margin-left: 510px;
    }

}

@media (min-width: 1024px) {
    header .header_wrap {
        margin-left: 380px;
    }
    .post-main {
        left: -100px;
        position: relative;
    }

    .main_content {
        margin-left: 510px;
    }

}

ul li{
    list-style: none;
}
.fabs {
    bottom: 0;
    position: fixed;
    margin: 1em;
    right: 0;
    z-index: 998;

}

.fab {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    text-align: center;
    color: #f0f0f0;
    margin: 25px auto 0;
    box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
    cursor: pointer;
    -webkit-transition: all .1s ease-out;
    transition: all .1s ease-out;
    position: relative;
    z-index: 998;
    overflow: hidden;
    background: #42a5f5;
}

.fab > i {
    font-size: 2em;
    line-height: 55px;
    -webkit-transition: all .2s ease-out;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

/*.chat {*/
/*    position: fixed;*/
/*    right: 85px;*/
/*    bottom: 20px;*/
/*    width: 400px;*/
/*    height: 490px;*/
/*    font-size: 12px;*/
/*    line-height: 22px;*/
/*    font-family: 'Roboto';*/
/*    font-weight: 500;*/
/*    opacity: 0;*/
/*    display: none;*/
/*    border-radius: 10px;*/
/*}*/

.chat {
    position: relative;
    top: 25px;
    width: 100% !important;
    height: 490px;
    font-size: 12px;
    line-height: 22px;
    font-family: 'Roboto';
    font-weight: 500;
    opacity: 0;
    display: none;
    border-radius: 10px;
}

.chats {
    position: fixed;
    right: 85px;
    bottom: 20px;
    width: 300px;
    height: 490px;
    font-size: 12px;
    line-height: 22px;
    font-family: 'Roboto';
    font-weight: 500;
    opacity: 0;
    display: none;
    border-radius: 10px;
}

.chat_fullscreen {
    position: fixed;
    right: 0px;
    bottom: 0px;
    top: 0px;
}
.chat_header {
    /* margin: 10px; */
    font-size: 13px;
    font-family: 'Roboto';
    font-weight: 500;
    color: #f3f3f3;
    height: 55px;
    background: #42a5f5;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-top: 8px;
}
.chat_header2 {
    /* margin: 10px; */
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}
.chat_header .span {
    float:right;
}

.chat_headers {
    /* margin: 10px; */
    font-size: 13px;
    font-family: 'Roboto';
    font-weight: 500;
    color: #f3f3f3;
    height: 55px;
    background: #42a5f5;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-top: 8px;
}
.chat_headers .span {
    float:right;
}


.chat_fullscreen_loader {
    display: none;
    float: right;
    cursor: pointer;
    /* margin: 10px; */
    font-size: 20px;
    opacity: 0.5;
    /* padding: 20px; */
    margin: -10px 10px;
}

.chat.is-visible {
    z-index: 99;
    opacity: 1;
    display: block;
    -webkit-animation: zoomIn .2s cubic-bezier(.42, 0, .58, 1);
    animation: zoomIn .2s cubic-bezier(.42, 0, .58, 1);
    background: #fff;
}

.chats.is-visible {
    z-index: 99;
    opacity: 1;
    display: block;
    -webkit-animation: zoomIn .2s cubic-bezier(.42, 0, .58, 1);
    animation: zoomIn .2s cubic-bezier(.42, 0, .58, 1);
    background: #fff;
}
.is-hide{
    opacity: 0
}

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


.chat_option img {
    border-radius: 50%;
    width: 55px;
    float: left;
    margin: -30px 20px 10px 20px;
    border: 4px solid rgba(0, 0, 0, 0.21);
    height: 100%;
    object-fit: cover;
}

.change_img img{
    width: 35px;
    margin: 0px 20px 0px 20px;
}
.chat_option .agent {
    font-size: 12px;
    font-weight: 300;
}
.chat_option .online{
    opacity: 0.4;
    font-size: 11px;
    font-weight: 300;
}
.chat_color {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 10px;
    float: left;
}


.chat_body {
    background: #fff;
    width: 100%;

    display: inline-block;
    text-align: center;
    overflow-y: auto;

}
#chat_body{
    height: 450px;
}
.chat_login p,.chat_body li, p, a{
    -webkit-animation: zoomIn .5s cubic-bezier(.42, 0, .58, 1);
    animation: zoomIn .5s cubic-bezier(.42, 0, .58, 1);
}
.chat_body p {
    padding: 20px;
    color: #888
}
.chat_body a {
    width: 10%;
    text-align: center;
    border: none;
    box-shadow: none;
    line-height: 40px;
    font-size: 15px;
}



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

.chat_field.chat_message {
    /*height: 30px;*/
    resize: none;
    font-size: 13px;
    font-weight: 400;
    margin: 8px auto 5px;
    min-height: initial;
    min-width: initial;
    text-align: left;
    border: 1px solid #e5e5e5;
}
.chat_category{
    text-align: left;
}

.chat_category{
    margin: 20px;
    background: rgba(0, 0, 0, 0.03);
    padding: 10px;
}

.chat_category ul li{
    width: 80%;
    height: 30px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    border-radius: 3px;
    border: 1px solid #e0e0e0;
    font-size: 13px;
    cursor: pointer;
    line-height: 30px;
    color: #888;
    text-align: center;
}

.chat_category li:hover{
    background: #83c76d;
    color: #fff;
}
.chat_category li.active{
    background: #83c76d;
    color: #fff;
}

.tags{
    margin: 20px;
    bottom: 0px;
    display: block;
    width: 120%
}
.tags li{
    padding: 5px 10px;
    border-radius: 40px;
    border: 1px solid rgb(3, 117, 208);
    margin: 5px;
    display: inline-block;
    color: rgb(3, 117, 208);
    cursor: pointer;

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

}
.fab_field2 {
    bottom: 0px;
    position: absolute;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    z-index: 999;
}

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

#fab_camera {
    float: left;
    background: rgba(0, 0, 0, 0);
}

#fab_send {
    float: right;
    background: rgba(0, 0, 0, 0);
}

#fab_cameras {
    float: left;
    background: rgba(0, 0, 0, 0);
}

#fab_sends {
    float: right;
    background: rgba(0, 0, 0, 0);
}

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

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

}

.chat_converse {
    position: relative;
    background: #fff;
    margin: 6px 0 0px 0;
    height: 300px;
    min-height: 0;
    font-size: 12px;
    line-height: 18px;
    overflow-y: auto;
    width: 100%;
    float: right;
}
.chat_converses {
    position: relative;
    background: #fff;
    margin: 6px 0 0px 0;
    height: 300px;
    min-height: 0;
    font-size: 12px;
    line-height: 18px;
    overflow-y: auto;
    width: 100%;
    float: right;
}
.chat_converse2{
    height: 100%;
    max-height: 800px
}
.chat_list {
    opacity: 0;
    visibility: hidden;
    height: 0;
}

.chat_list .chat_list_item {
    opacity: 0;
    visibility: hidden;
}

.chat .chat_converse .chat_msg_item {
    position: relative;
    margin: 8px 0 8px 0;
    padding: 8px 0px;
    max-width: 60%;
    display: block;
    word-wrap: break-word;
    border-radius: 3px;
    -webkit-animation: zoomIn .5s cubic-bezier(.42, 0, .58, 1);
    animation: zoomIn .5s cubic-bezier(.42, 0, .58, 1);
    clear: both;
    z-index: 999;
}
.chats .chat_converses .chat_msg_item {
    position: relative;
    margin: 8px 0 8px 0;
    padding: 8px 0px;
    max-width: 60%;
    display: block;
    word-wrap: break-word;
    border-radius: 3px;
    -webkit-animation: zoomIn .5s cubic-bezier(.42, 0, .58, 1);
    animation: zoomIn .5s cubic-bezier(.42, 0, .58, 1);
    clear: both;
    z-index: 999;
}
.status {
    font-size: 11px;
    position: absolute;
    bottom: -10px;
    width: 150px;
    right: 5px;
    color: #999797;
    text-align: right;
}
.status2 {
    font-size: 11px;
    position: absolute;
    bottom: -20px;
    width: 100px;
    left: 5px;
    color: #999797;
    text-align: right;
}
.chat .chat_converse .chat_msg_item .chat_avatar {
    position: absolute;
    top: 0;
}

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

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

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

.chat .chat_converse .chat_msg_item.chat_msg_item_admin {
    margin-left: 60px;
    float: left;
    /*background: rgba(0, 0, 0, 0.03);*/
    color: #666;
    width: 100%;
}

.chat .chat_converse .chat_msg_item.chat_msg_item_user {
    margin-right: 20px;
    float: right;
    color: #eceff1;
    position: relative;
    margin-bottom: 10px;
}

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

.chats .chat_converses .chat_msg_item .chat_avatar {
    position: absolute;
    top: 0;
}

.chats .chat_converses .chat_msg_item.chat_msg_item_admin .chat_avatar {
    left: -52px;
    background: rgba(0, 0, 0, 0.03);
}

.chats .chat_converses .chat_msg_item.chat_msg_item_user .chat_avatar {
    right: -52px;
    background: rgba(0, 0, 0, 0.6);
}

.chats .chat_converses .chat_msg_item .chat_avatar, .chat_avatar img{
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
    object-fit: cover;
}

.chats .chat_converses .chat_msg_item.chat_msg_item_admin {
    margin-left: 60px;
    float: left;
    /*background: rgba(0, 0, 0, 0.03);*/
    color: #666;
    width: 100%;
}

.chats .chat_converses .chat_msg_item.chat_msg_item_user {
    margin-right: 20px;
    float: right;
    color: #eceff1;
    position: relative;
    margin-bottom: 10px;
}

.chats .chat_converses .chat_msg_item.chat_msg_item_admin:before {
    content: '';
    position: absolute;
    top: 15px;
    left: -12px;
    z-index: 998;
    border: 6px solid transparent;
    border-right-color: rgba(255, 255, 255, .4);
}

.chat_form .get-notified label{
    color: #077ad6;
    font-weight: 600;
    font-size: 11px;
}

input {
    position: relative;
    width: 90%;
    font-family: 'Roboto';
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
    color: #4b4b4b;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    outline: none;
    background: #fff;
    display: inline-block;
    resize: none;
    padding: 5px;
    border-radius: 3px;
}
.chat_form .get-notified input {
    margin: 2px 0 0 0;
    border: 1px solid #83c76d;
}
.chat_form .get-notified i {
    background: #83c76d;
    width: 30px;
    height: 32px;
    font-size: 18px;
    color: #fff;
    line-height: 30px;
    font-weight: 600;
    text-align: center;
    margin: 2px 0 0 -30px;
    position: absolute;
    border-radius: 3px;
}
.chat_form .message_form {
    margin: 10px 0 0 0;
}
.chat_form .message_form input{
    margin: 5px 0 5px 0;
    border: 1px solid #e0e0e0;
}
.chat_form .message_form textarea{
    margin: 5px 0 5px 0;
    border: 1px solid #e0e0e0;
    position: relative;
    width: 90%;
    font-family: 'Roboto';
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
    color: #4b4b4b;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    outline: none;
    background: #fff;
    display: inline-block;
    resize: none;
    padding: 5px;
    border-radius: 3px;
}
.chat_form .message_form button{
    margin: 5px 0 5px 0;
    border: 1px solid #e0e0e0;
    position: relative;
    width: 95%;
    font-family: 'Roboto';
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    outline: none;
    background: #fff;
    display: inline-block;
    resize: none;
    padding: 5px;
    border-radius: 3px;
    background: #83c76d;
    cursor: pointer;
}
strong.chat_time {
    padding: 0 1px 1px 0;
    font-weight: 500;
    font-size: 8px;
    display: block;
}

.chat_msg_item_admin .chat-log-name {
    position: absolute;
    top: -10px;
    width: 100%;
    font-size: 12px;
    color: #a9a7a7;
}
.chat_msg_item_admin .chat-log-cont {
    background: rgba(0, 0, 0, 0.03);
    padding: 8px 10px;
    position: relative;
    top: 2px;
    border-radius: 3px;
    font-size: 13px;
    display: inline-block;
    max-width: 160px;
}

.chat_msg_item_user .chat-log-cont {
    float: right;
    background: #42a5f5;
    color: #eceff1;
    position: relative;
    padding: 8px 10px;
    max-width: 160px;
    border-radius: 3px;
}
.chat_is_one .chat-log-name {
    display: none;
}
.chat_is_one .chat-log-cont {
    top: -5px;
}
.start-chat span {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 700;
    height: 16px;
    width: 16px;
    color: #fff;
    font-size: 11px;
    background-color: #ec5252;
    border-radius: 50%;
    right: -3px;
    top: -3px;
}

/*Chatbox scrollbar*/

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

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

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

.contact-list::-webkit-scrollbar-thumb {
    background: #f9fafb;
}
.contact-list:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
}
/*Element state*/

.is-active {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

.is-float {
    box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32);
}

.is-loading {
    display: block;
    -webkit-animation: load 1s cubic-bezier(0, .99, 1, 0.6) infinite;
    animation: load 1s cubic-bezier(0, .99, 1, 0.6) infinite;
}
/*Animation*/


@media only screen and (min-width: 300px) {
    .chat {
        width: 250px;
    }
}
/* SMARTPHONES LANDSCAPE */

@media only screen and (min-width: 480px) {
    .chat {
        width: 300px;
    }
    .chat_field {
        width: 65%;
    }
}
/* TABLETS PORTRAIT */

@media only screen and (min-width: 768px) {
    .chat {
        width: 300px;
    }
    .chat_field {
        width: 65%;
    }
}
/* TABLET LANDSCAPE / DESKTOP */

@media only screen and (min-width: 1024px) {
    .chat {
        width: 300px;
    }
    .chat_field {
        width: 65%;
    }
}
/*Color Options*/



.blue .fab {
    background: #42a5f5;
    color: #fff;
}



.blue .chat {
    background: #42a5f5;
    color: #999;
}


/* Ripple */

.ink {
    display: block;
    position: absolute;
    background: rgba(38, 50, 56, 0.4);
    border-radius: 100%;
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    webkit-transform: scale(0);
    -webkit-transform: scale(0);
    transform: scale(0);
}
/*animation effect*/

.ink.animate {
    -webkit-animation: ripple 0.5s ease-in-out;
    animation: ripple 0.5s ease-in-out;
}
