#ecat-chat.chat{
    z-index: 1000;
    position: fixed;
    bottom: 0;
    background: orange;
    padding: 0;
    box-shadow: 5px 4px 16px 0px rgba(0, 0, 0, 0.48);
    border: 1px solid #3a3a3a;
    margin: 0 30px;
    width: 245px;
}

.android #ecat-chat.chat, .ios #ecat-chat.chat{
    right: 0 !important;
    top: 48px;
    height: 100%;
}

.android #ecat-chat.chat .messages-side, .ios #ecat-chat.chat .messages-side{
    width: 100%;
}

.chat-btn{
    font-size: 35px;
    vertical-align: middle;
    color: #ffecc8;
    padding-left: 10px;
}

.chat-minimized #ecat-chat .messages-div{
    padding: 0;
}

.chat-minimized #ecat-chat .messages-div .messages-side{
    height: 0;
}

.chat-minimized #ecat-chat textarea, .chat-minimized #ecat-chat button{
    display: none;
}

#ecat-chat .messages-div{
    padding: 10px;
    transition: 1s padding;
}

#ecat-chat .fa-close{
    font-size: 1.4em;
    float: right;
    padding: 12px 16px;
}

#ecat-chat.ecat-chat-b .fa-close{
    font-size: 2.4em;
}

#ecat-chat .welcome-side{
    max-width: 150px;
    text-align: center;
    font-size: 15px;
    margin: 0 auto;
    display: none;
    color: white;
}

#ecat-chat .welcome-side input{
    width: 100%;
    border: 1px solid silver;
    margin: 5px 0;
    padding: 10px;
}

#ecat-chat.welcome .welcome-side{
    display: block;
}

#ecat-chat.chat.not-initialized{
    bottom: 20px;
    background: white;
    padding: 14px 20px;
    cursor: pointer;
}

#ecat-chat.chat textarea:focus{
    outline: none;
}

#ecat-chat.chat textarea {
    background: #353535;
    color: white;
    text-align: left;
    border: 0;
    border-radius: 4px;
    width: 73%;
    padding: 5px;
    font-size: 13px;
    font-family: calibri;
    resize: none;
    vertical-align: middle;
}

#ecat-chat.chat button{
    height: 40px;
    background: #52ff59;
    border: 0;
    width: 25%;
}

#ecat-chat.chat .mine span.chat-piece{
    background: #B17200;
    color: white;
}

#ecat-chat.chat .mine{
    text-align: right;
}

#ecat-chat.chat span.chat-piece {
    display: inline-block;
    text-align: left;
    max-width: 80%;
    margin: 6px;
    font-size: 14px;
    word-wrap: break-word;
    background: white;
    border-radius: 4px;
    color: black;
    padding: 5px;
}

#ecat-chat.chat .messages-side {
    height: 204px;
    width: 220px;
    overflow: auto;
    transition: 1s height;
}

#ecat-chat.chat .text-name{
    font-size: 14px;
    white-space: nowrap;
    margin-left: 10px;
    color: white;
}

#ecat-chat.chat .profile-picture{
    float: left;
}

#ecat-chat.chat .profile-picture img{
    width: 60px;
    height: 60px;
    border-radius: 45px;
}

#ecat-chat.chat .hello-side{
    display: none;
}

#ecat-chat.chat.not-initialized .hello-side{
    display: block;
}

#ecat-chat.chat.welcome textarea, #ecat-chat.chat.welcome .messages-side{
    display: none;
}

#ecat-chat.chat.not-initialized textarea, #ecat-chat.chat.not-initialized .messages-side, #ecat-chat.not-initialized .title{
    display: none;
}

#ecat-chat .hello-side img{
    filter: invert();
}

#ecat-chat .talk-with-us{

}

#ecat-chat .right-info{
    display: inline-block;
    font-family: arial;
    padding: 0px 22px;
}

#ecat-chat .disponible{
    font-size: 70%;
    margin: 4px 0;
    color: #00ca00;
}

#ecat-chat .disponible:before{
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: green;
    margin-right: 10px;
    position: relative;
}

#ecat-chat .title{
    margin: 0;
    padding: 10px;
}

#ecat-chat .title img{
    width: 20px;
    vertical-align: middle;
}

#ecat-chat .title .text{
    margin-left: 10px;
    color: white;
    font-size: 20px;
    font-family: sans-serif, arial, calibri;
}

#ecat-chat .date{
    float: right;
    font-size: 72%;
    margin: 2px 2px 0 5px;
    color: #848484;
    display: inline-block;
    vertical-align: text-top;
}

#ecat-chat .mine .date{
    color: #5a3e0b;
}

#ecat-chat input.err{
    border-color: red !important;
    outline: red 1px solid;
}

[page=chat]{
    /*background: orange;*/
}

[page=chat] #ecat-chat.chat{
    padding: 0;
}

[page=chat] #ecat-chat.chat .messages-side{
    width: 100%;
    height: 190px;
}

[page=chat] #ecat-chat{
    position: inherit;
    border: none;
    box-shadow: none;
}

[onclick="Login.closeB2bLogin()"]{
    color: black;
}