* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
}
.iframs_src {
  width: calc(26vw - 60px);
}
.iframs_src iframe {
  width: 100%;
  height: 12vw;
  border: 0;
}
.botButton {
  background: #6078f8;
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
  text-align: center;
  box-shadow: 1px 1px 1px #ccc;
  cursor: pointer;
  position: absolute;
  bottom: 5em;
  right: 5em;
  z-index: 9;
}
.droping:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.botButton img {
  width: 100%;
  padding: 10px;
  display: inline-block;
  vertical-align: middle;
}
.robot-modal-wrap {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
  left: 0;
  height: 100%;
}

.robot-modal-cover {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  height: 100%;
  background-color: rgba(55, 55, 55, 0.6);
}

.robot-modal-info .openMore {
  /*用div的样式代替select的样式*/
  margin: 10px;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
  border: 1px solid #cccccc;
  overflow: hidden;
  position: relative;
}
.robot-modal-info .openMore select {
  /*清除select的边框样式*/
  border: none;
  /*清除select聚焦时候的边框颜色*/
  outline: none;
  /*将select的宽高等于div的宽高*/
  width: 100%;
  height: 32px;
  line-height: 32px;
  /*隐藏select的下拉图标*/
  /* appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none; */
  /*通过padding-left的值让文字居中*/
  padding-left: 10px;
}
/*使用伪类给select添加自己想用的图标*/
/* .openMore:after {
  content: "";
  width: 14px;
  height: 8px;
  background: url(./js/arrow.png) no-repeat center;
  position: absolute;
  right: 20px;
  top: 41%;
  pointer-events: none;
} */

.robot-search-box {
  position: absolute;
  bottom: 45px;
  width: 100%;
  box-shadow: 1px 1px 2px #e5e0e0, -1px -1px 13px #ccc;
  display: none;
  max-height: 50vh;
  overflow: auto;
  z-index: 9;
}
.robot-search-box li {
  background-color: #fff;
  padding: 10px;
  cursor: pointer;
}
.robot-search-box li:hover {
  background-color: #dfe4fe;
  /* color: #ffffff; */
}
.robot-search-box li + li {
  border-top: 1px solid #e5e0e0;
}

.robot-modal-box {
  margin: 0 auto;
  border-radius: 3px;
  position: relative;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  background-color: rgb(236, 240, 245);
  border: 1px solid rgb(202, 212, 221);
  float: right;
  margin-right: 2em;
  height: 96vh;
  width: 26vw;
  top: 2vh;
}
.hidden {
  overflow: hidden;
}
.robot-modal-box .robot-modal-close {
  text-shadow: 0 1px 0 #fff;
  cursor: pointer;
}

.robot-modal-box .robot-modal-top {
  height: 45px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgb(202, 212, 221);
}

.robot-modal-box .robot-modal-content {
  width: 100%;
  height: calc(100% - 90px);
  font-size: 12px;
  overflow: hidden;
}

.robot-modal-box .robot-modal-content .robot-modal-info {
  width: 100%;
  overflow: auto;
}

.robot-modal-box .robot-modal-info {
  list-style: none;
  width: 100%;
  height: 100%;
}

/*滑块的样式*/
.robot-modal-box .robot-modal-info::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.robot-modal-box .robot-modal-info::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
}
/*鼠标悬浮在该类指向的控件上时滑块的样式*/

.robot-modal-box .robot-modal-info:hover::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
}
/*鼠标悬浮在滑块上时滑块的样式*/

.robot-modal-box .robot-modal-info::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
}
/*正常时候的主干部分*/

.robot-modal-box .robot-modal-info::-webkit-scrollbar-track {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  background-color: white;
}
/*鼠标悬浮在滚动条上的主干部分*/

.robot-modal-box .robot-modal-info::-webkit-scrollbar-track:hover {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
  background-color: rgba(0, 0, 0, 0.01);
}

.robot-modal-box .robot-modal-info li {
  width: 100%;
  clear: both;
  padding: 5px 15px;
  color: white;
  display: flex;
}
.robot-modal-box .robot-modal-info li.rightLi {
  justify-content: flex-end;
}
.robot-modal-box .robot-modal-info li.rightLi img {
  margin-left: 5px;
}

.robot-modal-box .robot-modal-info::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.robot-modal-box .time {
  padding: 10px;
  text-align: center;
  color: #9b9b9b;
}

.robot-modal-headImg {
  width: 35px;
  height: 35px;
  border-radius: 50%;

  /* border: 1px solid #ccc; */
  /* padding: 5px; */
}

.robot-modal-content .robot-modal-time {
  width: 100%;
  margin-top: 5px;
  text-align: center;
}

.robot-modal-content .robot-modal-time > span {
  display: inline-block;
  padding: 0 5px;
  color: #fff;
  border-radius: 2px;
  background-color: #dadada;
}
.robot-modal-tag {
  display: inline-block;
  height: 26px;
  padding: 0 16px;
  line-height: 26px;
  cursor: pointer;
  border-radius: 25px;
  /* box-shadow: 1px 1px 1px #ebe7e7, -1px -1px 1px #e6e4e4; */
  box-sizing: border-box;
  white-space: nowrap;
  background-color: rgb(217, 229, 255);
  color: rgb(64, 123, 249);
  margin: 6px 10px 4px 0px;
}
.robot-modal-tag:hover {
  background-color: rgb(181, 204, 255);
  color: rgb(27, 75, 162);
}

.robot-modal-robotInfo {
  /* box-shadow: 0px 1px 7px -5px #000; */
  max-width: calc(26vw - 85px);
  background-color: rgb(255, 255, 255);
  color: #000;
  display: inline-block;
  word-wrap: break-word;
  word-break: break-all;
  border-radius: 5px;
  padding: 6px 10px;
  margin: 0 0 0 5px;
}
.rightLi .robot-modal-robotInfo {
  background: #6078f8;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.isIframe .robot-modal-robotInfo {
  padding: 0;
}
.robot-modal-robotInfo .recommend {
  color: #ee9f29;
  line-height: 1.5;
  cursor: pointer;
}

.robot-modal-meInfo {
  width: 100%;
  box-shadow: 0px 1px 7px -5px #000;
  background-color: rgb(96, 120, 248);
  display: inline-block;
  word-wrap: break-word;
  word-break: break-all;
  border-radius: 5px;
  padding: 6px 10px;
  margin: 0 5px 0 0;
}

.robot-modal-box .robot-modal-bot {
  width: 100%;
  height: 45px;
  background-color: rgb(255, 255, 255);
  border-top: 1px solid rgb(202, 212, 221);
  overflow: hidden;
}

.robot-modal-row {
  width: 100%;
  position: relative;
}

.robot-modal-row input {
  width: 100%;
  height: 45px;
  background-color: transparent;
  border: none;
  padding: 0 15px;
  outline: none;
  padding-right: 25%;
  border-style: none;
}

.robot-modal-row button {
  width: 20%;
  height: 30px;
  color: #fff;
  padding: 2px 5px;
  cursor: pointer;
  background-color: #566cdf;
  border-width: 0;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.robot-modal-row button:hover {
  background-color: #566cdf;
  border-width: 0;
  box-shadow: 1px 1px 1px #ccc;
}

.fadeIn {
  animation: fadeIn_top 0.3s linear;
}

@keyframes fadeIn_top {
  from {
    /* top: 80px; */
    opacity: 0;
  }

  to {
    /* top: 100px; */
    opacity: 1;
  }
}

.fadeOut {
  animation: fadeOut_top 0.3s linear;
}

@keyframes fadeOut_top {
  from {
    /* top: 100px; */
    opacity: 1;
  }

  to {
    /* top: 80px; */
    opacity: 0;
  }
}
