body, h1, p, div {
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    height: 100vh;
}

.sidebar {
    flex: 20%;
    background-color: #1A2246;
    /* display: flex; */
    height: 100vh;
    overflow: auto;
}

.sidebar .icon-list .active {
    color: #fff;
    border-bottom: 2px solid #9A265F;
}

.sidebar .session-list {
    flex: 60%;
    height: 100%;
    overflow: hidden;
}

.sidebar .session-list .session {
    width: 100%;
    height: 100px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    border-bottom: 1px solid #999;
    box-sizing: border-box;
    border-left: 2px solid #1A2246;
}

.sidebar .session-list .active {
    background: #fff;
    color: #333;
    border-left: 2px solid #1A2246;
}

.main-content {
    flex: 80%;
    box-sizing: border-box;
}

.top_chat{
    height: 65px;
    width: 100%;
    line-height: 65px;
    padding: 0 10px;
    font-size: 20px;
    border-bottom: 1px solid #dedede;
    box-sizing: border-box;
    color: #1A2246;
}

.top_chat span{
    font-size: 16px;
    color: #FF3366;
}

.icon {
    font-size: 16px;
    color: #999;
    width: 49%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    border-bottom: 2px solid #1A2246;
}

hr {
    margin: 10px 0;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.wrapper {
    /*position: fixed;*/
    background-color: #F0F2F6;
}

.chat_content {
    width: 100%;
    height: calc(100% - 164px);
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.guess_asks {
    width: 465px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ask_list {
    width: 355px;
    height: auto;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 16px 14px 0 14px;
    box-sizing: border-box;
}

.ask_item {
    margin-bottom: 16px;
    display: flex;
}

.ask_item_p {
    max-width: 290px;
    font-size: 14px;
    /*color: #324056;*/
    color: cornflowerblue;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}

.ask_img {
    width: 17.6px;
    height: 17.6px;
    display: block;
    margin: 10px auto 10px;
    cursor: pointer;
}

.link_area {
    width: 100%;
    height: 127px;
    display: flex;
    align-items: center;
    margin-top: 35px;
    overflow-x: auto;
}

.link_item {
    width: 85px;
    height: 127px;
    background-color: #ffffff;
    border-radius: 12px;
    margin-right: 13px;
    cursor: pointer;
}

.link_item_img {
    width: 35px;
    height: 37px;
    display: block;
    margin: 23px auto 0;
}

.link_item_p {
    font-size: 16px;
    color: #333333;
    text-align: center;
    margin-top: 24px;
}

.down_area {
    width: 280px;
    height: auto;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 16px 11px 1px 11px;
    box-sizing: border-box;
    margin-top: 27px;
}

.down_item {
    text-decoration: underline;
    font-size: 14px;
    color: #494949;
    margin-bottom: 16px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qa_area {
    width: 100%;
    height: auto;
}

.message_list_item {
    position: relative;
    margin-top: 25px;
    min-height: 54px;
}

.message_text {
    position: relative;
    width: auto;
    min-height: 40px;
    line-height: 28px; /*no*/
    font-size: 16px; /*no*/
    padding: 12px;
    word-break: break-all;
    top: 5px;
    display: table;
    border-radius: 4px;
}

.message_text:before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.text_rightIn {
    margin-left: auto;
    margin-right: 70px;
    background: #FF3366;
    color: #fff;
}

.text_left {
    background: #f9f9f9;
    color: #333;
}

.hidden_message {
    color: #4C94FC;
    cursor: pointer;
    margin-top: 8px;
}

.user_icon {
    width: 25px;
    height: 25px;
}

.user_icon_user {
    width: 50px;
    height: 50px;
}

.icon_body {
    width: 50px;
    height: 50px;
    background-color: #1A2246;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon_body_user {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon_right {
    position: absolute;
    top: 2.5px;
    right: 0;
}

.icon_left {
    position: absolute;
    top: 2.5px;
    left: 0;
}

.text_left:before {
    left: -7px;
    border-right: 10px solid #f9f9f9; /*no*/
}

.text_rightIn:before {
    right: -7px;
    border-left: 10px solid #FF3366; /*no*/
}

.post_box {
    width: 100%;
    height: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-top: 1px solid #dedede;
}

.post_input {
    width: 800px;
    height: 60px;
    border: 1px solid #dedede;
    background: #fff;
    outline: none;
    font-size: 16px;
    color: #324056;
    padding: 0 12px;
}

.post_btn_body {
    position: relative;
}

.post_btn {
    width: 140px;
    height: 60px;
    background-color: #1A2246;
    /* border-radius: 15.69px; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    outline: none;
    border: none;
}

.warn {
    position: absolute;
    bottom: 50px;
    right: 10px;
    width: 110px;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    text-align: center;
    border: 1px solid #bdbdbd;
    box-shadow: 0 1px 5px 1px #bdbdbd;
    background: #fff;
}

.warn:before {
    content: ' ';
    position: absolute;
    top: 100%;
    right: 30px;
    border: 7px solid transparent;
    border-top-color: #fff;
    -webkit-filter: drop-shadow(1px 3px 2px #bdbdbd);
    filter: drop-shadow(1px 3px 2px #bdbdbd);
}