/*---------------------------------------------------------------*/
/*----------------------------- Admin ---------------------------*/
/*---------------------------------------------------------------*/

.kuad-chatbot-chats-item-chatLog 
{
    color: #fff;
}

.kuad-chatbot-chats-item-chatLog-chatmsg-bot,
.kuad-chatbot-chats-item-chatLog-chatmsg-user,
.kuad-chatbot-chats-item-chatLog-chatmsg-new 
{
    padding: 10px;
    background-color: transparent;
    margin-bottom: 10px;
    position: relative;
    color: #666666;
}

.kuad-chatbot-chats-item-chatLog-chatmsg-bot
{

}

.kuad-chatbot-chats-item-chatLog-chatmsg-user 
{
    background-color: transparent;
}

.kuad-chatbot-chats-item-chatLog-chatmsg-new 
{
    background-color: rgb(37, 0, 202);
}

.kuad-chatbot-chats-item-chatLog-chat-name 
{

}

.kuad-chatbot-chats-item-chatLog-chat-text 
{
    margin-top: 15px;
    border-radius: 25px;
    background-color: #F7F7F7;
    padding: 15px 25px;
    border: 2px solid #CAC8D2;
}

.kuad-chatbot-chats-item-chatLog-chatmsg-bot .kuad-chatbot-chats-item-chatLog-chat-text 
{
    border-color: #EEEEEE;
}

.kuad-chatbot-chats-item-chatLog-chat-time 
{
    position: absolute;
    right: 10px;
    top: 10px;
}

.pagenow-toplevel_page_kuad-chatbot .ks-global-inputs-system-stats-interactions-total 
{
    /*display: none;*/
}

.pagenow-toplevel_page_kuad-chatbot .ks-global-inputs-system-stats-interactions-average 
{
    /*display: none;*/
}

/*---------------------------------------------------------------*/
/*---------------------------- Public ---------------------------*/
/*---------------------------------------------------------------*/
#kuad-chatbot-public
{
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
}

.kuad-chatbot-public-wrapper 
{
    position: fixed;
    top: 0;
    left: 0;
}

.kuad-chatbot-public-wrapper-button-show 
{
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    /* background: #6200C7; */
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.kuad-chatbot-public-wrapper-button-show-icon 
{
    /* background: url(../images/customer-support.png) no-repeat; */
    background-size: contain;
    width: 100%;
    height: 100%;
    display: inline-block;
    border-radius: 100px;
}

.kuad-chatbot-public-wrapper-button-show-alert-message 
{
    background-color: #fff;
    position: absolute;
    right: 70px;
    bottom: 30px;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    width: max-content;
    box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 30%);
    opacity: 1;
    transform: scale(1);
    transition: all 1s;
    color: #333 !important;
}

.kuad-chatbot-public-wrapper-button-show-alert-message-hide 
{
    opacity: 0;
    right: -250%;
    bottom: 0px;
    transform: scale(0);
}

.kuad-chatbot-public-wrapper-container
{
    width: 95%;
    max-width: 360px;
    background: #F2F2F2;
    display: none;
    position: fixed;
    right: 25px;
    bottom: 100px;
    box-sizing: border-box;
    border-radius: 10px;
    border: none;
    height: 600px;
}

.kuad-chatbot-public-wrapper-header 
{
    background: #FFFFFF;
    color: #fff;
    padding: 10px 20px;
    box-sizing: border-box;
    border-radius: 5px 5px 5px 5px;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0px 2px 8px #B7BBBF;
    height: 14%;
}

.kuad-chatbot-public-wrapper-header-bot-name
{
    color: #353535 !important;
    font-weight: 600;
    font-size: 15px;
}

.kuad-chatbot-public-wrapper-header-bot-status 
{
    color: #666666 !important;
    font-size: 9px;
}

.kuad-chatbot-public-wrapper-header-bot-status:before
{
    content: "";
    width: 8px;
    height: 8px;
    background: #579F52;
    position: relative;
    right: 0;
    display: inline-block;
    border-radius: 50px;
    margin-right: 5px;
}

.kuad-chatbot-public-wrapper-header-bot-avatar 
{
    background: url(../images/bot_avatar.png) no-repeat;
    background-size: contain;
    width: 55px;
    min-width: 55px;
    height: 55px;
    min-height: 55px;
    display: inline-block;
}

.kuad-chatbot-public-wrapper-header-button-close,
.kuad-chatbot-public-contact-us-popup-close-button 
{
    background: url(../images/chatbot_icon_close.png) no-repeat;
    background-size: contain;
    position: absolute;
    width: 16px;
    height: 16px;
    right: 20px;
    top: 50%;
    cursor: pointer;
    font-size: 20px;
    transform: translateY(-50%);
}

.kuad-chatbot-public-wrapper-content
{
    padding: 30px 10px;
    box-sizing: border-box;
    overflow: hidden;
    overflow-y: scroll;
    height: 72%;
}

.kuad-chatbot-public-wrapper-content-chat-a,
.kuad-chatbot-public-wrapper-content-chat-b 
{
    background-color: #2A1B4A;
    border-radius: 15px;
    margin-bottom: 25px;
    padding: 15px 20px;
    width: auto;
    min-width: 75px;
    display: inline-block;
    position: relative;
}

.kuad-chatbot-public-wrapper-content-chat-a
{
    margin-right: 35px;
    margin-left: 35px;
    border-radius: 0 15px 15px 15px;
    float: left;
    clear: both;
}

.kuad-chatbot-public-wrapper-content-chat-a:before 
{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -17px;
    right: auto;
    top: 0;
    bottom: auto;
    border: 12px solid;
    border-color: #2A194C #2A194C transparent transparent;
}

.kuad-chatbot-public-wrapper-content-chat-b
{
    background-color: #DCDCDC;
    margin-right: 35px;
    margin-left: 35px;
    float: right;
    clear: both;
    border-radius: 15px 0 15px 15px;
}

.kuad-chatbot-public-wrapper-content-chat-b:before 
{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: -20px;
    top: 0;
    bottom: auto;
    border: 12px solid;
    border-color: #DCDCDC transparent transparent #DCDCDC;
}

.kuad-chatbot-public-wrapper-content-chat-name 
{
    color: #ffffff;
    display: none;
    margin-bottom: 5px;
    font-weight: bold;
    word-break: break-all;
}

.kuad-chatbot-public-wrapper-content-chat-text
{
    color: #ffffff !important;
    word-break: break-word;
}

.kuad-chatbot-public-wrapper-content-chat-button 
{
    width: auto;
    height: 40px;
    margin: 0 35px 20px 35px;
    padding: 0 15px;
    background: #CB507F;
    color: #ffffff !important;
    line-height: 40px;
    font-weight: 700;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    clear: both;
}

.kuad-chatbot-public-wrapper-content-chat-b .kuad-chatbot-public-wrapper-content-chat-name 
{
    text-align: right;
}

.kuad-chatbot-public-wrapper-content-chat-b .kuad-chatbot-public-wrapper-content-chat-text
{
    text-align: right;
    color: #000000 !important;
}

.kuad-chatbot-public-wrapper-content-chat-typing 
{
    font-size: 25px;
    text-align: right;
    display: block;
    clear: both;
    color: #333 !important;
}

.kuad-chatbot-public-wrapper-chat-input 
{
    background: #FFFFFF;
    color: #fff;
    padding: 10px 20px 10px 20px;
    box-sizing: border-box;
    position: relative;
    height: 8%;
}

.kuad-chatbot-public-wrapper-chat-input input
{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 25px 0 0;
    background: #FFFFFF;
    border: none;
    color: #333;
    font-weight: 600;
    box-shadow: none;
}

.kuad-chatbot-public-wrapper-chat-input input::placeholder 
{
    color: #B3B3B3;
    background: none;
    border: none;
    outline: 0;
}

.kuad-chatbot-public-wrapper-chat-input input:hover,
.kuad-chatbot-public-wrapper-chat-input input:focus 
{
    margin: 0;
    padding: 0 25px 0 0;
    background: none;
    border: none;
    outline: 0;
    box-shadow: none;
}

.kuad-chatbot-public-wrapper-chat-input-send
{
    background: url(../images/chatbot_icon_send.png) no-repeat;
    background-size: contain;
    width: 16px;
    height: 16px;
    display: inline-block;
    box-shadow: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}


.kuad-chatbot-public-wrapper-footer
{
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    background: #F2F2F2;
    color: #999999 !important;
    font-weight: 600;
    font-size: 10px;
    min-height: 38px;
    height: 5%;
}

.kuad-chatbot-public-wrapper-footer-kuadsystem 
{
    color: #D65489 !important;
    font-weight: 700;
    font-size: 12px;
    display: inline-block;
}

.kuad-chatbot-public-wrapper-footer-kuadsystem:hover,
.kuad-chatbot-public-wrapper-footer-kuadsystem:focus
{
    color: #690629;
}


/* Conversation rate */
.kuad-chatbot-public-conversation-rate-popup,
.kuad-chatbot-public-conversation-end-popup,
.kuad-chatbot-public-contact-us-popup 
{
    background-color: rgba(0,0,0,0.25);
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.kuad-chatbot-public-conversation-rate-popup-container,
.kuad-chatbot-public-conversation-end-popup-container,
.kuad-chatbot-public-contact-us-popup-container  
{
    background-color: #ffffff;
    border-radius: 10px;
    width: 300px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    box-sizing: border-box;
    color: #333 !important;
    font-size: 14px;
}

.kuad-chatbot-public-conversation-rate-popup-container .ks-text-align-center,
.kuad-chatbot-public-contact-us-popup-container .ks-text-align-center,
.kuad-chatbot-public-contact-us-popup-container .kuad-chatbot-public-contact-us-popup-web-cliente,
.kuad-chatbot-public-conversation-end-popup-container div
{
    color: #333 !important;
}

.kuad-chatbot-public-rate-bad,
.kuad-chatbot-public-rate-regular,
.kuad-chatbot-public-rate-good
{
    background: url(../images/chatbot_icon_send.png) no-repeat;
    background-size: contain;
    width: 49px;
    height: 49px;
    display: inline-block;
    cursor: pointer;
    margin: 0 5px;
}

.kuad-chatbot-public-rate-bad
{
    background: url(../images/chatbot_review_bad.png) no-repeat;
}

.kuad-chatbot-public-rate-bad-selected
{
    background: url(../images/chatbot_review_bad_hover.png) no-repeat;
}


.kuad-chatbot-public-rate-regular
{
    background: url(../images/chatbot_review_soso.png) no-repeat;
}

.kuad-chatbot-public-rate-regular-selected
{
    background: url(../images/chatbot_review_soso_hover.png) no-repeat;
}

.kuad-chatbot-public-rate-good
{
    background: url(../images/chatbot_review_good.png) no-repeat;
}

.kuad-chatbot-public-rate-good-selected
{
    background: url(../images/chatbot_review_good_hover.png) no-repeat;
}


.kuad-chatbot-public-conversation-rate-popup textarea 
{
    padding: 10px;
    width: 100%;
    resize: none;
}

.kuad-chatbot-public-conversation-rate-popup-send-button,
.kuad-chatbot-public-conversation-end-popup-close-button,
.kuad-chatbot-public-contact-us-popup-button
{
    width: 90px;
    height: 30px;
    margin: 0 auto;
    background: #CB507F;
    color: #ffffff !important;
    line-height: 30px;
    font-weight: 700;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
}

.kuad-chatbot-public-conversation-rate-popup-send-button:hover,
.kuad-chatbot-public-conversation-end-popup-close-button:hover,
.kuad-chatbot-public-contact-us-popup-button:hover 
{
    color: #F0F2F8 !important;
}

/* Conversation End */
.kuad-chatbot-public-conversation-end-popup 
{
  
}

.kuad-chatbot-public-conversation-end-popup-container 
{
    height: 180px;
    width: 305px;
}

.kuad-chatbot-public-conversation-end-popup-container .kuad-chatbot-public-wrapper-header-button-close 
{
    top: 15px;
    right: 7px;
    transition: none;
}

.kuad-chatbot-public-conversation-end-popup-close-button 
{
    width: 115px;
}

/* Contact Us */
.kuad-chatbot-public-contact-us-popup 
{
    
}

.kuad-chatbot-public-contact-us-popup-container 
{
    width: 285px;
    height: auto;
    padding: 40px 20px 20px 20px;
}

.kuad-chatbot-public-contact-us-popup-close-button 
{
    right: 20px;
    top: 20px;
    transform: none;
}

.kuad-chatbot-public-contact-us-popup-web-cliente 
{
    display: inline;
}

.kuad-chatbot-public-contact-us-popup-kuadsystem 
{
    color: #E35787 !important;
    font-weight: 700;
    display: inline;
}

.kuad-chatbot-public-contact-us-popup-button 
{
    margin: 0 auto;
    display: block;
    width: 115px;
}

.kuad-chatbot-public-contact-us-popup-show 
{
    cursor: pointer;
}

/*---- Low Desktop ----*/
@media only screen and (max-width: 1366px)  
{
    .kuad-chatbot-public-wrapper-container 
    {
        height: 500px;
    }

    .kuad-chatbot-public-wrapper-header 
    {
        height: 18%;
    }
}

/*---- Mobile ----*/
@media only screen and (max-width: 720px)  
{
    .kuad-chatbot-public-wrapper 
    {

    }

    .kuad-chatbot-public-wrapper-button-show 
    {

    }

    .kuad-chatbot-public-wrapper-header 
    {
        min-height: 12%;
        height: 12%;
    }

    .kuad-chatbot-public-wrapper-container
    {
        bottom: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        right: 0;
    }

    .kuad-chatbot-public-wrapper-content 
    {
        height: 72%;
    }

    .kuad-chatbot-public-wrapper-chat-input 
    {
        min-height: 48px;
    }

    .kuad-chatbot-public-wrapper-button-show-alert-message 
    {
        right: 0;
        bottom: 70px;
        max-width: 225px;
    }

    .kuad-chatbot-public-wrapper-button-show-alert-message-hide 
    {
        right: -100%;
        bottom: 0px;
    }
}