/*------------ message ------------*/
.author-box{
    margin-top: 5px;
}
#message-form{
    margin-top: 80px;
    margin-bottom: 20px;
}
.message-list li:last-child{
    margin-bottom: 10px;
}
.btn-box{
    padding-top: 10px;
}
.write-question-box{
    text-align: center;
}

.write-question {
    letter-spacing: 4px;
    position: relative;
    display: inline-block;
    font-size: 16px;
    text-align: center;
    box-sizing: border-box;
    margin: 0 auto 25px;
    transition: all .2s;
    padding: 13px 15px 10px 15px;
    text-indent: -4px;
    color: #666;
    border: 4px double #0E6EB8;
    border-radius: 15px;
    top: 0;
    width: 145px;
}

.write-question:before {
    content: "\e1011";
    display: block;
    font-size: 32px;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0 0 10px;
    text-indent: 5px;
    color: #0E6EB8;
}
/*.write-question:after{
    content: "";
    display: block;
    position: absolute;
    width: 60px;
    height: 48px;
    bottom: -1px;
    left: -40px;
    background: url('../../images/common/message/ic02.png');
}*/
.write-question:hover {
    top: -10px;
    color: #0E6EB8;
}

/*------------ message ------------*/

.message-list {
    max-width: 1000px;
}

.message-list li {
    margin: 0 0 25px;
    position: relative;
    transition: all .2s;
}

.author-box {
    text-align: right;
    font-size: 13px;
    color: #484848;
}

.author-box .date {
    font-family: 'Open Sans', sans-serif;
    margin: 0 10px 0 5px;
    color: #1388ca;
}

.author-box:before {
    display: inline-block;
    vertical-align: middle;
    content: "\e1013";
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    color: #1388ca;
    -moz-osx-font-smoothing: grayscale;
}

.message-question {
    cursor: pointer;
    padding: 15px 20px 0 15px;
    position: relative;
    transition: all .2s;
    box-sizing: border-box;
    background: #eee;
    border-radius: 0px;
    transition: all .2s;
    color: #202020;
}

.message-question:hover {
    background: #f5f5f5;
}

.message-question .title {
    padding: 0 0 15px 18px;
    font-size: 16px;
    line-height: 1.4;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    letter-spacing: 2px;
}

.message-question .title:before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 7px;
    left: 0px;
    border: 3px solid #1388ca;
    transition: all .3s ease;
}

.message-question:hover .title:before {
    border-color: #0e6eb8;
}

.message-question .date {
    font-size: 13px;
    line-height: 1.2;
    color: #999999;
}

.message-answer {
    display: none;
    overflow: hidden;
    padding: 1px;
    background: rgba(156, 156, 156, 0.3);
    border-radius: 10px;
    margin: 10px 0 0 0;
}

.message-answer .editor {
    padding: 60px 20px 30px;
    position: relative;
    background: #fff;
    border-radius: 10px;
}

.message-answer .editor:before {
    content: "A";
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 18px;
    font-weight: bold;
    line-height: 36px;
    text-align: center;
    background: #eee;
    color: #0E6EB8;
    font-family: 'Roboto', sans-serif;
}


/*------------ message-form ------------*/

#message-form {
    display: table;
    width: 100%;
    box-sizing: border-box;
    border: 5px solid rgba(156, 156, 156, 0.3);
}

#message-form .col {
    display: table-cell;
}

#message-form .form-title {
    vertical-align: middle;
    text-align: left;
    padding: 45px;
    line-height: 1.5;
    width: 400px;
    box-sizing: border-box;
    position: relative;
    /*background: url(../../images/common/message/bg.png) no-repeat left top, url(../../images/common/message/bg2.png) no-repeat right top;*/
    background: url(../../images/common/side_bg2.jpg);
    background-size: cover;
}

#message-form .form-title:before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #f5f5f5;
    z-index: -1;
}

#message-form .form-title i {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    font-size: 22px;
    text-align: center;
    font-style: normal;
    display: block;
    padding: 35px 0 0 5px;
    box-sizing: border-box;
    margin: 0 auto 30px;
    border: 4px double #0E6EB8;
    color: #666;
    letter-spacing: 2px;
    text-indent: -2px;
    position: relative;
    background: #fff;
}

#message-form .form-title i:before {
    content: "\e1011";
    font-size: 45px;
    display: block;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0 0 5px;
    color: #0E6EB8;
}

/*#message-form .form-title i:after{
    content: "";
    display: block;
    position: absolute;
    width: 24px;
    height: 25px;
    top: 0;
    right: 0;
    background: url('../../images/common/message/ic01.png');
}*/

#message-form .reminder {
    margin: 0;
    font-size: 14px;
}

#message-form .form-box {
    padding: 35px 50px 25px 55px;
    position: relative;
    background: transparent;
        width: 590px;
        max-width: 100%;
}

#message-form .form-box:before {
    content: "";
    width: 4px;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: url('../../images/common/message/shadow.png') no-repeat;
}


/*------------ rwd ------------*/

@media screen and (max-width:1100px) {
    #message-form,
    #message-form .col {
        display: block;
        width: auto;
    }
    #message-form{
        margin-top: 60px;
        margin-bottom: 30px;
    }
}

@media screen and (max-width:600px) {
    #message-form .form-box {
        padding: 35px 20px 20px 20px;
    }
    #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;
    }
}
