﻿.mytext {
    border: 0;
    padding: 10px;
    background: whitesmoke;
}

.text {
    display: flex;
    flex-direction: column;
}
.text-input {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 0 10px 10px;
}

    .text > p:first-of-type {
        width: 100%;
        margin-top: 12px;
        margin-bottom: auto;
        line-height: 13px;
        font-size: 12px;
        inline-size: auto;
    }

    .text > p:last-of-type {
        width: 100%;
        text-align: right;
        color: silver;
        margin-bottom: -7px;
        margin-top: auto;
    }
.username {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;
}
.text-l {
    float: left;
    background: #9c27b0;
    border-radius: 5px;
    color: white;
    animation: messageMade 200ms;
    padding: 0 10px 10px;
}

.text-r {
    padding: 0 10px 10px;
    animation: messageMade 200ms;
    border-radius: 5px;
}
#sendChatBtn {
    background: #9c27b0;
    padding: 10px 12.5px;
    border-radius: 5px;
    color: white;
    margin-left: 15px;
    cursor: pointer;
}
.avatarChat {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25%;
    float: left;
    padding-right: 10px;
    inline-size: -webkit-fill-available;
    margin-left: -23px;
    text-align: left;
    color: blue;
    margin-top: -37px;
}

.macro {
    width: 85%;
    padding: 0px 10px; 
}

.msj-rta {
    float: right;
    background: white;
}

.msj {
    float: left;
    background: white;
}
#chat-input{
    background:white !important;
}
.frame {
    background: white;
    height: 650px;
    overflow: hidden;
    padding: 0;
}
.chatText {
    font-size: 14px !important;
    line-height: inherit !important;
}
.blackText{
    color:black;
}
    .frame > div:last-of-type {
        position: absolute;
        bottom: 0;
        width: 100%;
        display: flex;
    }

    .testclass{
        border-bottom:1px solid #e0e0e0;
    }
    .chat-popup{
        border-radius:5px;
    }
.chat-ul {
    width: 100%;
    list-style-type: none;
    padding: 18px;
    position: absolute;
    bottom: 47px;
    display: flex;
    flex-direction: column;
    top: 26px;
    overflow-y: scroll;
    margin-top: 30px !important;
}
#exitChatBtn {
    padding-top: 1em;
    font-weight: bold;
    color: white;
}
.frame{
    text-transform:none !important;
}


input:focus {
    outline: none;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #d4d4d4;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #d4d4d4;
}

:-ms-input-placeholder { /* IE 10+ */
    color: #d4d4d4;
}

:-moz-placeholder { /* Firefox 18- */
    color: #d4d4d4;
}

.testclass {
    background-color: #9c27b0;
    height: 57px;
    margin-top: -1px;
    color:white;
}

.testimage {
    width: 30px;
}

.marginleft {
    margin-left: 84% !important;
    margin-top: 168px !important;
}


.open-button {
    background-color: #555;
    color: white;
    padding: 2px 14px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    position: fixed;
    bottom: 10px;
    right: 9px;
    width: 78px;
}


/* The popup chat - hidden by default */
.chat-popup {
    display: none;
    transform: scale(0);
    position: fixed;
    bottom: 10px;
    right: 15px;
    z-index: 9;
    animation: appear 250ms ease-out 100ms forwards;
}


#ChatPicture {
    border-radius: 100%;
    background-size: cover;
    height: 45px;
    width: 45px;
    max-width: 45px;
    object-fit: cover;
    margin-top: 5px;
    margin-right: 20px;
}

#ChatButtonID {
    height: 75px;
    width: 75px;
    border-radius: 100%;
}

@keyframes appear {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.05)
    }

    75% {
        transform: scale(0.95)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes messageMade {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}