/* Import Google font - Manrope */ @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap'); #as24rsbot-container .material-symbols-outlined{ font-family: "Material Symbols Outlined"; } #as24rsbot-container .material-symbols-rounded{ font-family: "Material Symbols Rounded"; } #as24rsbot-container * { margin: 0; padding: 0; box-sizing: border-box; font-family: "Manrope", sans-serif; line-height: normal; font-weight:normal; } .botShown{ opacity:1; } #as24rsbot-container #introPopup, #as24rsbot-container .chatbot-toggler, #as24rsbot-container .chatbot { z-index:9999; } #as24rsbot-container .chatbot-toggler { opacity: 0; position: fixed; bottom: 30px; right: 35px; outline: none; border: none; height: 50px; width: 50px; display: flex; cursor: pointer; align-items: center; justify-content: center; border-radius: 50%; /* background: #724ae8; */ transition: all 0.3s ease; } /* FOR OPENING THE CHATBOT AND CHANGING THE TOGGLER ICONS*/ #as24rsbot-container.show-chatbot .chatbot-toggler { transform: rotate(90deg); } #as24rsbot-container .chatbot-toggler span { display: flex; color: #fff; position: absolute; .icon{ width:25px; } .close{ width: 18px; } } #as24rsbot-container .chatbot-toggler span:last-child, #as24rsbot-container.show-chatbot .chatbot-toggler span:first-child { opacity: 0; } #as24rsbot-container.show-chatbot .chatbot-toggler span:last-child { opacity: 1; } /* FOR OPENING THE INFOPOPUP OF THE CHATBOT AND CHANGING THE TOGGLER ICONS*/ #as24rsbot-container #introPopup{ width: 400px; background-color: #FFFFFF; opacity: 0; position: fixed; right: 35px; bottom: 90px; border-radius:20px 20px 20px 20px; transition: opacity 0.3s; display: flex; flex-direction: column; } #as24rsbot-container #introPopup.show{ opacity: 1; } #as24rsbot-container #introPopup.show + .chatbot-toggler{ transform: rotate(90deg); } #as24rsbot-container .chatbot-toggler span:last-child, #as24rsbot-container #introPopup.show + .chatbot-toggler span:first-child { opacity: 0; } #as24rsbot-container #introPopup.show + .chatbot-toggler span:last-child { opacity: 1; } /*INTRO STYLING*/ #as24rsbot-container #introPopup .firstblock{ height:90px; padding-block: 5px;; display: flex; justify-content: flex-start; align-items: center; border-radius: 20px 20px 0px 0px; } #as24rsbot-container #introPopup .firstblock h2{ color:#FFFFFF; font-size: 28px; font-weight: bold; } #as24rsbot-container #introPopup .firstblock span{ margin-left: 33px; margin-right: 25px; display: flex; } #as24rsbot-container #introPopup .firstblock img{ width: 40px; align-self: center; } #as24rsbot-container #introPopup .secblock p{ color:#333333; padding-inline: 30px; padding-top: 15px; font-size: 15px; font-weight: 400; } #as24rsbot-container #introPopup hr{ background-color: #D6D6D6; border:none; height: 1.5px; } #as24rsbot-container #introPopup h5{ padding-block: 10px; text-align: center; } #as24rsbot-container #startConversation{ cursor: pointer; margin-block: 25px; margin-inline: auto; padding: 7px; width: 85%; border: none; border-radius: 27px; color: #FFFFFF; font-size: 15px; font-weight: 600; transition: transform 0.2s; } #as24rsbot-container #startConversation:hover{ transform: scale(1.02); } #as24rsbot-container #introPopup .introFooter{ padding-block: 20px; padding-inline: 5px; font-weight: lighter; display: flex; align-items: center; justify-content:center; } #as24rsbot-container #introPopup .introFooter h6{ color: #959595; padding: 7px; font-weight: lighter; display: flex; align-items: center; font-size: 11px; } #as24rsbot-container .chatbot { position: fixed; right: 35px; bottom: 90px; width: 420px; background: #fff; border-radius: 15px; overflow: hidden; opacity: 0; pointer-events: none; transform: scale(0.5); transform-origin: bottom right; box-shadow: 0 0 128px 0 rgba(0,0,0,0.1), 0 32px 64px -48px rgba(0,0,0,0.5); transition: all 0.1s ease; } #as24rsbot-container.show-chatbot .chatbot { opacity: 1; pointer-events: auto; transform: scale(1); } #as24rsbot-container .chatbot header { display: flex; align-items: center; padding-inline: 20px; padding-block: 20px; position: relative; text-align: left; /* background: #724ae8; */ box-shadow: 0 2px 10px rgba(0,0,0,0.1); } #as24rsbot-container #botIcon{ height: 50px; width:50px; margin-right: 10px; border-radius: 50px; /* font-size: 40px; */ display: flex; align-items: center; justify-content: center; } #as24rsbot-container #botIcon img{ width:40px; } #as24rsbot-container #status{ width: 8px; height:8px; margin-inline: 5px; /* vertical-align: middle; */ display: inline-block; border-radius: 50px; /* background-color: #ABFA7B; */ } #as24rsbot-container .chatbot header .dot-menu{ margin-left: auto; } #as24rsbot-container .chatbot header .dot-menu span, #as24rsbot-container .chatbot header .close span { /* top: 50%; */ /* display: none; */ width: 22px; height: 22px; font-size: 14px;color: #000; font-weight: bold; background-color: #FFFFFF; border-radius: 20px; cursor: pointer; /* transform: translateY(-50%); */ display: flex; align-items: center; justify-content: center; } #as24rsbot-container .chatbot .menu{ opacity: 0;/*initial*/ height:0px;/*initial*/ position: absolute; top:70px; right:20px; width: 245px; background-color: #FFFFFF; border-radius: 10px; box-shadow: 1px 1px 6px #00000010; z-index: 2; /* transition: opacity 0.1s; */ } #as24rsbot-container .chatbot .menu #restart, #as24rsbot-container .chatbot .menu #bot-integration, #as24rsbot-container .chatbot .menu #usagepolicy, #as24rsbot-container .chatbot .menu #customOption{ pointer-events: none;/*initial*/ cursor: pointer; padding-inline: 13px; padding-block: 13px; display: flex; align-items: flex-start; transition: background-color 0.3s; width:100%; } #as24rsbot-container .chatbot .menu #bot-integration{ cursor: default; } #as24rsbot-container .chatbot .menu #restart{ border-radius: 10px 10px 0px 0px; } #as24rsbot-container .chatbot .menu #customOption{ border-radius: 0px 0px 10px 10px; } #as24rsbot-container .chatbot .menu #bot-integration .select-bot { display: flex; justify-content: space-evenly; div{ width: 50px; } } #as24rsbot-container .chatbot .menu #bot-integration .select-bot .option-content{ display: flex; flex-direction: column; align-items: center; .botName{ font-size: 12px; font-weight: 500; font-style: italic; text-align: center; color: #575757; margin-top:5px; } } #as24rsbot-container .chatbot .menu #bot-integration .select-bot .iconContainer { margin-top: 10px; background-color: white; display: flex; align-items: center; justify-content: center; padding: 5px; border-radius: 25px; cursor: pointer; transition: transform 0.3s; width: 45px; .svg-icon-select{ padding-right: 0px; } } #as24rsbot-container .chatbot .menu #bot-integration .select-bot .iconContainer:hover { transform: scale(1.1); } #as24rsbot-container .chatbot .menu a{ text-decoration: none; color:inherit; /* #usagepolicy{ border-radius: 0px 0px 10px 10px; } */ } #as24rsbot-container .chatbot .menu .menuOption object{ padding-right: 8px; } #as24rsbot-container #restart .title, #bot-integration .title, #usagepolicy .title, #customOption .title{ font-size: 13px; font-weight: 600; } #as24rsbot-container #restart .exc{ font-size: 11px; font-weight: 400; color:#575757; } #as24rsbot-container .chatbot .menu .menu-elems hr{ width: 90%; margin-inline: auto; } #as24rsbot-container .chatbot header .close { /* position: absolute; right: 15px; top: 50%; */ display: none; cursor: pointer; margin-left: 20px; /* transform: translateY(-50%); */ } #as24rsbot-container header h2{ font-size: 1.4rem; color: #fff; line-height: normal; font-weight: bold; } #as24rsbot-container header h6{ margin-bottom: 5px; font-weight: 400; font-size: 11px; color: #fff; } #as24rsbot-container header span{ color: #fff; font-size:16px; } #as24rsbot-container .chatbot .chatbox { overflow-y: auto; height: 510px; padding: 30px 20px 150px; background-color: #FFFFFF; } #as24rsbot-container .chatbot :where(.chatbox, textarea)::-webkit-scrollbar{ width: 6px; } #as24rsbot-container .chatbot :where(.chatbox, textarea)::-webkit-scrollbar-track{ background: #fff; border-radius: 25px; } #as24rsbot-container .chatbot :where(.chatbox, textarea)::-webkit-scrollbar-thumb{ background: #ccc; border-radius: 25px; } #as24rsbot-container .chatbox .chat { display: flex; list-style: none; } #as24rsbot-container .chatbox .outgoing { margin: 20px 0px 0px 0px; justify-content: flex-end; } #as24rsbot-container .chatbox .incoming span { /* width: 40px; height: 40px; color: #fff; cursor: default; text-align: center; line-height: 32px; align-self: flex-start; background: #F2F2F2; border-radius: 50px; */ margin: 0 10px 7px 0; } #as24rsbot-container .chatbox .incoming span object{ width:35px; } #as24rsbot-container .chatbox .chat p { white-space: pre-wrap; padding: 12px 16px; border-radius: 23px 23px 1px 23px; max-width: 75%; color: #fff; font-size: 0.95rem; /* background: #724ae8; */ } #as24rsbot-container .chatbox .incoming p { border-radius: 1px 23px 23px 23px; } #as24rsbot-container .chatbox .chat p.error { color: #721c24; background: #f8d7da; } #as24rsbot-container .chatbox .incoming p { color: #000; background: #f2f2f2; } #as24rsbot-container .chatbox .incoming.extra-content{ padding-bottom:10px; } #as24rsbot-container .chatbox .incoming.extra-content img{ width:75%; border-radius:15px; margin-right: auto; margin-left: 45px; } #as24rsbot-container .chatbox .incoming.extra-content .carousel{ width:75%; display: flex; flex-direction: column; border-radius:15px; margin-inline: auto; text-align: center; background-color: #f2f2f2; img{ width: 100%; height:100px; object-fit: cover; margin-inline: auto; } h4{ color:#000000; font-weight:bold; font-size:16px; } h5{ color:#000000; font-weight:bold; font-size:13px; } } #as24rsbot-container .chatbox .incoming.extra-content .btn-cont { width: 75%; margin-inline: auto; display: flex; overflow-x: hidden; /* padding-bottom: 10px; */ user-select: none; white-space: nowrap; cursor: grab; } #as24rsbot-container .chatbox .incoming.extra-content .btn-cont button { margin: 5px; padding-inline: 10px; height: 50px; border: none; border-radius: 10px; cursor:pointer } #as24rsbot-container .botbuttons-no-pointer-events { pointer-events: none; } #as24rsbot-container .chatbot .chat-input { display: flex; gap: 5px; position: absolute; bottom: 50px; width: 100%; background: #fff; padding: 3px 0px 5px 3px; padding-inline: 10px 20px; align-items: center; /* border-top: 1px solid #ddd; */ background-color: #FFFFFF; z-index: 2; } #as24rsbot-container .chatbot .chat-input .quick-actions{ opacity:0; position:absolute; display: flex; top:-40px; left: 3px; transition: opacity 0.3s; } #as24rsbot-container .chat-input .quick-actions button{ display: none;/*initial*/ pointer-events: none;/*initial*/ cursor: pointer; border-radius: 25px; border:none; margin-inline: 5px; padding-inline: 5px; padding-block: 6px; box-shadow: 0px 0px 2px #0000005e; transition: transform 0.3s; color: #333333; span{ padding-inline:3px; display: flex; align-self: center; } } #as24rsbot-container .chat-input .quick-actions button:hover{ transform: translate(0,-3px); } #as24rsbot-container .chat-input .quick-actions button:active{ transform: scale(0.8); } #as24rsbot-container .chat-input .quick-actions object{ height: 12px; } #as24rsbot-container .chatbot .chat-input .svg-icon-inputarea{ padding-inline: 0px 5px; height: 24px; align-self: center; } #as24rsbot-container .chat-input textarea{ height: 50px; width: 100%; border-radius: 30px; outline: none; resize: none; max-height: 180px; padding: 13px; font-size: 14px; background-color: #FFFFFF; overflow: hidden; /*removes scrollbar*/ margin-left: 11px; } #as24rsbot-container .chat-input #send-btn { align-self: flex-end; /* color: #724ae8; */ cursor: pointer; height: 55px; display: flex; align-items: center; /* visibility: hidden; */ font-size: 1.35rem; margin-left:5px; } #as24rsbot-container .chat-input textarea:valid ~ #send-btn { visibility: visible; } #as24rsbot-container .chat-footer{ position: absolute; bottom: 0; width: 100%; display: flex; align-items: center; /* justify-content: space-between; */ justify-content: flex-end; border-top: 1px solid #D6D6D6; background-color:#FFFFFF; z-index: 2; } #as24rsbot-container .chat-footer h6{ padding-block: 10px; padding-inline: 15px; text-align: center; color:#959595; } #as24rsbot-container .chat-footer span { padding-block: 10px; padding-inline: 15px; display: flex; align-items: center; } #as24rsbot-container .chat-footer span h6{ padding: 5px; font-weight: lighter; display: flex; align-items: center; font-size: 11px; } #as24rsbot-container .chat-footer a{ text-decoration: none; color:inherit; } /* html, body { margin:0; padding:0; } body { background:#F6F7F8; } */ #as24rsbot-container #wave { display: flex; margin-bottom: 10px; .dot { /* display:inline-block; */ width:10px; height:10px; border-radius:50%; margin-right:3px; background:#303131; margin-bottom: 0px; margin-top: 5px; animation: wave 1.3s linear infinite; &:nth-child(2) { animation-delay: -1.1s; } &:nth-child(3) { animation-delay: -0.9s; } } } #as24rsbot-container #wave .msglink:link { color: #0000EE; text-decoration:underline;} #as24rsbot-container #wave .msglink:visited { color: #551A8B; } #as24rsbot-container #wave .msglink:active { color: #FF0000; } #as24rsbot-container .timeStamp{ display: block; font-size: 13px; color: #A6A6A6; width: 75%; margin-right: auto; margin-left: 45px; } #as24rsbot-container .timeStampSender{ font-size: 13px; color: #A6A6A6; text-align: right; padding-bottom: 15px; padding-top: 5px; } #as24rsbot-container .splide__arrow{ background: #cccccc49 !important; } @keyframes wave { 0%, 60%, 100% { transform: initial; } 30% { transform: translateY(-10px); } } @media (max-width: 490px) { #as24rsbot-container{ .chatbot-toggler { right: 20px; bottom: 20px; } .chatbot { right: 0; bottom: 0; height: 100%; border-radius: 0; width: 100%; } .chatbot .chatbox { height: 75%; padding: 25px 15px 100px; } .chatbot .chat-input { padding: 5px 15px; } .chatbot header .close { display: block; } .chat-input .quick-actions button{ font-size: 11px; } .chat-input .quick-actions object{ height: 10px; } } } @media (min-width: 491px) and (max-width: 1399px) { #as24rsbot-container{ .chatbot{ height: 75%; } .chatbot .chatbox { height: 75%; } } }