:root {  
  --menu-color: rgb(254, 127, 0,1);/*问答按钮颜色*/
  --jump-color: #0F80FF;           /*跳转按钮颜色*/
  --chat-bg-right:  #95ec69;       /*问答右侧背景色*/
  --chat-color-right: #000000;     /*问答右侧文字颜色*/
}
@keyframes scaleDraw { 
0%{
transform: scale(1); 
}25%{
transform: scale(1.1); 
}50%{
transform: scale(1);
}75%{
transform: scale(1.1);
}}.ballon{
-webkit-animation-name: scaleDraw;
-webkit-animation-timing-function: ease-in-out;
-webkit-animation-iteration-count: infinite; 
-webkit-animation-duration: 3s; 
}
.dialog-phone{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    scrollbar-width: none;
}
.dialog-phone::-webkit-scrollbar {
    display: none;
}
.dialog-banner{
    width: 100%;
    display: flex;
    padding: 0;
    margin: 0 0 10px 0;
    flex-direction: column;
}
.dialog-banner .single{
    width: 100%;
    display: flex;
    height: auto;
}
.dialog-banner .banner-items{
    width: 100%;
    display: flex;
    height: auto;
}
.dialog-banner .banner-items .item{
    width: 100%;
    float: left;
    height: auto;
    display: none;
}
.dialog-banner .banner-items .item img{
    width: 100%;
    float: left;
    height: auto;
}
.dialog-banner .banner-items .active{
    display: block;
}
.dialog-banner .banner-badge{
    width: 100%;
    height: 20px;
    display: flex;
    margin-top: -30px;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}
.dialog-banner .banner-badge span{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FFFFFF;
    margin: 0 3px;
}
.dialog-banner .banner-badge .active{
    background-color: #556EE6;
}
.dialog-banner ul li {
    width: 100%;
    display: flex;
    height: auto;
}
.dialog-crop{
    display: flex;
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-sizing: border-box;
    padding: 10px;
    z-index: 9;
    overflow: hidden;
    box-shadow: 0 5px 8px -3px rgba(0, 0, 0, .2);
    min-height: 70px;
}
.dialog-crop-logo{
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 5px;
}
.dialog-crop-info{
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 10px;
    box-sizing: border-box;
}
.dialog-crop-info .name{
    width: 100%;
    height: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.dialog-crop-info .name img{
    height: 20px;
    width: auto;
    margin-left: 10px;
}
.dialog-crop-info .name h3{
    height: 25px;
    line-height: 25px;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    padding: 0;
}
.dialog-crop-info .labels{
    width: 100%;
    height: 25px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0;
}
.dialog-crop-info .labels span{
    display: inline-flex;
    height: 20px;
    border-radius: 10px;
    padding: 0 8px;
    border: 1px solid #aaaaaa;
    font-size: 12px;
    color: #999999;
    text-wrap: nowrap;
    overflow: hidden;
    -webkit-transform: scale(0.9);
}
.dialog-card{
    display: flex;
    background-color: #ffffff;
    border-radius: 4px;
    margin: 10px;
    padding: 10px;
}
.dialog-card > img{
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 5px;
}
.dialog-card .right{
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0 0 0 10px;
    overflow: hidden;
}
.dialog-card .right h3{
    width: 100%;
    height: 20px;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    padding: 0;
}
.dialog-card .right .labels{
    width: 100%;
    display: flex;
    height: 20px;
    align-items: center;
}
.dialog-card .right .labels span{
    padding: 0 5px;
    border: 1px solid #ed4c18;
    color: #ed4c18;
    border-radius: 1px;
    font-size: 12px;
    text-wrap: nowrap;
    overflow: hidden;
    margin-right: 5px;
}
.dialog-card .right .describe{
    width: 100%;
    font-size: 13px;
}
.chat-header{
    width: 100%;
    height: auto;
}
.chat-header img{
    width: 100%;
    height: auto;
    float: left;
}
.chat-from{
    width: 100%;
    height: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
}
.chat-list{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    box-sizing: border-box;
    height: auto;
    background-color: #f5f5f5;
}
.chat-list ul{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}
.chat-list ul li{
    list-style: none;
    display: flex;
    flex-direction: row;
    margin-bottom: 15px;
    font-size: 14px;
}
.chat-list ul li.left{
    animation: myfirst 0.4s ease forwards;
}

/* @keyframes myfirst{
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0px);
        opacity: 1;
    }
} */
@keyframes myfirst {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}


@keyframes opacity{
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.chat-list ul li > img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-radius: 50%;
    border: 1px solid #ffffff;
    border: 1px solid rgba(255, 255, 255, .5);
}
.chat-list ul li .message{
    min-width: 18px;
    max-width: 320px;
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 20px;
    color: #030303;
    word-break: break-all;
    border-radius: 8px;
    line-height: 28px;
}
.chat-list ul li .message .nike{
    display: flex;
    line-height: 20px;
    margin:0 10px 5px;
    color: #999;
}
.chat-list ul li .message .nike font{
    margin-right: 10px;
    font-weight: 400;
    font-size: 12px;
    color: #666666;
}
.chat-list ul li .message .nike font:last-child{
    color: #999999;
}
.chat-list ul li .message span{
    float: left;
    font-size: 18px;
    margin: 0 10px;
    line-height: 28px;
    padding: 10px;
    border-radius: 4px;
    position: relative;
    word-break: break-all;
    background: #fff;
    align-items: center;
    border-radius: 8px;
}
.chat-list ul .left .message span{
    margin-right: 0;
}
.chat-list ul .right .message span{
    margin-left: 0;
}
.chat-list ul .left .message span:before{
    position: absolute;
    top: 20px;
    transform: translate(-5px,-50%);
    left:0;
    content: "";
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #FFFFFF;
    width: 0;
    height: 0;
}
/* .chat-list ul .right .message span:after{
    position: absolute;
    top: 20px;
    transform: translate(5px,-50%);
    right:0;
    content: "";
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--chat-bg-right);
    width: 0;
    height: 0;
} */
.chat-list ul .right .message span{
    /* background-color: var(--chat-bg-right); */
    background-color: rgb(235, 0, 55);
    color: white;
    font-weight: bold;
}
.chat-list ul .message span img{
    max-width: 100%;
}
.chat-list ul .message span .menu-one{
    display: flex;
    flex-direction: column;
}
.chat-list ul .message span .menu-one div{
    width: 100%;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 35px;
    display: flex;
    margin: 8px 0 0 0;
    font-size: 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: #d9d9d9 0 0 5px 3px;
}
.chat-list ul .message span .menu-two{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 12px -8px 0px;
}
.chat-list ul .message span .menu-two div{
width: 40%;
    text-align: center;
    border-radius: 25px;
    padding: 15px;
    box-sizing: border-box;
    line-height: 20px;
    display: flex;
    margin: 5px 13px;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation-delay: 0.2s;
    font-weight: bold;
}
.chat-list ul .message .allbuton{
   width:100% !important;
   text-align: left !important;
   margin-top: 10px !important;
   justify-content:flex-start !important;
}

.chat-list ul li.right{
    flex-direction: row-reverse;
}
.message > img{
    width: 100%;
    height: auto;
    margin-left: 10px;
    box-sizing: border-box;
    overflow: hidden;
}
.icon-left {
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: transparent #FFFFFF transparent transparent;
    top: 15px;
    position: relative;
}
.icon-right {
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent transparent #FFFFFF;
    top: 15px;
    position: relative;
}
.chat-list ul .right .message{
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
}
.chat-footer{
    position: fixed;
    height: auto;
    bottom: 0;
    width: 100%;
    max-width: 500px;
    background-color: #f5f5f5;
}
.chat-footer ul{
    --num: 3;
    height: auto;
    padding: 10px 15px 0px;
    display: grid;
    margin: 0;
    grid-gap: 15px;
    grid-template-columns: repeat(var(--num), 1fr);
    animation: opacity 3s;
}
.chat-footer ul[data-num="3"] {
    --num: 3;
}
.chat-footer ul[data-num="2"] {
    --num: 2;
}
.chat-footer ul[data-num="1"] {
    --num: 1;
}
.chat-footer ul li{
    background-color: var(--menu-color); 
    list-style: none;
    padding: 10px 15px;
    font-size: 15px;
    color: #FFFFFF;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.chat-footer ul li.jump{
    background-color: var(--jump-color); 
    width: 100%;
    cursor: pointer;
    margin-bottom: 0;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    display: flex;
}
.chat-footer .copyright{
    width: 100%;
    height: 50px;
    align-items: center;
    flex-direction: row;
    display: flex;
    background: #f8f8f8;
    color: #999999;
    justify-content: center;
}
.chat-footer .copyright font{
    margin-right: 5px;
}
.chat-footer .copyright .privacy{
    color: #4e90ff;
    cursor: pointer;
}

.chat-menu{
    height: auto;
    width: 100%;
    background-color: #f5f5f5;
    padding-bottom: 30px;
}
.chat-menu ul{
    --num: 3;
    height: auto;
    padding: 10px;
    display: grid;
    margin: 0;
    grid-gap: 5px;
    grid-template-columns: repeat(var(--num), 1fr);
    animation: opacity .6s;
    padding-bottom: 10px;
}
.chat-menu ul[data-num="3"] {
    --num: 3;
}
.chat-menu ul[data-num="2"] {
    --num: 2;
}
.chat-menu ul[data-num="1"] {
    --num: 1;
}
.chat-menu ul li{
    background-color: var(--menu-color); 
    list-style: none;
    padding: 10px;
    font-size: 12px;
    color: #FFFFFF;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.modal{
    width: 100%;
    display: none;
}
.modal .shadow{
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.8;
    position: fixed;
    top: 0;
}
.modal .content{
    width: 90%;
    height: 500px;
    position: fixed;
    top: calc(50% - 250px);
    left: 5%;
    border-radius: 5px;
    background-color: #FFFFFF;
}
.modal .content .header{
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 16px;
    float: left;
    font-weight: 600;
}
.modal .content .msg{
    width: 100%;
    height: 400px;
    padding: 15px;
    overflow-y: scroll;
    box-sizing: border-box;
    color: #666666;
    float: left;
}
.modal .content .msg p{
    margin: 0 0 10px 0;
    font-size: 14px;
}
.modal .content .msg p.h5{
    color: #333333;
    font-size: 15px;
}
.modal .content .bottom{
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    float: left;
    color: #2E4EFF;
}
.error{
    width: 100%;
    height: auto;
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
}
.pre-img{
    position: fixed;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .7);
    width: 100%;
    display: none;
    z-index: 99999999;
    height: 100%;
}
.pre-img > div{
    width: 100%;
    max-width: 500px;
    height: 100%;
    max-height: 100%;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
#pre-img{
    max-width: 100%;
    max-height: 100%;
}
.shuruing{
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 500px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 0;
    background-color: #ffffff;
    text-align: center;
    color: #888;
    display: none;
    z-index: 99999;
}
.chat-header-swiper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

.chat-header-swiper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
}

.chat-header-swiper img.active {
    opacity: 1;
}

.chat-transform{
    height: 50px;
    width: 95%; 
    background-color: #FFFFFF;
     padding: 10px 5px 10px 5px;
    display: inline-block;
    border-radius: 8px;
}
.chat-transform .chat-transform-img{
    width: 20%;
    position: relative;
    float: left;
}
.chat-transform .chat-transform-img img{
    width: 75%;
    margin-bottom: 10px;
}
.chat-transform .chat-transform-info{
    width: 55%;
    position: relative;
    float: left;
}
.chat-transform .chat-transform-info p{
    margin: 0px 0px;
}
.chat-transform .chat-transform-info .chat-transform-title{
    font-size: 16px;
    font-weight: 500;
    color: #030303;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    margin-top: 3%;
    font-weight: bold;
}
.chat-transform .chat-transform-info .chat-transform-desc{
    font-size: 12px;
    color: #868e9f;
    white-space: nowrap;
    text-align: left;
    overflow: hidden;
    text-indent: 1px;
    text-overflow: ellipsis;
    display: block;
}
.chat-transform .chat-transform-btn{
    width: 25%;
    position: relative;
    float: left;
    align-items: center;
    margin-top: 8%;
    -webkit-transform: translatey(-50%);
    transform: translatey(-50%);
}
.chat-transform .chat-transform-btn button{
    margin: 10px 0;
    display: -webkit-inline-box !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-width: 80px;
    border-radius: 4px;
    line-height: 38px;
    height: 38px;
    padding: 0px 4px;
    color: #fff;
    background-color: #fff;
    border: none;
    font-size: 16px;
}
/* .chat-transform .button{
    height: 50px;
    line-height: 50px;
    background-color: #07C160;
    border-radius: 50px;
    color: #FFFFFF;
    display: flex;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.chat-transform .button i{
    width: 18px;
    height: 50px;
    line-height: 50px;
    display: flex;
    align-items: center;
    margin-right: 5px;
}
.chat-transform .text-beat{
    animation: textWink 4s ease-in-out infinite;
}
.chat-transform .full-beat{
    animation:btnWink 3s ease-in-out infinite;
}
.chat-transform .heart{
    animation: btnScale 5s cubic-bezier(.1,.2,.9,1) infinite;
} */
@keyframes btnWink{0%,50%{transform:scale(1)}25%,75%{transform:scale(.9)}}
@keyframes textWink{0%,50%{font-size: 14px}25%,75%{font-size: 16px}}
@keyframes btnScale {
    0% {
        transform: scale(1)
    }

    4% {
        transform: scale(1.15)
    }

    8% {
        transform: scale(1)
    }

    12% {
        transform: scale(1.15)
    }

    16% {
        transform: scale(1)
    }

    to {
        transform: scale(1)
    }
}
.chat-copyright{
    width: 270px;
    position: absolute;
    bottom: 15px;
    text-align: center;
}

/*edit start*/
.dialog-menu-add{
    width: 100%;
    display: flex;
    flex-direction: row;
}
.m-input-child-add{
    width: auto;
    margin-right: 10px;
}
.dialog-menu-add .m-input-child-add:last-child{
    color: #000000;
}
.welcome-edit{
    display:flex;
    align-items: center;
    height: 80px;
    justify-content: center;
}
.welcome-edit i{
    font-size: 16px;
    margin: 0 5px;
    color: #556EE6;
}
.welcome-edit i:last-child{
    color: #f46a6a;
}
/* .menu-two:before {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    right: 8px;
    border-top: 0.5px solid rgba(0, 0, 0, .1);
  } */
  .message img.dialog_img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    border: 1px solid rgba(255, 255, 255, .5);
  }
body{
    background-color: #f5f5f5;
  }
/*edit end*/