#wtc-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
    /*overflow-y: scroll;*/
    max-height: 95%;
    font-family: Lexend, sans-serif;
}

#wtc-chat-header {
    background-color: rgb(121, 181, 201);
    color: white;
    padding: 10px;
    text-align: center;
}

#wtc-chat-body {
    height: 400px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f9f9f9;
}

#wtc-chat-footer {
    padding: 10px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

#wtc-chat-footer div small {
    padding-top: 10px;
}

#wtc-chat-input {
    flex-grow: 1;
    padding: 5px;
}

#wtc-send-btn {
    padding: 5px 10px;
    margin-left: 5px;
    background-color: rgb(121, 181, 201);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 20px;
}

#wtc-send-btn:hover {
    background-color: rgb(100, 160, 180);
}

#wtc-chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    /* Style your chat icon button as needed */
}

/* Add styles for the close button if needed */
#wtc-close-btn {
    color: white;
    font-weight: bold;
    display: flex;
    align-content: end;
    align-items: end;
    justify-content: end;
    justify-items: end;
}

.wtc-chatbot-message {
    box-sizing: border-box;
    padding: 0.5rem 1rem;
    margin: 1rem;
    background: #FFF;
    border-radius: 1.125rem 1.125rem 1.125rem 0;
    min-height: 2.25rem;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 75%;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.075), 0rem 1rem 1rem -1rem rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
}
.wtc-user-message {
    margin: 1rem 1rem 1rem auto;
    border-radius: 1.125rem 1.125rem 0 1.125rem;
    background: #333;
    color: white;
}

.wtc-user-message a {
    color: white;
}

.wtc-typing-indicator {
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    margin-right: 0rem;
    box-sizing: border-box;
    background: #ccc;
    border-radius: 50%;
}


.wtc-floating-chat {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: fixed;
    bottom: 10px;
    right: 10px;
    transform: translateY(70px);
    transition: all 250ms ease-out;
    opacity: 0;
    font-family: Lexend, sans-serif;
}
.wtc-floating-chat.enter:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    opacity: 1;
}
.wtc-floating-chat.enter {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 2px rgba(0, 0, 0, 0.14);
}
.wtc-floating-chat.expand {
    width: 250px;
    max-height: 400px;
    height: 400px;
    cursor: auto;
    opacity: 1;
}
.wtc-floating-chat :focus {
    outline: 0;
    box-shadow: 0 0 3pt 2pt rgba(14, 200, 121, 0.3);
}

.floating-wtc-chat-icon {
    background-color: rgb(100, 160, 180);
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 8px;
    border-radius: 5px;
    font-family: Lexend, sans-serif;
}

.wtc-chat-icon-text {
    margin: 10px 10px 10px 10px;
    font-family: Lexend, sans-serif;
}

.wtc-floating-chat:hover, .wtc-floating-chat:hover .floating-wtc-chat-icon {
    background-color: rgb(121, 181, 201);
}

.wtc_chatbot_lead_form {
    background-color: white;
    border: 1px solid #f5f5f5;
    padding: 14px;
    border-radius: 20px
}

.wtc_chatbot_lead_form_input {
    font-size: 16px;
    width: 100%;
    display: block;
    color: #242424;
    background-color: transparent;
    border: 1px solid #f5f5f5;
    border-radius: 5px;
    -webkit-appearance: none;
    /*height: 35px;*/
    padding: 4px 4px 4px 5px;
    font-family: Lexend, sans-serif;
}

.wtc_chatbot_lead_form_error_span {
    color: red;
}

.wtc_chatbot_lead_form_send_button {
    font-family: Lexend, sans-serif;
    font-style: normal;
    font-weight: 400;
    display: inline-block;
    padding: 8px 25px;
    font-size: 16px;
    line-height: 2;
    cursor: pointer;
    border: 0;
    border-radius: 5px;
    -webkit-appearance: none;
    color: #fff;
    background: #79b5c9;
}

.wtc_chatbot_lead_form_send_button:hover {
    background-color: rgb(100, 160, 180);
}

#wtc-chat-bubble {
    position: fixed;
    bottom: 110px;
    right: 30px;
    cursor:pointer;
    font-family: Lexend, sans-serif;
}

.wtc-form-group {
    display: flex;
    align-items: center;
    margin: 10px 0 20px 0;
    border-radius: 10px;
}
.wtc-form-group>label{
    padding-left: 5px;
    padding-right: 5px;
    position:relative;
    top:-20px;
    left:20px;
    background-color:white;
}

.wtc-form-group>input{
    border:none;
    border: 1px solid #e5e5e5;
    margin-left: 3px;
}

.wtc-header {
    margin-bottom: 0px;
    margin-top: 0px;
    color: #fff;
    font-size: 1.5em;
    line-height: 1;
    letter-spacing: normal;
}

/*
LOADING INDICATOR
 */

.tiblock {
    align-items: center;
    display: flex;
    height: 17px;
}

.ticontainer .tidot {
    background-color: #90949c;
}

.tidot {
    -webkit-animation: mercuryTypingAnimation 1.5s infinite ease-in-out;
    border-radius: 2px;
    display: inline-block;
    height: 4px;
    margin-right: 2px;
    width: 4px;
}

@-webkit-keyframes mercuryTypingAnimation{
    0%{
        -webkit-transform:translateY(0px)
    }
    28%{
        -webkit-transform:translateY(-5px)
    }
    44%{
        -webkit-transform:translateY(0px)
    }
}

.tidot:nth-child(1){
    -webkit-animation-delay:200ms;
}
.tidot:nth-child(2){
    -webkit-animation-delay:300ms;
}
.tidot:nth-child(3){
    -webkit-animation-delay:400ms;
}

[speech-bubble], [speech-bubble] * { box-sizing: border-box }

[speech-bubble]{
    --bbColor: grey;
    --bbArrowSize: 1.5rem;
    --bbBorderRadius: 0.25rem;
    --bbPadding: 1rem;
    background: var(--bbColor);
    border-radius: var(--bbBorderRadius);
    padding: var(--bbPadding);
    position: relative;
}

[speech-bubble]::before{
    content: '';
    position: absolute;
    background: var(--bbColor);
}

[speech-bubble][pbottom]{ margin-bottom: var(--bbArrowSize) }
[speech-bubble][ptop]   { margin-top: var(--bbArrowSize); }
[speech-bubble][pleft]  { margin-left: var(--bbArrowSize); }
[speech-bubble][pright] { margin-right: var(--bbArrowSize); }


/* bottom and top  */
[speech-bubble][pbottom]::before,
[speech-bubble][ptop]::before{
    --width: calc(var(--bbArrowSize) / 2 * 3);
    height: var(--bbArrowSize);
    width: var(--width);
}

/* bottom */
[speech-bubble][pbottom]::before{
    top: calc(100% - 2px);
}
[speech-bubble][pbottom][aleft]::before{
    left: 1rem;
    clip-path: polygon(25% 0, 100% 0, 0% 100%)
}
[speech-bubble][pbottom][acenter]::before{
    left: calc(50% - var(--width) / 2);
    clip-path: polygon(12.5% 0, 87.5% 0, 50% 100%)
}
[speech-bubble][pbottom][aright]::before{
    right: 1rem;
    clip-path: polygon(0 0, 75% 0, 100% 100%)
}

/* top */
[speech-bubble][ptop]::before{
    bottom: calc(100% - 2px);
}
[speech-bubble][ptop][aleft]::before{
    left: var(--bbPadding);
    clip-path: polygon(0 0, 100% 100%, 25% 100%)
}
[speech-bubble][ptop][acenter]::before{
    left: calc(50% - var(--width) / 2);
    clip-path: polygon(12.5% 100%, 50% 0, 87.5% 100%)
}
[speech-bubble][ptop][aright]::before{
    right: var(--bbPadding);
    clip-path: polygon(0 100%, 100% 0, 75% 100%)
}

/* left and right  */
[speech-bubble][pleft]::before,
[speech-bubble][pright]::before{
    --height: calc(var(--bbArrowSize) / 2 * 3);
    width: var(--bbArrowSize);
    height: var(--height);
}

/* right */
[speech-bubble][pright]::before{
    left: calc(100% - 2px);
}
[speech-bubble][pright][atop]::before{
    top: var(--bbPadding);
    clip-path: polygon(100% 0, 0 100%, 0 25%)
}
[speech-bubble][pright][acenter]::before{
    top: calc(50% - var(--height) / 2);
    clip-path: polygon(0 12.5%, 100% 50%, 0 87.5%)
}
[speech-bubble][pright][abottom]::before{
    bottom: var(--bbPadding);
    clip-path: polygon(0 0, 100% 100%, 0 75%)
}

/* left */
[speech-bubble][pleft]::before{
    right: calc(100% - 2px);
}
[speech-bubble][pleft][atop]::before{
    top: var(--bbPadding);
    clip-path: polygon(0 0, 100% 25%, 100% 100%)
}
[speech-bubble][pleft][acenter]::before{
    top: calc(50% - var(--height) / 2);
    clip-path: polygon(0 50%, 100% 12.5%, 100% 87.5%);
}
[speech-bubble][pleft][abottom]::before{
    bottom: var(--bbPadding);
    clip-path: polygon(0 100%, 100% 0, 100% 75%)
}

/* flip */
[speech-bubble][pbottom][flip]::before,
[speech-bubble][ptop][flip]::before{
    transform: scaleX(-1)
}
[speech-bubble][pleft][flip]::before,
[speech-bubble][pright][flip]::before{
    transform: scaleY(-1)
}

[speech-bubble][pbottom][aleft]   {grid-area: bl}
[speech-bubble][pbottom][acenter] {grid-area: bc}
[speech-bubble][pbottom][aright]  {grid-area: br}

[speech-bubble][pright][atop]     {grid-area: rt}
[speech-bubble][pright][acenter]  {grid-area: rc}
[speech-bubble][pright][abottom]  {grid-area: rb}

[speech-bubble][pleft][atop]      {grid-area: lt}
[speech-bubble][pleft][acenter]   {grid-area: lc}
[speech-bubble][pleft][abottom]   {grid-area: lb}

[speech-bubble][ptop][aleft]      {grid-area: tl}
[speech-bubble][ptop][acenter]    {grid-area: tc}
[speech-bubble][ptop][aright]     {grid-area: tr}

[speech-bubble][pbottom],
[speech-bubble][ptop]{margin: 0}


.clear-both:after {
    clear:both;
}

.wtc-subheader {
    font-size: 0.9em;
}

.wtc-small-disclaimer {
    text-align: center;
    font-size: 0.4em;
    color: #3a3a3a;
    margin-top: 6px;
}

.wtc-contact-form-header {
    font-size: 0.9em;
    margin-top: 0;
}

/* TABLET */
@media (max-width: 750px) {
    #wtc-chat-widget {
        width: 400px;
        right: 10px;
    }
    .wtc-subheader {
        font-size: 0.8em;
    }

}

/* PHONE FIX */
@media (max-width: 650px) {
    #wtc-chat-bubble {
        bottom: 150px;
        display: none;
    }
}

/* PHONE */
@media (max-width: 450px) {
    #wtc-chat-widget {
        width: 350px;
        right: 10px;
    }
    .wtc-header {
        font-size: 1.3em;
    }
    .wtc-subheader {
        font-size: 0.8em;
    }
    #wtc-chat-icon {
        bottom: 65px;
    }
    #wtc-chat-bubble {
        bottom: 150px;
    }
}

@media (max-width: 400px) {
    #wtc-chat-widget {
        width: 320px;
        right: 5px;
    }
    #wtc-chat-icon {
        right: 5px;
    }
    #wtc-chat-bubble {
        right: 15px;
    }
    .wtc-header {
        font-size: 1.3em;
    }
    .wtc-subheader {
        font-size: 0.7em;
    }
}

@media (max-width: 350px) {
    #wtc-chat-widget {
        width: 300px;
        right: 5px;
    }
    #wtc-chat-icon {
        right: 5px;
    }
    #wtc-chat-bubble {
        right: 15px;
    }
    .wtc-header {
        font-size: 1.2em;
    }
    .wtc-subheader {
        font-size: 0.7em;
    }
}