@import url('https://fonts.googleapis.com/css?family=Montserrat:300');
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
}

div {
  word-wrap: break-word;
  line-height: 1.25rem;
}

table tr, table td{
  border: 1px solid #CCC;
}

placeholder{
    text-overflow:ellipsis;
}

.disabled{
  color: #B5B5B5 !important;
  cursor: default !important;
}



.disclaimer {
  font-size: 0.75rem;
  padding: 0.5rem;
}

#view-change-button {
  display: inline-block;
  position: absolute;
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 1.5625rem;
  background: #AB72F8;
  top: 0.3125rem;
  right: 0.3125rem;
  line-height: 3.125rem;
  vertical-align: middle;
}

#view-change-button img {
  display: none;
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

#view-change-button:not(.full) .not-full {
  display: inline-block;
}

#view-change-button.full .full {
  display: inline-block;
}

#contentParent {
  height: 100%;
  display: none;
}

.responsive-columns-wrapper {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -ms-display: flex;
  -ms-flex-direction: row;
}

.responsive-column {
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow-y: hidden;

}

#chat-column-holder {
  text-align: center;
  height: 100%;
}

.chat-column {
  margin: auto;
  text-align: left;
  width: 100%;
  height: 100%;
}

.user-typing {
  border: none;
  color: #8d25e8;
  margin: 0.75rem;
  font-size: 15;
  font-family: 'Montserrat', Arial, sans-serif;
}

#scrollingChat {
  padding:5px;
  padding-bottom:15px;
  overflow-y: auto;
  overflow-x: hidden;
  height: calc(100% - 2.6rem);

}

#comercial{
  background-image: url('../img/fondo chatbot.png');
  background-size: 100% 100%;
}
#indexAlma{
  background-image: url('../img/fondo chatbot.png');
  height: calc(100% - 2.8rem );
  background-size: 100% 100%;
}

#indexComercial{
  background-color: rgba(242, 242, 242, 1);
  height: calc(100% - 2.6rem );
  background-size: 100% 100%;
}

#enviar{
  width: 8%;
  height: 6%;
  float: right;
  padding-top: 0.5rem;
}

#labelPrivacidad {
  padding-top: 1rem;
  padding-left: 0.5rem;
}

.message-inner {
  opacity: 0;
  margin-top: 0.9375rem;
  -webkit-transition-property: opacity, margin-top;
  -webkit-transition-duration: 0.75s;
  -webkit-transition-timing-function: ease-in;
  -moz-transition-property: opacity, margin-top;
  -moz-transition-duration: 0.75s;
  -moz-transition-timing-function: ease-in;
  -o-transition-property: opacity, margin-top;
  -o-transition-duration: 0.75s;
  -o-transition-timing-function: ease-in;
  -ms-transition-property: opacity, margin-top;
  -ms-transition-duration: 0.75s;
  -ms-transition-timing-function: ease-in;
  transition-property: opacity, margin-top;
  transition-duration: 0.75s;
  transition-timing-function: ease-in;
}

.load .message-inner {
  opacity: 1;
  margin-top: 0.3125rem;
}

.from-user {
  text-align: right;
}

.from-user .message-inner {
  position: relative;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.015rem;
  line-height: 1.3125rem;
  background: #0077c1;
  border-radius: 1.25rem;
  border-bottom-right-radius: 0;
  text-align: left;
  display: inline-block;
  margin-left: 2.5rem;
  min-width: 2.5rem;
  max-width: 80%;
}

.from-user .message-inner p {
  margin: 0.3125rem;
  padding: 0 0.9375rem;
}

.from-user .message-inner:before, .from-user .message-inner:after {
  content: "";
  position: absolute;
}


.from-user .message-inner:before {
  z-index: -2;
  bottom: -0.375rem;
  right: 0;
  height: 0.375rem;
  width: 0.5rem;
  background: #769CA7;
}

.from-user .message-inner:after {
  z-index: -1;
  bottom: -0.5rem;
  right: 0;
  height: 0.5rem;
  width: 0.5rem;
  background: #fff;
  border-top-right-radius: 1.25rem;
}

.from-watson{
  text-align: left;
  padding-right: 1.25rem;
}

.segments{
  margin: 5px;
  margin-left: 5px;
  margin-right: 5px;
}

.mensajeInicio{
  margin: 0.3125rem;
  padding: 0 1.25rem;
}

.from-watson .message-inner {

    position: relative;
    font-size: 1rem;
    color: #000;
    letter-spacing: 0.015rem;
    line-height: 1.3125rem;
    background: #e2e2e2;
    border-radius: 1.25rem;
    border-bottom-left-radius: 0;
    text-align: left;
    display: inline-block;
    box-shadow: 0 2px 0.5px rgba(0,0,0,.13);
    margin: 0.5em;
    margin-left: 0.1rem;
    margin-bottom: 0.4rem;
    min-width: 2.5rem;
    max-width: 89%;


}

.from-watson.latest .message-inner {
  color: #212529;
}

.from-watson p {
  padding-left: 1.25rem;
}

.mensajesConversacion{
  margin: 0.3125rem;
  padding: 0 1.25rem;
}

.from-watson.latest.top p:before {
  /* content: ".";
  color: #9855D4;
  background-image: url("../img/marker_image.png");
  background-size: 0.3125rem 1.3125rem;
  position: absolute;
  z-index: 2;
  left: 0.4375rem;
  width: 0.3125rem;
  height: 1.3125rem;
  line-height: 1.3125rem; */
}

#textInput {
  width: 75%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: #323232;
  letter-spacing: 0.015rem;
  line-height: 1.3125rem;
  max-width: 100%;
  white-space: normal;
  margin-left: 0.125rem;
  font-family: 'Montserrat', Arial, sans-serif;
}


::-webkit-input-placeholder {
  color: #B5B5B5;
}

::-moz-placeholder {
  color: #B5B5B5;
  opacity:  1;
}

input:-moz-placeholder {
  color: #B5B5B5;
  opacity:  1;
}

:-ms-input-placeholder {
  color: #B5B5B5;
}

::-ms-clear {
  display: none;
}

.inputOutline {
  vertical-align: middle;
  height: 2.6rem;
  display: block;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}


#cargandoCss{
    position:relative;
    margin-right: 2.5rem;
}
#cargandoCss span{
    display:block;
    bottom:0px;
    width: 9px;
    height: 5px;
    background:#9b59b6;
    position:absolute;
    animation: cargandoCss 1.5s  infinite ease-in-out;
}

#cargandoCss span:nth-child(2){
left:11px;
animation-delay: .2s;

}
#cargandoCss span:nth-child(3){
left:22px;
animation-delay: .4s;
}
#cargandoCss span:nth-child(4){
left:33px;
animation-delay: .6s;
}
#cargandoCss span:nth-child(5){
left:44px;
animation-delay: .8s;
}
@keyframes cargandoCss {
    0% {height:5px;transform:translateY(0px);background:#9b59b6;}
    25% {height:30px;transform:translateY(15px);background:#3498db;}
    50% {height:5px;transform:translateY(0px);background:#9b59b6;}
    100% {height:5px;transform:translateY(0px);background:#9b59b6;}
}

#cargando{
  height:100%;
  width:100%;
  position: absolute;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:1000;
}

#registro{
  display: grid;
  font-family: Avenir;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  height:auto;
  width:30%;
  position: absolute;
  justify-content:center;
  align-items:center;
  border-radius: 10px;
}

#mail{
  width: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#registro h4{
  text-align: center;
}

#linkServer{
  padding-left: 10px;
  text-decoration: none;
}

#acceder{
  text-decoration: none;
  outline: 0 none;
  display: block;
  font-weight: bold;
  margin-top: 5%;
  margin-bottom: 5%;
  margin-left: auto;
  margin-right: auto;
  padding: 3px;
  padding-left: 32px;
  color: #4579ab;
  padding-right: 32px;
  font-size: 15px;
  border: 2px double #bbbbbc;
  cursor: pointer;
}

.prueba{
  display: inline;
  margin-top: 5%;
  margin-bottom: 5%;
  margin-left: auto;
  margin-right: auto;
}

#start{
  background-color: #0077c1;
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  font-size: 16px;
  margin: 4px 2px;
  outline: none;
  transition: 0.3s;
  display: inline-block;
  cursor: pointer;
  border-radius: 29px;
}

#start:hover{
  opacity: 0.4;
}

#converfin{
  display: grid;
  -webkit-font-smoothing: antialiased;
  height: 70%;
  width: 100%;
  position: absolute;
  justify-items: center;
  z-index: 1000;
  font-weight: 500;
  font-size: 1.25em;
}

#startPanel{
  display: grid;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  height:50%;
  width:100%;
  padding-top: 45px;
  position: absolute;
  justify-items: left;
  z-index:1000;
}

#backButtonLine{
  bottom: 74px;
  width: 100%;
  padding-right: 1.5rem;
  position: fixed;
  padding-left: 1rem;
}

#backButtonLineAlma{
  width: 100%;
  padding-right: 1.5rem;
  position: fixed;
  padding-left: 1rem;
}

#publicidadAlma{
  margin: auto;
  width: 100%;
  padding-top: 0.5rem;
  padding-right: 1.5rem;
  position: fixed;
  padding-left: 1rem;
}

#publicidadSuperior{
  float: left;
  padding-top: 0.4rem;
  display: inline-block;
  width: 100%;
  font-size: 11.9px; 
  color: #767676;
}

#publicidadInferior{
    float: left;
    display: inline-block;
    width: 20%;
    padding-top: 0.5rem;
    height: 10%;
}

#mensajeFinal {
  margin: auto;
  color: #818184;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 3.5rem;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -2rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

#back:disabled {
  color: #737373;
  display: none;
}


#back {
  font-size: 1rem;
  color: #fff;
  outline: none;
  padding: 0.60rem;
  border: none;
  background: none;
  border-radius: 50%;
  cursor: pointer;
}

.FeedBack {
  cursor: pointer;
  float: right;
  overflow: auto;
  padding-left: 0.8rem;
  padding-top: 0.5rem;
  font-size: 1.2em;
  color: #4579ab;
}

.power {
  text-decoration: unset;
  cursor: pointer;
  padding-top: 0.5rem;
  font-size: 0.9em;
  color: #767676;
}

#textInputDummy {
  position:absolute;
  white-space:pre;
  top: 0;
  left: -1000%;
  opacity: 0;
}

#payload-column {
  font-family: Monaco, monospace;
  font-size: 0.75rem;
  letter-spacing: 0;
  line-height: 1.125rem;
  background-color: #23292A;
  color: #fff;
  overflow-x: auto;
  width: 45%;
  max-width: 32.0625rem;
  min-width: 29.6875rem;
}

#payload-column.full {
  width: 100%;
  max-width: none;
  min-width: initial;
}

#payload-column .header-text, #payload-column #payload-initial-message {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  color: #9E9E9E;
  letter-spacing: 0.01875rem;
  padding: 0.5rem;
  padding-left: 2.5rem;
  background: #383D3E;
}

.hide {
  display: none;
}

.payload .line-numbers, .payload .payload-text {
  padding: 0.5rem;
}

.line-numbers {
  width: 2rem;
  color: #898989;
  text-align: right;
}

pre {
  margin: 0;
  word-wrap: normal;
}

.string {
  color: #54EED0;
}

.boolean, .null, .number {
  color: #CE8EFF;
}

.key {
  color: #66B7FF;
}

html{
  font-size: 16px;
}

@media only screen and (max-width: 1000px) {
  html {
    font-size: 15px;
  }
}

@media only screen and (max-width: 600px) {
  html {
    font-size: 14px;
  }

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */
@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 667px)
  and (-webkit-min-device-pixel-ratio: 2) {
    html {
        font-size: 16px;
    }
}

/* ----------- iPhone 6+, 7+ and 8+ ----------- */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 736px)
  and (-webkit-min-device-pixel-ratio: 3) {
    html {
        font-size: 16px;
    }
}

/* ----------- iPhone X ----------- */
@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 812px)
  and (-webkit-min-device-pixel-ratio: 3) {
    html {
        font-size: 16px;
    }
}
  .chat-column {
    /* padding-top: 4rem; */
  }

  #payload-column {
    width: 0;
    max-width: none;
    min-width: initial;
  }
}

/* IBM Design fonts https://github.ibm.com/Design/fonts */
@font-face {
  font-family: 'Helvetica Neue for IBM';
  src: url('../fonts/light/h-n-light.eot?') format('eot'),
  url('../fonts/light/h-n-light.woff2') format('woff2'),
  url('../fonts/light/h-n-light.woff') format('woff'),
  url('../fonts/light/h-n-light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Helvetica Neue for IBM';
  src: url('../fonts/light-italic/h-n-light-italic.eot?') format('eot'),
  url('../fonts/light-italic/h-n-light-italic.woff2') format('woff2'),
  url('../fonts/light-italic/h-n-light-italic.woff') format('woff'),
  url('../fonts/light-italic/h-n-light-italic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'Helvetica Neue for IBM';
  src: url('../fonts/roman/h-n-roman.eot?') format('eot'),
  url('../fonts/roman/h-n-roman.woff2') format('woff2'),
  url('../fonts/roman/h-n-roman.woff') format('woff'),
  url('../fonts/roman/h-n-roman.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Helvetica Neue for IBM';
  src: url('../fonts/roman-italic/h-n-roman-italic.eot?') format('eot'),
  url('../fonts/roman-italic/h-n-roman-italic.woff2') format('woff2'),
  url('../fonts/roman-italic/h-n-roman-italic.woff') format('woff'),
  url('../fonts/roman-italic/h-n-roman-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Helvetica Neue for IBM';
  src: url('../fonts/medium/h-n-medium.eot?') format('eot'),
  url('../fonts/medium/h-n-medium.woff2') format('woff2'),
  url('../fonts/medium/h-n-medium.woff') format('woff'),
  url('../fonts/medium/h-n-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Helvetica Neue for IBM';
  src: url('../fonts/medium-italic/h-n-medium-italic.eot?') format('eot'),
  url('../fonts/medium-italic/h-n-medium-italic.woff2') format('woff2'),
  url('../fonts/medium-italic/h-n-medium-italic.woff') format('woff'),
  url('../fonts/medium-italic/h-n-medium-italic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'Helvetica Neue for IBM';
  src: url('../fonts/bold/h-n-bold.eot?') format('eot'),
  url('../fonts/bold/h-n-bold.woff2') format('woff2'),
  url('../fonts/bold/h-n-bold.woff') format('woff'),
  url('../fonts/bold/h-n-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Helvetica Neue for IBM';
  src: url('../fonts/bold-italic/h-n-bold-italic.eot?') format('eot'),
  url('../fonts/bold-italic/h-n-bold-italic.woff2') format('woff2'),
  url('../fonts/bold-italic/h-n-bold-italic.woff') format('woff'),
  url('../fonts/bold-italic/h-n-bold-italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

/* IBM Icons */
@font-face {
  font-family: 'ibm-icons';
  src:url('../fonts/ibm-icons.eot?ytcz1z') format('eot'),
  url('../fonts/ibm-icons.eot?ytcz1z#iefix') format('embedded-opentype'),
  url('../fonts/ibm-icons.ttf?ytcz1z') format('truetype'),
  url('../fonts/ibm-icons.woff?ytcz1z') format('woff'),
  url('../fonts/ibm-icons.svg?ytcz1z#ibm-icons') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* IBM glyphs */
@font-face {
  font-family: 'ibm-glyph';
  src:url('../fonts/ibm-glyphs.eot?1b8643') format('eot'),
  url('../fonts/ibm-glyphs.eot?1b8643#iefix') format('embedded-opentype'),
  url('../fonts/ibm-glyphs.ttf?1b8643') format('truetype'),
  url('../fonts/ibm-glyphs.woff?1b8643') format('woff'),
  url('../fonts/ibm-glyphs.svg?1b8643#ibm-glyph') format('svg');
  font-weight: normal;
  font-style: normal;
}

.options-list {
  color: #00425e;
  cursor: pointer;
}

.options-button {
  color: white;
  background-color: #00425e;
  border-radius: 6px;
  padding-bottom: 4px;
  padding-top: 4px;
  padding-left: 6px;
  padding-right: 6px;
  margin: 3px;
  cursor: pointer;
  display: inline-block;
}

@media all and (max-width: 768px) {
  #registro{
    height:auto;
    width:80%;
    position: absolute;
    justify-content:center;
    align-items:center;
    border-radius: 10px;
  }
}

#validar-correo{
  display: none;
  text-align: center;
  font-weight: bold;
  color: red;
  margin: 10px;
}

#validar-politica{
  display: none;
  text-align: center;
  font-weight: bold;
  color: red;
  margin: 10px;
}

.inp {
  position: relative;
  margin: auto;
  width: 100%;
  max-width: 348px;
}
.inp .label {
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 16px;
  color: #9098a9;
  font-weight: 500;
  transform-origin: 0 0;
  transition: all 0.2s ease;
}
.inp .border {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: #4579ab;
  transform-origin: 0 0;
  transition: all 0.15s ease;
}
.inp input {
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  font-family: inherit;
  padding: 12px 0;
  height: 48px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid #c8ccd4;
  background: none;
  border-radius: 0;
  color: #223254;
  transition: all 0.15s ease;
}
.inp input:hover {
  background: rgba(34,50,84,0.03);
}
.inp input:not(:placeholder-shown) + span {
  color: #5a667f;
  transform: translateY(-26px) scale(0.75);
}
.inp input:focus {
  background: none;
  outline: none;
}
.inp input:focus + span {
  color: #bbbbbc;
  transform: translateY(-26px) scale(0.75);
}

#imgAlmaPublicidad {
  height: 0.9rem;
  padding-left: 5.7px;
  cursor: pointer;
}

.neutro{
  background: rgba(109, 109, 109, 1) !important;
}

.bussiness{
  background: rgba(28, 64, 151, 1) !important;
}

.sand{
  background: rgba(165, 158, 90, 1) !important;
}

.showy{
  background: rgba(251, 0, 120, 1) !important;
}

.showy{
  background: rgba(251, 0, 120, 1) !important;
}


#finConversacion{
  position: fixed;
  bottom: 10rem;
  border: none;
  width: 100%;
  height: 3rem;
  color: white;
  background: #212529;
  z-index: 10;
  display: none;
  margin: auto;
  padding-left: 1rem;
}

#scrollingChat::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE and Edge */
#bloqueSugerencia {
    -ms-overflow-style: none;
}

.loader:before,
.loader:after,
.loader {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}


.loader {
  margin-top: 2em;
  margin-left: 11em;
  margin-bottom: 6em;
  font-size: 0.2em;
  position: relative;
  text-indent: -9999em;
  -webkit-animation-delay: 0.16s;
  animation-delay: 0.16s;
}
.loader:before {
  left: -3.5em;
}
.loader:after {
  left: 3.5em;
  -webkit-animation-delay: 0.32s;
  animation-delay: 0.32s;
}
.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}
@-webkit-keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em #ffffff;
  }
  40% {
    box-shadow: 0 2.5em 0 0 #000;
  }
}
@keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em #ffffff;
  }
  40% {
    box-shadow: 0 2.5em 0 0 #000;
  }
}

/* MODAL BANNER */

    #modalBanner .modal-contenido{
        width: 80%;
        padding: 10px 20px;
        margin: 20vh auto;
        position: relative;
        border-radius: 5px;
        background-color: #fff;
    }

    #modalBanner{
        background-color: rgba(0,0,0,.8);
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display:none;
    }
    
    #cerrarBanner{
        float: right;
        color: gray;
        font-size: 25px;
        cursor: pointer;
    }
    
    #pBanner1, #pBanner2{
        text-align: center;
    }
    
    #pBanner1 {
        margin-top: 30px;
    }
    
    #divButton{
        margin-bottom: 10px;
    }
    
    #enlaceButton{
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
    }
    
    #buttonBanner {
        background-color: #ff5c41;
        padding: 5px 15px;
        border: none;
        color: #fff;
        font-weight: bold;
        cursor: pointer;
        font-size: 14px;
    }

/* FIN MODAL BANNER */


