﻿
.new-message-text-bold {
    font-weight: 700 !important;
}

.chat-body {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #000000a1;
    z-index: 16;
}

.firstmemberChat {
    position: absolute !important;
    top: -4px !important;
    left: -2px !important;
    background: red !important;
    width: 25px !important;
    height: 25px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 50% !important;
    color: white !important;
}

.newMessage {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #50cd89;
    margin-right: 10px;
}

.nonOpened {
    background: red !important;
    width: 25px !important;
    height: 25px !important;
    display: flex !important;
    justify-content: center;
    align-items: center !important;
    font-size: 12px !important;
    color: white !important;
}

    .nonOpened:hover {
        color: white !important;
    }

.active-conversation {
    background: #72bcf138 !important;
    border: 2px solid #0094ff;
}

.conversationChat {
    color: black !important;
    cursor: pointer !important;
    box-shadow: 0 0rem 1rem rgb(0 0 0 / 35%) !important;
}

    .conversationChat:hover {
        cursor: pointer;
        box-shadow: 0 0rem 2rem rgb(0 0 0 / 45%) !important;
    }

.chatButton {
    position: fixed;
    right: 35px;
    bottom: 29px;
    background: #0094ff;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 22;
    box-shadow: 0 0rem 1rem rgb(0 0 0 / 15%) !important;
    cursor: pointer;
}

    .chatButton:hover {
        box-shadow: 0 0rem 1rem rgb(0 0 0 / 35%) !important;
    }


    .chatButton svg {
        color: white !important;
    }

.modal-chat {
    position: absolute !important;
    opacity: .4 !important;
    background: black !important;
}

    .modal-chat:after {
        background: black !important;
    }

    .modal-chat:before {
        background: black !important;
    }
.main-message{
    height: 100%;
    width:100%;
}
.chat {
    padding: 23px;
    font-family: "Montserrat", sans-serif;
    position: fixed;
    z-index: 2;
    right: 55px;
    bottom: 58px;
    width: 1562px;
    background: #f5f7fb;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%) !important;
    opacity: 1 !important;
    border-radius: 15px;
    display: none;
}

.chat-card-conversation {
    background: white;
    border-radius: 8px;
    display: none;
}

.chat-card-choose {
    background: white;
    border-radius: 8px;
    display: none;
}

.chat-logo {
    font-size: 24px;
    font-weight: 600;
    margin: 0px;
}

.recentChatsText {
    font-size: 12px;
    font-weight: 600;
    margin-top: -12px !important;
    color: #808080;
    margin: 0px;
}

.button_createChat {
    background-image: linear-gradient(to right, #73B7FF,#287EE5);
    color: white !important;
    text-transform: capitalize;
    height: 46px;
    padding: 8px 15px;
    font-weight: 600;
    border-radius: 5px;
    border: 0px;
}

    .button_createChat:hover {
        background: #287EE5;
        color: white;
        text-transform: capitalize;
        height: 46px;
    }

.button_createChat_create {
    background-image: linear-gradient(to right, #73B7FF,#287EE5);
    color: white !important;
    text-transform: capitalize;
    height: 46px;
    padding: 8px 15px;
    font-weight: 600;
    border-radius: 5px;
    border: 0px;
}

    .button_createChat_create:hover {
        background: #287EE5;
        color: white;
        text-transform: capitalize;
        height: 46px;
    }

.button-message-top button.disabled {
    background: #c9c9c9c7 !important;
    cursor: default !important;
    color: #666 !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

.button_createChat i {
    color: white !important;
}



.chat-card-head {
    padding: 9px 15px;
    background: #F8FCFF;
    border-bottom: 3px solid #F5F7FB;
}

.selectList .select2 {
    margin-left: 1rem !important;
}

.select2-results__option img {
    height: 25px !important;
    width: 25px !important;
    border-radius: 50% !important;
}

.start-conversation p:first-child {
    padding-top: 25px;
    font-size: 20px;
    font-weight: 600;
}

.start-conversation p:last-child {
    font-size: 15px;
    font-weight: 500;
}

.selectList .select2-selection__rendered .select2-selection__choice img {
    height: 31px !important;
    width: 31px !important;
    border-radius: 50% !important;
    position: absolute;
    left: -8px;
    top: -1px;
}

.selectList .select2-container--default .select2-selection--multiple .select2-selection__choice {
    /*padding-left: 1.6rem !important;*/
    padding-right: 6px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    /*padding: 2px 6px !important;*/
    margin-top: 2px !important;
    background-color: #168eea !important;
    border-color: #17433b !important;
    color: #fff;
    position: relative !important;
    margin-top: 2px;
    border: 0px solid #0094ff !important;
    margin-right: 12px !important;
}

.selectList .select2-container--default .select2-selection--multiple .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-top: 5px;
    margin-right: 10px;
    position: absolute;
    right: 14px;
}

.selectList .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 4px 15px !important;
}

.chat-card-body {
    padding: 15px;
    background: white;
}

.chat-card-body-converastion {
    padding: 15px;
    background: white;
    cursor: pointer;
}

    .chat-card-body-converastion:hover {
        background: #72bcf138;
    }


.select2-selection {
    width: 700px !important;
    background: #F8FCFF !important;
    height: 100% !important;
}

.selectList .select2-selection {
    width: 700px !important;
    background: #F8FCFF !important;
    min-height: 35px !important;
    max-height: 100% !important;
    border: 0px solid #F5F8FA !important;
}

#createChat {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
    width: 350px;
}

.searchButtonChat {
    border: 0px solid #C2D4F0;
    background: white;
    text-transform: uppercase;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 8px;
    color: #0094ff;
    margin: 0px;
}

.searchButtonChatSecond {
    display: none;
    border: 0px solid #C2D4F0;
    border-radius: 8px;
    background-image: linear-gradient(to right, #73B7FF,#287EE5);
    text-transform: uppercase;
    font-weight: 500;
    padding: 8px 15px;
    color: white;
}

#sarch:focus {
    border-color: white;
    background-color: #fff;
    -webkit-box-shadow: 0 0 0 0.2rem rgb(171 140 228 / 0%);
    box-shadow: 0 0 0 0.2rem rgb(171 140 228 / 0%);
}

.border-on-divs {
    border: 1px solid #EDEFF3;
    margin: 0px 5px;
}

.typeOfTyping {
    display: flex;
}

.stage {
    width: 30px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    /*margin: 0 -5%;*/
}


.dot-pulse {
    position: relative;
    left: -9999px;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #0094ff;
    color: #0094ff;
    box-shadow: 9999px 0 0 -5px #0094ff;
    animation: dotPulse 1.5s infinite linear;
    animation-delay: 0.25s;
}

    .dot-pulse::before,
    .dot-pulse::after {
        content: "";
        display: inline-block;
        position: absolute;
        top: 0;
        width: 5px;
        height: 5px;
        border-radius: 3px;
        background-color: #0094ff;
        color: #9880ff;
    }

    .dot-pulse::before {
        box-shadow: 9984px 0 0 -5px #0094ff;
        animation: dotPulseBefore 1.5s infinite linear;
        animation-delay: 0s;
    }

    .dot-pulse::after {
        box-shadow: 10014px 0 0 -5px #0094ff;
        animation: dotPulseAfter 1.5s infinite linear;
        animation-delay: 0.5s;
    }

@keyframes dotPulseBefore {
    0% {
        box-shadow: 9984px 0 0 -5px #50cd89;
    }

    30% {
        box-shadow: 9984px 0 0 2px #50cd89;
    }

    60%, 100% {
        box-shadow: 9984px 0 0 -5px #50cd89;
    }
}

@keyframes dotPulse {
    0% {
        box-shadow: 9999px 0 0 -5px #50cd89;
    }

    30% {
        box-shadow: 9999px 0 0 2px #50cd89;
    }

    60%, 100% {
        box-shadow: 9999px 0 0 -5px #50cd89;
    }
}

@keyframes dotPulseAfter {
    0% {
        box-shadow: 10014px 0 0 -5px #50cd89;
    }

    30% {
        box-shadow: 10014px 0 0 2px #50cd89;
    }

    60%, 100% {
        box-shadow: 10014px 0 0 -5px #50cd89;
    }
}

.image-chat {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: 4px solid #50cd89;
    padding: 3px;
    box-shadow: 0 0.0rem 1rem rgb(0 0 0 / 25%) !important;
}

.image-chat-offline {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: 4px solid #2b62a3;
    box-shadow: 0 0.0rem 1rem rgb(0 0 0 / 25%) !important;
}

.image-chat-second {
    margin-left: -25px;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: 4px solid #84a8e1;
    box-shadow: 0 0.0rem 1rem rgb(0 0 0 / 25%) !important;
}

/*.image-chat-third {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0.0rem 1rem rgb(0 0 0 / 25%) !important;
}*/
.image-chat-third {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: 4px solid #287EE5;
    box-shadow: 0 0.0rem 1rem rgb(0 0 0 / 25%) !important;
}

.offline {
    height: 15px;
    width: 15px;
    background: red;
    border-radius: 50%;
    border: 3px solid white;
    position: absolute;
    left: 5px;
    top: 0px;
}

.online {
    height: 15px;
    width: 15px;
    background: #50cd89;
    border-radius: 50%;
    border: 3px solid white;
    position: absolute;
    left: 5px;
    top: 0px;
}

.fullName {
    display: flex;
    margin: 0px;
    font-size: 18px;
    font-weight: 500;
}

.typeOfTyping {
    display: flex;
    font-weight: 500;
    font-size: 13px;
}

.typing {
    color: #50cd89;
}

.lastseen {
    color: #287EE5;
    font-weight: 600;
    font-size: 13px;
}

.seenMessage {
    font-weight: 500;
    font-size: 12px;
}

.message-left-chat {
    margin: 0px;
    font-weight: 500;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.memberChat {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    background: #C2D4F0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2b62a3;
    font-size: 11px;
    margin-left: -17px;
    font-weight: 600;
}

.message-users {
    height: 64.7vh;
    overflow-y: scroll !important;
}

    .message-users::-webkit-scrollbar {
        width: 4px !important;
    }

    .message-users::-webkit-scrollbar-track {
        box-shadow: inset 0 0 5px transparent !important;
        border-radius: 10px !important;
    }

    .message-users::-webkit-scrollbar-thumb {
        background: #B3B8C3 !important;
        border-radius: 10px !important;
    }

        .message-users::-webkit-scrollbar-thumb:hover {
            background: transparent !important;
        }



.image-chat-top-message {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0.0rem 1rem rgb(0 0 0 / 15%) !important;
}

.button-message-top {
    width: 145px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .button-message-top a svg {
        background: white;
        color: gray;
        border-radius: 50%;
        height: 40px;
        width: 40px;
        padding: 9px;
        box-shadow: 0 .3rem .5rem rgb(0 0 0 / 15%) !important;
    }

        .button-message-top a svg:hover {
            background: white;
            color: #0094ff;
            cursor: pointer;
            box-shadow: 0 0.0rem 1rem rgb(0 0 0 / 18%) !important;
        }

    .button-message-top a.onhover-close svg:hover {
        background: white;
        color: red !important;
        cursor: pointer;
        box-shadow: 0 0.0rem 1rem rgb(0 0 0 / 18%) !important;
    }



.chat-clear {
    display: block;
}

.chat-message {
    display: block;
}

.chat-message-wrapper {
    display: flex;
    flex-direction: column-reverse;
    height: 60vh;
    bottom: 0;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

    .chat-message-wrapper::-webkit-scrollbar {
        width: 4px !important;
    }

    .chat-message-wrapper::-webkit-scrollbar-track {
        box-shadow: inset 0 0 5px transparent;
        border-radius: 10px;
    }

    .chat-message-wrapper::-webkit-scrollbar-thumb {
        background: #B3B8C3;
        border-radius: 10px;
    }

        .chat-message-wrapper::-webkit-scrollbar-thumb:hover {
            background: transparent;
        }

.dropdown-chat {
    position: relative;
    display: inline-block;
}

.dropdown-content-chat {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0px;
}

.button-message-top a:hover .dropdown-content-chat {
    display: block !important;
}

.sub-menu-chat {
    padding: 12px 16px;
}

    .sub-menu-chat:hover {
        background: #e5edef !important;
        color: #287EE5 !important;
        cursor: pointer;
    }

.message_number_notifice {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #FF2B63 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white !important;
    font-size: 11px !important;
    margin-left: -17px;
    font-weight: 600;
}

.send_message_form {
    padding-top: 10px;
    position: relative;
    width: 100%;
    height: 3rem;
}

    .send_message_form a:first-child {
        height: 40px;
        width: 40px;
        border-radius: 50%;
        background-image: linear-gradient(to right, #73B7FF,#287EE5);
    }

    .send_message_form a:last-child {
        height: 40px;
        width: 40px;
        border-radius: 50%;
        background-image: linear-gradient(to right, #73B7FF,#287EE5);
    }

    .send_message_form a i {
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        height: 40px;
        width: 40px;
    }

.border-cosume-chat {
    border-top: 2px solid #F5F7FB !important;
    position: relative;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0px 0px;
}

.send_message_form input {
    background: white;
    width: 100%;
    border: 0px solid white;
    height: 50px !important
}

    .send_message_form input.form-control:focus {
        border: 0px solid white !important;
        box-shadow: none !important;
    }


.wrapper-body-chat {
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
}





















.receiver {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
}

    .receiver img {
        height: 40px;
        width: 40px;
        border-radius: 50%;
        margin-right: 1rem;
        border: 3px solid #c9c9c9c7;
    }

.body-reciver {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .body-reciver .body-reciver-text {
        display: block;
        align-items: end;
        width: 100%;
        text-align: right;
        margin-right: 1rem;
    }

        .body-reciver .body-reciver-text p {
            margin: 0px;
            color: black;
            font-weight: 500;
            width: 100%;
            background: white;
            padding: 1rem;
            margin: 0px;
            border-top-left-radius: 0px !important;
            border-radius: 8px;
            text-align: left;
            border-bottom-right-radius: 0px !important;
            border-radius: 8px;
            border: 1.3px solid #c5cad5 !important;
        }

        .body-reciver .body-reciver-text span {
            color: #c5cad5;
            font-size: 12px;
        }

    .body-reciver a {
        margin-top: -1rem;
        position: relative;
        cursor: pointer !important;
    }

        .body-reciver a i {
            color: #c5cad5;
            font-size: 17px;
            cursor: pointer !important;
        }

.reactMessage {
    display: none;
    position: absolute;
    left: 2rem;
    top: 0;
    width: 190px;
    background: white;
    box-shadow: 0rem 0rem 1rem .15rem rgb(0 0 0 / 8%) !important;
}

    .reactMessage p {
        text-align: left;
        padding: 8px 15px;
        margin: 0px;
        font-weight: 600;
        font-size: 13px;
    }

        .reactMessage p:hover {
            background: #e5e7ed;
        }

.sender {
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 2rem;
}

    .sender a {
        margin-top: -1rem;
    }

.sender-body-text {
    display: block;
    align-items: end;
    width: 100%;
    text-align: right;
    margin-left: 1rem;
}

    .sender-body-text p {
        margin: 0px;
        color: white;
        font-weight: 500;
        width: 100%;
        background: #0094ff;
        padding: 1rem;
        margin: 0px;
        border-bottom-right-radius: 0px !important;
        border-radius: 8px;
        border: 1.3px solid #c5cad5 !important;
        text-align: left;
    }

.sender a {
    position: relative;
}

.senderMessage {
    position: absolute;
    right: 2rem;
    top: 0;
    width: 190px;
    background: white;
    box-shadow: 0rem 0rem 1rem 0.15rem rgb(0 0 0 / 8%) !important;
}

    .senderMessage p {
        text-align: left;
        padding: 8px 15px;
        margin: 0px;
        font-weight: 600;
        font-size: 13px;
    }

        .senderMessage p:hover {
            background: #e5e7ed;
        }

.sender-body-text span {
    color: #c5cad5;
    font-size: 12px;
    padding-right: 15px;
}

.sender a i {
    color: #c5cad5;
    font-size: 17px;
    cursor: pointer !important;
}

.noneSelectedInbox {
    height: 100%;
    background: white;
    padding: 3rem;
    display: block;
}




@media only screen and (max-width: 500px) {
    .chatButton {
        right: 15px;
        bottom: 15px;
    }

    .chat {
        left: 0px;
        right: 0px;
        top: 0px;
        bottom: 0px;
        width: 100%;
        border-radius: 0px;
    }

    .message-users {
        height: 100vh;
        overflow-y: scroll !important;
    }

    #mobileSendMessage {
        display: none;
        background: white;
        height: 100vh;
        width: 100%;
        z-index: 233 !important;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
    }

    .icon-back-mobile {
        height: 57px;
        width: 40px;
        display: flex;
        justify-content: start;
        align-items: center;
    }

        .icon-back-mobile svg {
            height: 30px;
            width: 30px;
            display: flex;
            justify-content: start;
            align-items: center;
        }

    .wrapper_chat_mobile {
        height: calc(100vh - 160px);
        width: 100%;
        overflow-y: scroll;
        overflow-x: hidden;
    }

        .wrapper_chat_mobile::-webkit-scrollbar {
            width: 4px !important;
        }

        .wrapper_chat_mobile::-webkit-scrollbar-track {
            box-shadow: inset 0 0 5px transparent;
            border-radius: 10px;
        }

        .wrapper_chat_mobile::-webkit-scrollbar-thumb {
            background: #B3B8C3;
            border-radius: 10px;
        }

            .wrapper_chat_mobile::-webkit-scrollbar-thumb:hover {
                background: transparent;
            }

    .sendMessage_chat_mobile {
        height: 50px !important;
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .send_message_form textarea {
        background: white;
        width: 100%;
        border: 0px solid white;
        /*height: 40px !important;*/
    }

        .send_message_form textarea:focus {
            border-color: white !important;
            background-color: white !important;
            -webkit-box-shadow: 0 0 0 0.2rem rgb(171 140 228 / 0%) !important;
        }

    .send_message_form {
        padding-top: 10px;
        position: relative;
        width: 100%;
        /* height: 3rem; */
    }
}

#mobileSendMessage {
    display: none;
    background: white;
    height: 100vh;
    width: 100%;
    z-index: 233 !important;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}




@media only screen and (max-width: 500px) {
    .chatButton {
        right: 15px;
        bottom: 15px;
    }

    .chat {
        left: 0px;
        right: 0px;
        top: 0px;
        bottom: 0px;
        width: 100%;
        border-radius: 0px;
    }

    .message-users {
        height: 100vh;
        overflow-y: scroll !important;
    }

    #mobileSendMessage {
        display: none;
        background: white;
        height: 100vh;
        width: 100%;
        z-index: 233 !important;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
    }

    .icon-back-mobile {
        height: 57px;
        width: 40px;
        display: flex;
        justify-content: start;
        align-items: center;
    }

        .icon-back-mobile svg {
            height: 30px;
            width: 30px;
            display: flex;
            justify-content: start;
            align-items: center;
        }

    .wrapper_chat_mobile {
        height: calc(100vh - 160px);
        width: 100%;
        overflow-y: scroll;
        overflow-x: hidden;
    }

        .wrapper_chat_mobile::-webkit-scrollbar {
            width: 4px !important;
        }

        .wrapper_chat_mobile::-webkit-scrollbar-track {
            box-shadow: inset 0 0 5px transparent;
            border-radius: 10px;
        }

        .wrapper_chat_mobile::-webkit-scrollbar-thumb {
            background: #B3B8C3;
            border-radius: 10px;
        }

            .wrapper_chat_mobile::-webkit-scrollbar-thumb:hover {
                background: transparent;
            }

    .sendMessage_chat_mobile {
        height: 50px !important;
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .send_message_form textarea {
        background: white;
        width: 100%;
        border: 0px solid white;
        /*height: 40px !important;*/
    }

        .send_message_form textarea:focus {
            border-color: white !important;
            background-color: white !important;
            -webkit-box-shadow: 0 0 0 0.2rem rgb(171 140 228 / 0%) !important;
        }

    .send_message_form {
        padding-top: 10px;
        position: relative;
        width: 100%;
        /* height: 3rem; */
    }
}

#mobileSendMessage {
    display: none;
    background: white;
    height: 100vh;
    width: 100%;
    z-index: 233 !important;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
/*.select2-container {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
     position: inherit !important; 
    vertical-align: middle;
}*/