﻿
/* Button used to open the chat form - fixed at the bottom of the page */
.chatopen-button {
    background-color: #4CAF50;
    color: #FFFFFF;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 16px;
    border-radius: 5px;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    position: fixed;
    bottom: 23px;
    right: 28px;
    width: 195px;
    z-index: 8;
}

.chat_text {
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    padding-top: 6px;
    padding-bottom: 7px;
    padding-left: 5px;
    padding-right: 5px;
    height: 40px;
    resize: none;
    width: 90%;
    margin: 5px 0 22px 0;
    overflow-y: scroll;
    overflow: hidden;
    border-right: 0 !important;
    border-radius: 4px 0px 0px 4px !important;
}

    .chat_text:focus {
        background-color: #ddd;
        outline: none;
    }

.postboxchatflex {
    display: flex;
    justify-content: flex-start;
}

    .postboxchatflex .postboxchat {
        height: 40px;
        width: 10%;
        font-family: "Roboto", sans-serif;
        font-size: 24px;
        color: #FFFFFF;
        border-left: 0;
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 1px;
        padding-bottom: 7px;
        border-radius: 0px 4px 4px 0px;
        border-width: 1px;
        margin: 5px 0 22px 0;
        background-color: #4CAF50;
        font-weight: 800;
        text-align: center;
        vertical-align: middle;
    }

        .postboxchatflex .postboxchat:focus {
            border-left: 0;
            border-width: 1px;
            border: none;
        }

/* The popup chat - hidden by default */
.chat-popup {
    display: none;
    position: fixed;
    bottom: 0;
    right: 15px;
    border: 3px solid #ffc107;
    z-index: 9;
    border-radius: 5px;
}

/* Add styles to the form container */
.chatform-container {
    max-width: 300px;
    padding: 10px;
    background-color: white;
}

.chatform-container-enlarge {
    max-width: 100%;
    padding: 10px;
    background-color: white;
}


/* Add a red background color to the cancel button */
.chatcancel-button {
    background-color: red;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 290px;
    margin-bottom: 10px;
    opacity: 0.8;
    border-radius: 5px;
}

    /* Add some hover effects to buttons */
    .chatcancel-button:hover, .chatopen-button:hover {
        opacity: 1;
    }

.chatquestionarea {
    min-width: 250px;
    margin-left: 10px;
    margin-right: 10px;
}

.chatquestion {
    border: 2px solid #ffcc19;
    padding: 5px;
    margin-top: 12px;
    margin-bottom: 10px;
    margin-right: 2%;
    margin-left: 2%;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    border-radius: 0px 9px 9px 9px;
    background-color: #FFFFFF;
}

.chatresponse {
    border: 2px solid #4CAF50;
    padding: 5px;
    margin-top: 12px;
    margin-bottom: 10px;
    margin-right: 2%;
    margin-left: 2%;
    border-radius: 9px 9px 0px 9px;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    background-color: #f2f2f2;
}

.chatfullscreen {
    z-index: 9999;
    width: 91%;
    height: 97%;
    position: fixed;
    top: 20px;
    left: 20px;
}

.chatresultarea {
    overflow-y: auto;
    width: 100%;
    padding: 8px 8px;
    height: 307px;
}

.chatresultareafullscreen {
    height: 300px;
}

.chatresultcontainer {
    min-width: 250px;
    overflow: hidden;
    border: 0px solid;
    border-radius: 5px;
    margin-left: 10px;
    margin-right: 10px;
    background-color: #ddd
}

.chatwait {
    display: none;
    min-width: 250px;
    overflow: hidden;
    border: 0px solid;
    border-radius: 5px;
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 10px;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.closechatarea {
    min-width: 250px;
    margin-left: 10px;
    margin-right: 10px;
}

.chatexpandcollapse {
    border: none;
    background: #ddd;
}
