.chat, .chat--open {
    width: 340px;
    height: 500px;
    position: fixed;
    display: block;
    bottom: -500px;
    right: 20px;
    transition: all .2s linear;
    background-color: white;
    box-shadow: 0px 0px 6px -1px rgba(0,0,0,0.75);
    padding-bottom: 50px;
    z-index: 9;
}

.hidden-overlay-click-zone {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: yellowgreen;
    opacity: 0;
}

.chat__message__display {
    padding:5px;
    border-bottom: solid 1px;
}

.profile__image__chat_contain {
    width: 20px;
}

.profile__image__chat_contain img {
    width: 100%;
}

.chat__property__name__date {
    text-align: center;
}

.chat__conversation__header {
    display: flex;
    justify-content: space-around;
    padding-bottom: 10px;
}

.chat--open {
    bottom: 10px;
}

.chat__header {
    position: relative;
    display: block;
    top: 0;
    height: 50px;
    font-weight: 600;
}

.chat__headerName, .chat__property {
    position: relative;
    display: inline-block;
    color: white;
    outline: 0;
    border: 0;
    height: 50px;
    cursor: pointer;
    padding-left: 7px;
    padding-right: 20px;
}

.chat__close {
    color: white;
    text-align: right;
    cursor: pointer;
    font-size: 1.3rem;
    position: relative;
    right: 0;
    line-height: 50px;
    vertical-align: top;
    float: right;
    margin-right: 10px;
    padding: 0px 10px;
}

.chat__input {
    height: 50px;
    line-height: 50px;
    width: 100%;
    outline: 0;
    border: 0;
    border-top: 1px solid #DDD;
    bottom: 0;
    position: absolute;
    padding: 0 60px 0 10px;
}

.chat__send {
    float: right;
    height: 50px;
    width: 50px;
    padding: 6px;
    bottom: 0;
    right: 0;
    position: absolute;
    text-align: center;
    line-height: 38px;
    font-size: 1.3rem;
    cursor: pointer;
}

.chat__messagesWrapper {
    width: 100%;
    height: calc(100% - 100px);
    overflow-y: auto;
}

@media screen and (max-width: 991px) {
    .chat, .chat--open {
        width: 100%;
        height: calc(100% - 59px);
        bottom: -100%;
        right: 0;
        left: 0;
        border-top: 1px solid white;
    }

    .chat__send, .chat__close {
        font-size: 1.9rem;
    }

    .chat--open {
        bottom: 0;
    }
}
