@charset "utf-8";
/*------------ message ------------*/
.requrin_txt{
    display: block;
}
.write-question-box{
    text-align: center;
}
.write-question{
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    box-sizing: border-box;
    border-radius: 100%;
    line-height: 1.2;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.15);
    border: 4px double #5CAA97;
    display: flex;
    align-items: center;
    justify-content: center;
}
.write-question:hover{
    color: #5CAA97;
}
.message-item{
    margin-bottom: 20px;
    border-bottom: 1px solid #DCDEDE;
    flex-wrap: wrap;
    display: flex;
    padding-bottom: 20px;
}
.message-question{
    order: 2;
}
.message-answer{
    order: 2;
    width: 100%;
}
.author-box{
    margin-top: 5px;
    order: 1;
    color: #24272C;
    font-size: 15px;
    font-weight: 600;
}
.author-box.reply{
    order: 2;
    position: relative;
    text-align: right;
    width: 100%;
}
/*------------ message ------------*/
.message-list{
    max-width: 1000px;
    margin: auto;
}
.message-list li{
    margin: 0 0 25px;
    position: relative;
    transition: all .2s;
}
.message-list li:last-child{
    margin-bottom: 10px;
}
.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;
    width: 100%;
}

.message-question .date{
    font-size: 13px;
    line-height: 1.2;
    color: #999999;
}
.message-question .title{
    padding: 0 0 15px 18px;
    font-size: 16px;
    line-height: 1.4;
    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 #5CAA97;
    transition: all .3s ease;
}
.message-question:hover{
    background: #f5f5f5;
}
.message-question:hover .title:before{
    border-color: #5CAA97;
}
.message-answer{
    display: none;
    overflow: hidden;
    padding: 1px;
    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: #5CAA97;
    font-family: 'Roboto', sans-serif;
}
.author-box{
    text-align: right;
    font-size: 13px;
    color: #484848;
}
.author-box:before{
    display: inline-block;
    vertical-align: middle;
    content: "\e1013";
    font-family: 'icon-font' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    color: #5CAA97;
    -moz-osx-font-smoothing: grayscale;
}
.author-box .date{
    font-family: 'Open Sans', sans-serif;
    margin: 0 10px 0 5px;
    color: #5CAA97;
}
/*------------ message-form ------------*/
#message-form{
    margin-top: 80px;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    border: 5px solid #dcdcdc;
}
#message-form form{
    padding: 35px 0;
}
#message-form form,.form-wrap{
    width: 100%;
}
#message-form .form-title{
    vertical-align: middle;
    text-align: left;
    padding: 120px 45px;
    line-height: 1.5;
    width: 400px;
    box-sizing: border-box;
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    background: linear-gradient(45deg, #f0f0f0 25%, #fff 0, #fff 50%, #f0f0f0 0, #f0f0f0 75%, #fff 0);
    background-size: 4px 4px;
    justify-content: center;
    z-index: 1;
}
#message-form .form-title:before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #f5f5f5;
    opacity: 0.2;
    z-index: -1;
}
#message-form .form-title i{
    font-style:normal;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.15);
    border: 4px double #5CAA97;
}
#message-form .form-title .font,
.write-question .font {
    color: #818181;
    white-space: nowrap;
    font-weight: 400;
    letter-spacing: 0.1em;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
    line-height: 1.2;
  
}
#message-form .form-title .font span,
.write-question .font span {
    display: block;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
    position: relative;
    color: #414042;
    letter-spacing: 0.02em;
    width: 114px;
    white-space: normal;
    line-height: 1.5;
    text-align: center;
}
#message-form .form-title .font span::before,
.write-question span::before {
    content: '';
    width: 0;
    height: 1px;
    background: #5CAA97;
    display: block;
    left: calc(100% - 20px);
    position: absolute;
    bottom: 6px;
    transition: all 0.3s ease;
}
#message-form .form-title .font span::after,
.write-question span::after {
    color: #5CAA97;
    content: '\e1011';
    font-family: 'icon-font' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    transition: all 0.3s ease;
    position: relative;
    right: 0;
    margin-left: 4px;
}
#message-form .form-title:hover .font span::before,
.write-question:hover span::before {
    width: 14px;
}
#message-form .form-title:hover .font span::after,
.write-question:hover span::after {
    right: -13px;
}
#message-form .reminder{
    margin: 0;
    font-size: 14px;
}
#message-form .form-box{
    padding: 15px 50px 0;
    position: relative;
    background: transparent;
    width: 100%;
    max-width: 100%;
}
#message-form .form-box .form-group:last-child{
    padding-bottom:0;
}
/*------------ rwd ------------*/
@media screen and (max-width:1000px){
    #message-form,
    #message-form .col{
        display: block;
        width: auto;
    }
    #message-form{
        margin-top: 60px;
    }
}
@media screen and (max-width:600px){
    #message-form .form-box{
        padding: 20px 15px;
    }
    #message-form .form-title{
        padding: 40px 15px;
    }
}
@media screen and (max-width:480px){
    .message-answer .editor:before{
        display: none;
    }
    .message-answer .editor{
        padding: 10px 15px;
    }
}
