body{
    font-family: 'Montserrat', sans-serif!important;
}

.form-control-sm{
    width: 100%;
} 
table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
table.table-bordered.dataTable td:last-child,
table.table-bordered.dataTable td:last-child {
    border-right-width: 1px!important;
}

.chat_list_row .chat_list_lft_col .mssg_title{
    margin-bottom: 15px;
    font-size: 20px;
}
.chat_list_row .listing-form-sec .listing-card{
    margin: 0 0 15px 0 !important;
    border: 0 !important;
    box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.08);
    background-color: #f3f9ff;
    border-radius: 7px;
    padding: 8px !important;
}
.chat_list_row .listing-form-sec .listing-card:last-child{
    margin-bottom: 0 !important;
}
.chat_list_row .listing-form-sec .listing-card.active{
    background-color: #770be8;
}
.chat_list_row .listing-form-sec .cont-head{
    padding-left: 10px;
}
.chat_list_row .listing-form-sec .cont-head h3{
    font-size: 16px;
    margin-bottom: 0;
}
.chat_list_row .listing-form-sec .cont-head h3 a{
    color: #770be8;
    transition: all .3s ease-in-out;
}
.chat_list_row .listing-form-sec .listing-card.active .cont-head h3 a{ 
    color: #fff;
}
.chat_list_row .listing-form-sec .cont-head h3 a:hover{
    color: #ed521b;
}


.chat_list_row .listing-form-sec .cont_img{
    height: 35px;
    width: 35px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.08);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.chat_list_row .listing-form-sec .cont_img img{
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.chat_list_row .listing-form-sec .cont_img span{
    font-size: 20px;
    color: #770be8;
}
.chat_list_row .listing-form-sec .list-cont{
    display: flex;
    align-items: center;
}


.chat_list_rght_col .message_box{
    position: relative;
}
.chat_list_rght_col .message_box .messege-box {
    width: 100%;
    border-radius: 60px;
    padding: 14px 100px 14px 20px;
    height: 50px;
    resize: none;
}
.chat_list_rght_col .message_box .messege-box:focus-visible{
    outline: none !important;
}
.chat_list_rght_col .message_box .chat_submit_btn {
    position: absolute;
    top: 6px;
    border-radius: 60px;
    right: 6px;
    width: 38px;
    height: 38px;
    background-image: url(/admin_assets/images/send-icon.png);
    background-size: 15px;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0;
}
.chat_list_rght_col .message_box .chat_submit_btn:hover{
    background-color: #ed521b !important;
}
.message_box_list {
    display: flex;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    position: absolute;
    top: 10px;
    right: 50px;
}
.message_box_list li{
    padding: 0 7px;
}
.message_box_list li:first-child{
    padding-left: 0;
}
.message_box_list li:last-child{
    padding-right: 0;
}
.message_box_list li button {
    height: 28px;
    width: 28px;
    background: transparent !important;
    border: 0;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.message_box_list li button:hover{
    background: transparent !important;
}
.message_box_list li button img{
    width: 100%;
}
.user-messege_wrapper{
    display: flex;
    flex-wrap: wrap;
}
.user-messege{
    background-color: #e8f5dc;
    padding: 12px; 
    border-radius: 13px;
    /* float: left; */
}

.admin-messege{
    background-color: #c3e3ff; 
    padding: 12px; 
    border-radius: 13px; 
    margin-left: auto;
    /* float: right; */
}
.chat_list_rght_col .mssg_title{
    margin-bottom: 15px;
}
/*chat box file preview start*/
.chatbox_wrap{
    position: relative;
}
.chat-footer {
    z-index: 10;
}
.chat_file_wrap {
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 10px;
    max-height: 145px;
    overflow: hidden;
    overflow-y: auto;
    position: absolute;
    bottom: 67px;
    width: 100%;
}
.chat_btn{
    position: absolute;
    bottom: 20px;
    right: 20px;
}
.chat_file_item{
    flex: 0 0 auto;
    padding: 0 5px;
    margin-bottom: 10px;
    width: 25%;
}
.chat_file_item_btn{
    width: auto;
}
.chat_file_box{
    position: relative;
    height: 125px;
    border-radius: 10px;
    overflow: hidden;
}
.chat_file_box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.close_btn{
    border: 0;
    padding: 0;
    background-color: transparent;
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 20px;
    transition: all .3s ease-in-out;
    line-height: 0;
}
.close_btn:hover{
    color: #B92028;
}
.chat_file_row{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px -10px;
}
.plus_btn{
    height: 100%;
    background-color: #fff;
    padding: 10px 25px;
    border: 0;
    border-radius: 10px;
    font-size: 16px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.chat_file_item_btn{ 
    max-width: 125px;
    width: 100%;
    min-height: 125px;
}

.chat-footer .form-input .aditional-btn-waap {
    top: auto;
    bottom: 19px;
}
.chat-footer .form-input input[type="submit"]{
    top: auto;
    bottom: 19px;
}
/*chat box file preview end*/
/*support pp.c 3/1/2024*/
.chat_list_rght_col a.admin-messege,.chat_list_rght_col a.user-messege{
    word-break: break-word;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.chat_list_rght_col p.admin-messege,.chat_list_rght_col p.user-messege{
    word-break: break-word;
}
/*support pp.c 3/1/2024*/
@media (min-width: 768px) {
    
    .hambrgr_btn,
    .clse_btn,
    .chat_list_mob_txt{
        display: none;
    }
}


@media (max-width: 767px){

    .hambrgr_btn{
        color: #fff;
        padding: 10px 25px;
        height: 40px;
        width: 40px;
        padding: 10px;
        border: 0;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 5px;

    }
    .clse_btn {
        height: 40px;
        color: #fff;
        border: 0;
        width: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 5px;
        right: 5px;
        border-radius: 5px;
        font-size: 18px;

    }
    .chat_list_mob_header {
        display: flex;
        align-items: center;
    }
    .chat_list_mob_header .chat_list_mob_txt{
        margin: 0;
        padding-left: 15px;
        font-size: 14px;
    }
    .chat_list_lft_collpse {
        position: fixed;
        top: 0;
        right: 0;
        background-color: #f9f9f9;
        padding: 50px 10px 20px 10px;
        transform: translateX(100%);
        height: 100%;
        z-index: 99;
        width: 270px;
        box-shadow: 0 0 10px rgb(0 0 0 / 6%);
        transition: all .3s ease-in-out;
    }
    .chat_list_lft_collpse.open{
        transform: translateX(0);
    }
    .chat_list_row .chat_list_lft_col .mssg_title {
        text-align: center;
    }
    .chat_list_rght_col .mssg_title{
        margin-top: 20px;
    }
    
    .chat_list_rght_col .message_box .messege-box {
        padding: 15px 90px 15px 10px;
    }
    .message_box_list {
        right: 48px;
    }
    .chat_list_rght_col .online-option{ 
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        background: #27C985;
        border-radius: 100%;
        display: block !important;
        margin: 35px 9px !important;
    }
}