
/* Connectome chat speech baloon */

.msg-box {
    display: inline-block;
    min-width:200px;

}
.msg-item-me {
    text-align:right!important;
}
.bubble {
    position: relative;
    min-height: 40px;
    /*width: 40%;*/
    min-width: 100px;
    padding: .8rem;
    background: ivory;
    display: block;
    /*margin: 0 auto;*/
    border-radius: 5px;
    margin-top: 30px;
    font-size: 1rem;
    text-align: right;
    margin-left: 15px;
    /* box-shadow:	0 0.125rem 0.5rem rgba(0, 0, 0, .3), 0 0.0625rem 0.125rem rgba(0, 0, 0, .2);*/
    box-shadow: 0 0.085rem 0.2rem rgb(0 0 0 / 30%), 0 0.0325rem 0.08rem rgb(0 0 0 / 20%)
}
.bubble_me {
    background: #dcf8c6 !important;
    margin-right: 15px!important;
}
.bubble::after {
    position: absolute;
    content: '';
    height: 20px;
    /*left: calc(0.5vw - 13vw);*/
    bottom:10px;
    left:-10px;
    width: 20px;
    background: ivory;
    margin: 0 auto;
    transform: rotate(313deg);
    border-radius: 0 0 12px 0;
    margin-top: -10px;
    /*position: relative;*/
    /*box-shadow:	0 0.125rem 0.5rem rgba(0, 0, 0, .3), 0 0.0625rem 0.125rem rgba(0, 0, 0, .2);*/
    border-top:rgba(0, 0, 0, .15) 2px solid ;
    border-left:rgba(0, 0, 0, .15) 2px solid ;
    /*z-index: -1;*/
}
.bubble_me::after {
    background: #dcf8c6 !important;
    transform: rotate(135deg)!important;
    right:-10px!important;
    left:auto!important;
}

.pointer {

}
.pointer-left {

}
.pointer-right {
    left: 30px!important;
}
.download-item{
    position: relative;
    width: 100%;
    margin: 0 auto;
}
.download-item::before {
    content: " ";
    position:absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: grey;
    opacity: .3;
    border-radius: 5px;
}
.download-item i:hover {
    cursor:pointer;
    color: #fff;
}
.download-item-link{z-index: 1}
.msg-list{margin-left: 6px}
.msg-list::-webkit-scrollbar {
    scrollbar-width: 40px;
    color: blue ;
}
.msg-list::-webkit-scrollbar-track {
    background: none;
}

.msg-list::-webkit-scrollbar-thumb {
    width: 20px;
    background-color: #007bff;
    background-position: right;
    border-radius: 10px;
    border: 3px solid #dae7d6;
}

#msg_body {
    height: auto;
    line-height:1em;
    outline: none;
    border: 0;
}
#send_msg {
    position: absolute;
    font-size: 18px;
    cursor: pointer;
}
#send_voice {
    position: absolute;
    font-size: 18px;
    cursor: pointer;
}
#send_file {
    position: absolute;
    font-size: 18px;
    cursor: pointer;
}

@media (min-width:641px){
    #msg_body {
        padding: 10px 100px;
        font-size: 18px;
        border-radius: 20px;
    }
    #send_msg {
        top:1vw;
        left:2vw;
    }
    #send_voice {
        top:1vw;
        right:2vw;
    }
    #send_file {
        top:1vw;
        right:4vw;
    }
}

@media (max-width:640px){
    .messenger {
        margin-bottom: 5rem;
    }
    #msg_body {
        padding: 7px 75px 7px 30px;
        font-size: 12px;
        border-radius: 10px;
    }
    #send_msg {
        top: 2vw;
        left:2vw;
    }
    #send_voice {
        top:2vw;
        right:4vw;
    }
    #send_file {
        top:2vw;
        right:10vw;
    }
}