.dy_dialog {
    width: 800px;
    height: 590px;
    background-color: #EDF8F3;
    border-radius: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dy_dialog .header {
    height: 60px;
    padding: 0 20px;
    background: #fff;
    box-shadow: 0 2px 10px #ddd;
    line-height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dy_dialog .header h3 {
    color: #bd0000;
    font-size: 24px;
}

.header h3 i {
    font-size: 14px;
    color: #999;
    margin: 0 20px;
    font-style: normal;
    display: inline-block;
}

.header h3 span {
    font-size: 14px;
    color: #333;
}

.header .close {
    width: 34px;
    height: 32px;
    display: inline-block;
    background: url(/static/index/images/cancel.png) no-repeat center center;
    background-size: contain;
    line-height: 60px;
    transform-origin: 50% 50%;
    transition: all ease 1s;
    cursor: pointer;
}

.dy_dialog .main_dialog {
    width: 100%;
    height: 463px;
    overflow: auto;
}

.main_dialog .wrapper {
  width: 100%;
    padding: 25px 15px;
    /* height: auto; */
}

.main_dialog .wrapper {
    height: 100%;
    box-sizing: border-box;
}

.main_dialog .wrapper .question_wrapper {
    overflow: hidden;
    clear: both;
}

.main_dialog .wrapper .question_wrapper .question {
    float: left;
    padding: 15px;
    background-color: #fff;
    border-radius: 25px 25px 25px 0;
    position: relative;
    margin-bottom: 20px;
    max-width: 100%;
}

.main_dialog .wrapper .question_wrapper.student .question {
    float: right;
    border-radius: 25px 25px 0 25px;
    background-color: #00AF66;
    color: #fff;
}


.dy_dialog .question_wrapper .question_body {
    max-width: 600px;
}

.dy_dialog .question_wrapper .question_body .question_header {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 20px;
    padding: 5px 0;
}

.dy_dialog .question_wrapper .question_body .question_keys_box {
    margin-bottom: 8px;
    padding: 15px;
    border-radius: 10px;
    line-height: 20px;
}

.dy_dialog .question_wrapper .question_keys_box .keys {
    color: #333333;
    position: relative;
}

.dy_dialog .question_wrapper .question_keys_box i {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #00AF66;
    border-radius: 50%;
    font-size: 12px;
    color: #ffffff;
    text-align: center;
    line-height: 20px;
    position: absolute;
    top: 2px;
    left: -25px;
}

.dy_dialog .question_wrapper .question_keys_box .keys .ques {
    height: 24px;
    width: 100%;
    display: inline-block;
    color: #333333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dy_dialog .question_wrapper .question_keys_box.active .ques {
    height: auto;
    overflow: auto;
    white-space: normal;
    text-overflow: inherit;
}

.dy_dialog .question_wrapper .question_keys_box .answer_box {
    word-break: break-all;
    color: #666;
    padding: 10px 0;
    line-height: 24px;
}

.dy_dialog .question_wrapper .question_keys_box .answer_box p {
    color: #666666;
}

.dy_dialog .question_wrapper .question_keys_box .answer_box i {
    background: #FF912C;
    top: 13px;
}

.dy_dialog .question_wrapper .question_keys_box .open_close {
    float: right;
    cursor: pointer;
    font-size: 14px;
    color: #36CA78;
}

.dy_dialog .question .keyword_body .key_body_header {
    padding: 10px 0;
    font-size: 13px;
}

.dy_dialog .question .keyword_body .question_keys_box {
    background-color: #F6FAFF;
    cursor: pointer;

}

.dy_dialog .question .keyword_body .question_keys_box .keys span {
    font-size: 13px;
    color: #36ca78;
    text-decoration: underline;
}

.dy_dialog .question .keyword_body .question_keys_box .keys_analysis {
    font-size: 14px;
    margin-top: 7px;
    color: #666;
    padding: 10px;
    margin-top: 10px;
    background-color: #fff;
    border-radius: 10px;
    position: relative;
}

.dy_dialog .question .keyword_body .question_keys_box .keys_analysis::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #ffffff;
    position: absolute;
    top: -4px;
    left: 12px;
    transform: rotate(45deg);
}

.dy_dialog .question .keyword_body .dy_dialog .question_wrapper .question_btn {
    margin-top: 20px;
}

.dy_dialog .question_wrapper .question_btn .confirm {
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 13px;
    color: rgb(136, 136, 136);
    background: #ffffff;
    text-align: center;
    border: 1px solid #36ca78;
    outline: none;
    margin-left: 10px;
    float: right;
    cursor: pointer;
}

.dy_dialog .bottom {
    height: auto;
    z-index: 99;
    box-shadow: 0 2px 10px #ddd;
    padding: 10px 15px;
    background-color: #ffffff;
   
}

.dy_dialog .bottom .file_box {
    width: 35px;
    height: 35px;
    cursor: pointer;
    background: url(/static/index/images/pic.png) no-repeat center center;
    background-size: contain;
}

.dy_dialog .bottom .file_box input {
    width: 100%;
    height: 100%;
    opacity: 0;
}

.dy_dialog .bottom .send {
    width: 35px;
    height: 35px;
    cursor: pointer;
}

.dy_dialog .bottom .ipt_box {
    background: #FBF9F9;
    margin-left: 20px;
    border-radius: 20px;
    border: 1px solid #eeeeee;
    display: flex;
    align-items: center;
    width: 95%;
}

.dy_dialog .bottom .ipt_box input {
    border: 0;
    outline: none;
    background: #fbf9f9;
    width: 90%;
    margin-left: 20px;
}

.dy_dialog .bottom .send {
    margin-right: 10px;
}
/* vue渐隐渐现动画 */
.plus-enter {
    opacity: 0;
}

.plus-enter-active {
    transition: opacity 1s;
}

.plus-leave {
    opacity: 0;
}

.plus-leave-active {
    transition: opacity 1s;
}

.catelist{
    width: 800px;
    height: calc(100% - 67px);
    background: #EDF8F3;
    position: absolute;
    top: 0;
    left: 0;
}
.catelist .cate_main{
    width: 700px;
    height: 500px;
    margin: 50px 50px;
}
.catelist .catebox{
   /* display: flex;*/
  height:350px;
  overflow-y: scroll;
}
.catelist .catebox .cate{
    /*width: 80px;*/
    float:left;
    padding:0 10px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background: #ffffff;
    border: 1px solid #333333;
    box-sizing: border-box;
    margin-right: 20px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 5px;
}
.catelist .cate:hover{
    background: pink;
}
.catelist .catebox .cate.active{
    background: pink;
}
.catelist .childbox{
    display: flex;
    flex-wrap: wrap;
}
.catelist .childcate{
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid #333;
    box-sizing: border-box;
    padding: 7px;
    font-size: 13px;
    color: royalblue;
    margin-top: 10px;
    text-align: center;
    margin-right: 10px;
    cursor: pointer;
}
.catelist .childcate.act{
    background: pink;
    color: #333;
}
.childcate:hover{
    background: pink;
    color: #333;
}
.catelist button{
    width: 80px;
    height: 40px;
    border: 0;
    outline: none;
    background: #409EFF;
    border-radius: 5px;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}