/* Old version IE 10 and 11 only */ :root { --main-bg-color: #ffffff; --main-bg-color-hover: rgba(255, 255, 255, 0.9); --main-fg-color: #000000; --main-fg-color-hover: rgba(0, 0, 0, 0.07); --seashell: #e2e2e2; --lighthouse: #f66f48; --focus-lighthouse: #e06542; --hover-lighthouse: #f39c82; } html { font-size: 16px; } body { margin: 0; font-family: Roboto; overflow: hidden; } * { box-sizing: border-box; outline: none !important; } .hidden { visibility: hidden; height: 0; } .bpw-from-user .bpw-chat-bubble .bpw-chat-bubble-content { background-color: #000000; } .bpw-from-bot .bpw-chat-bubble .bpw-chat-bubble-content { background-color: #ffffff; color: #000000; } body>div:nth-child(3) { display: none; } .bpw-chat-bubble { color: #000000; background: none; border: 0px; display: inline-block; } .bpw-bubble-carousel { display: block; margin-left: 30px; } .bpw-widget-btn { background-color: #000000; border-radius: 50%; box-shadow: none; } .bpw-message-read-more { color: #00f; cursor: pointer; background: none; border: none; font-size: 1rem; line-height: 23px; margin: 5px 0 0; padding: 0; text-align: left; text-decoration: underline; } .bpw-widget-btn:focus, .bpw-widget-btn:hover { background-color: #333; } .bpw-chat-container { background-color: #ffffff; color: #000000; border: 0.5px solid #b6b6b6; border-radius: 8px; overflow: hidden; } .bpw-layout { position: fixed; bottom: 0; right: 0; height: 100%; border-left: 1px solid #ccc; -webkit-box-orient: vertical; -ms-flex-direction: column; flex-direction: column; display: -webkit-box; display: -ms-flexbox; display: flex; } .bpw-layout-fullscreen { visibility: visible; } .bpw-bot-avatar { margin-right: 5px; } .bpw-bot-avatar img, .bpw-bot-avatar svg { border: solid 3px white; border-radius: 50%; background: #ccc; width: 40px; height: 40px; } .bpw-button { background-color: var(--main-bg-color); font-size: 1rem; padding: 0.4rem 0.8rem; min-width: 5rem; min-height: 40px; text-align: center; border: 1px solid currentColor; border-radius: 0px; cursor: pointer; margin: 3px 2px; text-transform: none; overflow: visible; align-items: flex-start; } .bpw-button-alt { background-color: var(--main-bg-color); font-size: 1rem; padding: 0.4rem 0.8rem; min-width: 5rem; height: 40px; } .bpw-button:hover { background-color: rgba(0, 0, 0, 0.07); } .bpw-input { height: 30px; border: none; outline: none; background-color: #f8f8f8; border-bottom: 1px solid #bbb; width: 200px; text-align: center; margin: 10px; font-size: 0.875rem; } .bpw-file-message { padding: 0.5rem 0.75rem; } .bpw-message-big-container { display: -webkit-box; display: -ms-flexbox; display: flex; margin: 1rem 0; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; padding-right: 18px; padding-left: 0; } .bpw-message-container { width: 100%; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; display: -webkit-box; display: -ms-flexbox; display: flex; } .bpw-message-group { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; width: 100%; } .bpw-message-group> :not(:last-child):not(.hidden) { margin-bottom: 2px; } .bpw-message-timestamp { font-size: 0.6rem; float: right; } .bpw-from-user { padding-right: 0; } .bpw-from-user .bpw-message-container { -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; } .bpw-from-user .bpw-message-group { padding-left: 60px; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; } .bpw-msg-list-loading { position: fixed; top: 50%; left: 50%; width: 50px; height: 50px; border: 3px solid rgba(0, 0, 0, 0.3); border-radius: 50%; border-top-color: rgb(0, 0, 0); animation: spin 1s ease-in-out infinite; -webkit-animation: spin 1s ease-in-out infinite; } @keyframes spin { to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @-webkit-keyframes spin { to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } /* */ .bpw-msg-list-container { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; min-height: 1px; } .bpw-msg-list-scroll-container { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; overflow-y: hidden; -ms-flex-positive: 1; flex-grow: 1; } .bpw-msg-list { padding: 0 0.5rem 0.5rem 0.5rem; flex: auto; overflow-y: auto; } .bpw-msg-list-follow { display: none; } .bpw-date-container { color: #666; text-align: center; font-size: 0.75rem; margin: 40px 0 20px; } .bpw-date-container .bpw-small-line { border-bottom: solid 1px #555; margin: auto; width: 80px; margin-top: 5px; } .bpw-new-messages-indicator { position: absolute; width: 100%; background: whitesmoke; height: 40px; display: flex; flex-grow: 1; margin-left: -8px; align-items: center; justify-content: center; text-decoration: underline; color: #106ba3; cursor: pointer; } /** * Chat Bubble configuration. You can add other classes to match different renderers, * for example .bpw-bubble-text or .bpw-bubble-carousel */ .bpw-chat-bubble { color: rgb(255, 255, 255); white-space: pre-wrap; word-break: break-word; } .bpw-chat-bubble-content { border: 1px solid #f1f1f1; padding: 0.5rem 0.75rem; font-size: 1rem; } .bpw-message-feedback { display: flex; flex-direction: row; justify-content: flex-end; } .bpw-message-feedback button { border: none; padding: 0; margin: 0; background: none; } .bpw-message-feedback i { cursor: pointer; height: 16px; margin: 0 4px; fill: #b3b3b3; } .bpw-message-feedback i:hover { fill: black; } .bpw-message-feedback>div { border-radius: 21px; border: 1px solid #f1f1f1; margin-top: -8px; margin-right: -10px; background-color: white; padding: 8px; display: flex; justify-content: space-evenly; } .bpw-from-bot .bpw-chat-bubble-content { background-color: rgba(255, 192, 114, 0.25); } .bpw-from-user .bpw-chat-bubble-content { background-color: #ffa73a; } .bpw-header-title { font-size: 16px; } .bpw-keyboard-quick_reply button { padding: 6px 8px; background-color: var(--main-bg-color); font-size: 12px; min-width: initial; min-height: initial; text-align: center; border: 1px solid currentColor; border-radius: 12px; cursor: pointer; margin: 3px 2px; text-transform: none; overflow: visible; color: #000; background: #f4f4f5; border: 1px solid #d4d4d8; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(212, 212, 216); border-right-color: rgb(212, 212, 216); border-bottom-color: rgb(212, 212, 216); border-left-color: rgb(212, 212, 216); border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial; border-radius: 12px; border-top-left-radius: 12px; border-top-right-radius: 12px; border-bottom-right-radius: 12px; border-bottom-left-radius: 12px; padding: 6px 8px; } .bpw-bubble-session_reset { border: none; border-top: 1px solid red; border-bottom: 1px solid red; } .bpw-bubble-session_reset .bpw-chat-bubble-content { color: red; background: none !important; padding: 0; margin: 5px 0; } .bpw-bubble-carousel { background: none; margin: 10px 0; width: 100%; } .bpw-bubble-file { padding: 0; } .bpw-bubble-file p { padding: 0.5rem 0.75rem; } .bpw-bubble-file a, .bpw-bubble-image a { cursor: pointer; border-top-left-radius: inherit; border-top-right-radius: inherit; border-bottom-right-radius: inherit; border-bottom-left-radius: inherit; } .bpw-bubble-image img, .bpw-bubble-audio audio, .bpw-bubble-video video { display: block; max-height: 240px; max-width: 100%; border-top-left-radius: inherit; border-top-right-radius: inherit; border-bottom-right-radius: inherit; border-bottom-left-radius: inherit; } .bpw-bubble-location #map { width: 300px; height: 300px; } .bpw-chat-bubble p { margin: 0; } .bpw-chat-bubble:first-of-type { border-top-left-radius: 0px; border-top-right-radius: 0px; } .bpw-chat-bubble:last-of-type { border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; } .bpw-keyboard-single-choice { background-color: #fbfbfb; padding: 15px 20px; text-align: left; border-top: 1px solid #dcdcdc; } /* CAROUSEL */ .slick-arrow { background-color: #fff !important; border: 1px solid #dddfe2; width: 32px; height: 32px; border-radius: 3px; box-shadow: none; color: #444; z-index: 1; } .slick-arrow:before { color: #444; } .slick-next { right: -23px; } .slick-track { margin: 0px; } .bpw-card-container { box-sizing: border-box; color: rgba(0, 0, 0, 1); line-height: 1.28em; min-height: 150px; max-height: 410px; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 4px; overflow: hidden; } .bpw-card-header { padding: 6px 12px 12px 12px; } .bpw-card-title { text-overflow: ellipsis; white-space: normal; font-weight: bold; line-height: 1.28em; max-height: 40px; overflow: hidden; } .bpw-card-subtitle { color: rgba(0, 0, 0, 0.4); } /** The container of buttons*/ /* .bpw-card-buttons {} */ .bpw-card-action { font-weight: 500; padding: 0 10px; border-top: 1px solid rgba(0, 0, 0, 0.1); display: block; cursor: pointer; text-decoration: none; line-height: 32px; text-align: center; } /* Comment this element to hide the icon indicating an external website */ /* TODO: doesn't work right now due to the external_icon image that doesn't exist .bpw-card-external-icon { background: url(/assets/modules/channel-web/images/external_icon.png) no-repeat; width: 16px; height: 16px; display: inline-block; background-size: 100% 100%; } */ .bpw-card-picture { background-position: 50% 50%; background-size: cover; height: 150px; width: 100%; } /* Custom styling for the login form*/ .bpw-form-container label { display: block; } /* Highlight special actions, for example displaying the status after using a custom component */ .bpw-special-action { opacity: 0.6; } /* Conversation List */ .bpw-convo-list { -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; overflow-y: auto; overflow-x: hidden; } .bpw-convo-add-btn { background: transparent; border: 2px solid; border-radius: 50%; float: right; margin-right: 15px; margin-top: 15px; margin-bottom: 15px; width: 40px; height: 40px; padding: 0; cursor: pointer; } .bpw-convo-add-btn:hover { background-color: rgba(0, 0, 0, 0.03); } .bpw-convo-item { padding-left: 15px; height: 4.7rem; border-bottom: 1px solid #eee; cursor: pointer; -webkit-box-align: center; -ms-flex-align: center; align-items: center; display: -webkit-box; display: -ms-flexbox; display: flex; } .bpw-convo-item:hover { background-color: #fafafa; } .bpw-convo-item .bpw-title { -webkit-box-align: center; -ms-flex-align: center; align-items: center; display: -webkit-box; display: -ms-flexbox; display: flex; position: relative; } .bpw-convo-item .bpw-align-right { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; padding-right: 1rem; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; display: -webkit-box; display: -ms-flexbox; display: flex; } .bpw-convo-item .bpw-convo-preview { font-size: 0.875rem; color: #9a9a9a; max-width: 15rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .bpw-convo-item .bpw-date { text-align: right; font-size: 0.875rem; color: #9a9a9a; position: absolute; right: 0; } .bpw-keyboard-single-choice-dropdown { margin: 0.2rem 0.5rem; } .bpw-composer { position: relative; padding: 0.5rem 0 0; background: rgba(255, 255, 255, 0.9); transition: border 0.3s ease; outline: none; padding-bottom: 0.5rem; } .bpw-composer-inner { display: flex; padding: 5px; } .bpw-composer textarea { font: inherit; background-color: transparent; width: 100%; resize: none; line-height: 1.2; height: 50px; border: none; font-size: 1rem; padding: 0.75rem 1rem; padding-right: 60px; } .bpw-powered { text-align: right; border-top: 1px solid #aaaaaa; padding: 2px 5px 2px 0; } .bpw-send-buttons { display: flex; align-items: center; } .bpw-send-button { border: none; border-radius: 5px; background: #fff; padding: 5px; font-size: 0.875rem; font-weight: 500; cursor: pointer; } .bpw-send-button:hover, .bpw-send-button:focus { background: #d8d8d8; } /** HEADER STUFF */ .bpw-header-container { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -ms-flex-negative: 0; flex-shrink: 0; max-height: 120px; font-weight: 500; border-top: solid 1px #ccc; border-bottom: 1px solid #ccc; padding: 0.5rem 1rem; overflow: hidden; border-top: none; padding-left: 0.5rem; } .bpw-header-title-flexbox { overflow: hidden; text-overflow: ellipsis; -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; } .bpw-header-title-container { -webkit-box-align: center; -ms-flex-align: center; align-items: center; display: -webkit-box; display: -ms-flexbox; display: flex; } .bpw-header-title { padding-left: 10px; overflow: hidden; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; display: -webkit-box; display: -ms-flexbox; display: flex; } .bpw-header-name { font-size: 1rem; } .bpw-header-subtitle { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.75rem; font-weight: 500; color: #9a9a9a; vertical-align: middle; margin-top: 0px; } .bpw-header-unread { display: inline-block; width: 20px; height: 20px; margin-left: 5px; text-align: center; vertical-align: top; border-radius: 50%; line-height: 20px; font-size: 0.75rem; color: #fff; background-color: #ff5d5d; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; } .bpw-header-icon { border: none; background: none; padding: 0; margin: 0; color: #bbb; margin-left: 12px; text-align: right; vertical-align: middle; cursor: pointer; fill: #1a1e22; width: 16px; height: 16px; transition: fill 0.3s; } .bpw-header-icon svg, .bpw-header-icon svg path { fill: #1a1e22; transition: fill 0.3s; } .bpw-header-icon:hover, .bpw-header-icon:hover svg, .bpw-header-icon:hover svg path { fill: #5c7080; } .bpw-floating-button { float: right; fill: rgb(255, 255, 255); cursor: pointer; outline: none; display: flex; align-items: center; justify-content: center; z-index: 1; width: 52px; height: 52px; cursor: pointer; border-radius: 50%; box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.4); overflow: hidden; padding: 0; border: none; background-clip: padding-box; transition: width 1s, height 1s; } .bpw-floating-button i { transition: opacity 0.3s ease; opacity: 1; fill: inherit; stroke: inherit; width: 100%; padding: 0; line-height: 0; } .bpw-floating-button .bpw-floating-button-unread { display: block; position: absolute; right: 2px; bottom: 54px; width: 20px; height: 20px; border-radius: 50%; line-height: 20px; color: #fff; background-color: #ff5d5d; box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4); } /** BOT INFORMATION PAGE - START */ .bpw-botinfo-container { margin: 0 auto; max-width: 800px; width: 100%; text-align: center; color: #1e1e1e; overflow-y: auto; height: 100%; } .bpw-botinfo-cover-picture-wrapper { overflow: hidden; margin-left: auto; margin-right: auto; max-width: 50%; } .bpw-botinfo-cover-picture { width: 100%; object-fit: cover; } .bpw-botinfo-container button, .bpw-botinfo-container a { font-size: 0.9rem; color: rgb(102, 102, 102); text-decoration: none; } .bpw-botinfo-summary { margin-top: -32px; border-bottom: solid 1px rgba(0, 0, 0, 0.1); box-shadow: 0px 4px 5px -5px #ccc; } .bpw-botinfo-description { margin-top: 0.4em; margin-bottom: 1em; } .bpw-botinfo-summary h3 { margin: 0; } .bpw-botinfo-links { border-bottom: solid 1px rgba(0, 0, 0, 0.1); } .bpw-botinfo-link { padding-left: 25%; display: flex; margin: 20px 0; } .bpw-botinfo-link i { margin-right: 10px; } .bpw-botinfo-preferred-language { margin: 20px 0; } .bpw-botinfo-preferred-language select { margin-left: 10px; } .bpw-botinfo-terms { padding: 0px 20px; text-align: left; } .bpw-botinfo-terms a { display: inline-block; width: 100%; line-height: 2.5; border-bottom: solid 1px rgba(0, 0, 0, 0.1); } .bpw-botinfo-start-button { font: inherit; color: inherit; background-color: transparent; cursor: pointer; border-radius: 20px; line-height: 24px; padding: 5px 10px; margin-top: 25px; border: 1px solid rgb(100, 100, 100); } .bpw-botinfo-start-button:focus { border: 1px solid black; color: black; } /** BOT INFORMATION PAGE - END */ /** TYPING ANIMATIIONS */ @keyframes typingAnimation { 0% { transform: translateY(0px); } 28% { transform: translateY(-6px); } 44% { transform: translateY(0px); } } .bpw-typing-group { align-items: center; display: flex; height: 17px; } .bpw-typing-bubble { animation: typingAnimation 1s infinite ease-in-out; border-radius: 50%; height: 6px; margin-right: 4px; vertical-align: middle; width: 6px; white-space: pre-wrap; font-size: 1rem; direction: ltr; background-color: #000000; } .bpw-typing-bubble:nth-child(1) { animation-delay: 200ms; } .bpw-typing-bubble:nth-child(2) { animation-delay: 300ms; } .bpw-typing-bubble:nth-child(3) { animation-delay: 400ms; } /* IE10+ CSS styles go here */ @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { .bpw-typing-bubble { animation: none; } } /**ANIMATIONS */ .bpw-anim-fadeIn { animation-name: slideInRight; animation-duration: 0.3s; animation-fill-mode: both; animation-iteration-count: 1; } .bpw-anim-none { visibility: visible; } @keyframes slideInRight { 0% { visibility: visible; transform: translateY(100%); } 100% { transform: translateY(0); visibility: visible; } } .bpw-anim-fadeOut { animation-name: slideOutRight; animation-duration: 0.3s; animation-fill-mode: both; animation-iteration-count: 1; } @-webkit-keyframes slideOutRight { 0% { transform: translateY(0); visibility: visible; } 100% { visibility: hidden; transform: translateY(100%); } } @keyframes slideOutRight { 0% { transform: translateY(0); visibility: visible; } 100% { visibility: hidden; transform: translateY(100%); } } .bpw-mobx-tools { visibility: hidden; } .bpw-rtl .bpw-chat-bubble { direction: rtl; } .bpw-rtl .bpw-composer-inner { flex-direction: row-reverse; } .bpw-rtl .bpw-composer textarea { direction: rtl; padding: 0.75rem 1rem; padding-left: 60px; } .bpw-rtl.bpw-botinfo-container .bpw-botinfo-terms { text-align: right; } .bpw-rtl .bpw-date-container { direction: rtl; } .bpw-rtl .bpw-card-container { text-align: right; direction: rtl; } .bpw-rtl .bpw-keyboard-single-choice-dropdown { direction: rtl; } @media screen and (max-device-width: 768px) { .bpw-layout { width: 100% !important; } }