@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap");

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  /*margin:0;padding:0;width:100%;margin:auto;font-size:14px;color:#000;font-family:'Roboto',sans-serif;*/
}

.hp_chat__menu {
  font-family: "Roboto", sans-serif;
}

/*p{margin:0;line-height:normal}h2{margin:0}*/
.text-left {
  text-align: left;
}

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

.text-center {
  text-align: center;
}

.hp_chat__menu {
  display: flex;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: fixed;
  bottom: 0;
  right: 0;
  background-color: #fff;
  width: 100%;
  max-width: 460px;
  color: #363a3e;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transform: translateX(-35px);
  -moz-transform: translateX(-35px);
  -ms-transform: translateX(-35px);
  transform: translateX(-35px);
  opacity: 0;
  visibility: hidden;
  box-shadow: 0px 4px 10px rgb(0 0 0 / 24%);
  z-index: 999;
}

.hp_chat__menu.hp-visible {
  opacity: 1;
  visibility: visible;
}

.hp_chat__menu .hp-chat__menu--title {
  background-color: #ce1336;
  color: #fff;
  text-align: left;
  margin-bottom: 8px;
  padding: 20px 20px 20px 120px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  width: 100%;
}

.hp_chat__menu .hp-chat__menu--title h2 {
  font-size: 20px;
  margin-bottom: 4px;
  line-height: normal;
  letter-spacing: 0.8px;
  width: 22ch;
}

.hp_chat__menu .hp-chat__menu--title p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

.hp_chat__menu .hp-chat__menu--container {
  width: 100%;
  padding: 10px 24px;
}

.hp_chat__menu .hp-chat__menu--container .hp-network__container {
  display: flex;
  flex-direction: column;
}

.hp_chat__menu
  .hp-chat__menu--container
  .hp-network__container
  .hp-network__title
  h2 {
  font-size: 14px;
  font-weight: bold;
}

.hp_chat__menu
  .hp-chat__menu--container
  .hp-network__container
  .hp-network__item {
  display: flex;
  text-align: center;
  border: 1px solid #ffffff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);
  width: 100%;
  padding: 4px 4px;
  margin: 4px 0px;
}

.hp_chat__menu
  .hp-chat__menu--container
  .hp-network__container
  .hp-network__item
  .hp-network__vector {
  margin: auto 8px auto auto;
}

.hp_chat__menu
  .hp-chat__menu--container
  .hp-network__container
  .hp-network__item
  p {
  font-size: 12px;
  font-weight: bold;
  text-align: left;
  margin: auto 0px;
  width: 100px;
  white-space: nowrap;
}

.hp_chat__menu
  .hp-chat__menu--container
  .hp-network__container
  .hp-network__item
  .hp-network__image {
  display: flex;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  overflow: hidden;
  padding: 4px 16px 4px 8px;
}

.hp_chat__menu
  .hp-chat__menu--container
  .hp-network__container
  .hp-network__item
  .hp-network__image
  img {
  width: 72%;
  max-width: 90px;
}

.hp_chat__menu
  .hp-chat__menu--container
  .hp-network__container
  .hp-network__item.hp-network--central {
  border: none;
}

.hp_chat__menu .hp-chat__menu--container .hp-directory__container {
  display: flex;
  flex-direction: column;
}

.hp_chat__menu
  .hp-chat__menu--container
  .hp-directory__container
  .hp-directory__item {
  text-decoration: none;
  color: #363a3e;
  font-size: 10px;
  font-weight: 500;
  text-align: left;
}

.hp_chat__item.hp-visible {
  display: none;
}

.hp_chat__item img.hp_chat_close_message {
  top: -16px !important;
}

.hp_chat__item {
  display: flex;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  align-items: center;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 999;
  /* border-radius: 50%; */
  justify-content: flex-end;
  -webkit-transition: transform 0.25s ease-in;
  -moz-transition: transform 0.25s ease-in;
  -ms-transition: transform 0.25s ease-in;
  -o-transition: transform 0.25s ease-in;
  transition: transform 0.25s ease-in;
  -webkit-transform: translate(-5px, -5px);
  -moz-transform: translate(-5px, -5px);
  -ms-transform: translate(-5px, -5px);
  -o-transform: translate(-5px, -5px);
  transform: translate(-5px, -5px);
}

.hp_chat__item .hp_chat__message {
  background-color: #ce1336;
  color: #fff;
  text-align: center;
  border-radius: 20px 20px 0px 20px;
  padding: 12px;
}

.hp_chat__item img.hp_chat_close_message {
  width: auto;
  position: absolute;
  top: 12px;
  left: -8px;
}

.hp_chat__item .hp_chat__message {
  visibility: visible;
  opacity: 1;
  white-space: nowrap;
  overflow: hidden;
  right: 0;
  /* width: 100%; */
  margin-left: 10px;
  -webkit-transition: visibility 0.5s, opacity 0.5s;
  -moz-transition: visibility 0.5s, opacity 0.5s;
  -o-transition: visibility 0.5s, opacity 0.5s;
  transition: visibility 0.5s, opacity 0.5s;
}

.hp_chat__item .hp_chat__message.show__message {
  visibility: visible;
  opacity: 1;
}

.hp_chat__item .hp_chat__message.hide__message {
  visibility: hidden;
  opacity: 0;
}

.hp_chat__item .hp_chat__message.hp_chat_responsive__message {
  margin-left: calc(100% - (7ch + 100px));
}

.hp_chat__item .hp_chat__message.hp_chat_responsive__message .content {
  visibility: hidden;
  opacity: 0;
  font-size: 0;
}

.hp_chat__item .hp_chat__message.hp_chat_responsive__message .content_mobile {
  visibility: visible;
  opacity: 1;
  font-size: inherit;
}

.hp-habi-cuerpo {
  position: absolute;
  left: -60px;
  top: -70px;
}

.hp-habi-cuerpo img {
  width: 180px;
}

.hp-close__menu {
  display: flex;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  top: -40px;
  right: -40px;
  visibility: hidden;
  -webkit-transform: translateY(200px) scale(0);
  -moz-transform: translateY(200px) scale(0);
  -ms-transform: translateY(200px) scale(0);
  -o-transform: translateY(200px) scale(0);
  transform: translateY(200px) scale(0);
  -webkit-transition: transform 0.25s ease-in;
  -moz-transition: transform 0.25s ease-in;
  -ms-transition: transform 0.25s ease-in;
  -o-transition: transform 0.25s ease-in;
  transition: transform 0.25s ease-in;
  cursor: pointer;
}

.hp-close__menu img {
  width: 100%;
  max-width: 90px;
}

.hp-visible .hp-close__menu {
  visibility: visible;
  -webkit-transform: translateY(0) scale(1);
  -moz-transform: translateY(0) scale(1);
  -ms-transform: translateY(0) scale(1);
  -o-transform: translateY(0) scale(1);
  transform: translateY(0) scale(1);
}

.hp_habi_icon {
  max-width: 100px;
}

@media (max-width: 640px) {
  .hp-habi-cuerpo {
    left: 0px;
    top: -24px;
  }

  .hp-habi-cuerpo img {
    width: 132px;
  }

  .hp_chat__menu .hp-chat__menu--title h2 {
    font-size: 18px;
  }

  .hp_chat__menu .hp-chat__menu--title {
    padding-left: 132px;
  }

  .hp_chat__menu {
    bottom: 0;
    top: inherit;
    height: inherit;
    max-width: 100%;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
    transform: translateY(100%);
    display: block;
  }

  .hp_chat__menu.hp-visible {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  .hp-close__menu {
    right: 0;
  }

  .hp_chat__item {
    width: 100%;
  }
}
