/* #region 公共部分 */
.ztHead {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    box-shadow: none;
    background: transparent;
}
.ztHead .topbg a {
    color: #666 !important;
}
.footer { 
    margin-top: 0;
    background-color: #FFF;
    border-top: solid 0.08rem #5790E9;
}
.footer * {
    color: #666 !important;
}
.footer .link ul li .span {
    background-image: url(../images/yj-ps-chatbot-foot-line.png);
}
.footer .link ul li:nth-of-type(1) .span {
    background: url(../images/yj-ps-chatbot-foot-line.png) no-repeat left center, url(../images/yj-ps-chatbot-foot-line.png) no-repeat right center;
}
.footer .con .lf .kj-nav a {
    background: url(../images/yj-ps-chatbot-foot-line.png) no-repeat center right;
}
.footer .link ul li .link-con {
    background-color: #FFF;
    bottom: 0.44rem;
}
/* #endregion */

.yj-chatbot {
    height: 10.1rem;
    background-image: url(../images/yj-ps-chatbot-img-bg.jpg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/* #region 左侧容器 */
.yj-chatbot .left-container {
    width: 16.354%;
    height: 6rem;
    flex-shrink: 0;
    background-image: url(../images/yj-ps-chatbot-img-left-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-top: 2.1rem;
    box-sizing: border-box;
    padding: 0.55rem 0.14rem 0.14rem;
    display: flex;
    flex-direction: column;
}
.yj-chatbot .left-container .section-title-container {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.yj-chatbot .left-container .section-title-container .section-title,
.yj-chatbot .right-container .section-title-container .section-title {
    position: relative;
}
.yj-chatbot .left-container .section-title-container .section-title span,
.yj-chatbot .right-container .section-title-container .section-title span {
    color: #333;
    font-size: 0.2rem;
    font-weight: bold; 
    z-index: 2;
    position: relative;
}
.yj-chatbot .left-container .section-title-container .section-title::before,
.yj-chatbot .right-container .section-title-container .section-title::before {
    content: "";
    width: 0.87rem;
    height: 0.1rem;
    background-image: url(../images/yj-ps-chatbot-img-section-name-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}
.yj-chatbot .left-container .section-title-container img {
    width: 0.19rem;
    height: 0.19rem;
    margin-left: 0.1rem;
    cursor: pointer;
}
.yj-chatbot .left-container .section-title-container img + img {
    margin-left: 0.06rem;
}
.yj-chatbot .left-container .bmfw-list {
    flex: 1;
    overflow-y: auto;
    margin-top: 0.22rem;
}
.yj-chatbot .left-container .bmfw-list .item {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 0.63rem;
    box-sizing: border-box;
    padding: 0px 0.1rem;
    position: relative;
    margin-top: 0.2rem;
    cursor: pointer;
}
.yj-chatbot .left-container .bmfw-list .item:nth-child(1) {
    margin-top: 0;
}
.yj-chatbot .left-container .bmfw-list .item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg,rgba(220, 231, 253,0.9) 0%, rgba(245, 248, 255,0.9) 100%), rgba(255,253,248,0.55);
    border-radius: 0.08rem;
    opacity: 0.9;
    z-index: 1;
}
.yj-chatbot .left-container .bmfw-list .item img { 
    width: 0.32rem;
    height: auto;
    margin-right: 0.04rem;
    flex-shrink: 0;
    z-index: 2;
}
.yj-chatbot .left-container .bmfw-list .item span { 
    flex: 1;
    font-size: 0.16rem;
    color: #333333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}
.yj-chatbot .left-container .bmfw-list::-webkit-scrollbar {
    width: 4px;
}

.yj-chatbot .left-container .bmfw-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 2px;
}

.yj-chatbot .left-container .bmfw-list::-webkit-scrollbar-thumb {
    background: #5790E9;
    border-radius: 2px;
}

.yj-chatbot .left-container .bmfw-list::-webkit-scrollbar-thumb:hover {
    background: #3a76d8;
}
/* #endregion */

/* #region 右侧容器 */
.yj-chatbot .right-container {
    width: 16.354%;
    height: 6rem;
    flex-shrink: 0;
    background-image: url(../images/yj-ps-chatbot-img-right-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-top: 2.1rem;
    box-sizing: border-box;
    padding: 0.24rem 0.14rem 0.14rem;
}
.yj-chatbot .right-container .section-gxzt {
    background-image: url(../images/yj-ps-chatbot-img-right-gxzt-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 2.86rem;
    box-sizing: border-box;
    padding: 0.69rem 0.18rem 0.18rem;

}
.yj-chatbot .right-container .section-gxzt .gxzt-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    flex-direction: row;
}
.yj-chatbot .right-container .section-gxzt .gxzt-list .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    cursor: pointer;
    margin-top: 0.2rem;
}
.yj-chatbot .right-container .section-gxzt .gxzt-list .item img {
    height: 0.33rem;
    width: auto;
    margin-bottom: 0.13rem;
}
.yj-chatbot .right-container .section-gxzt .gxzt-list .item .name {
    white-space: nowrap;     
    overflow: hidden;     
    text-overflow: ellipsis; 
    text-align: center;
    font-size: 0.16rem;
    color: #333;
}
.yj-chatbot .right-container .section-cjwt {
    background: linear-gradient(-90deg,rgba(220, 231, 253,0.9) 0%, rgba(249, 251, 255, 0.9) 100%), rgba(255,253,248,0.55);
    border-radius: 0.1rem;
    height: 2.6rem;
    padding: 0.18rem;
    margin-top: 0.18rem;
}
.yj-chatbot .right-container .section-cjwt .cjwt-list .item {
    white-space: nowrap;     
    overflow: hidden;     
    text-overflow: ellipsis; 
    font-size: 0.16rem;
    padding-left: 0.16rem;
    color: #333;
    margin-top: 0.2rem;
    position: relative;
    cursor: pointer;
}
.yj-chatbot .right-container .section-cjwt .cjwt-list .item::before {
    content: '';
    width: 0.06rem;
    height: 0.06rem;
    background: #7bace2;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
/* #endregion */

/* #region 中间容器 */
.yj-chatbot .center-container {
    flex-shrink: 0;
    width: 63.854%;
    margin-top: 1.83rem;
    position: relative;
}
.yj-chatbot .center-container::before {
    content: '';
    display: block;
    width: 0.2rem;
    height: 5.97rem;
    background: url(../images/yj-ps-chatbot-img-border-line.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: -0.1rem;
    top: 0.6rem;
}
.yj-chatbot .center-container::after {
    content: '';
    display: block;
    width: 0.2rem;
    height: 5.97rem;
    background: url(../images/yj-ps-chatbot-img-border-line.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: absolute;
    right: -0.1rem;
    top: 0.6rem;
}
.yj-chatbot .center-container .bg-zs {
    position: absolute;
    width: 7.27rem;
    height: 1.75rem;
    left: 50%;
    bottom: 0.92rem;
    transform: translateX(-50%);
}
.yj-chatbot .center-container .chatbot-container {
    background-image: url(../images/yj-ps-chatbot-img-chatbox-bg.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% 100%;
    border-radius: 0.2rem;
    height: 5.8rem;
    margin: 0px 0.16rem;
    position: relative;
    display: flex;
    flex-direction: column;
}
.yj-chatbot .center-container .chatbot-container .chatbot-container-wrapper {
    flex: 1;
    overflow-y: auto;
}
.yj-chatbot .center-container .chatbot-container .chatbot-container-wrapper::-webkit-scrollbar {
    width: 4px;
}

.yj-chatbot .center-container .chatbot-container .chatbot-container-wrapper::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 2px;
}

.yj-chatbot .center-container .chatbot-container .chatbot-container-wrapper::-webkit-scrollbar-thumb {
    background: #5790E9;
    border-radius: 2px;
}

.yj-chatbot .center-container .chatbot-container .chatbot-container-wrapper::-webkit-scrollbar-thumb:hover {
    background: #3a76d8;
}
.yj-chatbot .center-container .recommend-container {
    height: 2rem;
    background: rgba(255,255,255,0.40);
    border: 1px solid #ffffff;
    border-radius: 10px;
    margin: 0.1rem 0.16rem 0px;
    padding: 0.14rem 0.16rem 0.16rem;
}
.yj-chatbot .center-container .recommend-container .tips-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.yj-chatbot .center-container .recommend-container .tips-container img {
    width: 0.54rem;
    height: 0.54rem;
}
.yj-chatbot .center-container .recommend-container .tips-container .tips {
    font-size: 0.18rem;
    font-weight: bold;
    color: #517DD5;
}
.yj-chatbot .center-container .recommend-container .recommend-list-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.yj-chatbot .center-container .recommend-container .recommend-list-container .left-list {
    width: 46%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.yj-chatbot .center-container .recommend-container .recommend-list-container .left-list span { 
    width: 20%;
    height: 0.3rem;
    line-height: 0.3rem;
    text-align: center;
    background: #e5f0fe;
    border: 1px solid rgba(145,187,242,0.50);
    border-radius: 3px;
    font-size: 0.16rem;
    color: #454545;
    margin-left: 4%;
    margin-top: 0.2rem;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}
.yj-chatbot .center-container .recommend-container .recommend-list-container .left-list span:nth-child(1),
.yj-chatbot .center-container .recommend-container .recommend-list-container .left-list span:nth-child(5) {
    margin-left: 0;
}
.yj-chatbot .center-container .recommend-container .recommend-list-container .left-list span:nth-child(-n + 4) {
    margin-top: 0;
}
.yj-chatbot .center-container .recommend-container .recommend-list-container .right-list {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.yj-chatbot .center-container .recommend-container .recommend-list-container .right-list > div { 
    width: 21.25%;
    height: 1.14rem;
    border-radius: 0.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.yj-chatbot .center-container .recommend-container .recommend-list-container .right-list > div:nth-child(1) { 
    background: linear-gradient(0deg,#ffffff 21%, #fff8de 100%), #ffffff;
    border: 1px solid #ffedaf;
}
.yj-chatbot .center-container .recommend-container .recommend-list-container .right-list > div:nth-child(2) { 
    background: linear-gradient(0deg,#ffffff 21%, #dbfdf1 100%), #ffffff;
    border: 1px solid #dbf8ee;
}
.yj-chatbot .center-container .recommend-container .recommend-list-container .right-list > div:nth-child(3) { 
    background: linear-gradient(0deg,#ffffff 21%, #ffede3 100%), #ffffff;
    border: 1px solid #ffe4d4;
}
.yj-chatbot .center-container .recommend-container .recommend-list-container .right-list > div:nth-child(4) { 
    background: linear-gradient(0deg,#ffffff 21%, #d3f2f9 100%), #ffffff;
    border: 1px solid #ddedf8;
}
.yj-chatbot .center-container .recommend-container .recommend-list-container .right-list > div img {
    width: auto;
    height: 0.62rem;
    margin-bottom: 0.05rem;
}
.yj-chatbot .center-container .recommend-container .recommend-list-container .right-list > div .name {
    font-size: 0.16rem;
    color: #333;
    text-align: center;
}
/* #endregion */

/* #region 滚动公告 */
.yj-chatbot .center-container .chatbot-container .notify-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: rgba(255,255,255,0.40);
    border-radius: 0.15rem 0.15rem 0.2rem 0.2rem;
    height: 0.59rem;
    padding: 0 0.16rem;
}
.yj-chatbot .center-container .chatbot-container .notify-container img {
    flex-shrink: 0;
    width: 0.36rem;
}
.marquee-container {
    flex: 1;
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-left: 0.05rem;
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-content a {
  display: block;
  padding: 0 0.1rem;
  text-decoration: none;
  color: #333;
  font-size: 0.16rem;
  white-space: nowrap;
  border-right: solid 1px #333;
}

.marquee-content a:hover {
  color: #517DD5;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* #endregion 滚动公告 */

/* #region 输入框 */
.yj-chatbot .center-container .input-container {
    background-image: url(../images/yj-ps-chatbot-img-input-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 1.46rem;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.3rem 0;
    margin-top: 0.2rem;
}
.yj-chatbot .center-container .input-container::before {
    content: '';
    background-image: url(../images/yj-ps-chatbot-img-robot.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 1.46rem;
    height: 1.89rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-96%, -60%);
}
.yj-chatbot .center-container .input-container .wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.yj-chatbot .center-container .input-container .wrapper input {
    flex: 1;
    height: 0.8rem;
    line-height: 0.8rem;
    text-align: center;
    font-size: 0.16rem;
    color: #333;
    background-color: transparent;
}
.yj-chatbot .center-container .input-container .wrapper .send-btn { 
    width: 0.6rem;
    height: 0.6rem;
    flex-shrink: 0;
    margin-bottom: 0.3rem;
    cursor: pointer;
}
/* #endregion 输入框 */

.message-time {
    font-size: 14px !important;
    color: #6a6a6a;
}

.bot-message .group-list-card .card-title,
.bot-message .tags-card .card-title,
.bot-message .list-card .card-title {
    background-color: #5ba3f8 !important;
    color: #FFF !important;
}

@media screen and (max-width: 900px) {
    .yj-chatbot .left-container,
    .yj-chatbot .right-container,
    .yj-chatbot .center-container .recommend-container,
    .yj-chatbot .center-container .chatbot-container .notify-container {
        display: none;
    }
    .yj-chatbot {
        height: auto;
    }
    .yj-chatbot .center-container {
        width: 100%;
        margin-top: 4rem;
    }
    .yj-chatbot .center-container .chatbot-container {
        height: calc(100vh - 6.7rem);
    }
    .yj-chatbot .center-container .input-container .wrapper input {
        font-size: 14px;
    }
}