/* @font-face {
    font-family: "askana";
    src: url(../fonts/coopheavy.otf);
    font-weight: bold;
}
@font-face {
    font-family: "askana";
    src: url(../fonts/coopcondensed.otf);
    font-weight: normal;
}
@font-face {
    font-family: "askana";
    src: url(../fonts/cooplight.otf);
    font-weight: lighter;
} */
/* @font-face {
    font-family:"century-old-style-std";
    src:url("../webcss/fonts/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"),
    url("../webcss/fonts/27/d.woff?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"),
    url("../webcss/fonts/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
    font-display:auto;font-style:normal;font-weight:700;font-stretch:normal;
    }
    
    @font-face {
    font-family:"century-old-style-std";
    src:url("../webcss/fonts/1/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff2"),
    url("../webcss/fonts/1/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff"),
    url("../webcss/fonts/1/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("opentype");
    font-display:auto;font-style:italic;font-weight:400;font-stretch:normal;
    }
    
    @font-face {
    font-family:"century-old-style-std";
    src:url("../webcss/fonts/2/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),
    url("../webcss/fonts/2/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),
    url("../webcss/fonts/2/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
    } */
    
* {
    box-sizing: border-box;
    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";
}

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;
}

.chat_window {
    position: absolute;
    width: 100%;
    max-width: 800px;
    height: 100%;
    /* border-radius: 10px; */
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background-image: linear-gradient(to bottom,#F8E500,#F2CD00);
    overflow: hidden;
    padding: 15px 15px 80px 15px;
    border-radius: 20px;
}
.chat_window .chat_messages {
    position: relative;
    list-style: none;
    padding: 20px 10px 0 10px;
    margin: 0;
    height:  calc(100% - 50px);
    overflow-y: scroll;
}
.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/crops/phone-1.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;
    margin-left: 10px;
}
.chat_messages .message.left .text_wrapper::after,
.chat_messages .message.left .text_wrapper::before {
    right: 100%;
    border-right-color: #edf5f5;
}
.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;
    color:#00ecb9;
    /* display: block; */
}

.chat_messages .message.left .footer .icon{
    height: 20px;
    margin: 5px 10px;
}
.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;
}
.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: #64CCC9;
    margin-right: 10px;
    float: right;
}
.chat_messages .message.right .text_wrapper::after,
.chat_messages .message.right .text_wrapper::before {
    left: 100%;
    border-left-color: #64CCC9;
}
.chat_messages .message.right .text {
    color: #fff;
}
.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: 12px;
    border-radius: 14px;
    width: calc(100% - 120px);
    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: 1.6rem;
    font-weight: 300;
}

/* .chat_window .bottom_wrapper {
    width: 92%;
    background-color: #FFF;
    padding: 10px 15px 5px;
    position: absolute;
    bottom: 35px;
    left: 4%;
    border: 2px solid #F20000;
    border-radius: 15px;
}
.chat_window .bottom_wrapper .message_input_wrapper {
    display: inline-block;
    height: 40px;
    border-radius: 5px;
    border: 1px solid transparent;
    width: calc(100% - 100px);
    position: relative;
    padding: 0;
    background-color: #fff;
    vertical-align: top;
}
.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: 1.6rem;
}

.chat_window .bottom_wrapper .message_input_wrapper .message_input::placeholder{
 opacity: 0.5;   
}
.chat_window .bottom_wrapper .send_message {
    width: 90px;
    height: 40px;
    display: inline-block;
    border-radius: 15px;
    background-color: #ee2737;
    border: 2px solid #ee2737 ;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s linear;
    text-align: center;
    float: right;
}
.chat_window .bottom_wrapper .send_message .text {
    font-size: 26px;
    font-weight: bold;
    display: inline-block;
    line-height: 38px;
} */

.chat_window .bottom_wrapper {

    position: relative;

    width: 100%;

    background-color: #F2CD00;

    padding: 10px 0 40px;

    /* position: absolute;

    bottom: 0; */

}

.chat_window .bottom_wrapper .message_input_wrapper {

    display: inline-block;

    height: 40px;

    border-radius: 5px;

    border: 1px solid #bcbdc0;

    width: calc(100% - 160px);

    position: relative;

    padding: 0;

    background-color: #fff;

}

.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: 20px;
    padding: 0 10px;

}

.chat_window .bottom_wrapper .send_message {

    width: 90px;

    height: 40px;

    display: inline-block;

    border-radius: 5px;

    background-color: #ee2737;

    border: 1px solid #ee2737 ;

    color: #fff;

    cursor: pointer;

    transition: all 0.2s linear;

    text-align: center;

    float: right;

}

/* .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;
}
.chat_window .top_menu .buttons .btnback{
    border: 2px solid;
    border-top-width: 0;
    border-right-width: 0;
    transform: rotate(45deg);
    border-radius: 0;
}

.chat_messages .loadingmessage .text_wrapper{
    width: auto;min-width: none;
}
.loadingmessage .dot{
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: gray;
    margin: 0px 6px;
    border-radius: 20px;
}
.loadingmessage .dot.act{
    background-color: #00ecb9;
}
.chat_messages .message.left .text .tipi{
    font-weight: bold;
    padding: 0 10px;
    display: inline-block;
    font-style: normal;
    color:#00ecb9;
    font-size: 16px;
}
::-webkit-scrollbar{
    width: 8px;
    height: 8px;
    background-color: #fbe14e;
    border-radius: 8px;
}
::-webkit-scrollbar-thumb{
    background:linear-gradient(to bottom,#F2CD00,#fbe14e);
    border-radius: 8px;
}
.mode_scroll::-webkit-scrollbar{
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 8px;
}
.mode_scroll::-webkit-scrollbar-thumb{
    background:#64ccc9;
    border-radius: 8px;
}
.btn_language{
    width: 60px;
    margin: 0 2px;
    padding-left: 5px;
    display: inline-block;
    height: 40px;
    vertical-align: top;
    line-height: 38px;
    text-align: left;
    font-size: 1.2em;
    background: #edf5f5;
    border-radius: 5px;
    border:1px solid #bcbdc0;
    cursor: pointer;
}
.btn_language .btn-icon{
    width: 26px;
    height: 26px;
    display: inline-block;
    vertical-align: middle;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid #64ccc9;
    border-radius: 50%;
}
.btn_language .btn-arr{
    width: 17px;
    height: 17px;
    background-color: #64CCC9;
    display: inline-block;
    border-radius: 10px;
    vertical-align: middle;
    position: relative;
}
.btn_language .btn-arr::before{
    content: '';
    position: absolute;
    top: 6px;
    left: 5px;
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-right-width: 0;
    border-bottom-width: 0;
    transform: rotate(45deg);
}
.language-list li{
    padding: 5px;
    margin: 5px;
    cursor: pointer;
    /* border-bottom: 1px solid #ccc; */
    font-size: 14px;
    display: flex;
    align-items: center;
    border-radius: 50px;
    
}

.language-list li span{
    width: 111px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.language-list li.active{
    background-color: #64CCC9;
    color: #fff;
}
#mode_language{
    background-color: transparent;
}
#mode_language .content{    
    position: absolute;
    bottom: 110px;
    right: 80px;
    width: 167px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    background-color: #edf5f5; 
    padding: 12px 0;
}
/* .mode_arr{
    position: absolute;
    bottom: 4px;
    right: 45px;
    width: 10px;
    height: 10px;
    border: 2px solid #000;
    border-left-width:0;
    border-top-width: 0;
    transform: rotate(45deg);
} */
.mode_scroll{
    position: relative;
    max-height: 235px;
    overflow-y: auto;
    overflow-x: hidden;
}
/* 
#mode_language .content::before{
    content: '';
    position: absolute;
    top: 4px;
    right: 45px;
    width: 10px;
    height: 10px;
    border: 2px solid #000;
    border-right-width:0;
    border-bottom-width: 0;
    transform: rotate(45deg);
}
#mode_language .content.hidearr::before{
    display: none;
} */
#mode_language .content::after{
    content: '';
    position: absolute;
    border: 10px solid transparent;
    border-left-width: 8px;
    border-right-width: 8px;
    border-top-color: #edf5f5;
    transform: translate(200%, 10px);
}
#mode_language .content .language-list{
    padding: 0;
    margin: 0;
    list-style: none;
}

.icon-flag{
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 5px;
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    border:1px solid #64ccc9;
    border-radius: 50%;
}
.language-list li.active .icon-flag{
    border-color: #fff;
}