﻿/* Inicio... Modificación de los estilos del chat */
.webchat__css-custom-properties {
    --webchat__font--primary: 'Scania Sans', Arial, Helvetica, sans-serif !important;
}
.webchat__send-box-text-box,
.webchat__link-definitions__list-item-body {
    font-family: 'Scania Sans', Arial, Helvetica, sans-serif !important;
}
/* Fin... Modificación de los estilos del chat */

.chatbot-btn-container {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 99999;
}

.chatbot-btn-container .chatbot-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    width: 65px;
    height: 65px;
    background-color: #041E42;
    border: 1px solid #041E42;
    border-radius: 50%;
}

.chatbot-btn-container .chatbot-btn img {
    width: 85%;
    height: 85%;
}

.chatbot-container {
    display: none;
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 370px;
    height: calc(100% - 120px);
    max-height: 590px;
    min-height: 250px;
    z-index: 99999;
}

.chatbot-container .chatbot-header {
    width: 100%;
    height: 45px;
    overflow: hidden;
    background-color: #041E42;
    border: 1px solid #041E42;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-container .chatbot-header .chatbot-header-btn {
    width: 25px;
    height: 25px;
    background-color:#041E42;
    border: none;
    color: #fff;
}

.chatbot-container .chatbot-header .chatboth1header {
    background-color: #041E42;
    color: #FFF;
    font-family: 'Scania Sans Semi Condensed', Arial, Helvetica, sans-serif;
    font-size: 1.4em;
    padding-left: 15px;
}

.chatbot-container .chatbot-frame {
    bottom: 0;
    width: 100%;
    height: calc(100% - 45px);
    border: 1px solid #041E42;
    border-radius: 0 0 10px 10px;
    background-color: #FFF;
}

.chatbot-container .chatbot-frame .chatbot-webchat {
    height: 99%;
    border: 1px solid #FFF;
    border-radius: 0 0 10px 10px;
}

details.webchat__link-definitions {
    display: none !important
}

button.webchat__render-markdown__citation {
    display: none !important;
}

/* Ocultamos el avatar */
.webchat__stacked-layout__avatar-gutter{
    display: none !important;
}

/*.chatbot-container .chatbot-frame .chatbot-webchat article:first-child {
    display: none !important;
}*/

/* Contenedor del bot */
.webchat__bubble__content {
    border: none !important;
    border-bottom: 1px solid #CCC !important;
}

/* Nub del bot (lado izquierdo) */
.webchat__bubble__nub-pad {
    background-color: #041E42 !important;
    width: 2px !important;
}

/* Nub del usuario (lado derecho) */
.webchat__bubble--from-user .webchat__bubble__nub-pad {
    background-color: #041E42 !important;
    width: 4px !important;
}

button.webchat__suggested-action {
    border: 1px solid #16417f !important;
    background-color: #16417f !important;
    color: #FFF !important;
    font-family: 'Scania Sans Semi Condensed', Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: bold !important;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    -ms-border-radius: 5px !important;
    -o-border-radius: 5px !important;
    border-radius: 5px !important;
}

@media (max-width: 450px) {
    .chatbot-container {
        width: 100%;
        height: 100%;
        max-height: 100%;
        right: 0px;
        bottom: 0px;
    }
}

@media (max-height: 590px) {
    .chatbot-container {
        height: 100%;
        max-height: 100%;
        min-height: 100%;
        bottom: 0;
    }
}
