﻿.logoWhatsApp {
    opacity: 1.0;
    z-index: 2000;
}

.logoWhatsApp:hover {
    opacity: 0.8;
}

.btnWhatsApp {
    position: fixed;
    bottom: 10px;
    right: 45px;
    width: 25px;
}


.chatbot {
    position: fixed;
    bottom: 0px;
    right: 20px;
    width: 250px;
    height: 330px;
    background-color: white;
    z-index: 2100;
}

.chatbotHide {
    position: fixed;
    bottom: 0;
    right: 20px;
    width: 250px;
    height: 30px;
    background-color: white;
    z-index: 2100;
}

.chatbotHidev2 {
    position: fixed;
    bottom: 10px;
    right: 40px;
    width: 320px;
    height: 450px;
    background-color: transparent;
    z-index: 2100;
}

.fondoChatv2 {
    width: 320px;
    height: 450px;
    z-index: 1;
}

.fondoChatv2Shadow {
    -webkit-box-shadow: 3px 3px 5px 1px rgba(16,38,15,0.6);
    -moz-box-shadow: 3px 3px 5px 1px rgba(16,38,15,0.6);
    box-shadow: 3px 3px 5px 1px rgba(16,38,15,0.6);
}

.divCabeceraChatv2 {
    width: 100%;
    display: flex;

}

.textoChatbot {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 12px;
    height: 80px;
    overflow-y: scroll;
    opacity: 1.0;
}

.textoChatbotDialogo {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 12px;
    height: 150px;
    overflow-y: scroll;
    opacity: 1.0;
}

.textoChatbotInput {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 12px;
}

.TituloChatbot {
    background-color: darkgreen;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    width: 250px;
    height: 30px;
    vertical-align: central;
    padding-top: 5px;
}

.Bienvenidabot {
    border-radius: 8px;
    margin: 0;
    background-color: #D9FDD3;
    padding-left: 20px;
    width: 200px;
    float: right;
    z-index: 90;
    position: relative;
    top: -60px;
}

.Bienvenidabot2 {
    border-radius: 8px;
    margin: 0;
    background-color: #DCEAF7;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 220px;
    float: left;
    z-index: 90;
    position: relative;
    top: 0;
}

.ConversaBot2 {
    border-radius: 8px;
    margin: 0;
    background-color: #dceaf7;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 250px;
    float: left;
    z-index: 90;
    position: relative;
    /*top: 0;*/
    left: 40px;
}

.ConversaBot2::after {
    /*background-image: url('/images/guion-dialogo-verde.png');*/
    background-size: 15px 10px;
    display: inline-block;
    width: 15px;
    height: 10px;
    content: "";
    position: relative;
    right: 0;
    z-index: 15;
}


.ConversaBotUser2 {
    border-radius: 8px;
    margin: 0;
    background-color: #d9d9da;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow-x: hidden;
    width: 200px;
    float: right;
    z-index: 90;
    position: relative;
    /*top: 0;*/
    right: 5px;
}

.divDialogo2 {
    display: flex;
    align-items: start;
}
/* Posicionar imagen a la izquierda del texto de bienvenida */
/*URL: https://www.mclibre.org/consultar/htmlcss/css/css-posicionamiento-flotante.html#:~:text=Si%20se%20quiere%20que%20una,como%20muestran%20los%20ejemplos%20siguientes.*/
.robotIzquierdo {
    float: left;
    height: 60px;
    background-color: white;
}

.robotDerecho {
    float: left;
    height: 60px;
    z-index: 1200;
    position: relative;
    top: 0px;
    left: 0px;
}

.spanTextoBold {
    font-weight: bold;
    color: #0e3c63;
}

.spanTextoBoldVoltBot {
    font-weight: bold;
    color: #0e3c63; /* Azul */
}

.spanTextoBoldUsuario {
    font-weight: bold;
    color: #3784C4; /* Azul */
}

.closeIcon {
    width: 24px;
    /*float: right;*/
    position: absolute;
    top: 10px;
    right: 15px;
    margin-right: 5px;
    cursor: pointer;
}

.cleanIcon {
    width: 24px;
    position: absolute;
    top: 8px;
    right: 30px;
    /*float: right;*/
    margin-right: 5px;
    cursor: pointer;
    z-index: 5;
    opacity: 0.8;
}

.cleanIcon:hover {
    opacity: 1.0;
}

.closeIcon2 {
    width: 16px;
   /* float: right;*/
    position: absolute;
    top: 13px;
    right: 5px;
    margin-right: 5px;
    cursor: pointer;
    z-index: 5;
    
}

.closeIcon2:hover {
    opacity: 1.0;
    filter: hue-rotate(120deg); /*Filtro Color Verde, URL: https://es.stackoverflow.com/questions/87567/cambiar-color-de-una-imagen-con-css */
}

.divConversacion2 {
    /*background-color: yellow;*/
    position: absolute;
    top: 50px;
    left: 15px;
    width: 300px;
    /* height: 280px;*/
    min-height: 330px;
    overflow-y: scroll;
    text-align: left;
    z-index: 25;
}

/*
    Estilos para el Scrollbar
    URLs: 
        https://stackoverflow.com/questions/38023932/custom-scrollbar-only-in-one-div, Jun 2024
        https://codepen.io/tholman/pen/DgOpWz, Jun 2024
*/

.divConversacion2::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.divConversacion2::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.divConversacion2::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #859f93; /* Verde claro */
}

/*.divConversacion2::before {
    background-image: url('/images/guion-dialogo-verde.png');
    background-size: 15px 10px;
    display: inline-block;
    width: 15px;
    height: 10px;
    content: "";
    position: relative;
    left: -4px;
    z-index: 15;
}*/

.margenConversacion {
    margin-top: 10px;
}

.inputUser2Chat {
    z-index: 5;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: normal !important;
    
    margin-left: 50px;
    border-radius: 5px;
    padding: 4px;
    /*width: 240px;
    height: 55px;*/
    position: absolute;
    bottom: 10px;
    background-color: transparent;
    /*width: 50px;*/
}

.input-sinborde {
    border: 0;
    outline: none;
    resize: none;
    height: 2em;
    width: 18em;
}

.input-renglones {
    height: 2em;
    width: 40em;
}

.respuestas {
    width: 300px;
    height: 75px
}

.divSend2 {
    display: flex;
    justify-content: space-between;
    z-index: 5;
    position: absolute;
    bottom: 10px;
    width: 30px;
}

.sendIcon2 {
    position: absolute;
    bottom: 0;
    left: 280px;
    width: 24px;
    cursor: pointer;
}

.sendIcon3 {
    position: absolute;
    bottom: 15px;
    left: 285px;
    width: 20px;
    height: auto;
    cursor: pointer;
}

.RobotChat {
    align-items: start;
    width: 130px;
    height: 120px;
}

.whatsAppButton {
    z-index: 15;
}

#btnWhatsAppEnviar {
    position: absolute;
    bottom: 0;
    border-radius: 4px;
    padding: 3px;
    background-color: #0fbf43;
    color: white;
    margin: 5px;
}
