body,html{
    touch-action: none;
    height: 100%;
    width: 100%;
    margin: 0;
    /*background: #7F7FD5;
    background: -webkit-linear-gradient(to right, #91EAE4, #86A8E7, #7F7FD5);
    background: linear-gradient(to right, #91EAE4, #86A8E7, #7F7FD5);*/
    overflow: hidden;
    position: fixed;
}

.chat{
    /*margin-top: auto;
    margin-bottom: auto;*/
    height: 100%;
}
.card{
    /*height: 800px;*/
    height: 100%;
    /*border-radius: 15px !important;*/
    /*background-color: rgba(0,0,0,0.4) !important;*/
    /*background-color: rgba(255, 255, 255, 0) !important;*/
    /*background: #8eabba !important;*/
    background: lightgrey !important;
}
.contacts_body{
    /*background: #8eabba !important;*/
    background: white !important;
    padding:  0.75rem 0 !important;
    overflow-y: auto;
    white-space: nowrap;
}
.msg_card_body{
    width: 100%;
    overflow-y: auto;
}
.card-header{
    /*border-radius: 15px 15px 0 0 !important;*/
    border-bottom: 0 !important;
}
.card-footer{
    /*background: darkgray !important;*/
    /*border-radius: 0 0 15px 15px !important;*/
    border-top: 0 !important;
    padding: 0 !important;
}
.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: rgba(0,0,0,0.3) !important;
    border:0 !important;
    color:white !important;
    height: 60px !important;
    overflow-y: auto;
}
.type_msg:focus{
    box-shadow:none !important;
    outline:0px !important;
}
.smiley_btn {
    /*border-radius: 15px 0 0 15px !important; */
    background-color: rgba(0,0,0,0.3) !important;
    border:0 !important;
    color: white !important;
    cursor: pointer;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
.attach_btn{
    /*border-radius: 15px 0 0 15px !important;*/
    background-color: rgba(0,0,0,0.3) !important;
    border:0 !important;
    color: white !important;
    cursor: pointer;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
.record_btn{
    /*border-radius: 15px 0 0 15px !important;*/
    background-color: rgba(0,0,0,0.3) !important;
    border:0 !important;
    color: white !important;
    cursor: pointer;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
.send_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;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
.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;
}
.contacts{
    list-style: none;
    padding: 0;
}
.contacts li{
    width: 100% !important;
    padding: 5px 10px;
    margin-bottom: 15px !important;
}
.active{
    background-color: rgba(0,0,0,0.3);
}
.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;
}
.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;
    margin-left: 15px;
}
.user_info span{
    font-size: 15px;
    color: black;
}
.user_info p{
    font-size: 10px;
    /*color: rgba(255,255,255,0.6);*/
    color: grey;
}
.video_cam{
    margin-left: 50px;
    margin-top: 5px;
}
.video_cam span{
    color: white;
    font-size: 25px;
    cursor: pointer;
    margin-right: 20px;
}
.msg_cotainer{
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
    border-radius: 25px;
    background-color: #ffffff;
    padding: 10px;
    position: relative;
    max-width: 80%;
    font-size: 15px;
}
.msg_cotainer_send{
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 10px;
    border-radius: 25px;
    background-color: #9af1ac;
    padding: 10px;
    position: relative;
    max-width: 80%;
    font-size: 15px;
}
.msg_time{
    position: absolute;
    left: 0;
    bottom: -15px;
    color: rgba(255,255,255,0.5);
    font-size: 15px;
}
.msg_time_send{
    position: absolute;
    right:0;
    bottom: -15px;
    color: rgba(255,255,255,0.5);
    font-size: 15px;
}
.msg_head{
    position: relative;
}
#action_menu_btn{
    position: absolute;
    right: 10px;
    top: 10px;
    color: white;
    cursor: pointer;
    font-size: 15px;
}
#usercoinstop{
    position: absolute;
    right: 10px;
    top: 10px;
    color: black;
    font-size: 13px;
}
#tohome{
    position: absolute;
    right: 10px;
    top: 40px;
    color: black;
    font-size: 13px;
}
.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);
}

.messages-info-panel {
    width: 100%;
    text-align: right;
}

#navbars_nav {
    display: none;
}

.msgcount {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    margin: 14px 0 -1px 2px;
    padding: 0 5px;
    min-width: 20px;
    height: 20px;
    border-radius: 12px;
    background-color: #ca4a1f;
    color: #fff !important;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
    z-index: 26;
}

@media(max-width: 576px){
    .contacts_card{
        margin-bottom: 15px !important;
    }
}

/* progress bar */
#progress-wrp {
    border: 1px solid #0099CC;
    padding: 1px;
    position: relative;
    height: 30px;
    border-radius: 3px;
    margin: 10px;
    text-align: left;
    background: #fff;
    box-shadow: inset 1px 3px 6px rgba(0, 0, 0, 0.12);
}

#progress-wrp .progress-bar {
    height: 100%;
    border-radius: 3px;
    background-color: #f39ac7;
    width: 0;
    box-shadow: inset 1px 1px 10px rgba(0, 0, 0, 0.11);
}

#progress-wrp .status {
    top: 3px;
    left: 50%;
    position: absolute;
    display: inline-block;
    color: #000000;
}
