@charset "utf-8";
/*------------ message ------------*/
.btn-box{
    padding-top: 20px;
    text-align: left;
}
.btn.style01{
    display: inline-block;
}
.write-question-box{
    text-align: center;
    color: #fff;
    font-size: 18px;
    text-align: center;
    background: #123F6B;
    width: 140px;
    padding: 10px 10px 8px 8px;
    border-radius: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    box-shadow: 2px 2px 6px 0 rgba(0,0,0,0.4);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
    bottom: 0;
    display: block;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-items: center;
    font-weight: bold;
}
.write-question-box:hover{
    background:#0E558E;
}
.write-question-box:before{
    content: "\e91e";
    display: block;
    font-size: 32px;
    height: 32px;
    font-family: 'icon-font-41' !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;
    margin: 0 0 0px;
    text-indent: 5px;
}
.write-question span{
    content: "Leave a \Amessage";
    white-space: pre-line;
    font-size:14px;
    text-transform:uppercase;
    line-height:1.2;
    width:100%;
    display:block;
    text-align:center;
    color:#86d7ff;
    font-weight: normal;
}
.write-question{
    display: block;
    border-width: 1px 0;
    line-height: 1.8;
    width: 105px;
    margin: 0px auto 0;
}
.message-list{
    max-width: 1000px;
    margin: auto;
}
.message-list .message-item {
    padding: 15px 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    display: flex;
    position: relative;
    box-shadow: 0 0 5px rgba(68, 86, 125, 0.33);
    border-radius: 0;
    background: #2a2a2a;
    border: #0275c9 1px solid;
    transition: all 0.3s;
}
.message-list .message-item.active,.message-list .message-item:hover {
    box-shadow: 0 0 10px #0278cb;
}
.message-question{
    order: 2;
    cursor: pointer;
    position: relative;
    width: 100%;
}
.message-question .title{
    color:#b5b5b5;
    font-size: 16px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    letter-spacing: 2px;
}
.message-question:hover{
    opacity: 0.7;
}
.message-question .date{
    font-size: 13px;
    line-height: 1.2;
    color: #999999;
}
.message-answer{
    order: 2;
    display: none;
    overflow: hidden;
    padding: 1px;
    background:#334551;
    color:#bfbfbf;
    padding: 15px;
    width: 100%;
}
.author-box{
    margin-top: 5px;
    order: 5;
    color: #5c7598;
    font-size: 13px;
    width: 100%;
    font-weight: 600;
    justify-content: flex-end;
    margin-bottom: 10px;
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
}
.author-box .date{
    font-family: 'Open Sans', sans-serif;
    margin: 0 10px 0 5px;
    order: 2;
    color:#666;
}
.author-box .date:before{
    content: '｜';
    display: inline-block;
}
.author-box.reply{
    order: 2;
    position: relative;
    text-align: left;
    width: 100%;
    padding: 5px 0px;
    margin-bottom: 0;
    color: #5c7598;
    font-size: 15px;
    font-weight:normal;
    justify-content: end;
}
.author-box.reply:before{
    background: url(../../../images/layout03-1/common/message/accordion.png) 0 100% no-repeat;
    width: 33px;
    height: 33px;
    border-radius: 50px;
    position: absolute;
    top: 12px;
    left: 12px;
    margin-top: -5px;
}
/*------------ message-form ------------*/
#message-form{
    margin-top: 80px;
    margin-bottom: 0px;
    display: table;
    width: 100%;
    box-sizing: border-box;
    background: url(../../../images/layout03-1/common/message/form_bg.png) 0 0 / auto 100% no-repeat;
    padding: 50px 11% 40px 38%;
    position: relative;
    border: 1px solid #2b2b2b;
}
#message-form .form-title{
    vertical-align: middle;
    text-align: left;
    line-height: 1.5;
    box-sizing: border-box;
    background-size: cover;
    position: absolute;
    top: 35%;
    left: 5%;
}
#message-form .form-title i{
    text-align: center;
    color: #fff;
    font-size: 18px;
    text-align: center;
    background: #123F6B;
    width: 140px;
    padding: 10px 10px 8px 8px;
    border-radius: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    box-shadow: 2px 2px 6px 0 rgba(0,0,0,0.4);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
    bottom: 0;
    display: block;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-items: center;
    font-weight: bold;
    font-style: normal;
}
#message-form .form-title i .txt{
    display: block;
    border-width: 1px 0;
    line-height: 1.8;
    width: 105px;
    margin: 0px auto 0;
}
#message-form .form-title i span{
    display: block;
    font-size:14px;
    text-transform:uppercase;
    line-height:1.2;
    width:100%;
    display:block;
    text-align:center;
    color:#86d7ff;
    font-weight: normal;
}
#message-form .form-title i:before{
    content: "\e91e";
    display: block;
    font-size: 32px;
    height: 32px;
    font-family: 'icon-font-41' !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;
    margin: 0 0 0px;
    text-indent: 5px;
}
#message-form .reminder{
    margin: 0 0 30px;
}
#message-form .reminder .requrin_txt{
    display:block;
}
#message-form .form-box{
    position: relative;
    background: transparent;
    width: 559px;
    max-width: 100%;
    padding: 0;
    margin: 0;
}
.form-box .form-group{
    border:none;
}
.form-box .name .control-box{
    padding-right: 150px;
    position: relative;
}
.form-box .name .radio-box{
    line-height: inherit;
    position: absolute;
    right: 0;
    bottom: -2px;
}
/*------------ rwd ------------*/
@media screen and (max-width:1200px){
    #message-form .form-title {
        left: 2%;
    }
}
@media screen and (max-width:1000px){
    #message-form,
    #message-form .col{
        display: block;
        width: auto;
    }
    #message-form .form-title {
        position: relative;
        max-width: 100%;
        box-sizing: border-box;
        top: 0;
        left: 0;
    }
    #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{
        padding: 0px;
    }
   .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;
        text-align: center;
    }
    .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;
    }
}
