.body {
    margin: 0;
}

@font-face {
    font-family: "Averta-ExtraBold";
    src: url("./asset/fonts/averta-extrabold-webfont.woff") format("woff");
}

@font-face {
    font-family: "Averta-Regular";
    src: url("./asset/fonts/averta-regular-webfont.woff") format("woff");
}

:root {
    --f9-chat-title-color: #ffffff;
    --f9-chat-title-background-color: #05467c;
    --f9-chat-chat-background-color: #ffffff;
    --f9-chat-agent-text-color: #000000;
    --f9-chat-agent-bubble-color: #f4f7f2;
    --f9-chat-customer-text-color: #ffffff;
    --f9-chat-customer-bubble-color: #05467c;
    --f9-chat-welcome-text-color: #000000;
    --f9-chat-welcome-bubble-color: #f4f7f2;
    --f9-chat-input-text-color: #000000;
    --f9-chat-input-background-color: #ffffff;
    --f9-chat-quick-button-text-color: #ffffff;
    --f9-chat-quick-button-background-color: #05467c;
    --f9-chat-button-text-color: #ffffff;
    --f9-chat-button-background-color: #05467c;
    --f9-chat-mini-form-label-color: #000000;
    --f9-chat-mini-form-text-color: #000000;
    --f9-chat-mini-form-text-input-color: #000000;
    --f9-chat-mini-form-background-color: #ffffff;
    --f9-chat-mini-form-submit-color: #000000;
    --f9-chat-mini-form-submit-background-color: #ffffff;
    --f9-chat-survey-rating-color: #7b68ee;
}

.rcw-new-message::placeholder {
    color: #CBCBCB;
}

.rcw-conversation-container .rcw-title {
    font-size: 39px;
    margin: 10px;
    padding: 15px 0;
    display: none;
}

.rcw-conversation-container .rcw-header {
    color: var(--f9-chat-title-color);
    background-color: var(--f9-chat-title-background-color);
    border-radius: 25px 25px 0 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center !important;
    padding: 10px 0 10px !important;
    font-family: "Averta-ExtraBold", serif;
    height: 30px;
    align-items: center;
    justify-content: center;
}

.rcw-conversation-container .rcw-title {
    font-size: 24px;
    margin: 0;
    padding: 15px 0
}

.rcw-conversation-container .rcw-close-button {
    display: none
}

.rcw-conversation-container .avatar {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    margin-right: 10px;
    vertical-align: middle
}

.rcw-full-screen .rcw-header {
    border-radius: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: relative
}

.rcw-full-screen .rcw-title {
    padding: 0 0 15px
}

.rcw-full-screen .rcw-close-button {
    background-color: var(--f9-chat-title-background-color);
    border: 0;
    display: block;
    position: absolute;
    right: 10px;
    top: 20px;
    width: 40px
}

.rcw-full-screen .rcw-close {
    width: 20px;
    height: 20px
}

@media screen and (max-width:100px) {
    .rcw-conversation-container .rcw-header {
        border-radius: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        position: relative
    }
    .rcw-conversation-container .rcw-title {
        padding: 0 0 15px
    }
    .rcw-conversation-container .rcw-close-button {
        background-color: var(--f9-chat-title-background-color);
        border: 0;
        display: block;
        position: absolute;
        right: 10px;
        top: 20px;
        width: 40px
    }
    .rcw-conversation-container .rcw-close {
        width: 20px;
        height: 20px
    }
}

.rcw-message {
    margin: 10px 30px;
    display: -ms-flexbox;
    display: flex;
    word-wrap: break-word
}

.rcw-timestamp {
    font-size: 10px;
    margin-top: 5px
}

.rcw-client {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-left: auto;
    max-width: 60%;
    width: fit-content;
}

.rcw-client .rcw-message-text {
    background-color: var(--f9-chat-customer-bubble-color);
    color: var(--f9-chat-customer-text-color);
    border-radius: 15px 15px 0 15px;
    padding: 15px;
    max-width: 100% !important;
    text-align: left
}

.rcw-client .rcw-timestamp {
    -ms-flex-item-align: end;
    align-self: flex-end;
    /* margin-right: 15px */
}

.rcw-response {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-bottom: 10px
}

.rcw-response .rcw-message-text {
    background-color: var(--f9-chat-agent-bubble-color);
    color: var(--f9-chat-agent-text-color);
    border-radius: 15px 15px 15px 0;
    padding: 15px;
    max-width: 60% !important;
    text-align: left
}

.rcw-welcome {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-bottom: 10px
}

.rcw-welcome .rcw-message-text {
    background-color: var(--f9-chat-welcome-bubble-color);
    color: var(--f9-chat-welcome-text-color);
    border-radius: 15px 15px 15px 0;
    padding: 15px;
    max-width: 100%;
    text-align: left
}

.rcw-message-text p {
    margin: 0
}

.rcw-message-text img {
    width: 100%;
    object-fit: contain
}

.rcw-message-text {
    font-size: 14px;
    font-family: "Averta-Regular", serif
}

.rcw-avatar {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    margin-right: 10px
}

.rcw-snippet {
    background-color: var(--f9-chat-agent-text-color);
    border-radius: 10px;
    padding: 15px;
    max-width: 215px;
    text-align: left
}

.rcw-snippet-title {
    margin: 0
}

.rcw-snippet-details {
    border-left: 2px solid #35e65d;
    margin-top: 5px;
    padding-left: 10px
}

.rcw-link {
    font-size: 12px
}

.quick-button {
    color: var(--f9-chat-quick-button-text-color);
    background: none;
    border-radius: 15px;
    border: 2px solid var(--f9-chat-quick-button-text-color);
    font-weight: 700;
    padding: 5px 10px;
    cursor: pointer;
    outline: 0
}

.quick-button:active {
    background: var(--f9-chat-title-background-color);
    color: #fff
}

.loader {
    margin-left: 30px;
    display: none
}

.loader.active {
    display: -ms-flexbox;
    display: flex
}

.loader-container {
    background-color: var(--f9-chat-agent-bubble-color);
    border-radius: 10px;
    padding: 15px;
    max-width: 215px;
    text-align: left
}

.loader-dots {
    display: inline-block;
    height: 4px;
    width: 4px;
    border-radius: 50%;
    background: var(--f9-chat-agent-text-color);
    margin-right: 2px;
    animation: a .5s ease infinite alternate
}

.loader-dots:first-child {
    animation-delay: .2s
}

.loader-dots:nth-child(2) {
    animation-delay: .3s
}

.loader-dots:nth-child(3) {
    animation-delay: .4s
}

@keyframes a {
    0% {
        transform: translateY(0)
    }
    to {
        transform: translateY(5px)
    }
}

.rcw-messages-container {
    background-color: var(--f9-chat-chat-background-color);
    height: 100vh;
    max-height: 1000px;
    overflow-y: scroll;
    padding-top: 0;
    border-bottom: 1px solid var(--f9-chat-title-background-color);
}

.rcw-full-screen .rcw-messages-container {
    height: 100%;
    max-height: none
}

@media screen and (max-width:10px) {
    .rcw-messages-container {
        height: 100%;
        max-height: none
    }
}

.rcw-sender {
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    background-color: var(--f9-chat-input-background-color);
    height: 65px;
    padding: 5px;
    border-radius: 0 0 25px 25px;
    border-top-color: #903f3f;
}

.rcw-sender.expand { /* How does this get triggered */
    height: 65px
}

.rcw-new-message {
    width: 100%;
    border: 0;
    height: 30px;
    padding-left: 20px;
    resize: none;
    color: var(--f9-chat-input-text-color);
    font-family: "Averta-Regular", serif;
    font-size: 14px;
    background-color: transparent
}

.rcw-new-message:focus {
    outline: none
}

.rcw-new-message.expand {
    height: 40px
}

.rcw-send {
    background: var(--f9-chat-input-background-color);
    border: 0;
}

.rcw-send .rcw-send-icon {
    height: 25px
}

@media screen and (max-width:10px) {
    .rcw-sender {
        border-radius: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0
    }
}

.quick-buttons-container {
    background: var(--f9-chat-quick-button-background-color);
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px
}

.quick-buttons-container .quick-buttons {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center
}

.quick-buttons-container .quick-buttons .quick-list-button {
    display: inline-block;
    margin-right: 10px
}

@media screen and (max-width:800px) {
    .quick-buttons-container {
        height: 42px;
    }
}

.rcw-conversation-container {
    border-radius: 25px;
    box-shadow: 0 2px 10px 1px #b5b5b5
}

.rcw-conversation-container.active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .3s ease, transform .3s ease
}

.rcw-conversation-container.hidden {
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease
}

.rcw-full-screen .rcw-conversation-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%
}

@media screen and (max-width:800px) {
    .rcw-conversation-container {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        height: 100%
    }
}

.rcw-launcher .rcw-badge {
    position: fixed;
    top: -10px;
    right: -5px;
    background-color: red;
    color: #fff;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    border-radius: 50%
}

.rcw-launcher {
    display: none !important;
    -webkit-animation-delay: 0;
    -webkit-animation-duration: .5s;
    -webkit-animation-name: d;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-delay: 0;
    -moz-animation-duration: .5s;
    -moz-animation-name: d;
    -moz-animation-fill-mode: forwards;
    animation-delay: 0;
    animation-duration: .5s;
    animation-name: d;
    animation-fill-mode: forwards;
    -ms-flex-item-align: end;
    align-self: flex-end;
    background-color: transparent;
    border: 0;
    height: 60px;
    margin-top: 10px;
    cursor: pointer;
    width: 60px;
}

.rcw-launcher:focus {
    outline: none
}

.rcw-open-launcher {
    -webkit-animation-delay: 0;
    -webkit-animation-duration: .5s;
    -webkit-animation-name: c;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-delay: 0;
    -moz-animation-duration: .5s;
    -moz-animation-name: c;
    -moz-animation-fill-mode: forwards;
    animation-delay: 0;
    animation-duration: .5s;
    animation-name: c;
    animation-fill-mode: forwards
}

.rcw-close-launcher {
    width: 20px;
    -webkit-animation-delay: 0;
    -webkit-animation-duration: .5s;
    -webkit-animation-name: b;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-delay: 0;
    -moz-animation-duration: .5s;
    -moz-animation-name: b;
    -moz-animation-fill-mode: forwards;
    animation-delay: 0;
    animation-duration: .5s;
    animation-name: b;
    animation-fill-mode: forwards
}

@media screen and (max-width:800px) {
    .rcw-launcher {
        bottom: -2px;
        margin: 20px;
        position: fixed;
        /* right: 20px; */
    }
    .rcw-hide-sm {
        display: none
    }
}

.rcw-previewer-container {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    position: fixed;
    left: 0;
    top: 0
}

.rcw-previewer-container .rcw-previewer-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    transition: all .3s ease
}

.rcw-previewer-container .rcw-previewer-tools {
    position: fixed;
    right: 16px;
    bottom: 16px;
    -ms-flex-direction: column;
    flex-direction: column
}

.rcw-previewer-container .rcw-previewer-button,
.rcw-previewer-container .rcw-previewer-tools {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center
}

.rcw-previewer-container .rcw-previewer-button {
    padding: 0;
    margin: 16px;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, .3);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    outline: none;
    background-color: #fff;
    border: none
}

.rcw-previewer-container .rcw-previewer-close-button {
    position: absolute;
    right: 0;
    top: 0
}

.rcw-previewer-container .rcw-previewer-veil {
    width: 100%;
    height: 100%;
    overflow: scroll;
    position: relative
}

@keyframes b {
    0% {
        transform: rotate(-90deg)
    }
    to {
        transform: rotate(0)
    }
}

@keyframes c {
    0% {
        transform: rotate(90deg)
    }
    to {
        transform: rotate(0)
    }
}

@keyframes d {
    0% {
        opacity: 0;
        transform: translateY(10px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.rcw-widget-container {
    bottom: 0;
    right: 0;
    width: 355px;
    height: 637px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    position: fixed;
    z-index: 99000;
    margin: 0 20px 85px 0; !important;
}

.rcw-full-screen {
    height: 100vh;
    margin: 0;
    max-width: none;
    width: 100%
}

@media screen and (max-width:10px) {
    .rcw-widget-container {
        height: 100%;
        margin: 0;
        max-width: none;
        width: 100%;
        z-index: 99000
    }
}

.rcw-previewer .rcw-message-img {
    cursor: pointer
}

.anchors {
    margin: 5px;
    padding: 10px 20px;
    border-radius: 15px;
    background: #008aff;
    color: white;
}

.anchors-button {
    margin: 5px;
    padding: 10px 20px;
    border-radius: 15px;
}

.bot-ul {
    margin: 0;
    padding: 0;
}

.bot-button-wrapper {
    width: 85%;
    position: center;
    border: 1px solid;
    border-radius: 10px;
}

.bot-quick-reply {
    background: none;
    border-radius: 15px;
    border: 2px solid var(--f9-chat-title-background-color);
    font-weight: 500;
    padding: 5px 10px;
    margin: 5px 0;
    cursor: pointer;
    outline: 0;
    font-size: 14px;
    text-decoration: underline;
    color: var(--f9-chat-title-background-color);
    font-family: 'Averta-Regular', serif;
    max-width: 100%;
}

.bot-quick-reply:hover {
    background-color: var(--f9-chat-title-background-color);
    color: #FFFFFF
}

.bot-button {
    width: 100%;
    background: none;
    font-weight: 700;
    padding: 5px 0;
    cursor: pointer;
    outline: 0;
    border: none;
    display: inline;
    margin: 5px;
}

.endButtonHolder {
    position: fixed;
    bottom: 765px;
    right: 54px;
}

.endButton {
    border: 1px solid white;
    border-radius: 0;
    background-color: var(--f9-chat-title-background-color);
    color: white;
    font-family: 'Averta-Regular', serif;
    font-size: 14px
}

.menuButtonHolder {
    position: fixed;
    bottom: 765px;
    right: 54px;
}

.menuButton {
    border: 1px solid white;
    border-radius: 0;
    background-color: var(--f9-chat-title-background-color);
    color: white;
    font-family: 'Averta-Regular', serif;
    font-size: 14px
}

button {
    color: green
}

.rcw-new-message {
    display: flex;
    height: 100%;
    max-height: 20vh;
    overflow-y: auto;
    align-items: center;
}

.rcw-input {
    height: auto;
    width: inherit;
    text-align: left;
    max-height: 100%;
    cursor: text;
}

.test {
    width: 100%;
}

.message-wrapper-client {
    width: 100%;
}

.message-wrapper-response {
    width: 100%;
}

.message-wrapper-welcome {
    width: 100%;
}

.bot-reply-wrapper {
    width: 100%;
}

.rcw-chat-url {
    text-decoration: underline;
    cursor: pointer;
}

.ham {
    position: fixed;
    top: 0.5rem;
    right: 50px;
    width: 1rem;
    height: 1rem;
    border: none;
    color: white;
    background-color: var(--f9-chat-title-background-color);
    cursor: pointer;
    z-index: 99999;
}

.menuIcon {
    display: block;
}

.xIcon {
    display: none;
}

.menu {
    position: fixed;
    top: 32px;
    /*right: 20px;*/
    width: auto;
    height: auto;
    background: var(--f9-chat-title-background-color);
    transform: scaleY(0);
    transition: transform 0.3s;
    list-style: none;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-color: black;
    border-style: solid;
    border-width: 0 1px 1px 1px;
}

.showMenu {
    transform: translateY(0);
}

li {
    padding: 0 0;
}

.menuLink {
    display: inline;
    font-size: 1rem;
    color: var(--f9-chat-title-color);
    background: var(--f9-chat-title-background-color);
    text-decoration: none;
    cursor: pointer;
}

.menuLink:hover {
    text-decoration: underline;
}

.miniFormHolder {
    background: var(--f9-chat-mini-form-background-color);
    margin: 0 20px 85px 0; !important;
    border: 1px solid black;
}

.miniFormHeader {
    color: var(--f9-chat-title-color);
    background: var(--f9-chat-title-background-color);
}

.miniForm {
    color: var(--f9-chat-mini-form-text-color);
}

.miniFormLabel {
    color: var(--f9-chat-mini-form-label-color);
}

.miniFormInput {
    color: var(--f9-chat-mini-form-text-input-color);
}

.miniFormInputArea {
    color: var(--f9-chat-mini-form-text-input-color);
}

.miniFormSubmit {
    border-radius: 5px;
    margin-top: 5px;
    color: var(--f9-chat-mini-form-submit-color);
    background: var(--f9-chat-mini-form-submit-background-color);
}



.nudge-wrapper {
    background-color: whitesmoke;
    border-radius: 10px;
    width: 100%;
}

.nudge-title {
    font-weight: 700;
    padding: 10px;
    text-align: center;
    background: darkgray;
}

.nudge-text {
    font-weight: 400;
    padding-top: 10px;
    padding-left: 8px;
    text-align: center;
}

.nudge-image {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.nudge-timestamp {
    font-size: 10px;
    margin-top: 5px;
    margin-left: 5px;
}

.nudge-button-container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.nudge-button {
    background: none;
    font-weight: 700;
    cursor: pointer;
    outline: 0;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    border: solid lightblue;
    border-radius: 15px;
    padding: 10px;
    align-items: center;
    width: auto;
}
