/*------------ message ------------*/

.write-question {
    text-align: center;
    margin: 0 0 70px;
}

.write-question a {
    color: #fff;
    font-size: 16px;
    line-height: 45px;
    text-align: center;
    width: 202px;
    display: inline-block;
    border-radius: 10px;
    background: #666666;
    font-family: 'Alegreya Sans', sans-serif;
}

.write-question a:hover {
    background: #9E8557;
}

.write-question p {
    display: inline-block;
    font-size: 15px;
    color: #858585;
    margin: 0 0 0 25px;
    font-weight: bold;
}

.message-list {
    max-width: 1270px;
    margin: 0 auto;
}

.message-list li {
    border: 1px solid #333333;
    padding: 20px;
    margin: 0 0 25px;
}

.message-question .message-from {
    display: inline-block;
    border-bottom: 1px solid #333333;
    font-size: 15px;
    color: #868686;
    letter-spacing: 1px;
    padding: 0 0 6px 0;
    margin: 0 0 10px 0;
}

.message-item .message-from b {
    font-weight: bold;
    font-size: 15px;
    color: #9E8557;
    display: inline-block;
    vertical-align: top;
    margin: 0 10px 0 0;
}

.message-question {
    cursor: pointer;
}

.message-question .title {
    font-size: 16px;
    color: #868686;
}

.message-item:hover .message-question .title,
.message-item.active .message-question .title {
    color: #B20000;
}

.message-answer .message-from {
    display: inline-block;
}

.message-answer .message-from b {
    margin: 0 15px 0 0;
}

.message-answer {
    display: none;
    overflow: hidden;
    margin: 15px 0 0 0;
    padding: 15px 0 0 0;
    border-top: 1px solid #333333;
}

.message-answer .editor {
    color: #868686;
    line-height: 1.7;
    display: inline-block;
    vertical-align: top;
    letter-spacing: 1px;
    padding: 0 30px 0 0;
    width: calc(100% - 90px);
    box-sizing: border-box;
}


/*------------ message-form ------------*/

#message-form .form-title {
    margin: 130px 0 70px;
    color: #D3AC72;
    text-align: center;
    font-size: 33px;
    line-height: 1.4;
    font-family: 'Alegreya Sans', sans-serif;
    position: relative;
}

#message-form .form-title:after,
#message-form .form-title:before {
    content: "";
    width: calc(50% - 250px);
    height: 1px;
    background: #816F36;
    display: block;
    position: absolute;
    left: 0;
    top: 25px;
}

#message-form .form-title:after {
    left: auto;
    right: 0;
}

#message-form .form-box textarea.form-control {
    height: 255px;
}

#message-form .form-box .control-label {
    padding: 0 0 5px 10px;
}


/*------------ rwd ------------*/

@media screen and (max-width:1024px) {
    .write-question p {
        display: block;
        margin: 25px 0 0 0;
    }
    #message-form .form-title {
        margin: 130px 0 30px;
    }
}

@media screen and (max-width:767px) {
    .message-answer .message-from {
        display: block;
    }
    .message-answer .editor {
        display: block;
        padding: 0;
        width: 100%;
    }
}

@media screen and (max-width:600px) {
    .message-question .message-from b {
        display: block;
    }
}
