@charset "utf-8";
/* CSS Document */
.allmessages {
    background-color: #FFF;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #AAA;
    height: calc(100% - 70px);
    overflow-y: auto;
    overflow-x: hidden;
}
.chatInput {
    margin-top:15px;
    height: 40px;
    min-height: auto;
}

.chatForm {
    position: relative;
    
}
.chatForm input[type="submit"] {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    border: 1px solid var(--lcol);
}
.supplyName{
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    border: 1px solid var(--lcol);    
    border-radius: 5px;
    padding: 5px;
    height: 35px;
    background-color: var(--rcol);
    color: #FFF;
    text-align: center;
    cursor: pointer;  
    text-decoration: none;  
}
.supplyName:hover {
    background-color: var(--dcol);
}
.userMsg strong {
    color: #700;
}
.adminMsg strong {
    color: #006EAB;
}
.allmessages .result {
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
    opacity: 0;
}
.adminChatList {
    display: block;
    border: 1px solid #DDD;
    margin: 15px 0;
    border-radius: 10px;
    padding: 10px;
    border-top-color: #CCC;
    border-right-color: #CCC;
    border-left-color: #FFF;
    border-bottom-color: #FFF;
    box-shadow: inset -1px 2px 1px #FFF, inset 1px -2px 2px #DDD;
    background-color: rgb(255 255 255 / 58%);
    padding-bottom: 25px;
    overflow-x: clip;
    overflow-y: auto;
    max-height: 500px;
}
.adminLiveChat {
    position: relative;
    background-color: #EDEDED;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}
.adminLiveChat:hover {
    background-color: #DADADA;
}
.adminLiveChat small {
    color: #888;
}
.endChat {
    background-color: #900;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    position: absolute;
    color: #FFF;
    font-weight: bold;
    transform: rotate(45deg);
    cursor: pointer;
    line-height: 17px;
    text-align: center;
    right: 10px;
}

.endChat:hover {
    background-color: #C00;
}
.endChat:after {
    content: '';
    border-right: 10px solid #900;
    border-top: 13px solid transparent;
    border-left: 3px solid transparent;
    display: block;
    position: absolute;
    transform: rotate(293deg);
    left: 3px;
    bottom: -6px;
    z-index: -1;
}
.endChat:hover:after {
    border-right: 10px solid #C00;
}
@keyframes flashAlert {
    0% { background-color: #f70; }
    50% { background-color: var(--rcol); }
    100% { background-color: #f70; }
}

.messageAlert:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top:0;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    background-blend-mode: color;
    pointer-events: none;
    animation: flashAlert 1s infinite ease;
}