
body {
    background-size: cover;
}

.fa-2x {
    font-size: 1.5em;
}


.app-one {
    background-color: #f7f7f7;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .06), 0 2px 5px 0 rgba(0, 0, 0, .2);
}

.side {
    padding: 0;
    margin: 0;
    height: 100%;
}
.side-one {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    position: relative;
    display: block;
    top: 0;
}




.heading {
    padding: 10px 16px 10px 15px;
    margin: 0;
    min-height: 60px;
    width: 100%;
    background-color: #eee;
    z-index: 1000;
}

.heading-avatar {
    padding: 0;
    cursor: pointer;

}

.heading-avatar-icon img {
    border-radius: 50%;
    height: 40px;
    width: 40px;
}

.heading-name {
    padding: 0 !important;
    cursor: pointer;
}

.heading-name-meta {
    font-weight: 700;
    font-size: 100%;
    padding: 5px;
    padding-bottom: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #000;
    display: block;
}
.heading-online {
    display: none;
    padding: 0 5px;
    font-size: 12px;
    color: #93918f;
}
.heading-compose {
    padding: 0;
}

.heading-compose i {
    text-align: center;
    padding: 5px;
    color: #93918f;
    cursor: pointer;
}

.heading-dot {
    padding: 0;
    margin-left: 10px;
}

.heading-dot i {
    text-align: right;
    padding: 5px;
    color: #93918f;
    cursor: pointer;
}

.searchBox {
    padding: 0 !important;
    margin: 0 !important;
    height: 60px;
    width: 100%;
}

.searchBox-inner {
    height: 100%;
    width: 100%;
    padding: 10px !important;
    background-color: #fbfbfb;
}


/*#searchBox-inner input {
box-shadow: none;
}*/

.searchBox-inner input:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.sideBar {
    padding: 0 !important;
    margin: 0 !important;
    background-color: #fff;
    overflow-y: auto;
    border: 1px solid #f7f7f7;
    height: calc(100% - 60px);
    flex-direction:column;
}

.sideBar-body {
    position: relative;
    padding: 10px !important;
    border-bottom: 1px solid #f7f7f7;
    height: 72px;
    margin: 0 !important;
    cursor: pointer;
    width: 100%;

}

.sideBar-body:hover {
    background-color: #f2f2f2;
}

.sideBar-avatar {
    text-align: center;
    padding: 0 !important;
}

.avatar-icon img {
    border-radius: 50%;
    height: 49px;
    width: 49px;
}

.sideBar-main {
    padding: 0 !important;
}

.sideBar-main .row {
    padding: 0 !important;
    margin: 0 !important;
}

.sideBar-name {
    padding: 10px !important;
}

.name-meta {
    font-size: 100%;
    padding: 1% !important;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #000;
    font-weight: bold;
}

.sideBar-time {
    padding: 10px !important;
}

.time-meta {
    text-align: right;
    font-size: 12px;
    padding: 1% !important;
    color: rgba(0, 0, 0, .4);
    vertical-align: baseline;
}

/*New Message*/

.newMessage {
    padding: 0 !important;
    margin: 0 !important;
    height: 100%;
    position: relative;
    left: -100%;
}
.newMessage-heading {
    padding: 10px 16px 10px 15px !important;
    margin: 0 !important;
    height: 100px;
    width: 100%;
    background-color: #00bfa5;
    z-index: 1001;
}

.newMessage-main {
    padding: 10px 16px 0 15px !important;
    margin: 0 !important;
    height: 60px;
    margin-top: 30px !important;
    width: 100%;
    z-index: 1001;
    color: #fff;
}

.newMessage-title {
    font-size: 18px;
    font-weight: 700;
    padding: 10px 5px !important;
}
.newMessage-back {
    text-align: center;
    vertical-align: baseline;
    padding: 12px 5px !important;
    display: block;
    cursor: pointer;
}
.newMessage-back i {
    margin: auto !important;
}

.composeBox {
    padding: 0 !important;
    margin: 0 !important;
    height: 60px;
    width: 100%;
}

.composeBox-inner {
    height: 100%;
    width: 100%;
    padding: 10px !important;
    background-color: #fbfbfb;
}

.composeBox-inner input:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.compose-sideBar {
    padding: 0 !important;
    margin: 0 !important;
    background-color: #fff;
    overflow-y: auto;
    border: 1px solid #f7f7f7;
    height: calc(100% - 160px);
}

/*Conversation*/

#conversation{
    padding-top: 5px !important ;
}

.conversation {
    padding: 0 !important;
    margin: 0 !important;
    height: 100%;
    /*width: 100%;*/
    border-left: 1px solid rgba(0, 0, 0, .08);
    /*overflow-y: auto;*/
}

.chatListholder{
    flex-wrap: inherit;
}
.message {
    padding: 0 !important;
    margin: 0 !important;

    background-size: cover;
    overflow-y: auto;
    border: 1px solid #f7f7f7;
    height: calc(100% - 120px);
}
.message-previous {
    margin : 0 !important;
    padding: 0 !important;
    height: auto;
    width: 100%;
}
.previous {
    font-size: 15px;
    text-align: center;
    padding: 10px !important;
    cursor: pointer;
}

.previous a {
    text-decoration: none;
    font-weight: 700;
}

.message-body {
    margin: 0 !important;
    padding: 0 !important;
    width: auto;
    height: auto;
}

.message-main-receiver {
    /*padding: 10px 20px;*/
    max-width: 60%;
}

.message-main-sender {
    padding: 3px 20px !important;
    margin-left: 10% !important;
    max-width: 90%;
}

.message-main-sender .message-time{
    margin-left: 0 !important;
}

.message-text {
    margin: 0 !important;
    padding: 5px !important;
    word-wrap:break-word;
    font-weight: 200;
    font-size: 14px;
    padding-bottom: 0 !important;
    text-align: right;
    direction: rtl;
}

.message-time {
    margin: 0 !important;
    margin-left: 10px !important;
    font-size: 10px;
    text-align: right;
    color: #9a9a9a;
    direction: rtl;

}

.receiver {
    width: auto !important;
    padding: 4px 10px 7px !important;
    border-radius: 10px 10px 10px 0;
    background: #ffffff;
    font-size: 12px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    word-wrap: break-word;
    display: inline-block;
    max-width: 90%;
}

.sender {
    float: right;
    width: auto !important;
    background: #dcf8c6;
    border-radius: 10px 10px 0 10px;
    padding: 4px 10px 7px !important;
    font-size: 12px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    display: inline-block;
    word-wrap: break-word;
}


/*Reply*/

.reply {
    height: 60px;
    width: 100%;
    background-color: #f5f1ee;
    padding: 10px 5px 10px 5px !important;
    margin: 0 !important;
    z-index: 1000;
    position: absolute;
    bottom: 0;
}

.reply-emojis {
    padding: 5px !important;
}

.reply-emojis i {
    text-align: center;
    padding: 5px 5px 5px 5px !important;
    color: #93918f;
    cursor: pointer;
}

.reply-recording {
    padding: 5px !important;
}

.reply-recording i {
    text-align: center;
    padding: 5px !important;
    color: #93918f;
    cursor: pointer;
}

.reply-send,.reply-attach {
    padding: 5px !important;
}

.reply-send i,.reply-attach i {
    text-align: center;
    padding: 5px !important;
    color: #93918f;
    cursor: pointer;
}

.reply-main {
    padding: 2px 5px !important;
}

.reply-main textarea {
    width: 100%;
    resize: none;
    overflow: hidden;
    padding: 5px !important;
    outline: none;
    border: none;
    text-indent: 5px;
    box-shadow: none;
    height: 100%;
    font-size: 16px;
}

.reply-main textarea:focus {
    outline: none;
    border: none;
    text-indent: 5px;
    box-shadow: none;
}




.newChatMainHolder,.newChatMainHolderGroups{
    padding: 10px;
    padding-top: 25px;
    border-top-color: #00c0ef !important;
    margin-top: 25px;
    padding-bottom: 10px;

    position: relative;
    border-radius: 3px;
    background: #fff;
    border-top: 3px solid #d2d6de;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0,0,0,.1);

}

.box-header.with-border {
    border-bottom: 1px solid #f4f4f4;
    margin-bottom: 25px;
}
.box-header {
    color: #444;
    display: block;
    padding: 10px;
    position: relative;
}
.box-title{
    font-size: 18px;
    font-weight: bold;
}

.heading-avatar-title{
    font-weight: bold;
    margin-right: 5px;
}
.groupAddBtnsHoldr{
    width: 160px;
    text-align: left;
}

.conversation{
    height: calc(100vh - 57px);
}

.chtitemAvtive{
    background: #dcf8c6 !important;
}
.content-wrapper{
    min-height: inherit !important; 
}

.message-icon img{
    border-radius: 45px;
    border: solid 1px #ccc;
    width: 60px;
}

.mesUsrTitle{
    color: #888;
    font-size: 12px;
    font-size: 9px;
    padding-top: 5px;
    text-align: center;
}

.timeChtHoldr{
    vertical-align: middle;
    direction: rtl;
}
.chtListTimeHldt{
    direction: rtl;
    color: #999;
    font-size: 12px;
}


.mobilePrevLink{
    text-align: center;
    padding: 15px;
    font-weight: bold;
    background: #c6dff8;
    font-size: 13px;
    cursor: pointer;
    border-bottom: solid 1px #ccc;
    display: none;
}

.fileSelCount{
    font-size: 12px;
    font-weight: bold;
}
.chat_room_details{
    background: #fff;
    padding: 5px;
    border-radius: 5px;
    margin-top: 10px;
}

.message-main-sender,.message-main-rediver{
    margin-bottom: 10px;
}
.peopleInsideSpan{
    font-size: 12px;
    padding-left: 15px;
}
.peopleInsideSpan img{
    width: 20px;
    border-radius: 10px;
}

@media (max-width: 968px) {

    .sideBar-body{
        flex-wrap:unset !important;
        flex-direction: initial;
    }   
    .sideBar-avatar {
        width: 80px;
    }

    .timeChtHoldr{
        display: inline-block;
    }
    .side-oneMobHide{
        display: none;
    }
    .mobilePrevLink{
        display: block;
    }

    .flex-wrap{
        flex-wrap: nowrap;
    }
    .reply{
        bottom: 3px;
        height: 90px;
    }
    .side-one{
        top: 56px;
        position: fixed;
        background: #fff;
        left: 0;
        z-index: 1200;
    }


    .boxChBotMainHldr{
        margin-top:-75px !important;
        position: inherit;

    }




}


.boxChBotMainHldr{
    position: relative;
    background: #fff;
}
.loadingSend{
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    padding: 15px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    direction: rtl;
    border-radius: 5px;
    display: none;
}
.loadingSend img{
    border-radius: 5px;
}
.loadingSendActive{
    display: block;
}

