
/* @font-face {
    font-family: "askana";
    src: url(../fonts/coopbold.otf);
    font-weight: bold;
}
@font-face {
    font-family: "askana";
    src: url(../fonts/coopheavy.otf);
    font-weight: normal;
}
@font-face {
    font-family: "askana";
    src: url(../fonts/cooplight.otf);
    font-weight: lighter;
} */
@font-face {
    font-family: "Montserrat";
    src: url(../font/Montserrat-Medium.ttf);
    font-weight: normal;
}
* {
    box-sizing: border-box;
    font-family:"Montserrat", "mr-eaves-modern","mr-eaves-sans",BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

body {
    background-color: #edeff2;
    font-family:"mr-eaves-modern","mr-eaves-sans",BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji", sans-serif;
}

html, body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none; /* 这是关键属性 */
}
.chat_window {
    position: absolute;
    width: 100%;
    max-width: 800px;
    height: 100%;
    /* border-radius: 10px; */
    background-color: #fff;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    /* background-color: #ededed; */
    overflow: hidden;
}

.top_menu {
    width: 100%;
    padding: 10px 0 7px;
    padding-top:20;
    color:#333;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top_menu .buttons {
    margin-left: 20px
}
.top_menu .buttons .button {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    position: relative;
}
.top_menu .buttons .button.close {
    opacity: 1;
}
.top_menu .buttons .button.minimize {
    background-color: #231f20;
}
.top_menu .buttons .button.maximize {
    background-color: #ec1e24;
}
.top_menu .title {
    text-align: center;
    color: #777;
}
.top_menu .title img{
    width: 100px;
}
.chat_messages {
    position: relative;
    list-style: none;
    padding: 20px 10px 0 10px;
    margin: 0;
    height: calc(100% - 100px);
    overflow-y: scroll;
    overflow-x: hidden;
}
.chat_messages .message {
    clear: both;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.5s linear;
    opacity: 0;
}
.chat_messages .message.left .avatar {
    /* background-color: #00ecb9; */
    background-image: url(../img/ASK-Circuit-01.png);
    float: left;
}

.chat_messages .message.left .avatar::after {
    /* content: 'AI'; */
    display: inline-block;
    color: #000;
    width: 100%;
    text-align: center;
    height: 100%;
    font-size: 1.6em;
    line-height: 60px;
}
.chat_messages .message.left .text_wrapper {
    /* background-color: #edf5f5; */
    background-color: #fff;
    margin-left: 10px;
}
.chat_messages .message.left .text_wrapper::after,
.chat_messages .message.left .text_wrapper::before {
    right: 100%;
    /* border-right-color: #edf5f5; */
    display: none;
}
.chat_messages .message.left .text {
    color: #000;
}
.chat_messages .message .footer{
    display: none;
}
.chat_messages .message.left .footer{
    margin-top:10px;
    padding: 10px 0px 5px;
    border-top: 1px solid #fff;
    /* display: block; */
}

.chat_messages .message.left .footer .icon{
    height: 20px;
    margin: 0px 6px;
    cursor: pointer;
}
.fl{
    float: left;
}
.fr{
    float: right;
}
.trace {
    font-size: 18px;
    cursor: pointer;
}
.chat_messages .message.left .footer::after{
    content: '';
    clear: both;
}
.chat_messages .message.right .avatar {
    /* background-color: #231f20; */
    background-image: url(../img/crops/1.png);
    float: right;
    display: none;
}
.chat_messages .message.right .avatar::after {
    content: '';
    display: inline-block;
    color: #fff;
    width: 100%;
    text-align: center;
    height: 100%;
    font-size: 1.6em;
    line-height: 60px;
}
.chat_messages .message.right .text_wrapper {
    background-color: #FFD5D6;
    /* margin-right: 10px; */
    float: right;
}
.chat_messages .message.right .text_wrapper::after,
.chat_messages .message.right .text_wrapper::before {
    left: 100%;
    border-left-color: #FFD5D6;
    display: none;
}
.chat_messages .message.right .text {
}
.chat_messages .message.appeared {
    opacity: 1;
}
.chat_messages .message .avatar {
    width: 50px;
    height: 50px;
    display: inline-block;
    background: no-repeat center;
    background-size: contain;
}
.chat_messages .message .text_wrapper {
    display: inline-block;
    padding: 8px;
    border-radius: 14px;
    width: calc(100% - 60px);
    min-width: 100px;
    position: relative;
}
.chat_messages .message .text_wrapper::after,
.chat_messages .message .text_wrapper:before {
    top: 18px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.chat_messages .message .text_wrapper::after {
    border-width: 7px;
    margin-top: 0px;
}
.chat_messages .message .text_wrapper::before {
    border-width: 8px;
    margin-top: -2px;
}
.chat_messages .message .text_wrapper .text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2;
}

.chat_window .bottom_wrapper {
    position: relative;
    width: 86%;
    padding: 0px 15px;
    margin: 10px 7%;
    bottom: 0;
    border-radius: 30px;
    border:1px solid rgba(40, 66, 91, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat_window .bottom_wrapper .message_input_wrapper {
    display: inline-block;
    height: 40px;
    border-radius: 5px;
    width: calc(100% - 40px);
    position: relative;
    padding: 0;
    background-color: transparent;
}
.chat_window .bottom_wrapper .message_input_wrapper .message_input {
    border: none;
    height: 100%;
    box-sizing: border-box;
    width: 100%;
    position: absolute;
    outline-width: 0;
    color: gray;
    font-size: 16px;
    background-color: transparent;
}
.chat_window .bottom_wrapper .send_message {
    width: 28px;
    height: 28px;
    display: inline-block;
    border-radius: 5px;
    background: url(../img/send-btn1.png) no-repeat center;
    background-size: contain;
    color: #fff;
    cursor: pointer;
    text-align: center;
    margin-right: -16px;
}
.chat_window .bottom_wrapper .inputable{
    background-image: url(../img/send-btn2.png)
}
.chat_window .bottom_wrapper .send_message:hover{
    background-image: url(../img/send-btn2.png)
}
/* .chat_window .bottom_wrapper .send_message:hover {
    color: #00ecb9;
    background-color: #fff;
} */
.chat_window .bottom_wrapper .send_message .text {
    font-size: 26px;
    font-weight: bold;
    display: inline-block;
    line-height: 38px;
    letter-spacing: 3px;
}

.message_template {
    display: none;
}
.top_menu .buttons .btnback{
    height: 20px;
    width: auto;
    display: inline;
    margin-right: 6px;
}

.chat_messages .loadingmessage .text_wrapper{
    width: auto;min-width: none;
}
.loadingmessage .dot{
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: gray;
    margin: 0px 6px;
    border-radius: 20px;
    line-height: 1;
}
.loadingmessage .dot.act{
    background-color: #ec1e24;
}
.chat_messages .message.left .text .tipi{
    font-weight: bold;
    padding: 0 10px;
    display: inline-block;
    font-style: normal;
    color:#ec1e24;
    font-size: 18px;
}
.openfile{
    float:right;
    width: 40px;
    height: 30px;
    position: relative;
    margin-top: 2px;

}
.openfile img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.openfile input{
    position: absolute;
    top:0;
    left: 0;
    right:0;
    height: 100%;
    opacity: 0;
    z-index: 1;
}
.gptSidekick-sticky-holder{
    position: fixed;
    top: calc(100% - 640px);
    right:0;
    z-index: 9910;
}
.gptSidekick{
    position: relative;
    right: 0;
    border: 0;
    bottom: 0;
}
.gptSidekick-main-container{
    display: flex;
    fill: #fff;
    filter: drop-shadow(rgba(0, 0, 0, 0.3) 0px 0px 30px);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    transform: translate3d(0, 0, 0);
}
.modal-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}
.gptSidekick-button-opened .modal-overlay{
    display: block;
}
.gptSidekick-button-opened .gptSidekick-response-screen{
    display: block;
}
.gptSidekick-main-button{
    z-index: 9932;
    width: 52px;
    border: none !important;
    border-top-left-radius: 6px;
    background: transparent url(../img/normal.png) no-repeat center;
    background-size: contain;
    padding: 0;
    margin-right: -2px;
}

.gptSidekick-main-button:hover{
    background-image: url(../img/hover.png);
}
.gptSidekick-main-button .imgbtn{
    width: 100%;
    height: auto;
    opacity: 0;
}
.gptSidekick-response-screen {
    padding-bottom: 10px;
    height: 574px;
    background: #fff;
    padding-top: 16px;
    width: 400px;
    /* border-bottom-left-radius:  20px; */
    position: relative;
    border: 1px solid #313131;
    display: none;
    padding: 0;
}
.main-screen{
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 800px;
    /* border-radius: 10px; */
    background: #FFD5D6;
    /* background:linear-gradient(to bottom ,#D0EAF9 0%,#CAE7F8 21%,#C6E5F7 32%,#BDE0F6 66%,#B8DEF5 84%,#BDE0F6); */
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    /* background-color: #ededed; */
    overflow: hidden;
}
.main-screen .top_title{
    text-align: center;
    margin-top: 20px;
}
.main-screen .top_title .sup_title{
    font-size: 30px;
    line-height: 1.2;
}
.main-screen .top_title .fill_title{
    font-weight: bolder;
    font-size: 30px;
    line-height: 1.2;
}
.main-screen .top_title .inputbox{
    box-sizing: border-box;
    border: 1px solid #313131;
    border-radius: 30px;
    padding: 8px 15px;
    background-color: #fff;
    position: relative;
    line-height: 1;
    margin: 10px 20px;
}
.main-screen .top_title .title_tip{
    font-size: 10px;
}
.main-screen .inputbox .inputtext{
    border: none;
    box-sizing: border-box;
    width: 100%;
    outline-width: 0;
    color: gray;
    font-size: 16px;
    background-color: transparent;
    height: 24px;
}
.main-screen .inputbox .btnsend{
    width: 28px;
    height: 28px;
    display: inline-block;
    border-radius: 5px;
    background: url(../img/send-btn1.png) no-repeat center;
    background-size: contain;
    color: #fff;
    cursor: pointer;
    text-align: center;
    position: absolute;
    right: 5px;
    top: 6px;
}
.main-screen .inputbox .inputable{
    background-image: url(../img/send-btn2.png)
}
.main-screen .inputbox .btnsend:hover{
    background-image: url(../img/send-btn2.png)
}
.main-screen .chat_quest_box{
    margin: 40px 20px 10px;
}
.main-screen .chat_quest_item{
    border: 1px solid #313131;
    border-radius: 30px;
    padding: 10px 15px;
    margin: 15px 20px 0;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
}
.main-screen .chat_quest_item:hover,
.main-screen .chat_quest_item:active{
    background-color: #313131;
    color:#fff;
}
.ifremclose{
    position: absolute;
    right:10px;
    top:10px;
    
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
}
@media screen and (max-width: 767px) {
    
.gptSidekick-sticky-holder{
    top: 0;
}
    .gptSidekick-main-button{
        width: 30px;
        background-repeat: no-repeat;
    }
    .gptSidekick-response-screen {
        width: 100%;
        height: 100vh;
    }
    
    .chat_window .bottom_wrapper .message_input_wrapper .message_input {
        font-size: 12px;
    }
}