#rva-chat {
    color: #000000;
    display: none;
    font-family: "Frutiger LT W04_45 Light", sans-serif;
}

#rva-chat-introduction {
    animation: fadeIn 2s forwards;
    background: #ffffff;
    border-radius: 10px;
    bottom: 104px;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
    display: none;
    font-family: "Frutiger LT W04_55 Roman", sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    left: 20px;
    line-height: 2.8rem;
    padding: 36px 16px 24px 16px;
    position: fixed;
    right: 20px;
    z-index: 99999;
}
@media all and (min-width: 600px) and (min-height: 600px) {
    #rva-chat-introduction {
        left: unset;
        top: unset;
        width: 460px;
    }
}
#rva-chat-introduction:before {
    background: url(/images/chat/rva-bot-icon.svg) center / contain no-repeat;
    content: "";
    height: 80px;
    left: 0;
    position: absolute;
    right: 0;
    top: -40px;
}
#rva-chat-introduction-close-button {
    background: url(/images/chat/rva-close-intro-icon.svg) center / contain no-repeat;
    border: none;
    cursor: pointer;
    display: block;
    height: 20px;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
}
#rva-chat-introduction-close-button > span {
    display: none;
}

#rva-chat-blocked {
    animation: fadeIn 2s forwards;
    background: #ffffff;
    border-radius: 10px;
    bottom: 104px;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
    display: none;
    font-family: "Frutiger LT W04_55 Roman", sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    left: 20px;
    line-height: 2.8rem;
    padding: 36px 16px 24px 16px;
    position: fixed;
    right: 20px;
    z-index: 99999;
}
@media all and (min-width: 600px) and (min-height: 600px) {
    #rva-chat-blocked {
        left: unset;
        top: unset;
        width: 460px;
    }
}
#rva-chat-blocked:before {
    background: url(/images/chat/rva-bot-icon.svg) center / contain no-repeat;
    content: "";
    height: 80px;
    left: 0;
    position: absolute;
    right: 0;
    top: -40px;
}
#rva-chat-blocked-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
@media all and (max-width: 350px) {
    #rva-chat-blocked-buttons {
        flex-direction: column;
    }
}
#rva-chat-blocked-accept-button,
#rva-chat-blocked-manage-button {
    background: #FFFFFF;
    border-radius: 0.8rem;
    border: none;
    cursor: pointer;
    flex: 1 1 100%;
    font-size: 1.4rem;
    line-height: 1.9rem;
    padding: 1rem 2.4rem;
    overflow: hidden;
    position: relative;
}
#rva-chat-blocked-accept-button:before,
#rva-chat-blocked-manage-button:before {
    border: 1px solid #d31d3f;
    border-radius: 0.8rem;
    box-sizing: border-box;
    content: '';
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
}
#rva-chat-blocked-accept-button:focus:before,
#rva-chat-blocked-manage-button:focus:before {
    background-color: rgba(240,145,146,.15);
}
#rva-chat-blocked-accept-button:hover:before,
#rva-chat-blocked-manage-button:hover:before {
    border-width: 0.2rem;
}
#rva-chat-blocked-close-button {
    background: url(/images/chat/rva-close-intro-icon.svg) center / contain no-repeat;
    border: none;
    cursor: pointer;
    display: block;
    height: 20px;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
}
#rva-chat-blocked-close-button > span {
    display: none;
}

#rva-chat-conversation {
    animation: fadeIn 2s forwards;
    background: rgb(243, 243, 243);
    border: 1px solid #555555;
    border-radius: 10px;
    bottom: 104px;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
    display: none;
    left: 20px;
    overflow: hidden;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 99999;
}
@media all and (min-width: 600px) and (min-height: 600px) {
    #rva-chat-conversation {
        left: unset;
        width: 490px;
    }
}
#rva-chat-conversation > div {
    height: 100%;
    overflow: hidden;
    width: 100%;
}
#rva-chat-conversation-iframe {
    border: 0;
    height: 100%;
    width: 100%;
}

#rva-chat-icon {
    background: #d31d3f;
    border-radius: 35px;
    bottom: 20px;
    box-shadow: 0 0 50px 0 #ffffff;
    overflow: hidden;
    position: fixed;
    right: 20px;
    z-index: 99999;
}
#rva-chat-icon:focus,
#rva-chat-icon:hover {
    background: #555555;
}
#rva-chat-icon:active {
    bottom: 19px;
    right: 19px;
}
#rva-chat-icon-button {
    background: url(/images/chat/rva-open-icon.svg) center no-repeat;
    border: none;
    cursor: pointer;
    display: block;
    height: 64px;
    width: 64px;
}
#rva-chat-icon-button > span {
    display: none;
}

#rva-chat.show-introduction > #rva-chat-introduction {
    display: block;
}
#rva-chat.show-blocked > #rva-chat-blocked {
    display: block;
}
#rva-chat.open > #rva-chat-introduction {
    display: none !important;
}
#rva-chat.open > #rva-chat-conversation {
    animation: fadeIn 1s forwards;
    display: block;
}
#rva-chat.open > #rva-chat-icon > #rva-chat-icon-button {
    background-image: url(/images/chat/rva-close-icon.svg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
