﻿.open-button {
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    position: fixed;
    bottom: 23px;
    right: 28px;
}

.open-lblmensaje {
    color: black;
    padding: 0px 0px;
    border: none;
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 5px;
    height: 23px;
    margin-inline: 80px;
    background: white;
    font-weight: bold;
}

/* The popup chat - hidden by default */
.chat-popup {
    /*display: none;*/
    position: fixed;
    bottom: 20px;
    right: 15px;
    border: 1px solid #008973;
    z-index: 9;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    height: 560px;
    width: 330px;
    background: white;
}

/* Add styles to the form container */

.form-container-head {
    background-color: #008973;
    height: 155px;
    /* color: white;*/
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-size: 13px;
    color: white;
    font-weight: normal;
    font-family: Arial;
}

.imgLogo {
    padding-top: 10px;
    padding-left: 10px;
    margin-right:10px;
    border-top-left-radius: 22px;
    float:left;
}

.horario {
    margin-left: 10px;
    float: left;
    margin-top: 5px;
    font-size: 14px;
    color: white;
    font-weight: normal;
    font-family: Arial;
}

.mensajeHorario {
    font-size: 12px;
    color: white;
    font-weight: normal;
    font-family: Arial;
    margin-left: 10px;
}

.btnClose {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;    
    color: #008973;
    text-shadow: 0 1px 0 #f5f5f5;
    filter: alpha(opacity=100);
    margin: 10px;
    background: #f5f5f5;
    border-radius: 10px;
    border: #f5f5f5;
    /*opacity: .2;*/
}

.form-container .btnEnviarCamposSolicitados {
    background-color: #008973;
    border: none;
    border-radius: 0;
    cursor: pointer;
    width: 100%;
    opacity: 0.8;
    /* height: 28px; */
    margin-top: 10%;
    font-size: 18px;
    color: white;
    font-weight: normal;
    font-family: Arial;
    padding: 5px;
}

.form-container {
    max-width: 311px;
    padding: 10px;
    background-color: white;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    margin-top: -2px;  
}

/* Full-width textarea */
.form-container textarea {
    width: 96%;
    padding: 5px;
    margin: 4px 0 0px 0;
    border: 1px solid #f1f1f1;
    background: white !important;
    resize: none;
    min-height: 297px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: black;
}

.mensajeConversacion {
    width: 96%;
    padding: 5px;
    margin: 0px 0 22px 0;
    border: 1px solid #ccc;
    background: white !important;
    resize: none;
    min-height: 370px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
/* When the textarea gets focus, do something */
.form-container textarea:focus {
    background-color: #ddd;
    outline: none;
}

.form-container .txtMjeEnviar {
    border: 1px solid #008973;
    width: 67%;
    padding: 5px;
    margin: 0;
    background: white !important;
    border-radius: 0;
    resize: none;
    outline: 0;
    outline-color: currentcolor;
    outline-style: none;
    outline-width: 0px;
    color: black;
}


/* Set a style for the submit/send button */
.form-container .btn {
    background-color: #008973;
    color: white;
    padding: 16px 20px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    width: 5%;
    margin-bottom: 0px;
    opacity: 0.8;
    margin-top: -40px;
    height: 11px;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
    background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
    opacity: 1;
}

.btnEnviarMensaje {
    background-color: #008973;
    border-radius: 0;
    margin-left: 5px;
    border-color: #008973;
    color: white;
    width: 25%;
    font-size: 14px;
    font-weight: normal;
    font-family: Arial;
    border: 0;
    padding: 3px 10px;
    line-height: 25px;
    vertical-align: bottom;
}

.margen {
    margin-left: 10px;
}

.form-container .formInicio {
    width: 94%;
    padding: 7px 7px;
    border: 1px solid #ccc;
    background: white !important;
    border-radius: 0;
    resize: none;
    outline: 0
}

.template {
    height: 316px;
    overflow-y: auto;
}

.chatMercurioButton {
    border: 1px solid black;
    position: absolute;
    bottom: 50px;
    right: 20px;
}

.chatMercurioPanel {
    border: 1px solid black;
    position: absolute;
    bottom: 50px;
    right: 20px;
    background-color: white;
}
.msjInicio {
    font-size: 13px;
    color: #444;
    font-weight: normal;
    font-family: Arial;
}
.formInicio {
    font-size: 13px;
    color: #444;
    font-weight: normal;
    font-family: Arial;
}
.formCamposSolicitadosInicio {
    font-size: 13px;
    color: #444;
    font-weight: normal;
    font-family: Arial;
    margin-top: 5%;
    float: left;
}
.tituloChat {
    font-size: 20px;
    color: white;
    font-weight: normal;
    font-family: Arial;
    margin-left: 10px;
}
.chat_txt_user {
    background-color:#008973; 
    float:left;
    padding: 10px 10px 0;
    margin-bottom: 15px;
    width:55%;
    text-align:left; 
    color:#fff; 
    margin-left: 5px; 
    border-radius:0px 15px 15px 15px;
}

.chat_txt_agent {
    float: right;
    padding: 10px 10px 0;
    width: 55%;
    margin-bottom: 15px;
    text-align: right;
    color: #000;
    margin-right: 5px;
    background-color: #F1F1F1;
    border-radius: 15px 0px 15px 15px;
}
