/*  
#board_table .board_gall {overflow:hidden; padding:10px 0 0 0; }
#board_table .board_gall ul {overflow:hidden; position:relative; left:-14px; }
#board_table .board_gall ul .first-child {position:relative; float:left; }
#board_table .board_gall ul li {position:relative; float:left; margin:0 0 27px 14px; border:1px solid #dddddd;}
#board_table .board_gall ul li .imga { width:180px; min-height:180px; border-bottom:1px solid #dddddd; vertical-align:middle; }
#board_table .board_gall ul li .plus { position:absolute; right:1px; top:161px; }
#board_table .board_gall ul li dl { padding:15px 15px;}
#board_table .board_gall ul li dl dt {padding:1px 0 0 0;}
#board_table .board_gall ul li dl dd { padding:7px 0 0 0; position:relative; font-size:12px; color:#b1b1b1;}
#board_table .board_gall ul li dl dd .day {position:absolute; right:0; color:#7d7d7d;}
 */
#board_table {font-size:14px; line-height:1.3;}
 
.total { font-size:12px;}

#board_table .view_data_pd { padding:25px 15px; color:#444; line-height:1.5; min-height:200px;}
.mod_date { font-size:13px;}

#board_table .board_gall {overflow:hidden; padding:8px 0 0 0; margin:8px 0 30px 0; border-top:2px solid #4d4d4d; }
#board_table .board_gall ul { overflow:hidden; position:relative; }
#board_table .board_gall ul .first-child {position:relative; float:left; }
#board_table .board_gall ul li {box-sizing: border-box; float:left; width:24%; margin:1% 0.5%; border:1px solid #dddddd;}
#board_table .board_gall ul li a { display:block; }
#board_table .board_gall ul li .imga { overflow:hidden; height:180px; text-align:center; border-bottom: none; }
#board_table .board_gall ul li .imga img { width:100%;}
#board_table .board_gall ul li .plus { position:absolute; right:1px; top:161px; }
#board_table .board_gall ul li dl { padding:15px 15px 15px 15px;}
#board_table .board_gall ul li dl dt {min-height:40px;}
#board_table .board_gall ul li dl dd { padding:7px 0 0 0; position:relative; font-size:12px; color:#b1b1b1;}
#board_table .board_gall ul li dl dd .day {position:absolute; right:0; color:#7d7d7d;}
#board_table .board_gall ul li dl dd.list_name { font-size:13px; color:#333;}



/* Check Password */
.check_pw {width:98%; max-width:450px; margin:30px auto 0 auto; padding:0 0 30px 0; text-align:center; border-top:1px solid #6d6d6d; border-bottom:1px solid #d3d3d3; }
.check_pw .bc_tit {padding:15px 4px; font-size:24px; font-weight:600; color:#444; border-bottom:1px solid #d3d3d3; text-align:left; }
.check_pw .bc_tit span {font-size:13px; color:#666666; margin:0 8px 0 15px;}

.check_pw .h4 {padding:15px 0; border-bottom:1px solid #d3d3d3;}
.check_pw .h4 .span_tit { font-size:24px; margin:0 8px 0 15px; font-weight:600; color:#444; }
.check_pw .h4 .span_txt { font-size:13px; color:#666666;}
.check_pw .pw_input_wrap { padding:40px 0 30px 0; text-align:center;}
.check_pw .pw_input_wrap p { padding:4px; border:1px solid red; }


/* board Ʈ */


/* #board_table Ʈ  border:1px solid red; */
#board_table .board_table01 { width:100%; text-align:center; margin-bottom:3px; border-top:2px solid #4d4d4d; border-bottom:1px solid #4d4d4d;}
.board_table01 tr { border-bottom:1px solid #b2b2b2;}
.board_table01 thead th { min-width:30px; font-weight:bold; padding:13px 2px 11px 2px; background:url('/image/line_v.gif') no-repeat left 49%;}
.board_table01 thead th.mod_writer { min-width:60px;}
.board_table01 td, .board_table01 tbody th { padding:13px 2px 11px 2px;  }
.board_table01 tbody tr {border-bottom:1px dotted #b3b3b3;}
.board_table01 tbody tr:last-child { border-bottom:none;}
.board_table01 .subject { padding-left:12px; text-align:left;}
.subject a { display:block;} 
.pagenum {padding:10px 10px; text-align:center;}
.pagenum a:link, .pagenum a:visited, .pagenum a:active, .pagenum a:focus {min-width:34px; margin:1px; height:30px; line-height:30px; display:inline-block; white-space:nowrap; border:1px solid #d6d6d6; cursor:pointer;}
.pagenum a.on{width:34px; height:30px; line-height:30px; display:inline-block; border:1px solid #d6d6d6; background:#fff; font-weight:bold; color:#000; font-size:1em; text-align:center;}
.pagenum a:hover { text-decoration:none; color: #FFFFFF; border:1px solid #5b5b5b; background:#737373; }
.pagenum .prev { padding-left:20px; padding-right:10px; background:url('/image/arrow.gif') no-repeat left 0;}
.pagenum .next { padding-left:9px; padding-right:21px; background:url('/image/arrow.gif') no-repeat right -23px;}
#div_searchForm { overflow:hidden; margin-bottom:10px;}
#div_searchForm #searchForm { float:right;}
/* ư ؽƮϰ
#div_searchForm #searchForm .btn a{ display:inline-block; height:17px; padding:1px 10px; background-color:#f5f5f5; border:1px solid #d6d6d6; vertical-align:top;}
*/

#div_searchForm #searchForm .btn a:hover { background-color:#fff; }
#div_searchForm p { float:left;}

#board_table .board_table01_view {width:100%; margin-bottom:3px; border-top:2px solid #4d4d4d; border-bottom:1px solid #4d4d4d;}
.board_table01_view tr { border-top:1px solid #e5e5e5; }
.board_table01_view tr:first-child { color:#000;}
.board_table01_view th { color:#333333; font-weight:bold; padding:9px 2px 9px 2px;background-color:#fbfbfb; text-align:center; min-width:100px;}
.board_table01_view td { padding:9px 2px 9px 10px; }

.board_table01_view td.write_data_pd { max-width:1100px; padding-top:20px;}
.board_table01_view td.write_data_pd center { max-width:1100px; padding-top:20px;}
.board_table01_view td.write_data_pd img { width:100%; max-width:100%;}


.board_table_view .board_btn .btns { min-width:70px;}
.board_btn { overflow:hidden; margin:10px 0; padding:20px 0; border-top:0 solid #4d4d4d; text-align:center;  }
#board_btn { overflow:hidden;}
.board_btn .btns {cursor: pointer; min-width:110px; text-align:center; display:inline-block; padding:10px 0; font-size:13px; color:#fff; background:#909090; border:1px solid #909090; font-weight:600; border-radius:4px;}
.board_btn .btn_st01 {}
.board_btn .btn_st02 { color:#444; background:#fcfcfc; border:1px solid #909090;}
.board_btn .btns:hover { background:#555; color:#fff; border:1px solid #555;}
/* ư ؽƮϰ
.board_btn a { text-align:center; width:50px; height:19px; padding-top:4px; color:#f5f5f5; background-color:#737373; vertical-align:middle; display:inline-block; white-space:nowrap; border:1px solid #5b5b5b; font-weight:bold;}
.board_btn a:hover { text-decoration:none; color:#333333; background-color:#fff; border:1px solid #d6d6d6; }
*/


#board_table .board_table01_write {width:100%; margin-bottom:30px; border-top:1px solid #4d4d4d; border-bottom:1px solid #4d4d4d;}
.board_table01_write th { color:#333333; font-weight:bold; padding:10px 2px 8px 2px; border-bottom:1px solid #e5e5e5; background-color:#f0f0f0; text-align:center;}
.board_table01_write td { padding:10px 2px 8px 12px; border-bottom:1px solid #e5e5e5;  }



/* ġ Ʈڽ p_searchtype  */
.selectbox { padding:15px; text-align:center; border:6px solid #dcdcdc; background:#fff;}
.selectbox #p_searchtype { margin-top:0; height:28px; width:80px; padding:0 0 0 3px; vertical-align: top; border:1px solid #D0D0D0; line-height:12px;}
.selectbox .input01_text { color:#5E5E5E; margin:0 5px 0 0; border:1px solid #D0D0D0; padding-left:3px; line-height:100%; height:24px; vertical-align:top;}


/* ۼ */
.form_wrapper { overflow:hidden;}
.form_wrapper .commen-textarea { float:left; width:78%; padding:1%; min-height:60px; border:1px solid #ddd;}
.form_wrapper .btn_submit { float:right; width:18%; height:70px; line-height:50px; background:#333; color:#fff; border:none;}
.comment_form_writer { padding-top:10px;}
.comment_form_writer p { display:inline; padding:2px 0;}
.comment_form_writer input{ border:1px solid #ddd; padding:2px; height:24px; min-width:130px; margin:2px;}
.comment_form_writer em { margin-right:5px; font-size:12px;}

.comment_form_writer #zsfCode {min-width:90px;}


/* ۺκ */
.commen-view { padding:0 0 35px 0; border-top:1px solid #bbb;}
.commen-view .commen-box01 { overflow:hidden; padding:10px 15px; background:#fcfcfc;}
.commen-view .commen-view-fin { min-height:30px; border-bottom:1px dashed #bbb;}
.commen-view .commen-view-fin:hover { background:#fcfcfc; } 
.commen-view-name { margin-right:15px; display:inline-block; color:#000;}
.commen-view-date_del { float:right; display:inline-block; vertical-align:middle; }
.commen-view-date_del p {display:inline-block;}
.commen-view-date_del p.c_del a { padding:2px 0 2px 10px;}
.commen-view-data { padding:15px; line-height:1.5;}

.reply_bg {border-bottom:2px solid #cccccc; border-top:2px solid #cccccc; background-color:#f9f9f9; padding-left:5px;  padding-right:5px;}
.reply_input01 {width:88px; height:18px; border:1px solid #d0d0d0;}
.reply_input02 {width:493px; height:60px; border:1px solid #d0d0d0;}
.reply_prev {background:url(/image/btn_prev01.gif) no-repeat; padding-left:20px;}
.reply_next {background:url(/image/btn_next01.gif) no-repeat; padding-left:20px;}

.board_bullet01 {background:url(/images/board/board_bullet.gif) no-repeat; padding-left:15px; font-weight:bold; color:#828282;}
.board_view_th01 {float:left; width:184px;}
.board_view_th02 {float:left;}
.board_view_th01 li {float:left;}
.board_view_th02 li {float:left;}



/* Խǻ */
.yell { font-family:""; font-size: 9pt; color: #000000; }
.submit {border:solid 1px #666666; font-size:9pt; color:#333333; background-color:#F5F5F0; height:19px}
.eng {font-family:tahoma;color:#999999; font-size:8pt;text-decoration:none; letter-spacing:0pt}
.ko_name {font-family:;color:#999999;font-size:9pt;text-decoration:none; letter-spacing:0pt}
.num {
font-family:tahoma;
color:#29435B;
font-size:8pt;
text-decoration:none; 
letter-spacing:0pt;
text-align:center;
}
.comment {font-family:tahoma;color:#FF6600;font-size:8pt;text-decoration:none; letter-spacing:0pt}
.input_text { font-size:15px; color:#5E5E5E; margin-top:0; margin-bottom:0;  border: 1px solid #D0D0D0; padding-left:3px; line-height:125%; height:21px;}
.form {font-family:; font-size:9pt; color:#5E5E5E; margin-top:0; margin-bottom:0; border:1px solid #D0D0D0; padding-left:3px; line-height:125%; min-height:29px; min-width:200px;}

select { font-family:"Nanum Gothic","", ; background-color:#FAFAFA; color:#6e6e6e; border:1px solid #D0D0D0;  padding-left:1px; padding-top:1px; padding-bottom:1px; line-height:125%; height:28px;}


/* ġ Ʈڽ p_searchtype  */
.selectbox { padding:15px; text-align:center; border:6px solid #dcdcdc; background:#fff;}

.selectbox #p_searchtype { margin-top:0; height:28px; width:80px; padding:0 0 0 3px; vertical-align: top; border:1px solid #D0D0D0; line-height:12px;}
.selectbox .input01_text { color:#5E5E5E; margin:0 5px 0 0; border:1px solid #D0D0D0; padding-left:3px; line-height:100%; height:24px; vertical-align:top;}


/***   search_body   ***/
#search_body .data_search {}
#search_body .data_search .tt { text-align:center; font-size:20px; padding:15px 0; font-weight:600;}
.data_search .result_area { overflow:hidden; padding:30px 0;}
.data_search .result_area .result_tit { position:relative; overflow:hidden; height:22px; padding:15px 15px 14px 20px; background:#cf2243; color:#fff; }
.data_search .result_area .result_tit h4 { float:left; display:block; padding:0 26px 0 0; color:#f5efe2; }
.data_search .result_area .result_tit p { float:left; padding-top:4px;}
.data_search .result_area .result_tit a { position:absolute; display:block; padding:7px 10px; right:10px; top:10px; color:#fff; font-weight:600; }

.data_search .result_area ul.type { overflow:hidden; padding:25px 0;}
.data_search .result_area ul.type li { padding:4px;}
.data_search .result_area ul.type li a { display:block; padding:4px;}
.data_search .result_area ul.type_02 {overflow:hidden; width:1030px; padding:25px 0;}
.data_search .result_area ul.type_02 li.type_li { float:left; display:block; width:240px; height:250px; background:#fff; margin:4px 15px 4px 0;}
.data_search .result_area ul.type_02 li.type_li .div_mov { }



.board_topbg {background:url(/image/board_topbg.gif) no-repeat;}
.board_graybg {background:url(/image/board_gray_bg.gif);}
.board_nobg {background:url(/image/no_bg.gif) no-repeat;}
.board_hitbg {background:url(/image/hit_gray_bg.gif);}
.board_counter {float:left;}
.board_line {background-color:#ddd; height:1px;}
.board_line02 {padding-left:3px; padding-right:3px;}
.bold {font-weight:bold;}
.board_search_bg {border:8px solid #ebebeb; width:720px; height:54px;}
.search_input {width:30%; height:24px; border:1px solid #ddd;}
.board_bullet01 {background:url(/image/board_bullet.gif) no-repeat; padding-left:15px; font-weight:bold; color:#828282;}
.board_view_th01 {float:left; width:184px;}
.board_view_th02 {float:left;}
.board_view_th01 li {float:left;}
.board_view_th02 li {float:left;}
.file_th {font-weight:bold;}
.file_icon {margin-left:3px; margin-top:-2px;}
.file_name {margin-left:3px;}
.board_bullet02 {background:url(/image/board_bullet.gif) no-repeat; padding-left:15px; font-weight:bold; color:#5c9b14;}

/**/
@media all and (min-width:900px) and (max-width:1119px) { 
#board_table .board_gall ul li {width:32%;}
}
@media all and (max-width:640px) { 
#board_table .board_gall ul li {width:49%;}
#board_table .mod_w { display:none;}
#board_table .mod_m { display:block;}
}

@media all and (max-width:480px) { 
#board_table .board_gall ul li .imga { height:110px;}

.board_table01_view th { min-width:80px; color:#333333; font-weight:bold; padding:9px 2px 7px 2px; border-bottom:1px solid #e5e5e5; background-color:#fbfbfb; text-align:center; min-width:50px;}
.board_table01_view td {padding:9px 2px 7px 10px; border-bottom:1px solid #e5e5e5; }

.board_table01_write th{min-width:64px; }
.mod_date { display:none;}
#community01 .mod_date { display:block;}
.subject { }
.mod_writer { min-width:80px;}

.comment_form_writer p { display:block;}
}


/* =========================================================
   ROMAPRIDE CS BOARD - cs01(notice) + cs02(qna)
   Shared layout overrides
   ========================================================= */
#contents .board-wrap{width:100%;max-width:1400px;margin:0 auto 80px;box-sizing:border-box;font-size:15px;color:#555;}
#contents .board-wrap *{box-sizing:border-box;}
#contents .board-wrap .list.notice{width:100%;}
#contents .board-wrap .list.notice table{width:100%;border-collapse:collapse;border-spacing:0;table-layout:fixed;border-top:2px solid #b8895c;border-bottom:1px solid #ddd;background:#fff;}
#contents .board-wrap .list.notice thead th{height:58px;padding:15px 8px;border:0;border-bottom:1px solid #d8c8b8;background:#fbf8f5;color:#4d4037;font-size:15px;font-weight:500;text-align:center;vertical-align:middle;}
#contents .board-wrap .list.notice tbody td{height:58px;padding:14px 8px;border:0;border-bottom:1px solid #e8e3df;background:#fff;color:#777;text-align:center;vertical-align:middle;line-height:1.5;}
#contents .board-wrap .list.notice tbody td.l{text-align:left;padding-left:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#contents .board-wrap .list.notice tbody td.l a{display:block;color:#444;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#contents .board-wrap .list.notice tbody td.l a:hover{color:#a87445;}
#contents .board-wrap .list.notice tbody tr.notice td{background:#fcfaf8;}
#contents .board-wrap .list.notice tbody tr.notice td:first-child span{display:inline-block;min-width:46px;padding:4px 7px;border-radius:2px;background:#b8895c;color:#fff;font-size:12px;line-height:18px;}
#contents .board-wrap .list.notice tbody td img{max-width:22px;height:auto;vertical-align:middle;}
#contents .board-wrap .bw-btn{display:inline-block;min-width:90px;padding:11px 20px;border:1px solid #b8895c;background:#b8895c;color:#fff!important;font-size:14px;text-align:center;text-decoration:none;line-height:1.2;}
#contents .board-wrap .bw-btn:hover{background:#9f7047;border-color:#9f7047;}
#contents .paging-wrap{position:relative;min-height:48px;margin:32px 0 0;text-align:center;}
#contents .paging-wrap>ul{display:inline-block;margin:0;padding:0;vertical-align:top;}
#contents .paging-wrap>ul:after{content:"";display:block;clear:both;}
#contents .paging-wrap>ul>li{float:left;list-style:none;margin:0 3px;padding:0;}
#contents .paging-wrap>ul>li>a{display:block;width:38px;height:38px;border:1px solid #ddd;background:#fff;color:#777;font-size:13px;line-height:36px;text-align:center;text-decoration:none;}
#contents .paging-wrap>ul>li>a:hover,#contents .paging-wrap>ul>li>a.active{border-color:#b8895c;background:#b8895c;color:#fff;}
#contents .paging-wrap>a.ctrl{display:inline-block;width:38px;height:38px;margin:0 3px;border:1px solid #ddd;background:#fff;vertical-align:top;position:relative;}
#contents .paging-wrap>a.prev:after,#contents .paging-wrap>a.next:after{content:"";position:absolute;top:13px;width:9px;height:9px;border-top:1px solid #777;border-right:1px solid #777;}
#contents .paging-wrap>a.prev:after{left:15px;transform:rotate(-135deg);}
#contents .paging-wrap>a.next:after{left:12px;transform:rotate(45deg);}
#contents .paging-wrap .board-filter{display:flex;justify-content:center;align-items:center;margin:28px auto 0;font-size:0;}
#contents .paging-wrap .board-filter p{float:none!important;margin:0;padding:0;}
#contents .paging-wrap .board-filter select{width:105px;height:44px;margin:0;border:1px solid #ddd;background:#fff;padding:0 34px 0 13px;color:#666;font-size:14px;vertical-align:middle;}
#contents .paging-wrap .board-filter .chk-input{display:flex;}
#contents .paging-wrap .board-filter input[type=text]{width:270px;height:44px;margin:0 0 0 -1px;padding:0 14px;border:1px solid #ddd;background:#fff;color:#555;font-size:14px;outline:none;}
#contents .paging-wrap .board-filter .search-btn{position:relative;width:48px;height:44px;margin-left:-1px;border:1px solid #b8895c;background:#b8895c;cursor:pointer;vertical-align:middle;}
#contents .paging-wrap .board-filter .search-btn:before{content:"";position:absolute;left:15px;top:11px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;}
#contents .paging-wrap .board-filter .search-btn:after{content:"";position:absolute;left:28px;top:25px;width:8px;height:2px;background:#fff;transform:rotate(45deg);transform-origin:left center;}
#contents .board-wrap .board_table01_view,#contents .board-wrap .board_table01_write{width:100%;border-collapse:collapse;border-top:2px solid #b8895c;border-bottom:1px solid #ddd;}
#contents .board-wrap .board_table01_view th,#contents .board-wrap .board_table01_write th{padding:15px 12px;border-bottom:1px solid #e5dfda;background:#fbf8f5;color:#4d4037;font-weight:500;text-align:center;}
#contents .board-wrap .board_table01_view td,#contents .board-wrap .board_table01_write td{padding:15px;border-bottom:1px solid #e8e3df;color:#666;}
#contents .board-wrap input[type=text],#contents .board-wrap input[type=password],#contents .board-wrap textarea{border:1px solid #ddd;padding:9px 10px;font-family:inherit;}
#contents .board-wrap textarea{max-width:100%;}
#contents .board_btn{text-align:center;margin:20px 0 0;padding:15px 0 0;}
#contents .board_btn .btns{border-radius:0;background:#b8895c;border-color:#b8895c;font-weight:400;}
#contents .board_btn .btn_st02{background:#fff;color:#555;border-color:#bbb;}
@media all and (max-width:900px){
 #contents .board-wrap{padding:0 15px;margin-bottom:55px;}
 #contents .board-wrap .list.notice table colgroup{display:none;}
 #contents .board-wrap .list.notice thead th:nth-child(3),#contents .board-wrap .list.notice tbody td:nth-child(3),#contents .board-wrap .list.notice thead th:nth-child(4),#contents .board-wrap .list.notice tbody td:nth-child(4){display:none;}
 #contents .board-wrap .list.notice thead th:first-child,#contents .board-wrap .list.notice tbody td:first-child{width:65px;}
 #contents .board-wrap .list.notice thead th:last-child,#contents .board-wrap .list.notice tbody td:last-child{width:65px;}
 #contents .board-wrap .list.notice tbody td.l{padding-left:12px;}
}
@media all and (max-width:640px){
 #contents .board-wrap{font-size:13px;padding:0 10px;}
 #contents .board-wrap .list.notice thead th,#contents .board-wrap .list.notice tbody td{height:50px;padding:10px 4px;font-size:13px;}
 #contents .paging-wrap .board-filter{width:100%;}
 #contents .paging-wrap .board-filter .chk-select{width:30%;}
 #contents .paging-wrap .board-filter select{width:100%;}
 #contents .paging-wrap .board-filter .chk-input{width:70%;}
 #contents .paging-wrap .board-filter input[type=text]{width:calc(100% - 48px);}
}

/* =========================================================
   ROMAPRIDE QNA WRITE FORM
   ========================================================= */
#contents .board-wrap.write{max-width:1400px;margin:0 auto 80px;padding:0;border-top:2px solid #b8895c;background:#fff;}
#contents .board-wrap.write>.write{width:100%;}
#contents .board-wrap.write .nec-ex1{margin:0;padding:18px 20px 6px;color:#8a6a4d;font-size:14px;line-height:1.6;text-align:left;}
#contents .board-wrap.write .nec-ex{margin:0;padding:0 20px 18px;border-bottom:1px solid #e7dfd8;color:#999;font-size:13px;text-align:right;}
#contents .board-wrap.write .nec-ex:before{content:"* ";color:#b8895c;}
#contents .board-wrap.write ul{margin:0;padding:0;list-style:none;}
#contents .board-wrap.write ul>li{display:flex;align-items:center;min-height:66px;margin:0;padding:0;border-bottom:1px solid #e8e3df;list-style:none;}
#contents .board-wrap.write ul>li>.btxt{flex:0 0 155px;align-self:stretch;display:flex;align-items:center;justify-content:center;margin:0;padding:14px 12px;background:#fbf8f5;color:#4d4037;font-size:14px;font-weight:500;text-align:center;}
#contents .board-wrap.write ul>li>.btxt.nec span:after{content:" *";color:#b8895c;}
#contents .board-wrap.write ul>li>p:not(.btxt),
#contents .board-wrap.write ul>li>div:not(.file-info){flex:1;margin:0;padding:11px 16px;}
#contents .board-wrap.write .chk-input{display:block;}
#contents .board-wrap.write .chk-input.w50p{width:auto;}
#contents .board-wrap.write input[type=text],
#contents .board-wrap.write input[type=password]{width:100%;max-width:520px;height:44px;padding:0 13px;border:1px solid #ddd;background:#fff;color:#555;font-size:14px;line-height:42px;outline:none;}
#contents .board-wrap.write input[type=text]:focus,
#contents .board-wrap.write input[type=password]:focus{border-color:#b8895c;}
#contents .board-wrap.write input[type=checkbox]{width:16px;height:16px;margin:0 6px 0 0;vertical-align:-3px;accent-color:#b8895c;}
#contents .board-wrap.write input[type=checkbox]+label{margin-right:22px;color:#555;font-size:14px;}
#contents .board-wrap.write textarea#ir1{width:100%!important;}
#contents .board-wrap.write ul>li:has(#ir1){display:block;padding:18px 0;}
#contents .board-wrap.write iframe{display:block;max-width:100%;margin:0 auto;border:1px solid #ddd!important;}
#contents .board-wrap.write .file-info{position:relative;display:flex;flex:1;align-items:center;min-width:0;margin:0;padding:11px 16px;}
#contents .board-wrap.write .file-info input[type=file]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);opacity:0;}
#contents .board-wrap.write .file-info .chk-input{flex:1;margin:0;padding:0;}
#contents .board-wrap.write .file-info .chk-input input{width:100%;max-width:none;height:44px;background:#fff;cursor:pointer;}
#contents .board-wrap.write .file-info label{display:inline-flex;align-items:center;justify-content:center;height:44px;margin-left:8px;padding:0 20px;border:1px solid #b8895c;background:#b8895c;color:#fff;font-size:14px;cursor:pointer;white-space:nowrap;}
#contents .board-wrap.write .file-info .file-delete{display:inline-flex;align-items:center;justify-content:center;height:44px;margin-left:6px;padding:0 15px;border:1px solid #bbb;background:#fff;color:#666;font-size:13px;text-decoration:none;white-space:nowrap;}
#contents .board-wrap.write .lower{display:flex;justify-content:center;gap:8px;margin:28px 0 0;padding:0;text-align:center;}
#contents .board-wrap.write .lower .bb-btn,
#contents .board-wrap.write .lower .bw-btn{display:inline-flex;align-items:center;justify-content:center;min-width:110px;height:46px;margin:0;padding:0 24px;border-radius:0;font-family:inherit;font-size:14px;font-weight:400;line-height:44px;text-align:center;text-decoration:none;}
#contents .board-wrap.write .lower .bb-btn{border:1px solid #b8895c;background:#b8895c;color:#fff;}
#contents .board-wrap.write .lower .bb-btn:hover{border-color:#9f7047;background:#9f7047;}
#contents .board-wrap.write .lower .bw-btn{border:1px solid #aaa;background:#fff;color:#555!important;}
#contents .board-wrap.write .lower .bw-btn:hover{border-color:#777;color:#333!important;}
@media all and (max-width:700px){
 #contents .board-wrap.write{padding:0;margin-bottom:55px;}
 #contents .board-wrap.write .nec-ex1{padding:14px 12px 4px;font-size:12px;}
 #contents .board-wrap.write .nec-ex{padding:0 12px 14px;font-size:12px;}
 #contents .board-wrap.write ul>li{display:block;min-height:0;}
 #contents .board-wrap.write ul>li>.btxt{display:block;width:100%;padding:11px 12px;text-align:left;}
 #contents .board-wrap.write ul>li>p:not(.btxt),#contents .board-wrap.write ul>li>div:not(.file-info){width:100%;padding:10px 12px;}
 #contents .board-wrap.write input[type=text],#contents .board-wrap.write input[type=password]{max-width:none;}
 #contents .board-wrap.write .file-info{padding:10px 12px;flex-wrap:wrap;}
 #contents .board-wrap.write .file-info .chk-input{flex:1 1 calc(100% - 105px);}
 #contents .board-wrap.write .file-info label{margin-left:6px;padding:0 13px;}
 #contents .board-wrap.write .file-info .file-delete{display:none;}
 #contents .board-wrap.write ul>li:has(#ir1){padding:12px 0;}
 #contents .board-wrap.write .lower{margin-top:20px;}
}


/* QNA checkbox click/visibility fix */
#contents .board-wrap.write input.qna-check[type="checkbox"]{
  -webkit-appearance:checkbox !important;
  appearance:auto !important;
  position:static !important;
  display:inline-block !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  margin:0 7px 0 0 !important;
  padding:0 !important;
  border:0 !important;
  vertical-align:-4px !important;
  cursor:pointer !important;
  z-index:2 !important;
}
#contents .board-wrap.write input.qna-check[type="checkbox"] + label{
  display:inline-block !important;
  position:relative !important;
  z-index:2 !important;
  margin:0 22px 0 0 !important;
  padding:0 !important;
  cursor:pointer !important;
  user-select:none;
}

/* =========================================================
   ROMAPRIDE QNA VIEW - detail
   ========================================================= */
#contents .board-wrap.detail{
    width:100%;
    max-width:1400px;
    margin:0 auto 80px;
    padding:0;
    background:#fff;
    color:#555;
}
#contents .board-wrap.detail>.detail{
    width:100%;
    border-top:2px solid #b8895c;
}
#contents .board-wrap.detail .tits{
    padding:22px 24px;
    border-bottom:1px solid #d8c8b8;
    background:#fbf8f5;
}
#contents .board-wrap.detail .tits h4,
#contents .board-wrap.detail .tits .tit{
    margin:0 0 12px;
    color:#3f352e;
    font-size:20px;
    font-weight:500;
    line-height:1.5;
}
#contents .board-wrap.detail .tits p,
#contents .board-wrap.detail .tits .info{
    margin:0;
    color:#888;
    font-size:13px;
    line-height:1.7;
}
#contents .board-wrap.detail .tits span{
    display:inline-block;
    margin-right:20px;
}
#contents .board-wrap.detail .cons{
    min-height:280px;
    padding:38px 25px 45px;
    border-bottom:1px solid #e8e3df;
    color:#555;
    font-size:15px;
    line-height:1.8;
    word-break:break-word;
}
#contents .board-wrap.detail .cons img{
    max-width:100% !important;
    height:auto !important;
}
#contents .board-wrap.detail .files{
    border-bottom:1px solid #e8e3df;
}
#contents .board-wrap.detail .files p,
#contents .board-wrap.detail .files>div{
    position:relative;
    min-height:52px;
    margin:0;
    padding:15px 20px 15px 115px;
    color:#777;
    line-height:22px;
}
#contents .board-wrap.detail .files p:before,
#contents .board-wrap.detail .files>div:before{
    content:"첨부파일";
    position:absolute;
    left:0;
    top:0;
    width:95px;
    height:100%;
    padding:15px 10px;
    background:#fbf8f5;
    color:#4d4037;
    text-align:center;
    box-sizing:border-box;
}
#contents .board-wrap.detail .files a{
    color:#666;
    text-decoration:none;
}
#contents .board-wrap.detail .files a:hover{
    color:#a87445;
    text-decoration:underline;
}
#contents .board-wrap.detail .others{
    margin-top:25px;
    border-top:1px solid #ddd;
}
#contents .board-wrap.detail .others p,
#contents .board-wrap.detail .others>div{
    position:relative;
    min-height:54px;
    margin:0;
    padding:16px 20px 16px 115px;
    border-bottom:1px solid #e8e3df;
    color:#777;
    line-height:22px;
}
#contents .board-wrap.detail .others p:before,
#contents .board-wrap.detail .others>div:before{
    position:absolute;
    left:0;
    top:0;
    width:95px;
    height:100%;
    padding:16px 10px;
    background:#fbf8f5;
    color:#4d4037;
    text-align:center;
    box-sizing:border-box;
}
#contents .board-wrap.detail .others .prev:before{content:"이전글";}
#contents .board-wrap.detail .others .next:before{content:"다음글";}
#contents .board-wrap.detail .others a{
    display:block;
    overflow:hidden;
    color:#555;
    text-decoration:none;
    text-overflow:ellipsis;
    white-space:nowrap;
}
#contents .board-wrap.detail .others a:hover{color:#a87445;}

#contents .board-wrap.detail .lower,
#contents .board-wrap.detail .board_btn{
    display:flex;
    justify-content:center;
    gap:8px;
    margin:28px 0 0;
    padding:0;
    text-align:center;
}
#contents .board-wrap.detail .lower a,
#contents .board-wrap.detail .lower input,
#contents .board-wrap.detail .board_btn .btns{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:100px;
    height:44px;
    margin:0;
    padding:0 20px;
    border:1px solid #aaa;
    border-radius:0;
    background:#fff;
    color:#555 !important;
    font-family:inherit;
    font-size:14px;
    font-weight:400;
    line-height:42px;
    text-decoration:none;
    cursor:pointer;
}
#contents .board-wrap.detail .lower .bb-btn,
#contents .board-wrap.detail .board_btn .btns:not(.btn_st02){
    border-color:#b8895c;
    background:#b8895c;
    color:#fff !important;
}
#contents .board-wrap.detail .lower .bb-btn:hover,
#contents .board-wrap.detail .board_btn .btns:not(.btn_st02):hover{
    border-color:#9f7047;
    background:#9f7047;
}

@media all and (max-width:700px){
    #contents .board-wrap.detail{
        padding:0 10px;
        margin-bottom:55px;
    }
    #contents .board-wrap.detail .tits{padding:17px 14px;}
    #contents .board-wrap.detail .tits h4,
    #contents .board-wrap.detail .tits .tit{
        margin-bottom:8px;
        font-size:17px;
    }
    #contents .board-wrap.detail .tits span{
        margin-right:10px;
        font-size:12px;
    }
    #contents .board-wrap.detail .cons{
        min-height:200px;
        padding:25px 14px 32px;
        font-size:14px;
    }
    #contents .board-wrap.detail .files p,
    #contents .board-wrap.detail .files>div,
    #contents .board-wrap.detail .others p,
    #contents .board-wrap.detail .others>div{
        padding-left:92px;
    }
    #contents .board-wrap.detail .files p:before,
    #contents .board-wrap.detail .files>div:before,
    #contents .board-wrap.detail .others p:before,
    #contents .board-wrap.detail .others>div:before{
        width:78px;
    }
    #contents .board-wrap.detail .lower,
    #contents .board-wrap.detail .board_btn{
        flex-wrap:wrap;
        margin-top:20px;
    }
    #contents .board-wrap.detail .lower a,
    #contents .board-wrap.detail .lower input,
    #contents .board-wrap.detail .board_btn .btns{
        min-width:82px;
        height:42px;
        padding:0 14px;
        font-size:13px;
    }
}

/* =========================================================
   ROMAPRIDE QNA VIEW - actual view.php structure correction
   ========================================================= */
#contents .board-wrap.detail .tits h3{
    margin:0 0 12px;
    color:#3f352e;
    font-size:20px;
    font-weight:500;
    line-height:1.5;
}
#contents .board-wrap.detail .tits ul{
    display:flex;
    flex-wrap:wrap;
    gap:0 22px;
    margin:0;
    padding:0;
    list-style:none;
}
#contents .board-wrap.detail .tits ul li{
    margin:0;
    padding:0;
    color:#888;
    font-size:13px;
    line-height:1.7;
    list-style:none;
}

/* attachments: actual markup is ul > li */
#contents .board-wrap.detail .files{
    border-bottom:1px solid #e8e3df;
}
#contents .board-wrap.detail .files ul{
    margin:0;
    padding:0;
    list-style:none;
}
#contents .board-wrap.detail .files ul:empty{display:none;}
#contents .board-wrap.detail .files li{
    position:relative;
    min-height:52px;
    margin:0;
    padding:15px 20px 15px 115px;
    border-bottom:1px solid #e8e3df;
    color:#777;
    line-height:22px;
    list-style:none;
}
#contents .board-wrap.detail .files li:last-child{border-bottom:0;}
#contents .board-wrap.detail .files li:before{
    content:"첨부파일";
    position:absolute;
    left:0;
    top:0;
    width:95px;
    height:100%;
    padding:15px 10px;
    background:#fbf8f5;
    color:#4d4037;
    text-align:center;
    box-sizing:border-box;
}

/* next / previous: actual markup is ul > li > p.btxt + a */
#contents .board-wrap.detail .others{
    margin-top:25px;
    border-top:1px solid #ddd;
}
#contents .board-wrap.detail .others ul{
    margin:0;
    padding:0;
    list-style:none;
}
#contents .board-wrap.detail .others li{
    display:flex;
    align-items:stretch;
    min-height:54px;
    margin:0;
    padding:0;
    border-bottom:1px solid #e8e3df;
    list-style:none;
}
#contents .board-wrap.detail .others li .btxt{
    display:flex;
    flex:0 0 105px;
    align-items:center;
    justify-content:center;
    margin:0;
    padding:14px 10px;
    background:#fbf8f5;
    color:#4d4037;
    font-size:14px;
    line-height:1.5;
    text-align:center;
}
#contents .board-wrap.detail .others li>a{
    display:flex;
    flex:1;
    min-width:0;
    align-items:center;
    margin:0;
    padding:14px 18px;
    overflow:hidden;
    color:#555;
    line-height:1.5;
    text-decoration:none;
    text-overflow:ellipsis;
    white-space:nowrap;
}
#contents .board-wrap.detail .others li>a:hover{color:#a87445;}

/* buttons: actual markup is outside .detail */
#contents .board-wrap.detail + .view-buttons,
#contents .view-buttons{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:8px;
    max-width:1400px;
    margin:0 auto 80px;
    padding:0;
    text-align:right;
}
#contents .view-buttons form{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:8px;
    width:100%;
    margin:0;
    padding:0;
}
#contents .view-buttons .bw-btn,
#contents .view-buttons .bb-btn,
#contents .view-buttons input.bw-btn{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:auto !important;
    min-width:92px !important;
    height:44px !important;
    margin:0 !important;
    padding:0 20px !important;
    border-radius:0 !important;
    box-sizing:border-box !important;
    font-family:inherit !important;
    font-size:14px !important;
    font-weight:400 !important;
    line-height:42px !important;
    text-align:center !important;
    text-decoration:none !important;
    cursor:pointer;
}
#contents .view-buttons .bw-btn,
#contents .view-buttons input.bw-btn{
    border:1px solid #aaa !important;
    background:#fff !important;
    color:#555 !important;
}
#contents .view-buttons .bb-btn{
    border:1px solid #b8895c !important;
    background:#b8895c !important;
    color:#fff !important;
}
#contents .view-buttons .bw-btn:hover,
#contents .view-buttons input.bw-btn:hover{
    border-color:#777 !important;
    color:#333 !important;
}
#contents .view-buttons .bb-btn:hover{
    border-color:#9f7047 !important;
    background:#9f7047 !important;
}

@media all and (max-width:700px){
    #contents .board-wrap.detail .tits h3{font-size:17px;}
    #contents .board-wrap.detail .tits ul{gap:2px 12px;}
    #contents .board-wrap.detail .files li{padding-left:92px;}
    #contents .board-wrap.detail .files li:before{width:78px;}
    #contents .board-wrap.detail .others li .btxt{flex-basis:78px;font-size:13px;}
    #contents .board-wrap.detail .others li>a{padding:12px;font-size:13px;}
    #contents .view-buttons{
        flex-wrap:wrap;
        gap:6px;
        margin:0 10px 55px;
    }
    #contents .view-buttons form{flex-wrap:wrap;}
    #contents .view-buttons .bw-btn,
    #contents .view-buttons .bb-btn,
    #contents .view-buttons input.bw-btn{
        min-width:78px !important;
        height:42px !important;
        padding:0 14px !important;
        font-size:13px !important;
    }
}

/* QNA VIEW: 이전글 영역과 하단 버튼 사이 간격 */
#contents .view-buttons{
    margin-top:32px !important;
}

/* 모바일에서는 간격을 조금 줄임 */
@media all and (max-width:700px){
    #contents .view-buttons{
        margin-top:24px !important;
    }
}



/* =========================================================
   예약/입금 게시판 PC 목록 폭 보정
   부모 .reserve-wrap 폭과 관계없이 목록을 1400px로 표시
   ========================================================= */
@media all and (min-width:1441px){
    #contents .board-wrap.list{
        position:relative !important;
        left:50% !important;
        transform:translateX(-50%) !important;
        -webkit-transform:translateX(-50%) !important;
        width:1400px !important;
        max-width:none !important;
        margin-left:0 !important;
        margin-right:0 !important;
    }
    #contents .board-wrap.list .list.notice,
    #contents .board-wrap.list .list.notice table{
        width:100% !important;
        max-width:none !important;
    }
}
