
    body,html{
        height: 100%;
        margin: 0;
        background: #7F7FD5;
        background: -webkit-linear-gradient(to right, #91EAE4, #86A8E7, #7F7FD5);
        background: #fff !important;
    }
    i.fa.fa-paper-plane-o {
    color: #ee3d4b;
    font-weight: 900;
    line-height: 55px;
    padding: 0 10px; 
     }
    .card-header.msg_head {
    padding: 5px;
   }
    .d-flex.bd-highlight {
      display: flex;
    }
    .d-flex.justify-content-end {
     display: flex;
     justify-content: flex-end;
     margin-bottom: 30px;
   }
  .d-flex.justify-content-start {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 30px;
   }
   .input-group {
    /* position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    background: #fff; */

    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    /* flex-wrap: wrap; */
    /* -webkit-box-align: stretch; */
    -ms-flex-align: stretch;
    /* align-items: stretch; */
    width: 100%;
    background: #fff;


}
.input-group-append {
    margin-left: -1px;
}
.input-group-append, .input-group-prepend {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.input-group>.custom-file, .input-group>.custom-select, .input-group>.form-control {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}

    .newchatlist
    {
        width: 100%;
        padding-right: 15px!important;
        padding-left: 25px!important;
        margin-right: auto;
        margin-left: auto;
    }
    
    .chat{
     
        margin-top: auto;
        margin-bottom: auto;
        
    }
    .img_cont_msg img {
    width: 100%;
    border-radius: 50%;
    height: auto;
    }
   pre {
    white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
   }
    .rounded-circle.user_img {
       border-radius: 50%!important;
    }
    .card{
        height: 80vh;
        border-radius: 0;
        background-color: transparent;
    }
    .contacts_body{
        padding:  0.75rem 0 !important;
        overflow-y: auto;
        white-space: nowrap;
        
    }
    .msg_card_body{
        overflow-y: auto;
        padding: 10px 30px 30px 30px;
        /* position: absolute; */
        width: 98%;
       /* bottom: 100px;
         height: 53vh; */
        height: calc(100% - 84px);  
        
    }

    .msg_card_body .justify-content-start:last-child{margin-bottom: 84px !important;}


    }

   .mCustomScrollBox{position: relative;
    overflow: hidden;
    /* height: 100%; */
    max-width: 100%;
    outline: 0;
    direction: ltr;}

    .mCSB_container {
        overflow: hidden;
        width: auto;
        height: auto;
    }
.content-wrapper-chat{width: 100%;
   
    display: flex;
    flex-direction: column;}
    .fa-send-o:before, .fa-paper-plane-o:before {
        content: "\f1d9";
        font-size: 18px;
        margin-top: 4px;
        /* line-height: 41px; */
        top: 4px;
      
        padding: 8px;
        border-radius: 50px;
        color:#fff !important;background : #c23616 !important;
    }

    #sendBtn{margin-top:10px}


    .card-header{
        border-radius: 15px 15px 0 0 !important;
        border-bottom: 0 !important;
        width: 97%;
    }
    .card-footer{
       border-radius: 6px;
        border-top: 0 !important;
        padding: 12px;
        background-color: rgb(247 247 247);
        border-top: 1px solid rgba(0,0,0,.125);
        position: absolute;
      
        width: 100% !important;
         
         height: 84px; 
        z-index: 1000000;
 
         
    bottom: 0;
    left: 0;
    right: 0;

        
    }
    .inner-chat{width: 100%;
        height: 100%;
        overflow-y: auto;
        box-sizing: border-box;}
    .container{
        align-content: center;
    }
    .search{
        border-radius: 15px 0 0 15px !important;
        background-color: rgba(0,0,0,0.3) !important;
        border:0 !important;
        color:white !important;
    }
    .search:focus{
         box-shadow:none !important;
       outline:0px !important;

    }
    .type_msg{
       
        background-color: #fff !important;
        border: 0 !important;
        color: #000 !important;
        height: 60px !important;
        overflow-y: auto;
        text-align: left;
        font-size: 13px !important;
        font-family: arial;
        font-style:normal;
        padding-top: 20px;
    }
        .type_msg:focus{
         box-shadow:none !important;
       outline:0px !important;
       background-color: transparent !important;
    }
    .attach_btn{border-radius: 15px 0 0 15px !important;background-color: transparent !important;border:0 !important;color: white !important;cursor: pointer;display: flex;align-items: center; justify-content: center;}
    .send_btn{border-radius: 0 15px 15px 0 !important;background-color: #fff !important;border:0 !important;color: white !important;cursor: pointer;}
    .search_btn{
        border-radius: 0 15px 15px 0 !important;
        background-color: rgba(0,0,0,0.3) !important;
        border:0 !important;
        color: white !important;
        cursor: pointer;
         list-style: none;
    }
    .fa-paper-plane-o{    margin-top: 20px !important;
        margin-right: 10px !important;}
        

        .fa-send-o:before, .fa-paper-plane-o:before{color:#fff !important;background-color: #c23616 !important;}
    .contacts{
        list-style: none;
        padding: 0;
    }
    .contacts li{
        width: 100% !important;
        padding: 5px 10px;
        margin-bottom: 15px !important;
        list-style: none;
        height: 60px;
        background: #f6f6f6;
        border-radius: 6px;
        border: 1px solid #efefef;
     
    }
    .active{
        background-color: #ee3d4b;
    }
    .user_img{
        height: 70px;
        width: 70px;
        border:1.5px solid #f5f6fa;
    
    }
    .user_img_msg{
        height: 40px;
        width: 40px;
        border:1.5px solid #f5f6fa;
    
    }
    .img_cont{
        position: relative;
        height: 70px;
        width: 70px;
        margin: auto;
    }
    .img_cont_msg{
        height: 40px;
        width: 40px;
    }
    .online_icon{
    position: absolute;
    height: 15px;
    width:15px;
    background-color: #4cd137;
    border-radius: 50%;
    bottom: 0.2em;
    right: 0.4em;
    border:1.5px solid white;
    }
    .offline{
    background-color: #c23616 !important;
    
    }
    .user_info {
        margin-top: auto;
        margin-bottom: auto;
        text-align: center;
    }
    .active .user_info span , .msg_head .user_info span{
        color: #2b2929;
        font-size: 13px;
        padding-top: 5px;
        font-weight: bold;
    }
    #check_online{display: none;}
    .user_info span{
    font-size: 13px;
    color: rgb(0 0 0 / 80%);
    }
    .user_info p{
    font-size: 10px;
    color: #a09696;
    }
    .active .user_info p, .msg_head .user_info p {
        color: #ef3e4c ;
    }
    .video_cam{
    margin-left: 50px;
    margin-top: 5px;
    }
    .video_cam span{
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-right: 20px;
    }
    .msg_cotainer{
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
    border-radius: 6px;
    background-color: #efefef;
    padding: 10px;
    position: relative;
    font-size: 12px;
    color: #1f1f1f;
   
    }
    .msg_cotainer_send a{font-size:12px}
    .msg_cotainer_send{
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 10px;
    border-radius: 6px;
    background-color: #ee3d4b;
    padding: 10px;
    position: relative;
    color: #fff;
    font-size: 12px;
    }
    .msg_time{
    width: 100px;
    position: absolute;
    /* left: 0; */
    bottom:0;
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    color: #a0a0a0 !important;
    }
    .msg_time_send{
    width:100px;
    /* position: absolute; */
    right:0;
    bottom:-20px;
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    color: #a0a0a0 !important;
    }
    .msg_head{
    position: relative;
    width:100% !important;border-radius: 6px;
    }
    #action_menu_btn{
        display: none;
    position: absolute;
    right: 10px;
    top: 10px;
    color: white;
    cursor: pointer;
    font-size: 20px;
    }
    .action_menu{
    z-index: 1;
    position: absolute;
    padding: 15px 0;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border-radius: 15px;
    top: 30px;
    right: 15px;
    display: none;
    }
    .action_menu ul{
    list-style: none;
    padding: 0;
    margin: 0;
    }
    .action_menu ul li{
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 5px;
    }
    .action_menu ul li i{
    padding-right: 10px;
    
    }
    .action_menu ul li:hover{
    cursor: pointer;
    background-color: rgba(0,0,0,0.2);
    }
    .no-gutters {
    margin-right: -15px;
    margin-left: -15px;
    
    }
    .no-gutters {
    margin-right: -15px !important;
    margin-left: -15px !important;
    }
    input[type="file"]::before {
    /* font-family: 'FontAwesome'; */
    content: "";
    position: absolute;
    /* color: #ee3d4b !important; */
    /* font-weight: 900; */
    width: 30px;
    height: 30px;
    background: url(../images/attachment.svg);
    background-repeat: no-repeat;
    background-size: cover;
}
    input[type="file"] {
        width: 30px;
        margin-right: 5px;
        height: 30px;
        margin: 10px;
  }
    .chat-btn li {
            margin: 10px;
        }
    .chat-btn a.btn {
            border: 1px solid #d0cdcd;
            color: #d0cdcd;
            border-radius: 20px;
        }
        .img_cotainer {
            margin:0 10px;
        }
        .img_cotainer img {
            width: 100%;
            padding: 10px;
            
        }
        i.fas.fa-location-arrow {
            color: #ee3d4b;
        }
        .card-header {
            background: #f8f8f8 !important;
            /* border-radius: 0 !important; */
            border: 1px solid #f2eded;
            border-radius: 6px !important;
        }

        input.form-control.search {
            background: #fff !important;
        }
        span.input-group-text.search_btn {
            background: #fff !IMPORTANT;
            color: #ee3d4b !IMPORTANT;
        }
    @media(max-width: 767px){
    .contacts_card{
    /* margin-bottom: 15px !important; */
    }
     .card-footer {
       width: 100% !important;
     }
     .msg_card_body {
       width: 100%;
     }
    }
    @media(max-width: 576px){
    /* .chat-body {
    display:none;
    } */
    }
    


    .chat-link img{float: left;margin: inherit;}
    .chat-link .user_info{    text-align: left;
        padding-left: 20px;
        padding-top: 5px;}

       .chat-link  .user_img {
            height: 50px;
            width: 50px;
            border: 1.5px solid #f5f6fa;
        }
       .chat-link .img_cont {
            position: relative;
            height: 50px;
            width: 50px;
            margin: inherit;
        }
        #contacts li{width: 100% !important;
            padding: 5px 10px;
            margin-bottom: 15px !important;
            list-style: none;
            border: 1px solid #eaeaea;
            border-radius: 12px;
            height: 62px;}
        .chat{padding-left: 0px;}
