﻿.chat-box {
    box-sizing: border-box;
    width: 260px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    font-family: 'Century Gothic';
    transition:all 1s ease;
	z-index:1500;
}

.box-username, .chat-content, .chat-box textarea {
    border: 1px solid #d6d6d6;
    box-sizing: inherit;
}

.box-username {
    height: 55px;
    border: 0;
    background-color: #00b3ff;
    padding: 10px;
}

.titulo-content {
    height: 35px;
    box-sizing: border-box;
}

.regla {
    height: 4px;
    background-color: #007db3;
}

.regla-blanca {
    height: 5px;
    /*background-color: transparent;*/
}

.chat-content {
    height: 290px;
    background-color: #fff;
    padding: 8px;
    overflow-y: auto;
}

/* PARA ESCONDER EL SCROLL EN IE, EDGE Y CHROME*/
/*.chat-content {
    -ms-overflow-style: none;
    
}

.chat-content::-webkit-scrollbar { 
    display: none;
}*/

.enviar { display: none; }

#chiringa:hover { opacity: 0.6; }

.input-message { 
    margin: 0; 
    width: 100%;
    height: 50px;
    resize: none;
    font-size: 11px;
}

.chat-form-content {
    box-sizing: border-box;
    position: relative;
}
#chiringa {
    position: absolute;
    top:5px;
    right:8px;
    z-index: 1000;
    cursor: pointer;
}
.inicial {
    width: 30px;
    height: 30px;
    color: #00b3ff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box;
    line-height: 28px;
	float:left;
	margin-top:4px;
}

.redondo {
    border-radius: 50%;
}

.fondo-blanco {
    background-color: white;
}

.xcerrar {
    display: inline-block;
    color: #fff;
    /*font-family: 'Arial Rounded MT';*/
    position: absolute;
    right: 10px;
    top: 2px;
    cursor: pointer;
}

.operator-info {
    display: inline-block;
    color: #fff;
    margin-left: 7px;
}

.operator-nick {
    font-size: 14px;
    font-weight: bold;
}

.operator-name {
    font-size: 12px;
}

.message-operator, .message-client {
    font-size: 12px;
    font-weight: bold;
}

.message-operator {
    color: #00b3ff;
  
}

.message-text {
    font-size: 10px;
    color: grey;
    word-wrap: break-word;
	-ms-word-break: break-all; /*normal|break-all|keep-all|initial|inherit*/
}

.message-body {
    border: 1px solid #d6d6d6;
    width: /*200px;*/80%;
    display: inline-block;
    /*margin-bottom: 5px;*/
    padding: 4px;
    box-sizing: border-box;
    padding-top: 7px;
}

.msj-row {
    margin-bottom: 5px;
}

.message-inicial {
    /*display: inline-block;*/
    font-size: 20px;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    color: #fff;
    font-weight: bold;
    text-align: center;
	line-height:28px;
}

.message-content-1 .message-inicial {
    background-color: #00b3ff;
    position: absolute;
    top: 8px;
    right: 3px;
}

.message-content-2 .message-inicial {
    background-color: #ff4d00;
    margin-left: 2px;
    /*position: absolute;
    top: 8px;*/
	float:left;
	margin-top:5px;
}

.message-content-2 .message-body {
    margin-left: 8px;
}

.message-time {
    font-size: 10px;
    /*font-weight: bold;*/
    color: grey;
}

.message-content-1, .message-content-2 {
    margin-bottom: 14px;
    position: relative;
}

.message-client {
    color: #ff4d00;
}

.message-operator, .message-content-1 .message-text {
    text-align: right;
}

.message-content-2 .message-time {
    text-align: right;
}

.chat-box textarea {
    padding: 8px;
    font-size: 11px;
    font-family: 'Century Gothic';
    color: grey;
}

.hidden {
    display: none;
}

.icon-chat {
    box-sizing: border-box;
    position: fixed;
    right: 10px;
    bottom: 10px;
    height: 77px;
    width: 77px;
    cursor: pointer;
    opacity:1;
    transition:all 1s ease;
    display: none;
}

.icon-chat:hover {
    opacity:0.7;
}