﻿/*
' ===================================@FICHEIRO=====================================
' @DESC   Folha de estilo do Chatbot.
' @AUTOR  TALISMA
' @VERSAO 1.04 2025-04-08
' @NOVO   Normalizar cores com cssGeral
' ===================================@FICHEIRO.====================================
*/
/*! chatbot.css is based on "normalize.css" v2.1.3 | git.io/normalize */

/**
 * Correct `block` display not defined in IE 8/9.
 */

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}

/**
 * Correct `inline-block` display not defined in IE 8/9.
 */

audio, canvas, video {
  display: inline-block;
}

  /**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

  audio:not([controls]) {
    display: none;
    height: 0;
  }

/**
 * Address `[hidden]` styling not present in IE 8/9.
 * Hide the `template` element in IE, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

  body .chat-intro-msg-div, .chat-intro-msg-div input, .chat-intro-msg-div textarea, .chat-intro-msg-div select, .chat-intro-msg-div button {
    font-family: Segoe UI, Tahoma, Arial, Verdana !important;
  }

/* ==========================================================================
   Typography
   ========================================================================== */

/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background-color: rgb(250,220,80);
  color: #000;
}

/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */

code, kbd, pre, samp {
  font-size: 1em;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */

pre {
  white-space: pre-wrap;
}

/**
 * Set consistent quote types.
 */

q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

/* ==========================================================================
   Embedded content
   ========================================================================== */

/* ==========================================================================
   Figures
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari 5.
 */

figure {
  margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

/**
 * Define consistent border, margin, and padding.
 */

/*
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
*/

/* ==========================================================================
   Tables
   ========================================================================== */


.transitions {
  -webkit-transition: all 0.2s ease-in-out 0.2s;
  -moz-transition: all 0.2s ease-in-out 0.2s;
  -o-transition: all 0.2s ease-in-out 0.2s;
  -ms-transition: all 0.2s ease-in-out 0.2s;
  transition: all 0.2s ease-in-out 0.2s;
}

.chat-title {
  height: 30px;
  width: 100%;
  line-height: 25px;
  cursor: pointer;
}

  .chat-title > div {
    float: right;
  }

  .chat-title > span {
    float: left;
    margin: 2px 5px;
    font-weight: bold;
  }

close {
  display: block;
  cursor: pointer;
  float: right;
  height: 30px;
  width: 33px;
  font-size: 15px !important;
  line-height: 28px;
  text-align: center;
  box-shadow: -1px 0 0px 0 rgba(0, 0, 0, 0.2);
}

.close:hover {
  background-color: #ffffff;
  color: #505050;
}

.chat-body {
  width: 100%;
  height: 420px; /* (ChatWindow_Height - 30)*/
  background-color: #fff;
  position: relative;
}

.absolutes {
  position: fixed;
  right: 20px; /* 20 = chatFromRight */
  bottom: 0px;
  z-index: 100;
}

.bgcolor {
	background-color: rgb(250,150,150);
  color: #ffffff;
  text-decoration: none;
}

.right {
  float: right;
}

.left {
  float: left;
}

.right.btn i {
  font-size: 1.2em;
	color: rgb(200, 200, 200);
  float: right;
  margin-top: -3px;
}

.right.btn:disabled {
  cursor: not-allowed;
}

.btn {
  cursor: pointer;
	color: rgb(51, 145, 255);
  height: 24px;
  width: 24px;
}

.right.btn:hover {
	color: rgb(51, 145, 255);
}

.right.btn, .left.btn {
  line-height: 24px;
  height: 24px;
}

  .left.btn img {
    height: 24px;
    width: 24px;
  }

.btn:hover {
	color: rgb(51, 145, 255);
}

  .btn:hover .menu {
    display: block;
  }

.chat-bubble {
  position: fixed;
  width: 60px;
  height: 60px;
  right: 100px;
  bottom: 20px;
  float: right;
  border-radius: 50%;
  -webkit-box-shadow: 0 2px 5px 1px rgb(107 104 104 / 50%);
  justify-content: center;
  overflow: hidden;
  display: flex !important;
	background-color: #3391ff !important;
  justify-content: center;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  -webkit-box-shadow: 0 2px 5px 1px rgb(107 104 104 / 50%);
  text-align: center;
  color: #fff;
  cursor: pointer;
	z-index: 9999;				
}

  .chat-bubble img {
    margin-top: 0;
    width: auto;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    vertical-align: middle;
    border-style: none;
    -o-object-fit: contain;
    object-fit: contain;
  }

.modal-bg {
  background-color: #000;
  background-repeat: repeat-x repeat-y;
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
  opacity: 0;
}

  .modal-bg.show {
    opacity: .6;
  }

  .modal-bg.hide, .chat-intro-msg-div {
    opacity: 0;
  }

    .chat-intro-msg-div .nClose i {
      font-size: 10px !important;
      display: block;
      height: 14px;
      width: 14px;
      line-height: 15px;
    }

.chat-dialog-header {
  cursor: move;
  border-radius: 8px 8px 0px 0px;
  background-color: rgb(51, 145, 255);
}

.chat-dialog-footer {
  width: 80% !important;
  margin: auto !important;
  float: none !important;
}

.chat-dialog-footer, .chat-dialog-header {
  display: block;
  width: 100%;
  float: left;
  height: 41px;
}

  .chat-dialog-footer a {
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: 0.2px;
  }

  .chat-dialog-header .left, .chat-dialog-header .right {
    margin-top: 10px;
  }

  /*.chat-dialog-footer .left, .chat-dialog-footer .right {
        margin-top: 10px;
    }*/

  .chat-dialog-header .left {
    margin-left: 10px;
  }

  .chat-dialog-header .right {
    margin-right: 10px;
  }

.chat-dialog-processing {
  width: 80% !important;
  margin: auto !important;
  float: none !important;
  color: rgb(51,145,255);
  width: 100%;
  float: left;
  height: 41px;
}
  .chat-dialog-processing div {
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: 0.2px;
  }

.chat-intro-msg-div {
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.1);
  outline: 0;
  position: fixed;
  transition: all .3s linear 0s;
  z-index: 99999;
  opacity: 0;
}

  .chat-intro-msg-div.show {
    opacity: 1;
  }

  .chat-intro-msg-div.hide {
    opacity: 0;
    top: 100%;
  }

  .chat-intro-msg-div .chat-dialog-header h2 {
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    line-height: 0.9;
    letter-spacing: 0.7px;
    color: #ffffff;
    margin-left: 15px;
    margin-top: 11px;
    float: left;
  }

  .chat-intro-msg-div .chat-dialog-header .nDlgTool {
    float: right;
    margin-right: 10px;
    margin-top: 20px;
  }

    .chat-intro-msg-div .chat-dialog-header .nDlgTool i {
      width: 16px;
      height: 16px;
      font-size: 1.4em;
    }

  .chat-intro-msg-div .nClose:hover, nWordCloud {
    background-color: #FFF;
	color: rgb(80, 80, 80);
    cursor: pointer;
  }

  .chat-intro-msg-div a {
    text-decoration: none;
  }

    .chat-intro-msg-div a.btn:hover {
      text-decoration: underline;
    }

.chat-intro-msg-dialog {
  width: 100%;
  display: block;
  float: left;
  word-wrap: break-word;
  font-size: 14px;
  margin: auto;
  font-style: normal;
  font-stretch: normal;
	color: rgb(120, 120, 120);
  z-index: 2;
}

  .chat-intro-msg-dialog h2 {
    margin: 0px;
    padding: 0px;
    height: 30px;
	color: rgb(80, 80, 80);
  }

  .chat-intro-msg-dialog iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    position: relative;
    z-index: 1;
  }

  .chat-intro-msg-dialog .center {
    text-align: center;
  }

.chat-intro-msg {
  text-align: center;
	line-height: 28px;
	color: rgb(80, 80, 80);
  font-size: 14px;
}

.chat-error-msg {
  text-align: center;
  line-height: 22px;
  color: rgb(51,145,255);
  font-size: 14px;
}


#chat-frame {
  padding: 10px;
  width: 80%;
  margin: auto;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: rgb(200, 200, 200);
  opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: rgb(200, 200, 200);
}
::-ms-input-placeholder { /* Microsoft Edge */
	color: rgb(200, 200, 200);
}