.chat-bar-collapsible {
    position: fixed;
    bottom: 65px;
    right: 20px;
    box-shadow: 0 8px 16px 0 rgb(6, 44, 81);
}

.collapsible {
    background-color: rgb(6, 44, 81);
    color: white;
    cursor: pointer;
    padding: 10px 18px;
    width: 350px;
    text-align: left;
    outline: none;
    font-size: 18px;
    border-radius: 10px 10px 0px 0px;
    border: 3px solid rgb(6, 44, 81);;
    border-bottom: none;
}

.contents {
    max-height: 640px;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #ccf;
}

.full-chat-block {
    width: 350px;
    background: #ccf;
    text-align: center;
    overflow: auto;
    scrollbar-width: none;
    height: max-content;
    transition: max-height 0.2s ease-out;
}

.outer-container {
    min-height: 600px;
    bottom: 0%;
    position: relative;
}

.chat-container {
    max-height: 600px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    scroll-behavior: smooth;
    hyphens: auto;
}

.chat-container::-webkit-scrollbar {
    display: none;
}

.chat-bar-input-block {
    display: flex;
    float: left;
    box-sizing: border-box;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    background-color: rgb(235, 235, 235);
    border-radius: 10px 10px 0px 0px;
    padding: 10px 0px 10px 10px;
}

.chat-bar-icons {
    display: flex;
    justify-content: space-evenly;
    box-sizing: border-box;
    width: 25%;
    float: right;
    font-size: 20px;
}

#chat-icon:hover {
    opacity: .7;
}

/* Chat bubbles */

#userInput {
    width: 75%;
}

.input-box {
    float: left;
    border: none;
    box-sizing: border-box;
    width: 100%;
    border-radius: 10px;
    padding: 10px;
    font-size: 16px;
    color: #000;
    background-color: white;
    outline: none
}

.userText {
    color: #fff;
    font-family: Helvetica;
    font-size: 14px;
    font-weight: normal;
    text-align: right;
    clear: both;
}


.userText img {
    width: 30px;
    height: 30px;
    float: right;
/*    border: 1px solid rgb(50, 0, 200);*/
    border-radius: 50%;
    margin-right: 3px;
    background: #ccf;
    padding: 1px;
}


.userText span {
    line-height: 1.5em;
    display: inline-block;
    background: rgb(6, 44, 81);
    padding: 10px;
    border-radius: 10px;
    border-top-right-radius: 0px;
    max-width: 80%;
    margin-right: 5px;
    text-align: left;
    box-shadow: 1px 2px 0px #c1cbcd;
    animation: floatup .5s forwards;
}


.userText span:after {
    content: "";
    position: absolute;
    top: 0px;
    right: -9px;
    width: 0px;
    height: 0px;
    border: 5px solid rgb(6, 44, 81);
    border-right-color: transparent;
    border-bottom-color: transparent;
    animation: floatup .5s forwards;
}

.botText {
    color: rgb(6, 44, 81);
    font-family: Helvetica;
    font-weight: normal;
    font-size: 14px;
    text-align: left;
}

.botText img {
    width: 30px;
    height: 30px;
    float: left;
/*    border: 1px solid rgb(50, 0, 200);*/
    border-radius: 50%;
    margin-left:3px;
/*    background: #008; rgba(50, 0, 200, 0.1);*/
    background: #ccf;
    padding: 1px;
}

.botText span {
    line-height: 1.5em;
    display: inline-block;
    background: rgb(242, 242, 242);
/*    background: #eef8ff;*/
    padding: 10px;
    border-radius: 10px;
    border-top-left-radius: 0;
    max-width: 80%;
    margin-left: 5px;
    box-shadow: 1px 2px 2px #c1cbcd;
    animation: floatup .5s forwards;
}

.botText span #mtm, .userText span #mtm {
    line-height: 1.5em;
    font-size: 10px;
    float: right;
    color: #3c9;
    clear: both;
}

.botText span:before {
    content: "";
    position: absolute;
    top: 0px;
    left: -9px;
    width: 0px;
    height: 0px;
    border: 5px solid rgb(242, 242, 242);
/*    border: 5px solid #eef8ff;*/
    border-left-color: transparent;
    border-bottom-color: transparent;
    animation: floatup .5s forwards;
}

@keyframes floatup {
    from {
        transform: translateY(14px);
        opacity: .0;
    }
    to {
        transform: translateY(0px);
        opacity: 1;
    }
}



/*
@media screen and (max-width:600px) {
    .full-chat-block {
        width: 100%;
        border-radius: 0px;
    }
    .chat-bar-collapsible {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
    }
    .collapsible {
        width: 100%;
        border: 0px;
        border-top: 3px solid white;
        border-radius: 0px;
    }
}*/
