/* Board common style */
.input-file { display: inline-block; }
.input-file [type="file"] {
    overflow: hidden; position: absolute; margin: -1px;
    width: 1px; height: 1px; padding: 0;
    border: 0 none; clip: rect(0, 0, 0, 0);
}
.input-file .file-label {
    display: inline-block; vertical-align: top;
    padding: 0 25px; height: 35px; line-height: 35px;
    text-align: center; font-size: 13px; color: #fff;
    background-color: #545454; border-radius: 2px;
}
.input-file .file-name {
    width: 250px !important; height: 40px; line-height: 26px;
    text-indent: 5px; border: 1px solid #ddd;
}
.file-focus { outline: 1px dotted #d2310e; }
@media (max-width:768px){
    .input-file .file-name { width: 115px !important; }
    .input-file .file-label{ padding: 0 15px; }
}





/* ========== BBS ========== */
/* BBS Style - List */
.bbs-style2 { border-top: none !important; }
#bbs_style { width: 100%; background: #fff; border-top: 2px solid #4d78da; border-bottom: 2px solid #ddd; border-collapse: collapse; }
#bbs_style tr th { padding: 20px 5px; font-size: 20px; color: #fff; background-color: #4d78da; }
#bbs_style tr td { padding: 15px 5px; font-size: 18px; color: #555555; background-color: #fff; }
#bbs_style tr th form,
#bbs_style tr td form { padding: 0 !important; }
#bbs_style th.bbs_border { padding: 1px; background-color: #ddd; }
#bbs_style td.bbs_border { padding: 1px; background-color: #eee; }
#bbs_style tr:last-child td { background-color: transparent; }
#bbs_style tr td img { display: inline-block; }
.bbs-list__date { color: #999!important; }
.bbs-mo-contents { display: none; }
.bbs-bottom-button { margin-top: 35px; text-align: right; }
.bbs-bottom-button .row { justify-content: flex-end; margin: 15px 0; }
.bbs-bottom-button .button { margin-left: 2px; padding: 0; width: 100px; height: 50px; line-height: 50px; font-size: 15px; }
@media (max-width:768px){
    .bbs-list-row { display: none; }
    .bbs-list-col { display: none; }
    .bbs-mo-contents { display: block; margin-top: 10px; font-size: 0; }
    .bbs-mo-contents span { display: inline-block; vertical-align: top; padding: 0 10px; line-height: 15px; font-size: 13px; color: #888888; border-left: 1px solid #e5e5e5; }
    .bbs-mo-contents span:first-child { padding-left: 0; border-left: none; }
    #bbs_style { margin-top: -1px; }
    #bbs_style tr td { padding: 17px 5px 18px; }
    #bbs_style tr td a { font-size: 16px; }
    .bbs-bottom-button .button { width: 80px; height: 35px; line-height: 35px; font-size: 13px; }
}





/* BBS Write Style */
#ar_input { text-align:right; margin:0 0 10px; font-size: 12px; }
#bbs_write_style { width: 100%; border-top: 2px solid #4d78da; }
#bbs_write_style tr th { padding: 15px; text-align: left; font-size: 14px; color: #555; border-bottom: 1px solid #e5e5e5; }
#bbs_write_style tr td { padding: 20px; font-size: 14px; color: #555; border-bottom: 1px solid #e5e5e5; }
#bbs_write_style tr td input[type="text"],
#bbs_write_style tr td input[type="password"] { padding: 10px; height: 35px; font-size: 14px; border: 1px solid #ddd; color: #555; }
#bbs_write_style tr td select { height: 35px; font-size: 14px; border: 1px solid #ddd; color: #555; }
#bbs_write_style tr td input[type="file"] { max-width: 250px; width: 100%; }
#bbs_write_style tr td textarea { padding: 10px; width: 100%; height: 150px; }
#bbs_write_style tr td img,
.AWbbs_input_table tr td img { display: inline-block; margin: 0; }
#bbs_write_style .content_box { padding: 15px 0; }
#bbs_write_style .AW_bbs_input_checkbox { padding-left: 15px; text-align: left; }
#bbs_write_style input[type="file"],
#bbs_write_style input[type="text"],
#bbs_write_style input[name="name"],
#bbs_write_style input[name="email"],
#bbs_write_style input[name="wdate"],
#bbs_write_style input[name="password"] { max-width: 300px; width: 100%; }
#bbs_write_style input[name="subject"] { width: 100%; }
@media (max-width:768px){
    #bbs_write_style tr th { width: 30%; font-size: 13px; }
    #bbs_write_style tr td { padding: 15px; }
    #bbs_write_style input[type="file"],
    #bbs_write_style input[type="text"],
    #bbs_write_style input[name="name"],
    #bbs_write_style input[name="email"],
    #bbs_write_style input[name="wdate"],
    #bbs_write_style input[name="password"] { max-width: none; font-size: 13px; }
    #bbs_view_style .content_box { padding-top: 70px !important; padding-bottom: 70px !important; }
}





/* BBS Style - View */
.view-contents img { display: inline-block; max-width: 100%; height: auto; }
#bbs_view_style { table-layout: fixed; width: 100%; border-top: 2px solid #4d78da; border-bottom: 2px solid #ddd; border-collapse: collapse; }
#bbs_view_style tr th,
#bbs_view_style tr td { text-align: left; padding-left: 15px; border-bottom: 1px solid #ddd; }
#bbs_view_style tr th { font-size: 20px; padding: 20px 10px; background-color: #fbfbfb; }
#bbs_view_style tr td.content_box { padding: 20px 15px; height: 150px; }
#bbs_view_style tr td.content_box table tr td { padding-left: 0; }
#bbs_view_style tr:last-child td { border-bottom: none; }
#bbs_view_style video { max-width: 100%; }

#bbs_view_2_style { width: 100%; border-collapse: collapse; border: none; border-bottom: 1px solid #ddd; }
#bbs_view_2_style tr th { padding: 0 10px; height: 40px; background-color: #fbfbfb; }
#bbs_view_2_style tr:first-child th,
#bbs_view_2_style tr:first-child td { border-bottom: 1px solid #ddd; }
#bbs_view_2_style tr td { padding-right: 15px; padding-left: 15px; }

#bbs_btn_wrap tr td a,
#bbs_btn_wrap tr td input { font-size: 15px !important; color: #333 !important; font-weight: 400 !important; }

.file-td { padding: 10px 0; }
.file-td > a { float: left; clear: left; display: inline-block; margin: 2px 0; }





/* Board Password */
.passwd{
    margin: 30px auto;
    padding: 30px;
    max-width: 450px;
    text-align: center;
}
.passwd{
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,.3);
}
.passwd h1 { font-size: 16px; font-weight: 400; }
.passwd img { margin: 0 auto 15px; }
.passwd_wrap input { margin: 15px 0; width: 100%; height: 35px; }
.passwd_wrap .btn_wrap button { width: 49%; }
.passwd_wrap .btn_wrap button:first-child { margin-right: 2%; }
@media (max-width:1024px){

    #bbs_view_style tr th { font-size: 18px; padding: 14px 10px; }
    #bbs_view_style tr td,
    #bbs_view_2_style tr th,
    #bbs_view_2_style tr td { font-size: 14px; }

}
@media (max-width:768px){

}
