.open-roobot {
  position: fixed; /* 设置fixed固定定位 */
  bottom: 20px; /* 距离浏览器窗口下边框20px */
  right: 20px;
  z-index: 999;
}

#dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}
#dialog-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  background-color: #fff;
  /* padding: 20px; */
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
@media (max-width: 736px) {
  #dialog-content {
    width: 360px;
  }
  .closeBtn {
    width: 70px;
  }
  .ques-dailog {
    width: 55px !important;
    height: 36px !important;
    top: 36px !important;
    right: 10px !important;
    font-size: 12px !important;
    padding: 0 !important;
  }
  .default-que {
    width: 253px !important;
  }
}
#dialog-content h2 {
  font-size: 24px;
  margin-bottom: 5px;
}
#dialog-content p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}
#dialog-content li {
  padding: 0 8px;
  margin: 2px;
  background: #ccc;
  float: left;
  line-height: 30px;
  width: auto;
  height: auto;
  border-radius: 10px;
  clear: both;
  white-space: normal;
  word-break: break-all;
  word-wrap: break-word;
}

.closeBtn {
  padding: 10px 20px;
  background-color: #eb5425;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  height: 40px;
  margin-top: 5px;
}
.closeBtn:hover {
  background-color: rgb(228, 70, 22);
}

.close-dialog {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}
.close-dialog img {
  width: 100%;
  vertical-align: middle;
  float: right;
}

.text-message {
  background-color: #fff;
  width: 100%;
  display: flex;
}

.img-robot {
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.my-msg {
  float: right !important;
  background: #58bc58 !important;
  color: #fff !important;
}

textarea {
  margin: 5px;
  width: 90%;
  height: 30px;
  resize: none;
  outline: none;
  min-height: 40px;
  box-sizing: border-box;
}

.status {
  position: absolute;
  display: inline-block;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  display: none;
}

.default-que {
  position: absolute;
  left: 28%;
  top: 15%;
  border-radius: 5px;
  padding: 10px;
  width: 350px;
  background-color: #fff;
}

.ques-dailog {
  position: absolute;
  right: 60px;
  top: 5px;
  padding: 10px 20px;
  background-color: rgb(61, 133, 254);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  height: 40px;
  margin-top: 5px;
}

.message-content {
  position: relative;
  width: 100%;
  padding: 2px;
  height: 420px;
  overflow-y: auto;
  background-color: rgb(229, 232, 239);
  /* border: 1px solid #666; */
  /* border-radius: 10px; */
}

.sendMessage {
  /* margin: 0 auto; */
  margin-top: 5px;
  padding: 10px 20px;
  background-color: #4caf50;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
}

.sendMessage:hover {
  background-color: #09dd11;
}

.dialogue-header {
  position: relative;
  padding: 10px;
  height: 80px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  background-color: rgb(1, 41, 100);
}

.dialogue-close {
  position: absolute;
  top: 10px;
  right: 20px;
  padding: 2px;
  font-size: 22px;
  cursor: pointer;
}

.dialogue-service-info {
  position: relative;
  top: 50%;
  margin-top: -20px;
  height: 40px;
}

.dialogue-service-img {
  display: inline-block;
  margin: 0 10px 0 20px;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  vertical-align: middle;
  border-radius: 50%;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}
.dialogue-service-title {
  display: inline-block;
  vertical-align: middle;
}
.dialogue-service-title p {
  color: #fff;
}

.dialogue-service-detail {
  font-size: 12px;
}
