@charset "UTF-8";
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #F7F9FA;
  /* 整个滚动条 */
  /* 滚动条轨道 */
  /* 滚动条滑块 */
  /* 滑块在悬停或者点击时的样式 */
}

body ::-webkit-scrollbar, html ::-webkit-scrollbar {
  width: 10px;
  /* 滚动条宽度 */
  height: 6px;
  /* 滚动条高度 */
}

body ::-webkit-scrollbar-track, html ::-webkit-scrollbar-track {
  background: #f1f1f1;
  /* 轨道颜色 */
  border-radius: 10px;
  /* 轨道圆角 */
}

body ::-webkit-scrollbar-thumb, html ::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  /* 滑块颜色 */
  border-radius: 10px;
  /* 滑块圆角 */
  border: 2px solid #ffffff;
  /* 滑块边框 */
}

body ::-webkit-scrollbar-thumb:hover, html ::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
  /* 悬停时滑块颜色 */
}

body ::-webkit-scrollbar-thumb:active, html ::-webkit-scrollbar-thumb:active {
  background: #818181;
  /* 点击时滑块颜色 */
}

body {
  background: url(../images/BJ.png) no-repeat top center;
  background-size: cover;
}

ul, li, p {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}

.logo-contain {
  max-width: 1200px;
  width: 100%;
  margin: 30px auto 10px auto;
  position: relative;
}

.logo-contain .logo {
  width: 273px;
  height: 54px;
  background: url(../images/logo2.png) no-repeat left center;
  background-size: contain;
}

.logo-contain .user {
  position: absolute;
  right: 100px;
  top:15px;
  color:#ffffff;
}

.logo-contain .user a{
  color: #ffffff;
}

.contentDiv {
  max-width: 1200px;
  width: 100%;
  height: calc(100% - 280px);
  overflow-y: auto;
  margin: auto;
  box-sizing: border-box;
}

.contentDiv .leftd,
.contentDiv .rightdom {
  margin: 30px auto;
  display: flex;
  flex-direction: row;
}

.contentDiv .leftd:first-child,
.contentDiv .rightdom:first-child {
  margin-top: 20px;
}

.contentDiv .leftd:last-child,
.contentDiv .rightdom:last-child {
  margin-bottom: 20px;
}

.contentDiv .leftd {
  padding-right: 72px;
}

.contentDiv .rightdom {
  flex-direction: row-reverse;
  padding-left: 88px;
}

.contentDiv .rightdom .speech {
  display: flex;
  justify-content: end;
}

.contentDiv .rightdom .dialog-con {
  width: auto;
  background: linear-gradient(270deg, #66CDE9 0%, #3F7FFF 100%);
  border-radius: 12px 24px 0px 12px;
  color: #FFFFFF;
}

.contentDiv .leftd_h {
  width: 56px;
  height: 80px;
  background: url(../images/ai_head.png) no-repeat center center;
  background-size: contain;
  margin: 0 10px 0 22px;
}

.contentDiv .rightd_h {
  width: 52px;
  height: 52px;
  background: url(../images/custor_head.png) no-repeat center center;
  background-size: auto;
  margin: 0 10px;
  background-color: #fff;
  box-shadow: 0px 2px 8px 0px #E4E9EC;
  border-radius: 50%;
}

.contentDiv .rightd_h img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.contentDiv .speech {
  width: 100%;
  flex: 1;
}

.contentDiv .left::after {
  content: attr(data-source);
  font-size: 12px;
  color: #9EA2A6;
  line-height: 14px;
  transform: translateY(100%);
  min-width: 115px;
  padding-left: 35px;
}

.contentDiv .dialog-con {
  width: 100%;
  background: #FFFFFFc8;
  box-shadow: 0px 2px 8px 0px #E4E9EC;
  border-radius: 24px 12px 12px 0px;
  padding: 20px 24px;
  box-sizing: border-box;
}



.wrap-bottom {
  max-width: 1200px;
  padding: 0 72px 0 88px;
  box-sizing: border-box;
  margin: auto;
}

.tips{
  position: absolute;
  background: #fff;
  bottom: 90px;
  z-index: 999;
  border: 3px solid #3f7fff;
  border-radius: 12px;
  padding: 20px;
  line-height: 30px;
  display: none;
}

.qa-keyword-title {
  font-weight: bold;
  font-size: 16px;
  color: #3A3D40;
  line-height: 20px;
  padding: 12px 0;
}

.qa-keyword-title span {
  background: url(../images/title_bg.png) no-repeat right center;
  background-size: auto 16px;
  padding-right: 24px;
}

.qa-keyword-list {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  padding-bottom: 5px;
}

.qa-keyword-item,ul.qa-word li {
  font-weight: bold;
  font-size: 14px;
  color: #032242;
  line-height: 16px;
  padding: 8px 12px;
  border-radius: 8px;
  background-clip: padding-box;
  border: 1px solid #3F7FFF;
  white-space: nowrap;
  background-image: linear-gradient(270deg, rgba(102, 205, 233, 0.2), rgba(63, 127, 255, 0.2));
  cursor: pointer;
  margin-right: 12px;
}

ul.qa-word{ margin-top:6px;}
ul.qa-word li{
  display: inline;
  padding: 6px 12px;
}

.qa-keyword-item.seleted, .qa-keyword-item:not(.qa-keyword-exchange):hover {
  background-image: linear-gradient(270deg, #66CDE9 0%, #3F7FFF 100%);
  color: #fff;
}

.qa-keyword-exchange {
  border: none;
  background: url(../images/refresh_2.png) no-repeat left center;
  background-size: auto 16px;
  padding-left: 20px;
}

.qa-input {
  margin-top: 20px;
  position: relative;
  height: 60px;
  border-radius: 12px;
  background-image: linear-gradient(to left, #66cde9, #3f7fff);
  padding: 2px;
}

.textarea {
  background-color: #fff;
  border-radius: 12px 12px 12px 12px;
  border: none;
  outline: none;
  width: 100%;
  height: 60px;
  padding: 19px 80px 19px 20px;
  box-sizing: border-box;
  resize: none;
  font-size: 16px;
  color: #3A3D40;
  line-height: 20px;
  position: relative;
}

.btn {
  position: absolute;
  width: 40px;
  height: 40px;
  right: 20px;
  bottom: 10px;
  border-radius: 12px;
  background: url(../images/btn.png) no-repeat center center;
  background-size: 100% 100%;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #E4E9EC;
}

.beian{
  text-align: center; font-size: 10px;line-height: 12px;padding-top: 3px;
}
.beian a{ color: #818181;}

@media (max-width: 1200px) {
  body {
    padding: 0 20px;
    box-sizing: border-box;
  }
  body .wrap-bottom {
    padding: 0px;
    top: 2px;
    right: 0;
    margin-right: 0;
  }
  body .qa-keyword {
    position: relative;
  }
  body .qa-keyword .qa-keyword-exchange {
    position: absolute;
    top: 0;
    right: 0;
  }
}

/* 针对小屏幕 */
@media screen and (max-width: 600px) {
  body {
    padding: 0 3px;
  }

  .logo-contain {
    width: 100%;
    margin: 5px auto 5px auto;
    position: relative;
  }

  .logo-contain .user {
    position: absolute;
    right: 6px;
    top:15px;
    color:#ffffff;
  }

  .contentDiv {
    height: calc(100% - 250px);
  }

  .contentDiv .leftd_h {
    width: 56px;
    height: 80px;
    background: url(../images/ai_head.png) no-repeat center center;
    background-size: contain;
    margin: 0 10px 0 3px;
  }

  .contentDiv .rightd_h {
    width: 52px;
    height: 52px;
    background: url(../images/custor_head.png) no-repeat center center;
    background-size: auto;
    margin: 0 3px 0 10px;
    background-color: #fff;
    box-shadow: 0px 2px 8px 0px #E4E9EC;
    border-radius: 50%;
  } 
  
  .contentDiv .leftd {
    padding-right: 64px;
  }

  .contentDiv .rightdom {
    flex-direction: row-reverse;
    padding-left: 67px;
  }

  .contentDiv .left::after {
    padding-left: 0px;
  }
}
