.aiChatBoxContainer * {
  border: 0;
  padding: 0;
  margin: 0;
  font-size: 12px;
  /* overflow:hidden; */
  z-index: 50000;
}

.aiChatBoxContainer {
  max-width: 93vw;
  max-height: 98vh;
  width: 400px;
  height: 600px;
  position: fixed;
  bottom: 5px;
  right: 10px;
  /* overflow:hidden; */
  z-index: 50000;
}

@-webkit-keyframes slideInFromLeft {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}

@-webkit-keyframes vibrate {
  0% {
    transform: translateY(-5px);
  }

  25% {
    transform: translateY(-10px);
  }

  50% {
    transform: translateY(-5px);
  }

  87.5% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(-5px);
  }
}

@keyframes vibrate {
  0% {
    transform: translateY(-5px);
  }

  25% {
    transform: translateY(-10px);
  }

  50% {
    transform: translateY(-5px);
  }

  87.5% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(-5px);
  }
}

.aiChatBoxContainerMinx {
  height: 100px;
  /* pointer-events:none; */
}

.aiChatBoxContainerMaxForWap {
  width: 85%;
  height: 80%;
  bottom: 0px;
  right: 0px;
}

.aiBoxHead {
  width: 10%;
  text-align: center;
  line-height: 33px;
  z-index: 20000;
  background-color: 37D9F9;
  top: 0px;
  right: 0px;
  position: absolute;
  border-radius: 5px 5px 0 0;
  box-shadow: 0px 0px 1px #888888;
}

.aiChatBoxLit {
  position: absolute;
  z-index: 50001;
  bottom: 60px;
}

.aiChatBoxLitIframe {
  border-radius: 0%;
  cursor: pointer;
}

.aiChatBoxLitIframe:hover {
  animation: 1s linear 0s infinite vibrate;
}

.aiChatBox {
  box-shadow: 0px 0px 1px #888888;
  border-radius: 5px 5px 0 0;
}

.noScroll {
  overflow: hidden;
}

.aiBoxBody,
.aiChatBox {
  width: 100%;
  height: 100%;
}

.aiChatBoxIframe {
  z-index: 999999;
}

.aiBoxBody {
  top: 0px;
  left: 0px;
  position: absolute;
}

.hidden {
  display: none;
}

.hidden2 {
  opacity: 0;
  pointer-events: none;
}

.animateEntry {
  animation: 4s ease-out 0s 1 slideInFromLeft;
  animation-fill-mode: forwards;
}

.aiBoxHeadMinx {
  width: 35px;
  height: 35px;
  color: black;
  position: absolute;
  right: 3px;
  cursor: pointer;
  background-color: transparent;
  font-size: 30px;
  line-height: 30px;
  margin-top: -3.5px;
}

.aiBoxHeadMinx2 {
  z-index: 50002;
  width: 15px;
  height: 15px;
  color: black;
  position: absolute;
  right: 5px;
  bottom: 0px;
  cursor: pointer;
  border: 1px solid black;
  border-radius: 50%;
  font-size: 17.5px;
  line-height: 0;
}

.aiBoxHeadTitle {
  color: white;
  text-align: center;
}

.minxBtnLine {
  margin-top: -2.5px;
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 30px;
  height: 30px;
  font-size: 0;
  pointer-events: auto;
}

.minxBtnLine:before,
.minxBtnLine:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 20px;
  background-color: #f0f0f0;
  transform: rotate(45deg) translate(-50%, -50%);
  transform-origin: top left;
  content: "";
}

.minxBtnLine:after {
  transform: rotate(-45deg) translate(-50%, -50%);
}

.minxBtnLine2 {
  /* margin-top: 25px; */
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 15px;
  height: 15px;
  font-size: 0;
  pointer-events: auto;
  border: black;
  border-radius: 50%;
  border-style: solid;
  border-width: 1px;
}

.minxBtnLine2:before,
.minxBtnLine2:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 10px;
  background-color: black;
  transform: rotate(45deg) translate(-50%, -50%);
  transform-origin: top left;
  content: "";
}

.minxBtnLine2:after {
  transform: rotate(-45deg) translate(-50%, -50%);
}

.iframeBtn {
  /* z-index: 50001; */
  border: 0;
  background-color: transparent;
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

@media screen and (max-width: 641px) {
  .aiChatBoxLit {
    width: 80px;
    height: 80px;
    right: 20px;
  }

  .aiChatBoxLitIframe:hover {
    animation: 1s linear 0s infinite vibrate;
  }

  .aiChatBoxIframe {
    z-index: 999999;
    width: 76.92% !important;
    height: 76.92% !important;
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }

  .aiBoxHeadMinx2 {
    z-index: 50002;
    width: 15px;
    height: 15px;
    color: black;
    position: absolute;
    right: 0px;
    /* top: 55px; */
    bottom: 0px;
    cursor: pointer;
  }

  .aiBoxHead {
    height: 32.5px;
  }

  .aiBoxHeadMinx {
    top: 5px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

@media screen and (min-width: 641px) {
  .aiChatBoxLit {
    width: 100px;
    height: 100px;
    right: 50px;
  }

  .iframeBtn {
    left: 0px;
  }

  .aiChatBoxIframe {
    width: 100%;
    height: 100%;
    z-index: 999999;
  }

  .aiBoxHead {
    height: 25px;
  }
}
