/* Button used to open the chat form - fixed at the bottom of the page */
.open-button {
    z-index: 1001;
    background-color: #009eda;
    color: white;
    padding: 6px 10px;
    opacity: 0.85;
    border: none;
    cursor: pointer;
    position: fixed;
    bottom: 5px;
    right: 52px;
    height: 37px;
    width: 120px;
    border-radius: 3px;
    border: 1px solid #fff;
}

/* The popup chat - hidden by default */
.chat-popup {
    display: none;
    position: fixed;
    width: 295px;
    height: 420px;
    bottom: 2px;
    right: 2px;
    border-radius: 3px;
    border: 1px solid #d9d9d9;
    background: #ffffff;
    z-index: 40;
}

/* Add styles to the form container */
.form-container {
    max-width: 300px;
    padding: 10px;
    background-color: #efefef;
    height: 375px;
}

/* Full-width textarea */
.form-container .textarea1 {
    width: 100%;
    padding: 5px;
    font-size: 12px;
    border: none;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    resize: none;
    height: 69px;
}

/* Full-width label */
.form-container .label1 {
    width: 100%;
    padding: 5px;
    font-size: 12px;
    border: none;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    resize: none;
}

/* Full-width textarea */
.form-container .textarea2 {
    display: inline;
    width: 80%;
    padding: 5px;
    font-size: 13px;
    margin: 0;
    border: none;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    resize: none;
    margin-top: 4px;
    height: 50px;
}

/* Set a style for the submit/send button */
.form-container .btn {
    background-color: #787a7a;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: 4px;
    height: 49px;
    opacity: 0.8;
}

/* Set a style for the submit/send button */
.form-container .btn2 {
    display: inline;
    float: right;
    background-color: #787a7a;
    color: white;
    border: none;
    cursor: pointer;
    width: 15%;
    margin-top: 4px;
    height: 49px;
    opacity: 0.8;
}

/* Set a style for the chat heading */
.form-container h1 {
    font-size: 18px;
    margin-bottom: 0px;
}

/* Set a style for the chat subheading */
.form-container h2 {
    margin-top: -6px;
    font-size: 8px;
    margin-bottom: 0px;
    font-style: italic;
}

/* Add a red background color to the cancel button */
.modal-body .cancel {
    position: absolute;
    background-color: red;
    width: auto;
    height: 35px;
    padding: 6px 10px;
    border: none;
    bottom: 3px;
    right: 170px;
    border-radius: 3px;
}

/* Add some hover effects to buttons */
.form-container .btn:hover,
.open-button:hover {
    opacity: 1;
}

.introduction-container {
    height: 264px;
    margin: 5px 0 5px 0;
}

.introduction-container label {
    margin-left: 1px;
}

.convo-container {
    position: relative;
    overflow-y: scroll;
    display: flex;
    flex-direction: column-reverse;
    height: 264px;
    margin: 15px 0 5px 0;
    font-size: 13px;
    padding-right: 10px;
    width: 100%;
}

.convo-container p {
    margin-bottom: 0px;
}

/* Chat containers */
.convo-container .container {
    border: 2px solid #dedede;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Darker chat container */
.convo-container .darker {
    border-color: #ccc;
    background-color: #ddd;
}

/* Clear floats */
.convo-container .container::after {
    content: "";
    clear: both;
    display: table;
}

/* Style time text */
.convo-container .time-right {
    float: right;
    color: #aaa;
}

/* Style time text */
.convo-container .time-left {
    float: left;
    color: #999;
}

.grecaptcha-badge {
    width: 70px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    left: 4px !important;
}

.grecaptcha-badge:hover {
    width: 256px !important;
}

.temp-msg {
    opacity: 0.5;
}

.hide {
    display: none;
}

.status-icon {
    position: absolute;
    height: 1.5rem;
    top: -0.5rem;
    left: -0.5rem;
}