@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
.parentHeight{
    height:inherit;
}

.chat {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 150ms ease-in-out;
}

    .chat i {
        margin-right: 0px;
    }
/*button {
    border: 0;
    background-color: transparent;
    cursor: pointer;
}*/

div.minimize {
    height: 40px;
}

div.list--active {
    transform: translateX(0);
}

/*@media (max-width: 500px) {
    div.list--active {
        transform: translateX(50%);
    }
}*/

.conversation__bubble--left {
    position: relative;
}

    .conversation__bubble--left .conversation__text {
        float: left;
        max-width: 85%;
        color: #e0f3ff;
        background-color: #4867cb;
        border-radius: 30px 30px 30px 0px;
    }

    .conversation__bubble--left:before {
        content: '';
        position: absolute;
        bottom: 10px;
        left: 0px;
        width: 8px;
        height: 8px;
        border-bottom-right-radius: 10px;
        background-color: #4867cb;
    }

    .conversation__bubble--left .conversation__text audio::-webkit-media-controls-panel {
        background-color: #4867cb;
    }

    .conversation__bubble--left .conversation__text audio::-webkit-media-controls-current-time-display {
        color: #fff;
    }

    .conversation__bubble--left .conversation__text audio::-webkit-media-controls-time-remaining-display {
        color: #fff;
    }

    .conversation__bubble--left .conversation__text audio::-webkit-media-controls-mute-button, audio::-webkit-media-controls-play-button {
        color: #fff;
        border-radius: 50%;
    }

    .conversation__bubble--left .conversation__text audio::-webkit-media-controls-play-button:hover, audio::-webkit-media-controls-mute-button:hover {
        background-color: rgba(177,212,224, .7);
    }

    .conversation__bubble--left .conversation__text a:hover {
        color: #19c3fc !important;
    }
.conversation__bubble--center {
    position: flex;
}

    .conversation__bubble--center .conversation__text {
        margin-left: auto;
        margin-right: auto;
        max-width: 30%;
        color: black;
        background-color: #d4d4d4;
        border-radius: 30px;
        font-size: 12px;
        text-align: center;
    }

.conversation__bubble--right {
    position: relative;
}

    .conversation__bubble--right .conversation__text {
        float: right;
        max-width: 85%;
        color: #332400;
        background-color: #c3d0fa;
        border-radius: 30px 30px 0px 30px;
    }

    .conversation__bubble--right:before {
        content: '';
        position: absolute;
        bottom: 10px;
        right: 1px;
        width: 8px;
        height: 8px;
        border-bottom-left-radius: 10px;
        background-color: #c3d0fa;
    }

    .conversation__bubble--right .conversation__text audio::-webkit-media-controls-panel {
        background-color: #c3d0fa;
    }

.conversation__bubble--right .conversation__text a:hover {
    color: #0d7cbd !important;
}

.mask {
    overflow: hidden;
    bottom: 0;
    height: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    animation: appear 1s ease-in 0s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: height 400ms cubic-bezier(0.65, 0.05, 0.36, 1);
}

/*@media (max-width: 500px) {
    .mask {
        right: 0;
        width: auto;
        height: 100vh;
    }
}*/

.chat_container {
    height: 83%;
    display: flex;
    flex-direction: row;
    transform: translateX(-400px);
    transition: transform 400ms cubic-bezier(0.65, 0.05, 0.36, 1);
}

/*
@media (max-width: 500px) {
    .chat_container {
        width: 100%;
        height: 100%;
        transform: translateX(0);
    }
}
*/

.list,
.conversation {
    width: 400px;
    height: 500px;
    display: flex;
    flex-direction: column;
    background-color: #f5f7fa;
}

/*@media (max-width: 500px) {

    .list,
    .conversation {
        width: 100vw;
        height: 100vh;
    }
}*/

.list__header,
.conversation__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    min-height: 40px;
    border-bottom: 1px solid #ced4da;
}

.list__header-actions,
.conversation__header-actions {
    display: flex;
    flex-direction: row;
}

.list__body,
.conversation__body {
    height: 100%;
    padding: 0.8rem;
    position: relative;
    overflow-y: auto;
    background-color: #eff2f6;
    font-size: 14px;
}

.list .btn,
.conversation .btn {
    width: 40px;
    height: 40px;
    color: #1f4cad;
    cursor: pointer;
    font-size: 2rem;
    padding: 2%;
    text-align: center;
}

    .list .btn:hover,
    .conversation .btn:hover,
    .list .btn:focus,
    .conversation .btn:focus {
        background-color: #1f4cad;
        color: white;
    }

        .list .btn:hover svg,
        .conversation .btn:hover svg,
        .list .btn:focus svg,
        .conversation .btn:focus svg {
        }

.list__header {
    padding: 0 0.8rem;
}

.list__chat {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f5f7fa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    border: 1px solid transparent;
    cursor: pointer;
}

    .list__chat:hover,
    .list__chat:focus {
        border: 1px solid #1f4cad;
        box-shadow: 0 0 3px #4867cb;
    }

.list__user {
    margin-bottom: 0.3rem;
}

.list__message {
    display: inline-block;
    color: #484f56;
    padding-top: 2%;
    width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*@media (max-width: 500px) {
    .list__message {
        width: 85%;
    }
}*/

.list__sent {
    display: inline-block;
    vertical-align: text-bottom;
}

    .list__sent svg {
        width: 1rem;
        height: 1rem;
        stroke: #008500;
    }

        .list__sent svg:last-child {
            margin-left: -0.7rem;
        }

.list__preview {
    width: 100%;
}


.conversation__info {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    flex-grow: 1;
    padding-left: 0.8rem;
    color: #243366;
    border-left: 1px solid #ced4da;
}


.conversation__bubble {
    margin-bottom: 0.8rem;
}

    .conversation__bubble:before,
    .conversation__bubble:after {
        content: '';
        display: block;
        clear: both;
    }

.conversation__text {
    padding: 0.6rem;
    overflow-wrap: break-word;
}

.conversation__footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    z-index: 1;
    padding: 0.5rem;
    border-top: 1px solid #ced4da;
}

.conversation__write {
    width: 100%;
    padding: 0.4rem;
    border: 0;
    border-radius: 5px;
    border: 1px solid #ced4da;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

    .conversation__write:focus {
        border: 1px solid #4867cb;
        box-shadow: 0 0 3px #4867cb;
    }

.conversation .btn--send {
    border-radius: 3px;
}

@keyframes appear {
    1% {
        transform: translateY(30px);
        opacity: 0;
    }

    25% {
        transform: translateY(-15px);
    }

    65% {
        transform: translateY(10px);
        opacity: 1;
    }

    80% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

.imgProfile {
    width: 60px;
    border-radius: 10%;
    margin: 0 2% 0 0;
    border: 2px solid #1f4cad;
    height: 55px;
    float: left;
    /* cursor: pointer; */
    -moz-transition: 0.3s border ease;
    -o-transition: 0.3s border ease;
    -webkit-transition: 0.3s border ease;
    transition: 0.3s border ease;
}

.msgCount {
    font-size: 16px !important;
    /* font-size: 12px !important; */
    background: #ff0000 !important;
    color: #fff !important;
    width: 6% !important;
    height: 25px !important;
    padding-left: 5px !important;
    border-radius: 50%;
    /* float: left; */
    position: absolute;
    /* margin-right: -10%; */
    left: 15%;
    top: 3%;
}

.list__preview .chatBadge {
    position: absolute;
    /*    top: 10px;
    right: 300px;
*/ padding: 0px 6px;
    border-radius: 50%;
    margin: -7px 0px 0px -20px;
    background-color: red;
    color: white;
}

.list__header .unreadDot {
    position: absolute;
    left: 13%;
    padding: 4px 4px;
    background: red;
    border-radius: 50%;
}
audio::-webkit-media-controls-mute-button,
 audio::-webkit-media-controls-time-remaining-display,
 audio::-webkit-media-controls-current-time-display{
    display:none;
}

audio::-webkit-media-controls-timeline {
    width: auto;
}
