@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Amaranth:400,700);
/*------------ message ------------*/
.write-question-box{
    text-align: center;
    margin: 0 auto 30px;
}
.write-question:before{
    content: "\e905";
    font-family: 'icon-font-13' !important;
    display: inline-block;
    left: 20px;
    color: #EE9391;
    font-size: 28px;
    background: none;
    width: auto;
    height: auto;
    margin-top: -14px;
    position: absolute;
    top: 50%;
    transition: all 0.3s;
}
.write-question{
    line-height: 23px;
    padding-left: 80px;
    text-align: left;
    padding: 15px 20px 15px 80px;
    background: #FFF;
    color:#EE9391;
    position: relative;
    display: inline-block;
    border:#EE9391 1px solid;
    border-radius: 5px;
    transition: all 0.3s;
}
.write-question:hover{
    background: #E76563;
    color:#FFF;
}
.write-question:hover:before{
    color:#FFF;
}
.write-question .font > span{
    display: none!important;
}
.message-list{
    max-width: 1000px;
    margin: auto;
}
.message-list .message-item{
    margin-bottom: 20px;
    flex-wrap: wrap;
    display: flex;
    position: relative;
    font-size: 15px;
    min-height: 27px;
    padding-top: 8px;
    transition: all 0.3s;
}
.message-list li:last-child{
    margin-bottom: 10px;
}
.author-box{
    margin-top: 5px;
}
.message-question{
    order: 2;
    cursor: pointer;
    position: relative;
    width: 100%;
}
.message-question:before{
    content: '';
    display: block;
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 100%;
    z-index: 25;
}
.message-question .title:after{
    content: '\e91e';
    font-family: 'icon-font-13' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #634166;
    font-size: 24px;
    position: absolute;
    right: 10px;
    top: 10px;
}
.message-question .title{
    padding: 10px 45px 10px 10px;
    font-size: 16px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    letter-spacing: 2px;
    border-top: 1px solid #ddd;
    margin-top: 8px;
}
.message-question .date{
    font-size: 13px;
    line-height: 1.2;
    color: #999999;
}
.message-answer{
    order: 2;
    display: none;
    overflow: hidden;
    padding: 1px;
    color: #000;
    background: #fdfdfd;
    border-left: 1px solid #E76563;
    padding: 8px 0 8px 25px;
    width: 100%;
}
.message-answer .editor{
    padding: 8px 16px 8px 0px;
    position: relative;
}
.author-box{
    order: 1;
    font-weight: 600;
    text-align: right;
    color: #FF8000;
    font-size: 15px;
    padding: 0 16px 0 66px;
    margin-bottom: 10px;
    display: flex;
    width: 100%;
    z-index: -1;
    position: relative;
}
.author-box:before{
    content: 'Q';
    display: block;
    position: absolute;
    left: 0;
    top: -9px;
    bottom: 0;
    width: 40px;
    height: 40px;
    font-family: 'Amaranth', serif;
    font-size: 25px;
    font-weight: normal;
    text-align: center;
    line-height: 36px;
    border-radius: 50%;
    background: #ffcac9;
    color: #DF3531;
}
.author-box .date{
    font-family: 'Open Sans', sans-serif;
    margin: 0 10px 0 5px;
    order: 2;
    /* position: absolute;
    right: 10px;
    top:9px;*/
    color:#b9b9b9;
    font-size: 12px;
}
.author-box.reply{
    order: 2;
    position: relative;
    text-align: left;
    width: 100%;
    color: #FF8000;
    margin-bottom: 0;
    font-size: 12px;
    padding: 8px 0 8px 25px;
    justify-content: flex-end;
}
.author-box.reply .date{
    margin-top: 0;
}
.author-box.reply:before{
    display: none;
}
/*------------ message-form ------------*/
#message-form{
    margin-top: 80px;
    margin-bottom: 20px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-attachment: fixed;
    -webkit-background-size: cover;
    background-size: cover;
    padding: 0 15px 65px;
}
#message-form .form-title{
    text-align: center;
    line-height: 1.2;
    padding: 20px 10px 0;
    color: #000000;
}
#message-form .form-title i{
    font-style: normal;
    font-size: 0;
}
#message-form .form-title i span{
    font-size: 20px;
    text-transform:uppercase;
    font-family: 'Amaranth', serif;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
}
#message-form .form-title i span:after{
    content: '';
    display: block;
    border-bottom: 1px dotted #777;
    width: 116px;
    margin: 20px auto 0;
}
.reminder .requrin_txt{
    display: none;
}
#message-form .form-box{
    padding: 40px 5% 10px;
    margin: 0px auto 10px;
}
textarea.form-control{
    height: 100px;
}
.form-box ,#message-form .btn-box{
    background: rgba(255, 255, 255, 0.9);
    max-width: inherit;
}
.form-box{
    max-width: inherit;
}
.btn-box{
    padding:0px 0px 35px;
    box-sizing: border-box;
}
.reminder{
    text-align: center;
    max-width: inherit;
    border:none;
    padding-left: 0;
}
.reminder:before{
    display: none;
}
/*------------ rwd ------------*/
@media screen and (max-width:1000px){
    .message-question .title{
        padding: 10px 45px 10px 0px;
    }
    .author-box .date{
        top: 2px;
    }
    .author-box.reply .date{
        top: 9px;
    }
    #message-form,
    #message-form .col{
        display: block;
        width: auto;
    }
    #message-form{
        margin-top: 60px;
        margin-bottom: 0px;
    }
    #message-form{
        padding: 30px 15px;
    }
    #message-form .form-title i{
        position: relative;
        top: 0;
        left: 0;
        margin: 0 auto 30px;
    }
    #message-form .form-box{
    }
    .message-list .message-item{
        padding: 10px 14px;
    }
    .form-box .name .control-box{
        padding-right: 0;
    }
    .form-box .name .radio-box{
        bottom: 100%;
    }
    #message-form .reminder{
        margin-bottom: 0;
    }
    .btn-box{
        padding-left: 0;
        text-align: center;
    }
    .btn.style01{
        margin:  0 auto 10px;
    }
}
@media screen and (max-width:600px){
    #message-form .form-title{
        padding: 25px 15px;
    }
}
@media screen and (max-width:480px){
    .message-answer .editor:before{
        display: none;
    }
    .message-answer .editor{
        padding: 10px 15px;
    }
}
