#chatContainer * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* color: #000000; */
  font-size: 16px;
}

#chatContainer #chatButton {
  position: fixed;
  bottom: 2px;
  right: 20px;
  width: 100px;
  height: 45px;
  border-radius: 5%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 99999;
  /* background-image: url(wp-content/plugins/test-plugin/img/chatbotimg.png); */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#chatContainer .header {
  display: flex;
  background-color: #337ab7;
  margin: 0px;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0px;
  font-family: \'Lato\', sans-serif;
}
#body-chat_ia{
   background-image: url('https://www.camara.gov.co/wp-content/plugins/IAchatbotHCR/public/assets/img/fondo_chat.webp');

}

#chatContainer button[type="submit"] {
  grid-area: 1 / 2 / 2 / 3;
  background-color: transparent;
  border: none;
  color: #000;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
#chatContainer .hidden {
  visibility: hidden;
  opacity: 0;
}
#chatContainer .expanded {
  width: 40dvw !important;
  height: 90dvh !important;
}
#chatContainer ul {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  gap: 10px;
  padding: 0px;
  width: 100%;
  /* padding-top: 6px; */
}
#chatContainer .message-ia {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  width: 100%;
}
#chatContainer .message-ia > span:first-child {
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 0px 5px;
  margin-bottom: 0px;
}
#chatContainer .message-ia p {
  padding: 8px 12px;
  margin: 1px 0;
  background-color: #e4e6eb;
  border-radius: 15px;
  word-wrap: break-word;
  font-family: Arial, sans-serif;
  font-size: 16px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  margin-bottom: 10px ;
}

#chatContainer .message-ia.user {
  min-width: 35% !important;
  align-self: flex-end;
  align-items: flex-end;
  max-width: 90%;
}
#chatContainer .message-ia img {
  border-radius: 9999px;
  background: #042e78;
  object-fit: contain;
}

#chatContainer .message-ia.user span {
  border-radius: 6px;
  background: rgb(152 195 255 / 85%);
  padding: 4px 14px !important;


}
#chatContainer .message-ia.user p {
  background: rgb(152 195 255 / 85%);
  border-radius: 6px;
}
#chatContainer .message-ia.bot {
  align-self: flex-start;
  align-items: flex-start;
}
#chatContainer .message-ia.bot span,
#chatContainer .message-ia.bot p {
  border-radius: 6px;
  margin-bottom: 0px;
  background-color: #e4e6eb !important;
  padding: 4px 14px !important;
  /* strong {
    background-color: #4c4b4b1f;
  } */
}


#chatContainer #expandButton {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 3px !important;
}

#chatContainer #moveButton {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 3px !important;
}

#chatContainer #clearButton {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 3px !important;
}
#chatContainer #closeButton {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 3px !important;
}

ol,
ul {
  margin: 1px;
}

#btn-send_message_ia svg:hover {
  fill: #fff !important;
}
#btn-new_message_ia svg:hover {
  fill: #fff !important;

}
#form-chat_alpha_dato input {
  border: 1px solid #ccc;
  padding-left: 10px !important;
  border-radius: 8px;
  }
  
  #form-chat_alpha_dato  select {
    border: 1px solid #ccc;
    padding-left: 10px !important;
    border-radius: 8px;     
    width: 100%;
    height: 35px;
    }

  #form-chat_alpha_dato small{
    color:  #ff000097 !important;
    font-size: 11px !important;
    }

    .messageTextP{
      margin: 2px 0px 0px !important;
    }
.div_load_container {
  display: none !important;
}
.div_load {
  background: #042f78be;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0;
  animation: bounce 1s infinite ease-in-out;
}
.grid_template_chatForm{
  grid-template-rows: 10% 78% auto;

}
.grid_template_chatForm_auto{
  grid-template-rows:70px auto ;

}
.display_none_form_chat {
  display: none  !important;
}
.display_grid_form_chat {
  display: grid !important;
}
.itemTopic{
  color: #111111 !important;
  background-color: #ffffff ;
 
}

.itemTopic:hover {
  background-color: rgb(215, 211, 211) !important;
color: #787878;
}



@keyframes bounce {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }
  50% {
    opacity: 1.5;
    transform: translateY(-5px);
  }
}

.div_load:nth-child(1) {
  animation-delay: 0s;
}
.div_load:nth-child(2) {
  animation-delay: 0.2s;
}
.div_load:nth-child(3) {
  animation-delay: 0.4s;
}
.div_load:nth-child(4) {
  animation-delay: 0.6s;
}
.div_load:nth-child(5) {
  animation-delay: 0.8s;
}

@media screen and (max-width: 600px) {
  #chatContainer #expandButton {
    display: none !important;
  }

  #chatContainer #moveButton {
    display: none !important;
  }

  #chatContainer #chatForm {
    width: 100dvw !important;
    height: 100dvh !important;
    bottom: 5px!important;
    right: 0px!important;
  }

  #chatContainer .form-chat_alpha input {
    font-size: 19px !important;
  }
  .header img{
    width: 130px;
    height: 45px;
    margin: auto;
  }
}
