﻿/* 使用marked.js解析的样式和结构 */
/* .message_answer * {
  margin: 0;
  padding: revert;
  list-style: revert;
  font-family: Arial, sans-serif;
} */
.el-drawer {
  height: 80vh !important;
  z-index: 4000 !important;
  width: 90% !important;
  max-width: 1200px;
  /*margin-left: 5%!important;*/
  border-radius: 10px 10px 0 0;
  margin: 0 auto;
}
.el-drawer__body {
  height: 100% !important;
}
.bg {
  position: relative;
  background-image: url(/Content/images/AI/Ai_bg.png);
  background-size: 100% 100%;
  height: 100%;
  width: 100%;
  padding: 10px 20px;
  box-sizing: border-box;
}
.content-bg {
  width: 100%;
  height: 100%;
  background: url(/Content/images/AI/ai9.png) no-repeat center;
  background-size: 100% 100%;
  position: relative;
  overflow: hidden;
}
.content-bg-title {
  position: absolute;
  top: 5px;
  left: 20px;
  background: url(/Content/images/AI/Ai_bg2.png) no-repeat center;
  background-size: contain;
  width: 10%;
  height: 66px;
}
.content-bg-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background-image: url(/Content/images/AI/Ai4.png);
  background-size: 100% 100%;
  width: 28px;
  height: 28px;
  z-index: 10;
  cursor: pointer;
}


.zhankanOn {
  width: 28px;
  height: 28px;
  cursor: pointer;
  margin-right: 17px;
  position: absolute;
  top: 30px;
  z-index: 10;
  right: 70px;
}
.voiceCloseButton{
  background-color: #d6ebff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.1s ease-in-out;
  
}
.voiceCloseButton > .img {
  width: 80%;
  height: 80%;
  background-image: url(../../../Content/images/robot/newRobot/laba4.png) ;
  background-size: 100% 100%;
}


.voiceOpenButton{
  background-color: #d6ebff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.1s ease-in-out;
  
}
.voiceOpenButton > .img {
  width: 80%;
  height: 80%;
  background-image: url(../../../Content/images/robot/newRobot/laba2.png) ;
  background-size: 100% 100%;
}


.tip {
  background-color: #999999;
  color: #ffffff;
  margin-left: 50%;
  transform: translateX(-50%);
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  width: fit-content;
  border-radius: 10px;
}
.tip .icon {
  width: 22px;
  height: 22px;
  background: url(/Content/images/AI/ai7.png) no-repeat center;
  background-size: contain;
  margin-right: 10px;
}
.tip span {
  color: #fccb2c;
  font-size: 18px;
  line-height: 20px;
}
.One > .show-views {
  width: 50%;
  overflow-y: auto;
  padding: 0 0 70px;
  margin-right: 5px;
  margin-top: 20px;
  box-sizing: border-box;
  height: calc(100% - 95px);
}
.One > .max-Width {
  width: calc(100% - 10px) !important;
}
.One > .min-Width {
  width: calc(50% - 10px) !important;
}
.One > .talk-layout {
  /* height: 100%; */
  /* width: 50%; */
  margin-top: 20px;
  height: calc(100% - 82px);
  border-left: 1px solid #cccccc;
  margin-bottom: 20px;
}
.One > .talk-layout > .talk {
  width: calc(100% - 10px);
  height: calc(100% - 40px);
  overflow-y: auto;
  padding: 0 30px 30px;
  /* margin-top: 20px; */
  /* margin-bottom: 20px; */
  box-sizing: border-box;
  margin-right: 5px;
  /* border-left: 1px solid #CCCCCC; */
}
.One > .talk-layout > .talk > .ai-log-line,
.One > .talk-layout > .talk > .ai-log-line2 {
  display: flex;
  /* margin-top: 20px; */
  margin-bottom: 20px;
  width: 100%;
  align-items: flex-start;
}
.One > .talk-layout > .talk > .ai-log-line > .img_left,
.One > .talk-layout > .talk > .ai-log-line2 > .img_left {
  width: 44px;
  height: 44px;
  background-image: url(/Content/images/AI/ai6.png);
  background-size: 100% 100%;
  margin-right: 10px;
}
.One > .talk-layout > .talk > .ai-log-line > .message,
.One > .talk-layout > .talk > .ai-log-line2 > .message {
  max-width: calc(100% - 54px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.One > .talk-layout > .talk > .ai-log-line2 > .message > .message_answer {
  padding: 16px;
}
.One > .talk-layout > .talk > .ai-log-line > .message > .message_answer,
.One > .talk-layout > .talk > .ai-log-line2 > .message > .message_answer {
  flex: 1;
  background-color: #fff;
  /*white-space: break-spaces;*/
  text-align: left;
  /* border-radius: 0 20px 20px; */
  /* padding: 20px; */
  font-size: 15px;
  align-items: center;
  width: fit-content;
  word-wrap: break-word;
  overflow: hidden;
  line-height: 30px;
  height: fit-content;
  color: #333333;
  font-weight: normal;
}
.loading-message {
  width: 22px;
  height: 22px;
  margin-right: 5px;
  background-size: 100% 100%;
  background-image: url(/Content/images/AI/ai5.png);
  animation: rotate 2s linear infinite;
  line-height: 40px;
  margin-top: 10px;
  margin-left: 10px;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.One
  > .talk-layout
  > .talk
  > .ai-log-line
  > .message
  > .message_answer
  > .el-loading-spinner,
.One
  > .talk-layout
  > .talk
  > .ai-log-line2
  > .message
  > .message_answer
  > .el-loading-spinner {
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
}
.One
  > .talk
  > .ai-log-line
  > .message
  > .message_answer
  > .el-loading-spinner
  > .circular,
.One
  > .talk
  > .ai-log-line2
  > .message
  > .message_answer
  > .el-loading-spinner
  > .circular {
  width: 50%;
  height: 50%;
}
.One > .talk-layout > .talk > .ai-log-line > .message > p,
.One > .talk-layout > .talk > .ai-log-line2 > .message > p {
  color: #ffffff;
  font-size: 13px;
  margin-top: 10px;
  font-weight: 400;
}
.One > .talk-layout > .talk > .ai-log-line > .message > .thinking:hover {
  background: linear-gradient(
    270deg,
    rgba(60, 171, 255, 0.5) 0%,
    rgba(142, 167, 255, 0.5) 100%
  );
}
.One > .talk-layout > .talk > .ai-log-line > .message > .thinking {
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(
        270deg,
        rgba(142, 167, 255, 1) 0%,
        rgba(60, 171, 255, 1) 100%
      )
      border-box;
  border: 1px solid transparent;
  white-space: break-spaces;
  border-radius: 10px;
  padding: 5px 10px;
  align-items: center;
  margin-top: 10px;
  cursor: pointer;
  width: fit-content;
  text-align: left;
  color: #777777;
  font-size: 13px;
  display: flex;
  align-items: center;
}
.One > .talk-layout > .talk > .ai-log-line2 {
  justify-content: flex-end;
  .message_answer {
    border-radius: 20px 20px 0 20px !important;
    background-color: #0087ff !important;
    color: #fff !important;
  }
}
.One > .talk-layout > .talk > .ai-log-line2 .message_answer {
  border-radius: 20px 20px 0 20px !important;
  background-color: #0087ff !important;
  color: #fff !important;
}
.One .analysis,
.One .readAloud,
.One .aiprint {
  display: flex;
  align-items: center;
  color: #333333;
  font-size: 14px;
  background-image: url(/Content/images/AI/kuang_min.png);
  background-size: 100% 100%;
  /* background: #ffffff; */
  border-radius: 6px;
  /* border: 1px solid #0087ff; */
  padding: 5px 10px;
  margin-top: 20px;
  cursor: pointer;
}

.One .analysis:hover,
.One .readAloud:hover,
.One .aiprint:hover {
  background-image: url(/Content/images/AI/kuang_min_.png);
  background-size: 100% 100%;
}
.One .el-input--suffix .el-input__inner {
  border-radius: 12px;
  border: 1px solid transparent; /* 设置透明边框 */
  background-image: linear-gradient(white, white),
    linear-gradient(250deg, rgba(134, 146, 255, 1), rgba(26, 174, 255, 1));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding-right: 45px;
}
.One .el-input__inner::placeholder {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 15px;
  color: #aaaaaa;
  line-height: 26px;
  text-align: left;
  font-style: normal;
}
.One .el-input__inner:focus {
  border-radius: 12px;
  /* border-image: linear-gradient(250deg, rgba(134, 146, 255, 1), rgba(26, 174, 255, 1)) 1 1; */
  box-shadow: 0px 8px 12px -6px #74b9ff, 0px -4px 10px -6px #89acff;
}
.One .dialog-input-zz-icon {
  background-image: url(/Content/images/AI/draw/pause_bt.png);
  background-size: 100% 100%;
}
.One .dialog-input-fs-icon {
  background-image: url(/Content/images/AI/draw/fs_icon_1.png);
  background-size: 100% 100%;
}
.One .dialog-input-icon {
  color: rgb(0 0 0 / 0%);
  width: 24px;
  height: 24px;
  cursor: pointer;
  margin-left: 10px;
}



.yuyin:hover {
  background: url(../../../Content/images/robot/newRobot/yuyin.png) no-repeat
    center;
  background-size: 100% 100%;
  position: relative; /* 确保父元素有定位属性 */
}

.yuyin {
  width: 22px;
  height: 22px;
  cursor: pointer;
  background: url(../../../Content/images/robot/newRobot/yuyin_kong.png)
    no-repeat center;
  background-size: 100% 100%;
}
.jianpan:hover {
  width: 22px;
  height: 22px;
  background: url(../../../Content/images/robot/newRobot/new_Log_jianpan.png)
    no-repeat center;
  background-size: 100% 100%;
}
.jianpan {
  width: 22px;
  height: 22px;
  background: url(../../../Content/images/robot/newRobot/jianpan_kong.png)
    no-repeat center;
  background-size: 100% 100%;
}
.One .el-input__suffix {
  display: flex;
  align-items: center;
  right: 16px;
}
.One .el-input__suffix-inner {
  height: 24px;
}
/* .One-flex-direction {
  flex-direction: column;
}
.One > .talk-bottom {
  margin-bottom: 60px;
} */

.One {
  display: flex;
  justify-content: space-between;
  height: calc(100% - 20px);
}
.One .bottom-input {
  position: sticky;
  bottom: 0;
  padding: 0 30px 0;
  display: flex;
  border: #DCDFE6 1px solid;
  width: 90%;
  border-radius: 10px;
  margin: 0 auto;
  transition: all 0.3s ease-in-out;
  box-shadow: none;
  box-sizing:border-box;
}
.bottom-input-value{
  width: calc(100% - 70px);
  height: 45px;
  line-height:45px ;
}
.bottom-input-active {
  box-shadow: 0px 0px 10px rgba(13, 157, 201, 0.7)!important;
  border: rgba(13, 157, 201, 0.7) 1px solid!important;
}
#btnvoiceBox canvas{
    position:relative;
}
.One .bottom-input-operation {
    display: flex;
    align-items: center;
}
.One .analysis {
  margin-right: 15px;
}
.One .analysis .img {
  width: 22px;
  height: 22px;
  margin-right: 5px;
  background-size: 100% 100%;
  background-image: url(/Content/images/AI/ai8.png);
  margin-right: 5px;
}
.One .readAloud .img {
  width: 22px;
  height: 22px;
  margin-right: 5px;
  background-size: 100% 100%;
  background-image: url(/Content/images/AI/Ai_3.png);
}
/* .One .analysis:hover,
.One .readAloud:hover {
    background: linear-gradient( 270deg, rgba(60,171,255,0.2) 0%, rgba(142,167,255,0.2) 100%);
    color: #526786;
} */
.One .operate {
  display: flex;
  align-items: center;
}
.One .thinking-Firstimg {
  width: 22px;
  height: 22px;
  margin-right: 5px;
  background-size: 100% 100%;
  background-image: url(/Content/images/AI/ai11.png);
}

.One .thinking-img {
  width: 22px;
  height: 22px;
  margin-left: 5px;
  background-size: 100% 100%;
  background-image: url(/Content/images/AI/ai10.png);
}
.message_answer {
  font-weight: 400;
  font-size: 15px;
  color: #333333;
  line-height: 24px;
  text-align: left;
  font-style: normal;
}
.One .readAloud .aibuttonMsgTts {
  display: inline-block;
  height: 22px;
  width: 22px;
  background: url('/Content/images/common/MsgTts1.png') no-repeat center;
  background-size: contain;
  vertical-align: top;
  cursor: pointer;
  margin-right: 4px;
}
.One .aiprint {
  margin-left: 15px;
}
.One .aiprint .aiprint-icon {
  display: inline-block;
  height: 22px;
  width: 22px;
  background: url('/Content/images/AI/printer.png') no-repeat center;
  background-size: contain;
  vertical-align: top;
  cursor: pointer;
  margin-right: 4px;
}
/*等待*/
.One .readAloud .aibuttonMsgTtsWait {
  display: inline-block;
  height: 22px;
  width: 22px;
  background: url('/Content/images/common/MsgTts2.gif') no-repeat center;
  background-size: contain;
  vertical-align: top;
  cursor: pointer;
}
/*播放*/
.One .readAloud .aibuttonMsgTtsPlay {
  display: inline-block;
  height: 22px;
  width: 22px;
  background: url('/Content/images/common/MsgTts3.gif') no-repeat center;
  background-size: contain;
  vertical-align: top;
  cursor: pointer;
}
/*鼠标闪烁*/
.message_answer_::after {
  content: '|';
  animation: blink 1s infinite;
  font-weight: 600;
  color: #3ba3ff;
  padding-left: 4px;
}
/* .two > section {
  display: flex;
  align-items: center;
  width: calc(100% - 10px);
  height: calc(100% - 60px);
}
.two > .question {
  width: 49%;
  height: 100%;
}
.two > .question .Article {
  color: #333333;
  width: 100%;
  text-align: center;
  font-size: 18px;
}
.two > .talk {
  width: 49%;
  height: 100%;
  overflow-y: auto;
  padding: 0 30px 70px;
  margin-top: 35px;
  box-sizing: border-box;
} */
.message_answer h1 {
  font-weight: 600;
}
.message_answer h2 {
  font-weight: 600;
}
.message_answer h3 {
  font-weight: 600;
}
.message_answer h4 {
  font-weight: 600;
}
.message_answer h5 {
  font-weight: 600;
}
.message_answer h6 {
  font-weight: 600;
}

/* 处理右侧试题或文章的DOM元素 */
.One .show-views .the-current {
  padding: 0 3.5%;
}
/* 需要隐藏的元素(题号、收藏、纠错、底部解析板块) */
.One .show-views .que_id,
.One .show-views .parsing,
.One .show-views .topic-tag,
.One .show-views #findwrong {
  display: none;
}
/* 【任务型阅读】行间距 */
.One .show-views .the-current .the-title p {
  line-height: 34px;
  font-size: 18px;
  color: #333333;
  font-family: PingFangSC, PingFang SC;
}
/* 【提示填空】行间距 */
.One .show-views .the-current .the-title .topic-p p {
  line-height: revert;
}
/* 【完形填空】的选项 */
.One .show-views .the-current .choose-c .questions_7 .questions_7-button {
  flex-wrap: wrap;
}

/* 隐藏默认滚动条 */
/* 创建自定义滚动条 */
.One > .talk-layout > .talk::-webkit-scrollbar,
.One > .show-views::-webkit-scrollbar {
  width: 3px;
}

.One > .talk-layout > .talk::-webkit-scrollbar-track,
.One > .show-views::-webkit-scrollbar-track {
  background-color: transparent;
}

.One > .talk-layout > .talk::-webkit-scrollbar-thumb,
.One > .show-views::-webkit-scrollbar-thumb {
  background-color: #aaaaaa;
  border-radius: 10px;
}

.One > .talk-layout > .talk::-webkit-scrollbar-thumb:hover,
.One > .show-views::-webkit-scrollbar-thumb:hover {
  background-color: #888;
}
.One .el-input__inner:focus{
  box-shadow: none;
  border: none;
}
.el-input__inner:hover{
  box-shadow: none;
  border: none;
}
.el-input__inner{
  border: none;
}
@media screen and (max-width: 1200px) {
  .tip {
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
    margin-top: 20px;
    border-radius: 6px;
  }
  .tip span {
    font-size: 12px;
    line-height: 16px;
  }
}
#app .message ol, #app .message ol > li, #app .message ul ,#app .message ul > li {
    list-style-type: decimal;
    padding: revert;
}
#app .message p {
    float: revert;
}