#chat-toggle{
    cursor: pointer;
    background-color: #0a4567;
    color:#fff;
}
.agent-chat-container.frame{
    background:#e0e0de;
    height: 357px;
    overflow: auto;
    position: relative;
}
.agent-chat-container.frame .macro{
    margin-top:5px;max-width:85%;border-radius:5px;padding:5px;display:flex;min-width: 35%;
}
.agent-chat-container.frame .msj-rta{
    float:right;background:whitesmoke;
}
.agent-chat-container.frame .msj{
    float:left;background:white;
}
.agent-chat-container .mytext{
    border:0;padding:10px;background:whitesmoke;
}
.agent-chat-container .text{
    width:100%;display:flex;flex-direction:column;
}
.agent-chat-container .text > p:first-of-type{
    width:100%;margin-top:0;margin-bottom:auto;line-height: 14px;font-size: 14px;
}
.agent-chat-container .text > p:last-of-type{
    width:100%;text-align:right;color:silver;margin-bottom:-7px;margin-top:auto;
}
.agent-chat-container .text-l{
    float:left;padding-right:10px;
}        
.agent-chat-container .text-r{
    float:right;padding-left:10px;
}
.agent-chat-container .avatar{
    display:flex;
    justify-content:center;
    align-items:center;
    width:25%;
    float:left;
    padding-right:10px;
}
.agent-chat-container.frame > div:last-of-type{
    position:absolute;
    bottom:0;
    width:100%;
    display:flex;
    padding: 0px 0px;
}
.agent-chat-container.frame #send{
    background: whitesmoke;padding: 10px;font-size: 21px;border-radius: 50%;
}

.agent-chat-container.frame ul {
    width: 100%;
    list-style-type: none;
    padding: 0px 15px;
    position: absolute;
    bottom: 72px;
    display: flex;
    flex-direction: column;
    top: 0;
    overflow-y: auto;
    overflow-x: hidden;
}
.agent-chat-container.frame .msj:before{
    width: 0;
    height: 0;
    content:"";
    top:-5px;
    left:-14px;
    position:relative;
    border-style: solid;
    border-width: 0 13px 13px 0;
    border-color: transparent #ffffff transparent transparent;            
}
.agent-chat-container.frame .msj-rta:after{
    width: 0;
    height: 0;
    content:"";
    top:-5px;
    left:14px;
    position:relative;
    border-style: solid;
    border-width: 13px 13px 0 0;
    border-color: whitesmoke transparent transparent transparent;           
}  
.agent-chat-container 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;
} 

.agent-chat-container.frame ul::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
	border-radius: 10px;
}

.agent-chat-container.frame ul::-webkit-scrollbar
{
	width: 10px;
	background-color: #F5F5F5;
}

.agent-chat-container.frame ul::-webkit-scrollbar-thumb
{
	background-color: #AAA;
	border-radius: 10px;
	background-image: -webkit-linear-gradient(90deg,
	                                          rgba(0, 0, 0, .2) 25%,
											  transparent 25%,
											  transparent 50%,
											  rgba(0, 0, 0, .2) 50%,
											  rgba(0, 0, 0, .2) 75%,
											  transparent 75%,
											  transparent)
}
