﻿#chat-circle {
    font-size: 24px;
    position: fixed;
    bottom: 0px;
    right: 0px;
    background: #004413;
    width: 70px;
    height: 70px;
    min-width: 0;
    border-radius: 100px;
    color: white;
    padding: 15px;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.6), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.chatImage {
    max-height: 230px;
    max-width: 230px;
}

.badge-notification {
    position: absolute;
    top: -10px;
    right: -10px;
    height: 30px;
    width: 30px;
    background: red;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#chat-overlay {
    background: rgba(255,255,255,0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: none;
}

.listMargin {
    margin: 15px;
}

.listMargin1 {
    margin: 15px;
    text-align: center;
}

.chat-box {
    display: none;
    background: #fff;
    position: fixed;
    right: 10px;
    bottom: 15px;
    width: 650px;
    min-height: 500px;
    max-height: 100%;
    height: 525px;
    border-radius: 5px;
    box-shadow: 0px 5px 35px 9px #464a92;
    box-shadow: 0px 5px 35px 9px #ccc;
    /*overflow-y: auto;*/
    z-index: 999;
}

.chat-box-toggle {
    float: right;
    margin-right: 10px;
    cursor: pointer;
    font-size: 13px;
    margin-bottom: 58px;
    margin-left: 11px;
}

.chat-submit, .file-submit {
    position: absolute;
    bottom: 20px;
    right: 10px;
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 50%;
    color: #004413;
    width: 35px;
    /*    height: 65px;*/
}

.file-submit {
    right: 40px;
}

ul {
    margin-top: 0;
    margin-bottom: 20px;
}

.people-list {
    width: 270px;
    float: left;
    height: 100%;
    background-color: #444753;
    position: relative;
    overflow: scroll;
}

.profileImageLogo {
    margin-left: 8px;
}

.chat input {
    border-radius: 3px;
    border: none;
    padding: 14px;
    color: white;
    background: #6A6C75;
    width: 90%;
    font-size: 14px;
}

.list li {
    padding-bottom: 20px;
}

.chat-history ul {
    list-style: none;
    padding-left: 0px;
}

.list {
    list-style: none;
    padding: 20px;
}

.fa-circle {
    color: red;
}

.about {
    float: left;
    margin-top: 8px;
}

.about {
    padding-left: 8px;
}

.folderNameHeading {
    font-size: 12px;
}

.chat {
    width: 380px;
    float: right;
    background: #F2F5F8;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #000000;
    height: 100%;
}

.messageInfo {
    font-size: 16px;
}

.chat-header1 {
    font-size: 28px;
    font-weight: 700;
    height: 15%;
    padding: 20px;
    border-bottom: 2px solid black;
    text-align: center
}

.headerGroup {
    margin-bottom: 5px;
}

.chat-header {
    height: 16%;
    padding-top: 5px;
    border-bottom: 2px solid white;
    /*    display: flex;
    align-items: center;*/
}

.chat-about {
    padding-left: 10px;
    /*  margin-top: 12px;*/
    display: inline-block;
}

.chat-with {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 275px;
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
}

.chat-num-messages {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 275px;
    color: #92959E;
    line-height: 20px;
    /* margin-bottom: 10px;*/
}


    .chat-num-messages:after {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 48px;
        height: 48px;
        z-index: 1;
        pointer-events: initial;
    }

    .chat-num-messages:hover:after {
        cursor: pointer;
    }

.tooltip {
    padding: 8px;
    word-break: break-word;
    font-family: 14px/22px "Poppins", Arial, sans-serif;
    width: auto;
    visibility: hidden;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.5s ease;
}


.chat-num-messages:hover + .tooltip {
    visibility: visible;
    transition: opacity 0.5s ease;
    opacity: 1;
}

.chat-history {
    padding: 20px 20px 20px;
    border-bottom: 2px solid white;
    overflow-y: auto;
    overflow-x: hidden;
    height: 350px;
}

.message-data {
    font-size: 85%;
    margin-bottom: 15px;
}

.message-data-time {
    color: lighten( #92959E, 8%);
    padding-left: 6px;
}

.message {
    color: white;
    padding: 2% 4%;
    line-height: 26px;
    font-size: 16px;
    border-radius: 7px;
    margin-bottom: 20px;
    width: 90%;
    position: relative;
}

    .message:after {
        bottom: 100%;
        left: 7%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-bottom-color: white;
        border-width: 10px;
        margin-left: -10px;
    }

.my-message {
    background: white;
    color: black;
}

.other-message {
    background: #004413;
}

    .other-message:after {
        border-bottom-color: #004413;
        left: 93%;
    }

.chat-message {
    padding: 6px;
    position: relative;
}

.chat textarea {
    width: 100%;
    height: 100%;
    border: none;
    padding: 6px 20px;
    font: 14px/22px "Poppins", Arial, sans-serif;
    /*margin-bottom: 10px;*/
    border-radius: 5px;
    resize: none;
}

.fa-file-o, .fa-file-image-o {
    font-size: 16px;
    /*color: gray;*/
    cursor: pointer;
}

.online, .offline, .me {
    margin-right: 3px;
    font-size: 10px;
}

.online {
    color: #86BB71;
}

.offline {
    color: #d11313;
}

.me {
    color: #004413;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.float-right {
    float: right;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.name {
    color: white;
}

.chat-userlist {
    margin-left: 25%;
    color: white;
    font-size: 1.2rem;
    padding-bottom: 10px;
    padding-top: 8%;
}

@media (max-device-width:1282px)and (min-device-width: 769px) {
    .chat-history {
        height: 277px;
    }

    .chat-box {
        min-height: 440px;
        height: 440px;
        bottom: 10px;
        width: 520px;
    }

    .chat-num-messages {
        width: 175px;
    }

    .chat-box-toggle {
        float: right;
        margin-right: 15px;
        cursor: pointer;
        font-size: 13px;
        margin-bottom: 40px;
        margin-left: 0px;
    }

    .chat-with {
        width: 170px;
    }

    .chat-userlist {
        color: white;
        font-size: 20px;
        padding-bottom: 10px;
        padding-top: 10px;
        margin-left: 25px;
    }

    .people-list {
        width: 252px;
    }

    .chat {
        width: 265px;
    }
}

@media (max-device-width:768px)and (min-device-width: 320px) {
    .people-list {
        width: 175px;
        float: left;
        height: 100%;
        background-color: #444753;
        position: relative;
        overflow: scroll;
    }

    .chat-box-toggle {
        float: right;
        margin-right: 15px;
        cursor: pointer;
        font-size: 12px;
        margin-bottom: 47px;
        margin-left: 14px;
    }

    .chat-with {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 175px;
        font-weight: bold;
        font-size: 13px;
    }

    .chat-num-messages {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 175px;
        line-height: 16px;
        font-size: 13px;
    }

    .list {
        list-style: none;
        padding: 10px;
    }

    .chat-header {
        padding: 5px;
        border-bottom: 2px solid white;
    }

    .chat-box {
        display: none;
        background: #fff;
        top: 18%;
        position: fixed;
        right: 35px;
        width: 440px;
        min-height: 425px;
        max-height: 100%;
        height: auto;
        border-radius: 5px;
        box-shadow: 0px 5px 35px 9px #464a92;
        box-shadow: 0px 5px 35px 9px #ccc;
        z-index: 999;
    }

    .chat textarea {
        width: 100%;
        height: 100%;
        border: none;
        padding: 8px 8px;
        font: 14 px /22 px "Poppins", Arial, sans-serif;
        margin-bottom: 10px;
        border-radius: 5px;
        resize: none;
    }

    .chat-history {
        padding: 10px 10px 10px;
        border-bottom: 2px solid white;
        overflow-y: scroll;
        height: 267px;
    }

    .chat {
        width: 265px;
        float: right;
        background: #F2F5F8;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        color: #000000;
        height: 100%;
    }

    .chat-userlist {
        color: white;
        font-size: 17px;
        padding: 7px;
        padding-left: 4px;
    }

    #chat-circle {
        font-size: 24px;
        position: fixed;
        bottom: 0px;
        right: 0px;
        background: #004413;
        width: 50px;
        height: 50px;
        border-radius: 100px;
        color: white;
        padding: 3px;
        cursor: pointer;
        border: 2px solid white;
        box-shadow: 0px 3px 16px 0px rgb(0 0 0 / 60%), 0 3px 1px -2px rgb(0 0 0 / 20%), 0 1px 5px 0 rgb(0 0 0 / 12%);
    }

    .btn {
        display: inline-block;
        padding: 8px 15px;
        margin: 15px;
        font-size: 16px;
        line-height: 1.6em;
        font-weight: 400;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        -ms-touch-action: manipulation;
        touch-action: manipulation;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-image: none;
        border-radius: 25px 25px 25px 25px;
        font-weight: 400;
        border-width: 0px 0px 0px 0px;
    }

    .message {
        color: white;
        padding: 5px 10px;
        line-height: 26px;
        font-size: 16px;
        border-radius: 7px;
        margin-bottom: 20px;
        width: 90%;
        position: relative;
    }

    .my-message {
        background: white;
        color: black;
    }

    .btn {
        display: inline-block;
        padding: 8px 15px;
    }
}

@media (max-width: 575.98px) {
    .chat-userlist {
        margin-left: 22px;
        font-size: 16px;
    }

    .chat-box {
        right: 5px;
        width: 333px;
        bottom: 10px;
    }

    .chat {
        width: 200px;
    }

    .people-list {
        width: 133px;
    }

    .message {
        font-size: 12px;
        line-height: 18px;
    }

    .list {
        margin-top: 10px;
        padding: 0px 5px;
        font-size: 10px;
    }

    .chat-history {
        padding: 10px 10px 10px;
        height: 273px;
    }

    .chat-header {
        padding: 0px;
        position: relative;
    }

    .chat-box-toggle {
        float: right;
        margin-right: 0;
        cursor: pointer;
        position: absolute;
        font-size: 12px;
        top: 5px;
        right: 5px;
    }

    .chat-with {
        width: 126px;
        font-size: 12px;
    }

    .chat-num-messages {
        width: 130px;
        color: #92959E;
        font-size: 11px;
    }

    .profileImageLogo {
        margin-left: 5px;
    }
}

@media (max-device-width:339px) {
    #chat-circle {
        font-size: 24px;
        position: fixed;
        bottom: 0px;
        right: 0px;
        background: #004413;
        width: 48px;
        height: 45px;
        border-radius: 100px;
        color: white;
        padding: 0px;
        cursor: pointer;
        border: 2px solid white;
        box-shadow: 0px 3px 16px 0px rgb(0 0 0 / 60%), 0 3px 1px -2px rgb(0 0 0 / 20%), 0 1px 5px 0 rgb(0 0 0 / 12%);
    }

    .chat-userlist {
        color: white;
        font-size: 20px;
        padding: 10px;
    }

    .chat-userlist {
        color: white;
        font-size: 15px;
        padding: 10.5px;
        text-align: center;
        margin-right: 11px;
        margin-left: 6px;
    }

    .profileImageLogo {
        margin-left: 3px;
    }
}
