* {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
}

.scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/*正常情况下滑块的样式*/
.scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  -webkit-box-shadow: inset1px1px0rgba(0, 0, 0, 0.1);
}

/*鼠标悬浮在该类指向的控件上时滑块的样式*/
.scroll:hover::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  -webkit-box-shadow: inset1px1px0rgba(0, 0, 0, 0.1);
}

/*鼠标悬浮在滑块上时滑块的样式*/
.scroll::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: inset1px1px0rgba(0, 0, 0, 0.1);
}

/*正常时候的主干部分*/
.scroll::-webkit-scrollbar-track {
  border-radius: 10px;
  -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0);
  background-color: white;
}

/*鼠标悬浮在滚动条上的主干部分*/
.scroll::-webkit-scrollbar-track:hover {
  -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.4);
  background-color: rgba(0, 0, 0, 0.01);
}

.box_center {
  display: flex;
  align-items: center;
}

.robot {
  position: relative;
  background: url("/syx/lsswszf/resource/hdjlimg/robot_bg.jpg") no-repeat;
  background-size: 100%;
}

.znwd_content {
  box-shadow: 0px 3px 3px 0px #eaf2fa;
  background: #fff;
  width: 1450px;
  margin: 130px auto 50px;
  position: relative;
  padding: 25px;
  border-radius: 20px;
  border-top-right-radius: 0 !important;
}
.znwd_content .top_btn {
  position: absolute;
  top: -54px;
  right: -1px;
  display: flex;
}
.rests_btn {
  cursor: pointer;
}
.robot_logo {
  padding-top: 20px;
  margin-left: 300px;
}

.robot_logo_img {
  display: block;
}

.robot_logo1450 {
  display: none;
}

.znwd_content .top {
  z-index: 10;
  position: relative;
  display: flex;
  color: #333;
  padding: 12px 20px;
  align-items: center;
  background-image: none;
  background-color: #fff;
  justify-content: space-between;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12); */
}

.znwd_content .top span {
  margin-left: 5px;
}

.znwd_content .top .title {
  font-size: 26px;
  font-weight: 700;
}

.znwd_content .top .title img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.znwd_content .atalk .asay .cj_item span {
  width: 750px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.znwd_content .centent_box {
  display: flex;
  /* background-color: #f5f8fa; */
}

.znwd_content .box_left {
  flex: 1;
  /* border-right: 1px solid #ccc; */
}

.znwd_content .record_box {
  height: 480px;
  overflow: auto;
  padding: 20px;
  padding-top: 0;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.znwd_content .atalk {
  display: flex;
  margin: 20px 0;
}

/* .znwd_content .atalk .asay::after {
  content: "";
  position: absolute;
  top: 15px;
  left: -8px;
  width: 15px;
  height: 15px;
  transform: rotate(45deg);
  background-color: #fff;
  border-left: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
} */

.znwd_content .atalk img {
  width: 48px;
  height: 48px;
  /* object-fit: cover; */
}

.znwd_content .atalk .asay {
  overflow: hidden;
  position: relative;
  font-size: 16px;
  line-height: 2;
  max-width: 780px;
  width: fit-content;
  display: inline-block;
  background: linear-gradient(to right, #eff8ff, #f5f8fc);
  border-radius: 15px;
  border-top-left-radius: 0px !important;
  color: #3c3c3c;
  margin-left: 15px;
  padding: 16px;
  text-align: justify;
  box-shadow: 3px 3px 3px 0px #e4eef9;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

.znwd_content .atalk .list_top {
  border-bottom: 1px dashed #d6def1;
}

.znwd_content .list_box a {
  cursor: pointer;
  color: #2590fc;
  margin: 2px 0;
}

.znwd_content .atalk .list_top,
.znwd_content .list_box a {
  height: 30px;
  display: flex;
  align-items: center;
  line-height: 30px;
}

.znwd_content .atalk .right_square {
  background-color: #217ee1;
  display: inline-block;
  margin-right: 5px;
  height: 20px;
  width: 5px;
}

.znwd_content .atalk .list_box .right_circle {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50%;
  margin-right: 5px;
  background-color: #2590fc;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.znwd_content .btalk {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  margin: 15px 10px;
  text-align: right;
}
.znwd_content .btalk img {
  width: 42px;
  margin-left: 10px;
}

.znwd_content .btalk div {
  display: inline-block;
  background: linear-gradient(to bottom, #b3d3fa, #5fa1e5);
  border-radius: 15px;
  border-top-right-radius: 0px !important;
  color: #fff;
  padding: 15px;
  font-size: 16px;
  text-align: justify;
  width: fit-content;
  max-width: 500px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

.znwd_content .subject_box {
  display: flex;
  font-size: 14px;
  line-height: 40px;
  height: 40px;
  padding-left: 20px;
  background-color: #eee;
}

.znwd_content .subject_box a {
  border-radius: 20px;
  cursor: pointer;
  color: #333;
  margin: 7px 4px;
  padding: 2px 5px;
  text-align: center;
  vertical-align: middle;
  line-height: 22px;
}

#talkwords {
  height: 62px;
  padding: 10px 15px;
  color: #767676;
}

.znwd_content .input_box {
  /*box-shadow: 0px 1px 4px 0px #ccc;
  */
  height: 130px;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  width: calc(100% - 30px);
  float: right;
  margin-right: 30px;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

.znwd_content .input_box .talk_word {
  border: none;
  padding: 5px;
  resize: none;
  outline: none;
  width: calc(100% - 20px);
  font-size: 16px;
}

.znwd_content .input_box .btn {
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 5px 15px;
}

.znwd_content .input_box .talk_sub {
  /* width: 100px; */
  background: #d5d5d5;
  border-radius: 5px;
  height: 30px;
  line-height: 30px;
  font-size: 12px;
  text-align: center;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0 30px;
}
.znwd_content .atalk .dw_img {
  width: 15px;
  height: auto;
  margin: 0 8px;
}
.znwd_content .atalk .region_change,
.znwd_content .atalk .regionName {
  color: #d61102;
}
.znwd_content .atalk .region_change {
  margin-left: 8px;
  cursor: pointer;
}

.znwd_content .box_right {
  width: 450px;
  padding-left: 15px;
  background-color: #fff;
  border-left: 1px solid #e5e5e5;
}

.znwd_content .box_right h4 {
  height: 40px;
  line-height: 40px;
  color: #bd1a2d;
  border-bottom: 1px solid #e5e5e5;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: normal;
}
.znwd_content .box_right .nav_box {
  height: calc(100% - 87px);
}
.znwd_content .box_right .nav {
  display: flex;
  justify-content: space-between;
}
.znwd_content .box_right .nav .nav_item {
  font-size: 18px;
  flex: 1;
  text-align: center;
  padding: 16px 0;
  background-color: #edf5fd;
  cursor: pointer;
}
.znwd_content .box_right .nav .active {
  color: #fff;
  background: linear-gradient(to bottom, #b4d3fa, #5da0e5);
}
.znwd_content .box_right .nav li:first-child {
  border-top-left-radius: 10px;
}
.znwd_content .box_right .nav li:last-child {
  border-top-right-radius: 10px;
}

.znwd_content .box_right .cjwt_box .cj_item img {
  width: 15px;
  height: 15px;
}

.znwd_content .box_right .cjwt_box .cj_item span {
  width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.znwd_content .box_right .right_list {
  height: 460px;
  padding-top: 10px;
}
.znwd_content .box_right .cjwt_box {
  display: none;
  height: 100%;
  overflow: auto;
  color: #999999;
  font-size: 16px;
}

.znwd_content .box_right .cjwt_box a {
  display: flex;
  align-items: center;
  padding: 6px 0 6px 10px;
  cursor: pointer;
  color: #999;
  font-size: 16px;
}

.znwd_content .box_right .cjwt_box a img {
  width: 18px;
  height: 18px;
  margin-right: 5px;
}

.znwd_content .box_right .cjwt_box a {
  color: #5b5b5b;
  font-size: 16px;
}

.cjwt_active {
  display: block !important;
}
.cj_item {
  width: fit-content;
}
#ztfw .zt_item {
  padding: 20px 10px;
}
#ztfw .zt_item .zt_img {
  width: 35px;
  height: 35px;
}
#fwzn {
  position: relative;
}
#fwzn .zn_item {
  position: absolute;
}
#fwzn {
  background: url("/syx/lsswszf/resource/hdjlimg/robot/r_fwzn.png") no-repeat center;
}
/* 文字行基础样式 */
.water-line {
  position: relative;
  will-change: transform;
  text-align: center;
}

/* 为每行创建独特的随机动画 */
.water-line:nth-child(1) {
  animation: wave1 8s ease-in-out infinite alternate;
}
.water-line:nth-child(2) {
  animation: wave2 7s ease-in-out infinite alternate-reverse;
}
.water-line:nth-child(3) {
  animation: wave3 9s ease-in-out infinite alternate;
}
.water-line:nth-child(4) {
  animation: wave4 6.5s ease-in-out infinite alternate-reverse;
}
.water-line:nth-child(5) {
  animation: wave5 7.5s ease-in-out infinite alternate;
}
.water-line:nth-child(6) {
  animation: wave6 8.5s ease-in-out infinite alternate-reverse;
  -webkit-animation: wave6 8.5s ease-in-out infinite alternate-reverse;
}
.water-line:nth-child(7) {
  animation: wave7 6s ease-in-out infinite alternate;
}

/* 定义7种不同的水波动画 */
@keyframes wave1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0.5deg);
  }
  25% {
    transform: translate(-3px, -6px) rotate(-1deg);
  }
  50% {
    transform: translate(2px, 4px) rotate(0.8deg);
  }
  75% {
    transform: translate(-4px, -3px) rotate(-0.7deg);
  }
}

@keyframes wave2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(-0.3deg);
  }
  30% {
    transform: translate(5px, -4px) rotate(1.2deg);
  }
  60% {
    transform: translate(-3px, 7px) rotate(-0.8deg);
  }
}

@keyframes wave3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0.7deg);
  }
  20% {
    transform: translate(-2px, -8px) rotate(-0.5deg);
  }
  40% {
    transform: translate(4px, 5px) rotate(1deg);
  }
  70% {
    transform: translate(-5px, -2px) rotate(-1.2deg);
  }
}

@keyframes wave4 {
  0%,
  100% {
    transform: translate(0, 0) rotate(-0.8deg);
  }
  15% {
    transform: translate(6px, -5px) rotate(0.6deg);
  }
  45% {
    transform: translate(-4px, 3px) rotate(-1deg);
  }
  75% {
    transform: translate(3px, -7px) rotate(0.9deg);
  }
}

@keyframes wave5 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0.4deg);
  }
  35% {
    transform: translate(-5px, -4px) rotate(-0.9deg);
  }
  65% {
    transform: translate(3px, 6px) rotate(1.1deg);
  }
}

@keyframes wave6 {
  0%,
  100% {
    transform: translate(0, 0) rotate(-0.6deg);
  }
  25% {
    transform: translate(4px, -7px) rotate(0.8deg);
  }
  50% {
    transform: translate(-6px, 3px) rotate(-1.2deg);
  }
  75% {
    transform: translate(2px, -5px) rotate(0.7deg);
  }
}

@keyframes wave7 {
  0%,
  100% {
    transform: translate(0, 0) rotate(1deg);
  }
  20% {
    transform: translate(-7px, -3px) rotate(-0.6deg);
  }
  40% {
    transform: translate(5px, 4px) rotate(0.9deg);
  }
  80% {
    transform: translate(-3px, -6px) rotate(-1.1deg);
  }
}

/* 随机气泡效果 */
.water-line::before,
.water-line::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  opacity: 0;
}

/* 气泡动画 */
.water-line::before {
  animation: bubble 6s ease-in infinite;
  left: 15%;
  top: -10px;
}

.water-line::after {
  animation: bubble 5s ease-in infinite 2s;
  left: 75%;
  top: -20px;
}
.modal_box {
  display: none;
  box-shadow: 0px 1px 4px 0px #ccc;
  padding: 0 20px;
  position: fixed;
  width: 50%;
  height: 400px;
  bottom: 50%;
  left: 50%;
  border-radius: 5px;
  background-color: #fff;
  transform: translate(-50%, 50%);
  -webkit-transform: translate(-50%, 50%);
  -moz-transform: translate(-50%, 50%);
  -ms-transform: translate(-50%, 50%);
  -o-transform: translate(-50%, 50%);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.modal_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  border-bottom: 1px solid #ccc;
}
.modal_box .closeModal {
  color: #cd0000;
  text-align: right;
  font-size: 28px;
  font-weight: bold;
}

.closeModal:hover,
.closeModal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.modal_con {
  padding: 20px 0;
}
.region_item_box {
  display: flex;
  flex-wrap: wrap;
}
.region_item {
  cursor: pointer;
  margin: 5px 0;
  width: fit-content;
  padding: 0 15px;
  font-size: 18px;
}

.region_item:hover {
  color: #d61102;
}
@keyframes bubble {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  20% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-150px) scale(0.3);
    opacity: 0;
  }
}
@media (max-width: 1550px) {
  .robot_logo {
    margin-left: 130px;
  }

  .znwd_content .left_rec {
    max-width: 1200px;
  }

  .znwd_content .box_right {
    display: none !important;
  }

  .znwd_content {
    width: 90%;
  }

  .znwd_content .centent_box {
    width: 100%;
  }

  .znwd_content .input_box {
    float: none;
  }

  .znwd_content .atalk .asay {
    width: 1000px;
  }

  .znwd_content .atalk .asay .cj_item span {
    width: 1000px;
  }
}

@media (max-width: 1250px) {
  .robot_logo_img {
    display: none;
  }

  .robot_logo1450 {
    display: block;
  }

  .znwd_content {
    margin: 85px auto 50px;
  }

  .znwd_content .left_rec {
    width: 100%;
  }

  .znwd_content .input_box,
  .znwd_content .centent_box .atalk .btalk,
  .znwd_content .centent_box .atalk .asay {
    width: 100%;
  }

  .znwd_content .centent_box .atalk .asay .cj_item span {
    width: 600px;
  }
}

@media (max-width: 900px) {
  .robot_logo {
    margin-left: 80px;
  }

  .znwd_content {
    margin: 45px auto 50px;
  }
  .znwd_content .top_btn {
    display: none;
  }
}

@media (max-width: 820px) {
  .znwd_content {
    width: 80%;
  }

  .znwd_content .centent_box .atalk .asay .cj_item span {
    width: 400px;
  }

  .robot_logo {
    margin-left: 40px;
  }
}

@media (max-width: 680px) {
  .robot {
    background: url("/syx/lsswszf/resource/hdjlimg/robot_bg1450.jpg") no-repeat;
    background-size: 100%;
  }
  .modal_box {
    display: none;
    padding: 0 20px;
    position: fixed;
    width: calc(100% - 20px);
    height: 400px;
    bottom: 0;
    left: 0;
    transform: none;
    border-radius: 0px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
  }
  .znwd_content {
    box-shadow: none;
    background-color: transparent;
    margin: 25% auto 0;
    padding: 0 0 20px 0;
    width: 95%;
  }

  .znwd_content .centent_box .atalk .btalk,
  .znwd_content .centent_box .atalk .asay {
    width: 100%;
  }
  .znwd_content .centent_box .atalk .asay .cj_item span {
    width: 260px;
  }

  .znwd_content .input_box {
    width: 100%;
    margin-left: 0;
  }

  .znwd_content .record_box {
    height: 600px;
  }

  .scroll::-webkit-scrollbar-track {
    background-color: transparent;
    /* 或者设置为 'none' */
  }

  .znwd_content .input_box .btn p {
    display: none;
  }

  .znwd_content .input_box .btn {
    display: block;
  }

  .znwd_content .input_box {
    display: flex;
    align-items: center;
    height: 40px;
  }

  #talkwords {
    height: 25px;
  }
}

@media (max-width: 450px) {
  .znwd_content .centent_box .atalk .asay .cj_item span {
    width: 150px;
  }
}
