.chat-tww .mytext{
    border:0;padding:10px;background:whitesmoke;font-size: 15px;
}
.chat-tww .text{
    width:90%;display:flex;flex-direction:column;
}
.chat-tww .text > p:first-of-type{
    width:100%;
    margin-top:0;
    margin-bottom:auto;
    line-height: 13px;
    font-size: 12px;
    margin-top: 10px;
}
.chat-tww .text > p:last-of-type{
    width:100%;text-align:right;color:silver;margin-bottom:-7px;margin-top:auto;
}
.chat-tww .text-l{
    float:left;padding-right:10px;
}        
.chat-tww .text-r{
    float:right;padding-left:10px;
}
.chat-tww .avatar{
    display:flex;
    justify-content:center;
    align-items:center;
    width: 20%;
    float:left;
    padding-right: 5px;
    margin-left: -5px;
}
.chat-tww .macro{
    margin-top:5px;
    width: 90%;
    border-radius:5px;
    display:flex;
    padding-top:5px;
    padding-bottom: 5px;
    padding-left: 0px;
    padding-right: 5px;
}
.chat-tww .msj-rta{
    float:right;background:whitesmoke;
}
.chat-tww .msj{
    float:left;background:white;
}
.frame.chat-tww{
    background: #e0e0de;
    height: 480px;
    overflow: hidden;
    padding: 0px;
    margin-left: -1px !important;
    margin-right: -1px !important;
    border-radius: 3px;
    min-width: 305px;
}

.chat-tww .chat_opt_is_client {
    margin-bottom: 5px;
    font-size: 10px;
    min-width: 145px;
}

.frame.chat-tww  > div:last-of-type{
    position:absolute;bottom:0;width:100%;display:flex;
}

.chat-tww .responder-chat {
    padding: 15px;
    cursor: pointer;
    background-image: url(../img/sender.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
}
.wrapper-responder{
    padding: 10px;
    padding-top: 15px;
}

body > div.chat-tww > div > div.msj-rta.macro{
    margin:auto;margin-left:1%;
}
.chat-tww ul {
    width:100%;
    list-style-type: none;
    padding:18px;
    position:absolute;
    bottom:47px;
    display:flex;
    flex-direction: column;
    top:50px;
    overflow-y:auto;
}
.chat-tww .msj:before{
    width: 0;
    height: 0;
    content:"";
    top:-5px;
    left: -8px;
    position:relative;
    border-style: solid;
    border-width: 0 13px 13px 0;
    border-color: transparent #ffffff transparent transparent;
}
.chat-tww .msj-rta:after{
    width: 0;
    height: 0;
    content:"";
    top:-5px;
    left:10%;
    position:relative;
    border-style: solid;
    border-width: 13px 13px 0 0;
    border-color: whitesmoke transparent transparent transparent;           
}  
.chat-tww 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;
}  

.chat-tww .topo-chat {
    background: #f47920;
    padding-top: 10px;
    vertical-align: middle;
    padding-bottom: 10px;
    color: #fff;
    z-index: 99;
}

.chat-tww .topo-chat .avatar {
    width: 40px;
    margin-left: 5px;
}

.chat-tww span.ft-smal {
    font-size: 10px;
}

.chat-tww .brand {
    font-weight: 600;
    margin-left: 5px;
}
.chat-tww .pulse {
    float: right;
    display: inline-grid;
    width: 10px;
    height:10px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    box-shadow: 0 0 0 #3c763d;
    animation: pulse 2s infinite;
    margin-right: 10px;
}
.chat-tww .pulse:hover {
    animation: none;
    cursor: initial;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(0, 204, 51, 1);
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
    }
}
@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(0, 204, 51, 1);
        box-shadow: 0 0 0 0 rgba(0, 204, 51, 1);
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
        box-shadow: 0 0 0 10px rgba(204,169,44, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
        box-shadow: 0 0 0 0 rgba(204,169,44, 0);
    }
}

.chat-tww .btn-chat{
    margin-left: 5px;
}

.chat-tww .btns-estimativasms button,.chat-tww .btns-necessidade button{
    font-size: 10px;
    margin-top: 10px;
}

.chat-tww .btns-necessidade button {
    min-width: 85px;
    margin-left: -5px;
}

a.avgrund-close {
    z-index: 999;
}

.avgrund-content {
    padding: 1px !important;
    margin-top: -15px;
}

img.loading-chat {
    width: 16px;
    height: 11px;
}

.hidden {
    display: none !important;
}

.chat-finalizado-msg{
    display: none;   
}

.chat-alert {
    width: 80%;
    height: auto;
    line-height: 40px;
    position: fixed;
    background-color: rgba(42, 42, 42, 0.8);
    border-radius: 5px;
    text-align: center;
    z-index: 199;
    margin: 0 auto;
    display: block;
    top: 40%;
    left: 10%;
    color: #fff;
    padding: 10px;
}

.chat-overlay {
    position: fixed;
    display: block;
    width: 99%;
    height: 100%;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: pointer;
    margin: 0 auto;
}


.btn-atendimento{
    font-size: 11px;
    width: 35%;
}

.chat_optn_necessidade_is_cliente {
    padding: 10px;
    margin-top: 5px;
}