/* CAHTBOT APERTURA A DESTRA
.noScroll { overflow: hidden !important; }
body.noscroll { padding-right: 15px; }

/* chatbot button */
/*
.chatbot-open-btn:link, .chatbot-open-btn:visited { position: fixed; display: inline-block; padding: 15px 25px; box-sizing: border-box; font-size: 16px; font-weight: 400; line-height: 26px; color: #fff; background-color: #1e3989; box-shadow: 0 0 4px rgba(0,0,0,.4); z-index: 999999990; }
.chatbot-open-btn:hover { color: #fff; }
.chatbot-open-btn i { display: inline-block; margin: 0 5px 0 0; }
.chatbot-open-btn p { display: inline-block; margin: 0; padding: 0; font-size: 16px; font-weight: 400; line-height: 26px; }

.chatbot-btn-bottom-left { left: 0; bottom: 0; border-radius: 0 10px 0 0; }
.chatbot-btn-bottom-right { right: 0; bottom: 0; border-radius: 10px 0 0 0; }

.chatbot-open-btn-center:link, .chatbot-open-btn-center:visited { position: fixed; display: inline-block; width: 56px; height: 56px; color: #fff; background-color: #1e3989; box-shadow: 0 0 4px rgba(0,0,0,.4); overflow: hidden; -webkit-transition: width .3s ease-out; transition: width .3s ease-out; z-index: 999999990; }
.chatbot-open-btn-center:hover { width: 190px; }
.chatbot-open-btn-center i { display: block; width: 56px; height: 56px; text-align: center; line-height: 56px; }
.chatbot-open-btn-center p { position: absolute; left: 56px; top: 0; width: calc(190px - 56px); padding: 0 15px 0 5px; box-sizing: border-box; font-size: 16px; font-weight: 400; line-height: 56px; }

.chatbot-btn-center-left { left: 0; top: calc(50% - 28px); border-radius: 0 10px 10px 0; }
.chatbot-btn-center-right { right: 0; top: calc(50% - 28px); border-radius: 10px 0 0 10px; }
*/
/* chatbot window */
/*
.chatbot-container { position: fixed; top: 0; right: 0; width: 100%; height: 100vh; overflow-x: hidden; visibility: hidden; opacity: 0; -webkit-transition: opacity .3s ease-out, visibility .3s ease-out; transition: opacity .3s ease-out, visibility .3s ease-out; z-index: 999999999; }
.chatbot-container.show { visibility: visible; opacity: 1; }

.chatbot-container .chatbot-filter { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,.8); cursor: pointer; z-index: 1; }

.chatbot-container .chatbot { position: fixed; top: 0; right: -400px; width: 400px; height: 100vh; margin: 0; background-color: #fff; -webkit-transition: right .3s ease-out, width .3s ease-out; transition: right .3s ease-out, width .3s ease-out; z-index: 2; }
.chatbot-container .chatbot.full { width: 100%; }
.chatbot-container.show .chatbot { right: 0; }

.chatbot .chatbot-close-container { display: block; width: 100%; padding: 20px; box-sizing: border-box; }
.chatbot .chatbot-close-container .close-chatbot { float: right; position: relative; display: block; margin: 0 0 0 20px; width: 30px; height: 30px; text-align: center; line-height: 28px; color: #666; border: #666 1px solid; border-radius: 8px; -webkit-transition: none; transition: none; }
.chatbot .chatbot-close-container .close-chatbot:hover, .chatbot .chatbot-title-container .close-chatbot:hover i { color: #1e3989; }

.chatbot-title-container { display: block; width: 100%; padding: 20px; box-sizing: border-box; border-bottom: #dadada 1px solid; }
.chatbot-title-container .chatbot-title { float: left; font-size: 23px; font-weight: 500; line-height: 30px; color: #1e3989; }
.chatbot-title-container .chatbot-title .chatbot-logo { margin: 0 5px 0 0; }

.chatbot .chatbot-title-container .chatbot-full { float: right; position: relative; width: 30px; height: 30px; text-align: center; line-height: 28px; color: #666; border: #666 1px solid; border-radius: 8px; -webkit-transition: none; transition: none; }
.chatbot .chatbot-title-container .chatbot-full:hover, .chatbot .chatbot-title-container .chatbot-full:hover i { color: #1e3989; }
.chatbot .chatbot-title-container .chatbot-full.show i:before { content: "\f066"; }
.chatbot .chatbot-title-container .close-chatbot { float: right; position: relative; display: block; margin: 0 0 0 10px; width: 30px; height: 30px; text-align: center; line-height: 28px; color: #666; border: #666 1px solid; border-radius: 8px; -webkit-transition: none; transition: none; }
.chatbot .chatbot-title-container .close-chatbot:hover, .chatbot .chatbot-title-container .close-chatbot:hover i { color: #1e3989; }

.end-chat:link,
.end-chat:visited { position: absolute; left: 20px; bottom: 20px; display: none; width: 40px; height: 50px; padding: 0; text-align: center; line-height: 48px; color: #1e3989; border: #1e3989 1px solid; border-radius: 8px; -webkit-transition: none; transition: none; }
.end-chat:hover { color: #1e3989; }
.end-chat .fa-comment { position: relative; font-size: 21px; z-index: 1; }
.end-chat .fa-times { position: absolute; left: 0; top: 0; width: 38px; height: 50px; text-align: center; font-size: 8px; line-height: 43px; color: #fff; z-index: 2; }
.end-chat.show { display: inline-block; }

@media (max-width: 576px){
  .chatbot-container .chatbot { position: fixed; top: 0; right: -100%; width: 100%; }
  .chatbot .chatbot-title-container .chatbot-full { display: none; }
}

.conversation-container { position: relative; display: block; width: 100%; height: calc(100vh - 141px); padding: 20px; box-sizing: border-box; overflow-y: auto; scroll-behavior: smooth; }
.conversation-container .reply { position: relative; display: block; width: 100%; padding: 0 30px; margin: 0 0 30px 0; box-sizing: border-box; }
.conversation-container .reply:before { content: "\f075"; position: absolute; left: 0; top: 0; width: 30px; height: 30px; font-family: 'FontAwesome'; font-size: 20px; line-height: 20px; text-rendering: auto; -webkit-font-smoothing: antialiased; color: #ddd; }
.conversation-container .reply .content { display: block; width: 100%; padding: 10px; box-sizing: border-box; background-color: #ddd; border-radius: 0 10px 10px 10px; }
.conversation-container .reply .content p { display: block; width: 100%; padding: 0; margin: 0; font-size: 13px; line-height: 22px; color: #000; }
/*.conversation-container .reply .content a:link,
.conversation-container .reply .content a:visited { color: #000; text-decoration: underline !important; }
.conversation-container .reply .content a:hover { text-decoration: none !important; }*/
/*
.conversation-container .reply .content .answer { display: block; }
.conversation-container .reply .content .answer .chatbot-btn { position: relative; display: block; width: 100%; }
.conversation-container .reply .content .answer .chatbot-btn .chatbot-filter-btn { display: none; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(221,221,221,.5); }
.conversation-container .reply .content .answer.hiddenbtn .chatbot-btn .chatbot-filter-btn { display: block; }
.conversation-container .reply .content .answer .chatbot-btn a.chatbot-conversation-btn:link,
.conversation-container .reply .content .answer .chatbot-btn a.chatbot-conversation-btn:visited { display: block; max-width: 380px; margin: 15px auto; padding: 15px 30px; font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none !important; text-align: center; color: #fff !important; background-color: #1e3989; border-radius: 8px; -webkit-transition: none; transition: none; }
.conversation-container .reply .content .answer .chatbot-btn a.chatbot-conversation-btn:hover { background-color: #40579b; }

.chatbot-container .chatbot.full .answer .chatbot-btn { display: inline-block; width: 300px; margin: 0 10px 10px 10px; }
@media (max-width:991px){
  .chatbot-container .chatbot.full .answer .chatbot-btn { display: block; width: 100%; margin: 0; }
}

.conversation-container .reply .reply-time { padding: 5px 0 0 0; font-size: 12px; line-height: 12px; color: #ccc; }
.conversation-container .reply p input { display: block; width: 100%; padding: 10px; margin: 5px 0 15px 0; box-sizing: border-box; font-size: 12px; line-height: 12px; color: #000; background-color: rgba(255,255,255,.7); border: 0; border-radius: 8px; }
.conversation-container .reply p a.chatbot-conversation-btn:link,
.conversation-container .reply p a.chatbot-conversation-btn:visited { display: block; max-width: 380px; margin: 15px auto; padding: 15px 30px; font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none !important; text-align: center; color: #fff !important; background-color: #1e3989; border-radius: 8px; -webkit-transition: none; transition: none; }
.conversation-container .reply p a.chatbot-conversation-btn:hover { background-color: #40579b; }

.conversation-container .reply .answer a.chatbot-conversation-btn:link,
.conversation-container .reply .answer a.chatbot-conversation-btn:visited { display: block; max-width: 380px; margin: 15px auto; padding: 15px 30px; font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none !important; text-align: center; color: #fff !important; background-color: #1e3989; border-radius: 8px; -webkit-transition: none; transition: none; }
.conversation-container .reply .answer a.chatbot-conversation-btn:hover { background-color: #40579b; }

.conversation-container .reply .delete-btn-container { display: block; width: 100%; margin: 10px 0 0 0; }
.conversation-container .reply .delete-btn-container a.yes-delete-chat-btn:link,
.conversation-container .reply .delete-btn-container a.yes-delete-chat-btn:visited { display: inline-block; height: 30px; padding: 0 30px; margin: 0; font-size: 12px; font-weight: 600; text-align: center; text-decoration: none !important; line-height: 30px; color: #1e3989; background-color: #fff; border-radius: 8px; }

.conversation-container .reply.first-message.hidden { display: none; }

.conversation-container .question { position: relative; display: block; width: 100%; padding: 0 30px; margin: 0 0 30px 0; box-sizing: border-box; }
.conversation-container .question:before { content: "\f007"; position: absolute; right: -10px; top: 0; width: 30px; height: 30px; font-family: 'FontAwesome'; font-size: 20px; line-height: 20px; text-rendering: auto; -webkit-font-smoothing: antialiased; color: #1e3989; }
.conversation-container .question p { display: block; width: 100%; padding: 10px; font-size: 13px; line-height: 22px; color: #fff; background-color: #1e3989; border-radius: 10px 0 10px 10px; }
.conversation-container .question p.question-time { padding: 5px 0 0 0; font-size: 12px; line-height: 12px; text-align: right; color: #1e3989; background-color: transparent; }

.conversation-container .pause { position: relative; display: block; width: 100%; padding: 0 30px; margin: 0 0 30px 0; box-sizing: border-box; }
.conversation-container .pause:before { content: "\f27a"; position: absolute; left: 0; top: 0; width: 30px; height: 30px; font-family: 'FontAwesome'; font-size: 20px; line-height: 20px; text-rendering: auto; -webkit-font-smoothing: antialiased; color: #ddd; animation: pulse 1s infinite; }
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: .5; }
  100% { opacity: 1; }
}

.chatbot-send-btn-container { position: absolute; left: 70px; bottom: 20px; display: block; width: calc(100% - 90px); height: 50px; padding: 0; box-sizing: border-box; }
.chatbot-send-btn-container .filter { display: none; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-color: rgba(255,255,255,.5); z-index: 3; }
.chatbot-send-btn-container.disabled .filter { display: block; }
.chatbot-send-btn-container input { float: left; position: relative; width: calc(100% - 50px); height: 50px; padding: 0 0 0 12px; box-sizing: border-box; font-size: 13px; line-height: 48px; color: #000; background-color: #fff; border: #dadada 1px solid; border-right: 0; border-radius: 8px 0 0 8px; z-index: 1; }
.chatbot-send-btn-container input::placeholder { font-style: normal; font-weight: 300; text-transform: none; color: #aaa !important; }
.chatbot-send-btn-container a.chatbot-send-btn:link,
.chatbot-send-btn-container a.chatbot-send-btn:visited { float: left; display: block; width: 50px; height: 50px; text-align: center; font-size: 13px; line-height: 48px; color: #1e3989; background-color: #fff; border: #dadada 1px solid; border-left: 0; border-radius: 0 8px 8px 0; -webkit-transition: none; transition: none; z-index: 2; }
.chatbot-send-btn-container a.chatbot-send-btn:hover {}
.chatbot-send-btn-container.focus input,
.chatbot-send-btn-container.focus a.chatbot-send-btn { border-color: #1e3989; }*/

/* end chat */
/*
.end-chat-container { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: block; /*width: 100%; height: 100vh; padding: 20px; box-sizing: border-box; visibility: hidden; opacity: 0; background-color: #fff; -webkit-transition: opacity .4s ease-out; transition: opacity .4s ease-out; z-index: 3; }
.end-chat-container.show { visibility: visible; opacity: 1; }

.end-chat-container .content { display: block; width: 100%; max-width: 300px; margin: 50px auto 0 auto; padding: 20px; box-sizing: border-box; color: #fff; background-color: #1e3989; border-radius: 10px; }
.end-chat-container .content h3 { display: block; width: 100%; margin: 40px 0 0 0; padding: 0; font-size: 18px; font-weight: 600; line-height: 24px; color: #fff; }
.end-chat-container .content p { display: block; width: 100%; margin: 0; padding: 0; font-size: 13px; line-height: 22px; color: #fff; }
.end-chat-container .content input { position: relative; display: block; width: 100%; height: 50px; margin: 10px 0 15px 0; padding: 0 12px; box-sizing: border-box; font-size: 13px; line-height: 48px; color: #000; background-color: rgba(255,255,255,.8); border: 0; border-radius: 8px; }
.end-chat-container .content input:focus { background-color: #fff; }
.end-chat-container .content input::placeholder { font-style: normal; font-weight: 300; text-transform: none; color: #1e3989 !important; }

.end-chat-container .content .control { display: block; height: 20px; margin: 0 0 20px 0; padding: 0 0 0 30px; line-height: 20px; }
.end-chat-container .content .control p { font-size: 13px; line-height: 20px; }
.end-chat-container .content .control p a:link,
.end-chat-container .content .control p a:visited { text-decoration: underline !important; color: #fff; }
.end-chat-container .content .control p a:hover { text-decoration: none !important; }
.end-chat-container .content .control .control__indicator { width: 20px; height: 20px; background-color: rgba(255,255,255,.8); border: 0; border-radius: 50%; }
.end-chat-container .content .control .control__indicator:after { left: 7px; top: 4px; width: 7px; height: 11px; border-width: 0 3px 3px 0; }

.end-chat-btn-container { width: 100%; display: flex; }
.end-chat-btn-container a.continue-chat-btn:link, 
.end-chat-btn-container a.continue-chat-btn:visited { display: block; width: calc(100% - 10px); margin: 15px 10px 15px 0; padding: 14px 30px; font-size: 14px; font-weight: 600; line-height: 14px; text-decoration: none !important; text-align: center; color: #fff !important; background-color: transparent; border: #fff 2px solid; border-radius: 8px; -webkit-transition: none; transition: none; }
.end-chat-btn-container a.continue-chat-btn:hover { color: #1e3989 !important; background-color: #fff; border-color: #fff; }

.end-chat-btn-container a.end-chat-btn:link, 
.end-chat-btn-container a.end-chat-btn:visited { display: block; width: calc(100% - 10px); margin: 15px 0 15px 10px; padding: 14px 30px; font-size: 14px; font-weight: 600; line-height: 14px; text-decoration: none !important; text-align: center; color: #fff !important; background-color: transparent; border: #fff 2px solid; border-radius: 8px; -webkit-transition: none; transition: none; }
.end-chat-btn-container a.end-chat-btn:hover { color: #1e3989 !important; background-color: #fff; border-color: #fff; }*/

/* modali */
/*
.modal-chatbot-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.8); visibility: hidden; opacity: 0; -webkit-transition: .4s; transition: .4s; z-index: 11000; }
.active-modal-chatbot { visibility: visible; opacity: 1; }

.modal-chatbot { position: fixed; top: 50%; left: 50%; width: 90vw; height: 800px; max-width: 600px; max-height: calc(95vh - 60px); margin-top: 30px; background: #fff; visibility: hidden; opacity: 0; overflow-y: auto; -weblit-transition: 0.4s ease-out; transition: 0.4s ease-out; -webkit-transform: translate(-50%, -45%); transform: translate(-50%, -45%); border-radius: 10px; z-index: 11001; }
.show-modal-chatbot { visibility: visible; opacity: 1; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }
.modal-chatbot-content { position: absolute; left: 0; top: 0; right: 0; bottom: 0; padding: 20px; box-sizing: border-box; color: #000; overflow-y: auto; }

.container-close-modal-chatbot { width: 100%; margin: 30px 0 0 0; text-align: right; }
.container-close-modal-chatbot a.modal-chatbot-btn:link,
.container-close-modal-chatbot a.modal-chatbot-btn:visited { display: inline-block; margin: 15px auto; padding: 15px 30px; font-size: 14px; font-weight: 600; line-height: 14px; text-decoration: none !important; text-align: center; color: #fff !important; background-color: #1e3989; border-radius: 8px; }
a.modal-chatbot-btn.close-modal-chatbot { display: inline-block; width: auto; }*/

/* componente chatbot */
/*
.blk-chatbot-container { position: relative; display: block; width: 100%; margin: 0 0 30px 0; }
.blk-chatbot { position: relative; display: block; width: 100%; height: 404px; border: #dadada 1px solid; border-radius: 20px; }
.blk-chatbot .conversation-container { position: relative; display: block; width: 100%; height: calc(404px - 141px); padding: 20px; box-sizing: border-box; overflow-y: auto; scroll-behavior: smooth; }
.blk-chatbot .end-chat-container { left: 1px; top: 1px; right: 1px; bottom: 1px; border-radius: 20px; }
.blk-chatbot .end-chat-container .content { max-width: 500px; margin: 0 auto; }

.swal2-container{
  z-index: 9999999999 !important;
}
*/


/*CHATBOT APERTURA A SINSTRA*/
.noScroll { overflow: hidden !important; }
body.noscroll { padding-right: 15px; }

/* chatbot button */
.chatbot-open-btn:link, .chatbot-open-btn:visited { position: fixed; display: inline-block; padding: 15px 25px; box-sizing: border-box; font-size: 16px; font-weight: 400; line-height: 26px; color: #fff; background-color: #1e3989; box-shadow: 0 0 4px rgba(0,0,0,.4); z-index: 999999990; }
.chatbot-open-btn:hover { color: #fff; }
.chatbot-open-btn i { display: inline-block; margin: 0 5px 0 0; }
.chatbot-open-btn p { display: inline-block; margin: 0; padding: 0; font-size: 16px; font-weight: 400; line-height: 26px; }

.chatbot-btn-bottom-left { left: 0; bottom: 0; border-radius: 0 10px 0 0; }
.chatbot-btn-bottom-right { right: 0; bottom: 0; border-radius: 10px 0 0 0; }

.chatbot-open-btn-center:link, .chatbot-open-btn-center:visited { position: fixed; display: inline-block; width: 56px; height: 56px; color: #fff; background-color: #8d2b8a; box-shadow: 0 0 4px rgba(0,0,0,.4); overflow: hidden; -webkit-transition: width .3s ease-out; transition: width .3s ease-out; z-index: 999999990; }
.chatbot-open-btn-center:hover { width: 190px; }
.chatbot-open-btn-center i { display: block; width: 56px; height: 56px; text-align: center; line-height: 56px; background: transparent url('custom/img/icon-chatbot-white.svg') 50% 50% no-repeat; background-size: 25px 25px; }
.chatbot-open-btn-center i:before { content: ''; }
.chatbot-open-btn-center p { position: absolute; left: 56px; top: 0; width: calc(190px - 56px); padding: 0 15px 0 5px; box-sizing: border-box; font-size: 16px; font-weight: 400; line-height: 56px; }

.chatbot-btn-center-left { left: 0; top: calc(50% - 28px); border-radius: 0 10px 10px 0; }
.chatbot-btn-center-right { right: 0; top: calc(50% - 28px); border-radius: 10px 0 0 10px; }

/* chatbot window */
.chatbot-container { position: fixed; top: 0; right: 0; width: 100%; /*height: 100vh;*/ overflow-x: hidden; visibility: hidden; opacity: 0; -webkit-transition: opacity .3s ease-out, visibility .3s ease-out; transition: opacity .3s ease-out, visibility .3s ease-out; z-index: 999999999; }
.chatbot-container.show { visibility: visible; opacity: 1; }

.chatbot-container .chatbot-filter { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,.8); cursor: pointer; z-index: 1; }

.chatbot-container .chatbot { position: fixed; top: 0; left: -400px; width: 400px; /*height: 100vh;*/ margin: 0; background-color: #fff; -webkit-transition: left .3s ease-out, width .3s ease-out; transition: left .3s ease-out, width .3s ease-out; z-index: 2; }
.chatbot-container .chatbot.full { width: 100%; }
.chatbot-container.show .chatbot { left: 0; }

.chatbot .chatbot-title-container { display: block; width: 100%; padding: 20px; box-sizing: border-box; border-bottom: #dadada 1px solid; }

.chatbot .chatbot-title-container .close-chatbot { float: left; position: relative; display: inline-block; margin: 0 10px 0 0; padding: 0 15px; height: 30px; font-size: 14px; text-align: center; line-height: 30px; color: #666; background-color: #ddd; border-radius: 8px; -webkit-transition: none; transition: none; }
.chatbot .chatbot-title-container .close-chatbot:hover, .chatbot .chatbot-title-container .close-chatbot:hover i { color: #fff; background-color: #8d2b8a; }

.chatbot .chatbot-title-container .chatbot-full { float: right; position: relative; width: 30px; height: 30px; margin: 0 0 0 10px; font-size: 14px; text-align: center; line-height: 28px; color: #666; background-color: #ddd; border-radius: 8px; -webkit-transition: none; transition: none; }
.chatbot .chatbot-title-container .chatbot-full:hover, .chatbot .chatbot-title-container .chatbot-full:hover i { color: #fff; background-color: #8d2b8a; }
.chatbot .chatbot-title-container .chatbot-full.show i:before { content: "\f066"; }

.chatbot .chatbot-title-container .end-chat:link,
.chatbot .chatbot-title-container .end-chat:visited { float: right; position: relative; width: 30px; height: 30px; margin: 0 0 0 10px; font-size: 14px; text-align: center; line-height: 28px; color: #666; background-color: #ddd; border-radius: 8px; -webkit-transition: none; transition: none; }
.chatbot .chatbot-title-container .end-chat:hover { color: #fff; background-color: #8d2b8a; }

.chatbot .chatbot-title-container .chatbot-title { /*float: right; position: relative;*/ position: absolute; left: 50%; top: 20px; display: inline-block; padding: 0 0 0 35px; margin: 0 0 0 10px; font-size: 23px; font-weight: 500; line-height: 30px; color: #8d2b8a; -webkit-transform: translateX(-50%); transform: translateX(-50%); }
.chatbot .chatbot-title-container .chatbot-title .chatbot-logo { position: absolute; left: 0; top: 0; display: inline-block; width: 30px; height: 30px; margin: 0 5px 0 0; background: transparent url('custom/img/icon-chatbot-violet.svg') 50% 50% no-repeat; background-size: 25px 25px; }
.chatbot .chatbot-title-container .chatbot-title .chatbot-logo:before { content: ''; }

/*.end-chat:link,
.end-chat:visited { position: absolute; left: 20px; bottom: 20px; display: none; width: 40px; height: 50px; padding: 0; text-align: center; line-height: 48px; color: #1e3989; border: #1e3989 1px solid; border-radius: 8px; -webkit-transition: none; transition: none; }
.end-chat:hover { color: #1e3989; }
.end-chat .fa-comment { position: relative; font-size: 21px; z-index: 1; }
.end-chat .fa-times { position: absolute; left: 0; top: 0; width: 38px; height: 50px; text-align: center; font-size: 8px; line-height: 43px; color: #fff; z-index: 2; }
.end-chat.show { display: inline-block; }*/

@media (max-width: 576px){
	.chatbot-container .chatbot { position: fixed; top: 0; right: -100%; width: 100%; }
	.chatbot .chatbot-title-container .chatbot-full { display: none; }
}

.conversation-container { position: relative; display: block; width: 100%; /*height: calc(100vh - 141px);*/ /*height: calc(100vh - 161px);*/ padding: 20px; box-sizing: border-box; overflow-y: auto; scroll-behavior: smooth; border-bottom: #dadada 1px solid; }
.conversation-container .reply { position: relative; display: block; width: 100%; padding: 0 30px; margin: 0 0 30px 0; box-sizing: border-box; }
/*.conversation-container .reply:before { content: "\f075"; position: absolute; left: 0; top: 0; width: 30px; height: 30px; font-family: 'FontAwesome'; font-size: 20px; line-height: 20px; text-rendering: auto; -webkit-font-smoothing: antialiased; color: #ddd; }*/
.conversation-container .reply:before { content: ''; position: absolute; left: 0; top: 0; width: 30px; height: 30px; background: transparent url('custom/img/icon-chatbot-grey.svg') 50% 50% no-repeat; background-size: 20px 20px; }

/*.conversation-container .reply .content { display: block; width: 100%; padding: 10px; box-sizing: border-box; background-color: #ddd; border-radius: 0 10px 10px 10px; }*/
.conversation-container .reply .content { display: block; width: 100%; padding: 10px; box-sizing: border-box; background-color: #ddd; border-radius: 0 10px 10px 10px; word-break: break-all; }
.conversation-container .reply .content p { display: block; width: 100%; padding: 0; margin: 0; font-size: 13px; line-height: 22px; color: #000; }
/*.conversation-container .reply .content a:link,
.conversation-container .reply .content a:visited { color: #000; text-decoration: underline !important; }
.conversation-container .reply .content a:hover { text-decoration: none !important; }*/

.conversation-container .reply .content .answer { display: block; }
.conversation-container .reply .content .answer .chatbot-btn { position: relative; display: block; width: 100%; }
.conversation-container .reply .content .answer .chatbot-btn .chatbot-filter-btn { display: none; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(221,221,221,.5); }
.conversation-container .reply .content .answer.hiddenbtn .chatbot-btn .chatbot-filter-btn { display: block; }
.conversation-container .reply .content .answer .chatbot-btn a.chatbot-conversation-btn:link,
.conversation-container .reply .content .answer .chatbot-btn a.chatbot-conversation-btn:visited { display: block; max-width: 380px; margin: 15px auto; padding: 15px 30px; font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none !important; text-align: center; color: #fff !important; background-color: #000; border-radius: 25px; -webkit-transition: none; transition: none; }
.conversation-container .reply .content .answer .chatbot-btn a.chatbot-conversation-btn:hover { background-color: #333; }

.chatbot-container .chatbot.full .answer .chatbot-btn { display: inline-block; width: 300px; margin: 0 10px 10px 10px; }
@media (max-width:991px){
  .chatbot-container .chatbot.full .answer .chatbot-btn { display: block; width: 100%; margin: 0; }
}

.conversation-container .reply .reply-time { padding: 5px 0 0 0; font-size: 12px; line-height: 12px; color: #ccc; }
.conversation-container .reply p input { display: block; width: 100%; padding: 10px; margin: 5px 0 15px 0; box-sizing: border-box; font-size: 12px; line-height: 12px; color: #000; background-color: rgba(255,255,255,.7); border: 0; border-radius: 8px; }
.conversation-container .reply p a.chatbot-conversation-btn:link,
.conversation-container .reply p a.chatbot-conversation-btn:visited { display: block; max-width: 380px; margin: 15px auto; padding: 15px 30px; font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none !important; text-align: center; color: #fff !important; background-color: #1e3989; border-radius: 8px; -webkit-transition: none; transition: none; }
.conversation-container .reply p a.chatbot-conversation-btn:hover { background-color: #40579b; }

.conversation-container .reply .answer a.chatbot-conversation-btn:link,
.conversation-container .reply .answer a.chatbot-conversation-btn:visited { display: block; max-width: 380px; margin: 15px auto; padding: 15px 30px; font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none !important; text-align: center; color: #fff !important; background-color: #1e3989; border-radius: 8px; -webkit-transition: none; transition: none; }
.conversation-container .reply .answer a.chatbot-conversation-btn:hover { background-color: #40579b; }

.conversation-container .reply .delete-btn-container { display: block; width: 100%; margin: 10px 0 0 0; }
.conversation-container .reply .delete-btn-container a.yes-delete-chat-btn:link,
.conversation-container .reply .delete-btn-container a.yes-delete-chat-btn:visited { display: inline-block; height: 30px; padding: 0 30px; margin: 0; font-size: 12px; font-weight: 600; text-align: center; text-decoration: none !important; line-height: 30px; color: #1e3989; background-color: #fff; border-radius: 8px; }

.conversation-container .reply.first-message.hidden { display: none; }

.conversation-container .question { position: relative; display: block; width: 100%; padding: 0 30px; margin: 0 0 30px 0; box-sizing: border-box; }
.conversation-container .question:before { content: "\f007"; position: absolute; right: -10px; top: 0; width: 30px; height: 30px; font-family: 'FontAwesome'; font-size: 20px; line-height: 20px; text-rendering: auto; -webkit-font-smoothing: antialiased; color: #8d2b8a; }
.conversation-container .question p { display: block; width: 100%; padding: 10px; font-size: 13px; line-height: 22px; color: #fff; background-color: #8d2b8a; border-radius: 10px 0 10px 10px; }
.conversation-container .question p.question-time { padding: 5px 0 0 0; font-size: 12px; line-height: 12px; text-align: right; color: #8d2b8a; background-color: transparent; }

.conversation-container .pause { position: relative; display: block; width: 100%; padding: 0 30px; margin: 0 0 30px 0; box-sizing: border-box; }
/*.conversation-container .pause:before { content: "\f27a"; position: absolute; left: 0; top: 0; width: 30px; height: 30px; font-family: 'FontAwesome'; font-size: 20px; line-height: 20px; text-rendering: auto; -webkit-font-smoothing: antialiased; color: #ddd; animation: pulse 1s infinite; }
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: .5; }
  100% { opacity: 1; }
}*/

.conversation-container .pause { opacity: .5; }
.conversation-container .pause p { position: relative; display: block; width: 50px; height: 50px; /*margin: 0 auto 30px auto;*/ margin: 0 auto; background: transparent url('custom/img/icon-chatbot-no-face-violet.svg') 50% 50% no-repeat; background-size: 50px 50px; z-index: 1; }
.conversation-container .pause p:before { content: ''; position: absolute; left: 0; top: 0; display: block; width: 50px; height: 50px; background: transparent url('custom/img/icon-chatbot-cog-violet.svg') 50% 50% no-repeat; background-size: 50px 50px; animation: rotateCog 2s linear infinite; z-index: 2; }
.conversation-container .pause span { position: relative; display: block; width: 100%; margin: 0 0 30px 0; text-align: center; font-size: 13px; font-weight: 500; line-height: 16px; color: #8d2b8a; }
@keyframes rotateCog {
  0% { transform: rotate(0deg); }
  99.9% { transform: rotate(359.9deg); }
}

.chatbot-send-btn-container { position: absolute; left: 15px; bottom: 20px; display: block; width: calc(100% - 30px); height: 50px; padding: 0; box-sizing: border-box; }
.chatbot-send-btn-container .filter { display: none; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-color: rgba(255,255,255,.5); z-index: 3; }
.chatbot-send-btn-container.disabled .filter { display: block; }
.chatbot-send-btn-container input { float: left; position: relative; width: calc(100% - 50px); height: 50px; padding: 0 0 0 12px; box-sizing: border-box; font-size: 13px; line-height: 48px; color: #000; background-color: #fff; border: #8d2b8a 1px solid; border-right: 0; border-radius: 8px 0 0 8px; z-index: 1; }
.chatbot-send-btn-container input::placeholder { font-size: 13px !important; font-style: normal; font-weight: 300; text-transform: none; color: #aaa !important; }
.chatbot-send-btn-container a.chatbot-send-btn:link,
.chatbot-send-btn-container a.chatbot-send-btn:visited { float: left; display: block; width: 50px; height: 50px; text-align: center; font-size: 13px; line-height: 48px; color: #8d2b8a; background-color: #fff; border: #8d2b8a 1px solid; border-left: 0; border-radius: 0 8px 8px 0; -webkit-transition: none; transition: none; z-index: 2; }
.chatbot-send-btn-container a.chatbot-send-btn:hover {}
.chatbot-send-btn-container.focus input,
.chatbot-send-btn-container.focus a.chatbot-send-btn { border-color: #8d2b8a; }

/* end chat */
.end-chat-container { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: block; /*width: 100%; height: 100vh;*/ padding: 20px; box-sizing: border-box; visibility: hidden; opacity: 0; background-color: #fff; -webkit-transition: opacity .4s ease-out; transition: opacity .4s ease-out; z-index: 3; }
.end-chat-container.show { visibility: visible; opacity: 1; }

.end-chat-container .content { display: block; width: 100%; max-width: 300px; margin: 50px auto 0 auto; padding: 20px; box-sizing: border-box; color: #000; background-color: #ddd; border-radius: 10px; }
.end-chat-container .content h3 { display: block; width: 100%; margin: 40px 0 0 0; padding: 0; font-size: 18px; font-weight: 600; line-height: 24px; color: #000; }
.end-chat-container .content p { display: block; width: 100%; margin: 0; padding: 0; font-size: 13px; line-height: 22px; color: #000; }
.end-chat-container .content input { position: relative; display: block; width: 100%; height: 50px; margin: 10px 0 15px 0; padding: 0 12px; box-sizing: border-box; font-size: 13px; line-height: 48px; color: #000; background-color: #fff; border: 0; border-radius: 8px; }
.end-chat-container .content input:focus { background-color: #fff; }
.end-chat-container .content input::placeholder { font-size: 16px; font-style: normal; font-weight: 300; text-transform: none; color: #aaa !important; }

.end-chat-container .content .control { display: block; height: 20px; margin: 0 0 20px 0; padding: 0 0 0 30px; line-height: 20px; }
.end-chat-container .content .control p { font-size: 13px; line-height: 20px; }
.end-chat-container .content .control p a:link,
.end-chat-container .content .control p a:visited { text-decoration: underline !important; color: #000; }
.end-chat-container .content .control p a:hover { text-decoration: none !important; }
.end-chat-container .content .control .control__indicator { width: 20px; height: 20px; background-color: #fff; border: 0; border-radius: 50%; }
.end-chat-container .content .control .control__indicator:after { left: 7px; top: 4px; width: 7px; height: 11px; border-width: 0 3px 3px 0; }

.end-chat-btn-container { width: 100%; display: flex; }
.end-chat-btn-container a.continue-chat-btn:link, 
.end-chat-btn-container a.continue-chat-btn:visited { display: block; width: calc(100% - 10px); margin: 15px 10px 15px 0; padding: 14px 30px; font-size: 14px; font-weight: 600; line-height: 14px; text-decoration: none !important; text-align: center; color: #fff !important; background-color: #000; /*border: #fff 2px solid;*/ border-radius: 23px; -webkit-transition: none; transition: none; }
.end-chat-btn-container a.continue-chat-btn:hover { color: #fff !important; background-color: #333; /*border-color: #fff;*/ }

.end-chat-btn-container a.end-chat-btn:link, 
.end-chat-btn-container a.end-chat-btn:visited { display: block; width: calc(100% - 10px); margin: 15px 0 15px 10px; padding: 14px 30px; font-size: 14px; font-weight: 600; line-height: 14px; text-decoration: none !important; text-align: center; color: #fff !important; background-color: #000; /*border: #fff 2px solid;*/ border-radius: 23px; -webkit-transition: none; transition: none; }
.end-chat-btn-container a.end-chat-btn:hover { color: #fff !important; background-color: #333; /*border-color: #fff;*/ }

/* modali */
.modal-chatbot-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.8); visibility: hidden; opacity: 0; -webkit-transition: .4s; transition: .4s; z-index: 11000; }
.active-modal-chatbot { visibility: visible; opacity: 1; }

.modal-chatbot { position: fixed; top: 50%; left: 50%; width: 90vw; height: 800px; max-width: 600px; max-height: calc(95vh - 60px); margin-top: 30px; background: #fff; visibility: hidden; opacity: 0; overflow-y: auto; -weblit-transition: 0.4s ease-out; transition: 0.4s ease-out; -webkit-transform: translate(-50%, -45%); transform: translate(-50%, -45%); border-radius: 10px; z-index: 11001; }
.show-modal-chatbot { visibility: visible; opacity: 1; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }
.modal-chatbot-content { position: absolute; left: 0; top: 0; right: 0; bottom: 0; padding: 20px; box-sizing: border-box; color: #000; overflow-y: auto; }

.container-close-modal-chatbot { width: 100%; margin: 30px 0 0 0; text-align: right; }
.container-close-modal-chatbot a.modal-chatbot-btn:link,
.container-close-modal-chatbot a.modal-chatbot-btn:visited { display: inline-block; margin: 15px auto; padding: 15px 30px; font-size: 14px; font-weight: 600; line-height: 14px; text-decoration: none !important; text-align: center; color: #fff !important; background-color: #1e3989; border-radius: 8px; }
a.modal-chatbot-btn.close-modal-chatbot { display: inline-block; width: auto; }

/* componente chatbot */
.blk-chatbot-container { position: relative; display: block; width: 100%; margin: 0 0 30px 0; }
.blk-chatbot { position: relative; display: block; width: 100%; height: 404px; border: #dadada 1px solid; border-radius: 20px; }
.blk-chatbot .conversation-container { position: relative; display: block; width: 100%; height: calc(404px - 141px); padding: 20px; box-sizing: border-box; overflow-y: auto; scroll-behavior: smooth; }
.blk-chatbot .end-chat-container { left: 1px; top: 1px; right: 1px; bottom: 1px; border-radius: 20px; }
.blk-chatbot .end-chat-container .content { max-width: 500px; margin: 0 auto; }

.blk-chatbot .chatbot-title-container { display: block; width: 100%; padding: 20px; box-sizing: border-box; border-bottom: #dadada 1px solid; }

.blk-chatbot .chatbot-title-container .end-chat:link,
.blk-chatbot .chatbot-title-container .end-chat:visited { float: right; position: relative; width: 30px; height: 30px; margin: 0 0 0 10px; font-size: 14px; text-align: center; line-height: 28px; color: #666; background-color: #ddd; border-radius: 8px; -webkit-transition: none; transition: none; }
.blk-chatbot .chatbot-title-container .end-chat:hover { color: #fff; background-color: #8d2b8a; }

.blk-chatbot .chatbot-title-container .chatbot-title { /*float: right; position: relative;*/ position: absolute; left: 50%; top: 20px; display: inline-block; padding: 0 0 0 35px; margin: 0 0 0 10px; font-size: 23px; font-weight: 500; line-height: 30px; color: #8d2b8a; -webkit-transform: translateX(-50%); transform: translateX(-50%); }
.blk-chatbot .chatbot-title-container .chatbot-title .chatbot-logo { position: absolute; left: 0; top: 0; display: inline-block; width: 30px; height: 30px; margin: 0 5px 0 0; background: transparent url('custom/img/icon-chatbot-violet.svg') 50% 50% no-repeat; background-size: 25px 25px; }
.blk-chatbot .chatbot-title-container .chatbot-title .chatbot-logo:before { content: ''; }

.swal2-container{
  z-index: 9999999999 !important;
}

.loading-end-button { position: relative; display: inline-block; width: 150%; }

.spinner-filter { position: absolute; top: 15px; right: 0; bottom: 15px; left: 10px; display: none; background-color: rgba(0,0,0,.85); z-index: 1; }
.spinner-filter .spinner-container { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; border: 5px solid rgba(255,255,255,.15); border-radius: 50%; box-sizing: border-box; transform: translate(-50%, -50%); }
.spinner-filter .spinner-container .spinner { position: absolute; top: -55px; left: -5px; width: 40px; height: 40px; margin: 50px auto; border-width: 5px; border-style: solid; border-color: transparent #1E3989 transparent transparent; border-radius:50%; box-sizing: border-box; animation-name: rotet; animation-duration: 2s; animation-iteration-count: infinite; }
@-webkit-keyframes rotet { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotet { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.loading-end-button.disabled .spinner-filter { display: block; border-radius: 8px; width: calc(100% - 10px); }