﻿/*****************
    used on AI chatbot
***********************/
.btn-chatbot {
    background: var(--info-hover);
    color: var(--light);
    width: 56px;
    height: 56px;
    line-height: 56px;
    margin-right: -15px;
    border-radius: 40px;
    font-size: 22px;
    padding-top: 2px;
}
    .btn-chatbot:hover,
    .btn-chatbot:focus {
        background: var(--info);
        color: var(--light);
    }
    #chatbotModal .btn-enter {
        box-shadow: none;
        margin: 0;
        border: 1px solid #ccc;
    }

    #chatbotModal .btn-enter:focus,
    #chatbotModal .btn-enter:hover {
        box-shadow: none;
        margin: 0;
    }
#chatbotModal .modal-dialog {
    height: 90%;
}
/*#chatbotModal .modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px);
}*/
#chatbotModal .modal-body {
    max-width: 500px;
    height: 100%;
    min-height: 600px;
}

#chatbotModal .modal-content {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1050;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    /*width: 100%;*/
    max-width: 500px;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

#chatbotModal .modal-backdrop {
    /*make it so that they can read the page even while modal is open*/
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;    
    background-color: transparent;
}
body.modal-open {
    /*make it so that they can scroll page even while modal is open*/
    overflow: scroll !important;
}
/** styles targeting the iframe **/
#frmEventChatbot {
    height: 100%;
    width: 100%;
    min-height: 500px;
    max-height: 600px;
}
#pnlEventChatBotIFrame .scroll-container {
    display: flex;
    flex-direction: column-reverse;
    border: 1px solid #ccc;
    padding: 15px;
    height: 450px;
    background-color: #f9f9f9;
    overflow-y: scroll;
}

    .text-bubble {
        display: inline-block;
        border: 1px solid #eee;
        width: 70%;
        margin: 12px;
        padding: 8px 12px;
        background-color: #eef;
        border-color: #99f;
        border-radius: 0 20px 12px 20px;
    }


/*******not being used, but hope to impliment********/
.aibot { /*ai convo*/
    background-color: #eef;
    border-color: #99f;
    border-radius: 0 20px 12px 20px;
}

    .aibot::before {
        /* Set the font for this icon style */
        font-family: 'Font Awesome 6 Pro';
        /* Set the weight for this icon style */
        font-weight: 900;
        /* Make sure icons render pixel-perfect */
        -webkit-font-smoothing: antialiased;
        /* Set the Unicode value for the "fa-ghost" icon */
        content: '\e3b8 ';
        color: #99f;
    }

.paxquery { /*pax convo*/
    background-color: #efe;
    border-color: #9f9;
    border-radius: 12px 20px 0 20px;
    margin-left: 28%;
}

    .paxquery::before {
        /* Set the font for this icon style */
        font-family: 'Font Awesome 6 Pro';
        /* Set the weight for this icon style */
        font-weight: 900;
        /* Make sure icons render pixel-perfect */
        -webkit-font-smoothing: antialiased;
        /* Set the Unicode value for the "fa-ghost" icon */
        content: '\f27a ';
        color: #9f9;
    }