﻿
.nodata {
    display: block;
    text-align: center;
    width: 100%;
    padding: 50px;
    color: var(--d-grey);
}


.nologin {
    display: block;
    position: absolute;
    left: -100px;
    padding: 50px;
    background: var(--l-grey);
    color: var(--d-red);
}

.msgform {
    border-left: solid 1px #eee;
}

/*.nologin:before {
        content: '';
        background: url('../Images/notlogin.png');
        background-repeat: repeat;
        background-size: auto;
        height: 60px;
        width: 60px;
      
        background-repeat: no-repeat;
        background-size: contain;
        display:block;

    }*/

.all-msgs {
    display: block;
    text-decoration: none;
    color: var(--d-grey);
    font-size: 14px;
    padding: 5px;
    font-weight: var(--s-bold);
    border-top: solid 1px #eee;
    position: relative;
}

    .all-msgs img {
        width: 50px;
        max-height: 50px;
        margin: 5px;
    }

    .all-msgs h6 {
        /*display: flex;
        align-items: center;
        line-height: 16px;
        width: 100%*/
        padding-left: 15px;
    }

.d-inbox {
    border-bottom: solid 1px #eee;
}

.delete-i {
    display: none;
    position: absolute;
    top: 15px;
    left: 5px;
}

.d-inbox:hover .delete-i {
    display: block;
}





.chat {
    padding: 0px 15px 15px 15px;
}





    .chat h5 img {
        width: 40px;
        height: 40px;
        margin-right: 5px;
        border-radius: 100%;
        object-fit: cover;
        object-position: top;
        margin-top: 14px;
    }


    .chat h5 small {
        color: var(--grey);
        font-size: 10px;
        display: block;
        line-height: 0px;
        margin-left: 50px;
        margin-top: -13px;
    }

    .chat p {
        margin-left: 50px;
        color: var(--grey);
        font-size: 13px;
        margin-top: 15px;
    }


.chat-p {
    padding: 16px 15px 15px 15px;
    position: sticky;
    top: 63px;
    background: white;
    border-bottom: solid 1px #eee;
}

    .chat-p h4 {
        color: var(--d-grey);
        margin: 0px;
    }



.chatbox {
    padding: 10px;
    overflow-y: scroll;
    height: 500px;
    border-left: solid 1px var(--l-grey);
}


.chat1 img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    float: left;
    margin-right: 6px;
    object-fit: cover;
    object-position: top;
}

.chat1 h5 {
    border-radius: 0px 15px 15px 15px;
    background: var(--l-blue);
    padding: 5px 25px;
    border: solid 1px var(--l-blue);
    color: var(--white);
    float: left;
    line-height: 21px;
    margin-top: 5px;
}

    .chat1 h5 small {
        color: var(--white-smoke);
        font-size: 10px;
    }

.chat1 .msg {
    font-size: 13px;
    color: var(--white);
    font-weight: 500
}

.chat1 {
    width: 100%;
    display: inline-block;
    margin-bottom: 10px;
    margin-bottom: 10px;
    font-size: 12px
}


.chat2 img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    float: right;
    margin-left: 6px;
    object-fit: cover;
    object-position: top;
}

.chat2 h5 {
    border-radius: 15px 0px 15px 15px;
    background: var(--l-green);
    padding: 5px 25px;
    border: solid 1px var(--l-green);
    color: var(--d-grey);
    float: right;
    line-height: 21px;
    text-align: left;
    margin-top: 5px;
}



    .chat2 h5 small {
        color: var(--white-smoke);
        font-size: 10px;
    }

.chat2 .msg {
    font-size: 13px;
    color: var(--white);
    font-weight: 500
}

.chat2 {
    width: 100%;
    display: inline-block;
    text-align: right;
    margin-bottom: 10px;
    font-size: 12px
}


.inbox-error {
    height: 400px;
    padding: 5% 15px;
    position: absolute;
}
/*---------------------bottom fixed css ======== msg window------------------*/
#target {
    width: 650px;
    height: 400px;
    display: none;
}

.Hide {
    display: none;
}


.inbox-fixed {
    position: fixed;
    bottom: 0;
    right: 0;
    background: white;
    z-index: 1000;
    box-shadow: 0px 2px 12px -4px rgba(32, 31, 31, 0.76);
    max-height: 500px;
    min-width: 300px;
    max-width: 650px;
}

@media screen and (max-width: 768px) {

    .inbox-fixed {
        max-height: 100%;
        min-width: 200px;
        max-width: 100%;
    }

        .inbox-fixed h5 {
            margin: 0px;
        }

    #target {
        width: 100%;
    }

    .msgform {
        position: fixed;
        bottom: 0px;
        background: white;
        left: 0;
        z-index: 1;
    }

    .nodata,
    .nologin {
        position: relative;
        left: 0px;
        padding: 10px;
        font-size: 13px;
    }
}
