/*** 기존작업자 : 박지영 ***/

/* 캡챠 자동등록(입력)방지 기본 -pc */
#captcha {display:inline-block;position:relative; border: 0; padding-left: 0; padding-right: 0;}
#captcha legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden;}
#captcha #captcha_img {width:160px;height:60px;border:1px solid #e9e9e9;vertical-align:top;padding:0;margin:0}
#captcha #captcha_mp3 {position:absolute;top:0;left:161px;;margin:0;padding:0;width:31px;height:31px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer}
#captcha #captcha_mp3 span {position:absolute;top:0;left:0;width:31px;height:31px;background:url('../img/captcha.png') no-repeat;}
#captcha #captcha_reload {position:absolute;top:31px;left:161px;margin:0;padding:0;width:31px;height:31px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../img/captcha.png') no-repeat  0 -30px;border-top:1px solid #ccc;text-indent:-999px}
#captcha #captcha_key {margin:0 0 0 33px;padding:0 5px;width:70px;height:60px;border:1px solid #b8c9c2;background:#f7f7f7;font-size:1.333em;font-weight:bold;text-align:center;line-height:2.8em;vertical-align:top}
#captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em}

/* 캡챠 자동등록(입력)방지 기본 - mobile */
#captcha.m_captcha audio {display:block;margin:0 0 5px;width:187px}
#captcha.m_captcha #captcha_img {width:160px;height:60px;border:1px solid #e9e9e9;margin-bottom:3px;margin-top:5px;display:block;}
#captcha.m_captcha #captcha_reload {position:static;margin:0;padding:0;width:31px;height:31px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha.png') no-repeat  0 -30px;text-indent:-999px}
#captcha.m_captcha #captcha_reload span{display:none;}
#captcha.m_captcha #captcha_key {margin:0;padding:0 5px;width:115px;height:29px;border:1px solid #b8c9c2;background:#f7f7f7;font-size:1.333em;font-weight:bold;text-align:center;line-height:29px;margin-left:3px}
#captcha.m_captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em}
#captcha.m_captcha #captcha_mp3 {width:31px;height:31px;background:url('../img/captcha.png') no-repeat; vertical-align:top;overflow:hidden;cursor:pointer;text-indent:-9999px;border:none}


/*** 버튼 색상및 디자인 모음 ***/
.btn_bo_adm input {
	height: 50px;
	/*line-height: 50px;*/
	width: 165px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	font-size: 16px;
	color: #083583;
	background: none;
	box-shadow: none !important;
}
@media (max-width: 768px){
	.btn_bo_adm input{
		width: 100% !important;
		margin-left: 0 !important;
	}
}
	
.new_win .win_btn button,
a.btn_b01, 
a.btn_b02, 
a.btn_admin, 
a.btn_cancel,
.btn_bo_adm input, 
.btn_submit {
	height: 50px;
	width: 165px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	font-size: 16px;
	color: #083583;
	background: none;
	box-shadow: none;
	transition: all .2s ease;
	border: 1px solid #d1d1d1;
	margin: 0;
	margin-left: 5px;
}

a.btn_b01:hover, 
a.btn_b02:hover, 
a.btn_admin:hover, 
a.btn_cancel:hover,
.btn_bo_adm input:hover, 
.btn_submit:hover {
	background:#333!important; 
	border:1px solid #000!important; 
	color:#fff!important;
	}/*버튼전체hover*/


/* 버튼 */
a.btn01 {display:inline-block;padding:7px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;vertical-align:middle}
a.btn01:focus, a.btn01:hover {text-decoration:none}
button.btn01 {display:inline-block;margin:0;padding:7px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none}
a.btn02 {display:inline-block;padding:7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none;vertical-align:middle}
a.btn02:focus, .btn02:hover {text-decoration:none}
button.btn02 {display:inline-block;margin:0;padding:7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none}

.btn_confirm {
	display: flex;
	justify-content: center;
	text-align:center; font-size:1.2em;
} /* 서식단계 진행 */
.btn_submit {

}

/* 검색 */
#bo_sch{ margin: 0 0 10px !important; border: 0;}
#bo_sch .sch_bar{
	position: relative;
	display: inline-block;
}
.frm_input.sch_input{
	width:300px; height:50px;
	padding: 0 36px 0 10px;
	border-radius: 0 !important;
	text-align: left;
	margin: 0;
	background: #fff !important;
	box-sizing: border-box;
}
fieldset .btn_submit, .btn_submit02 {/* 검색아이콘 */
	width: 16px;
	height: 17px;
	background: none;
	border: 0;
	margin-right: 10px;
	position: relative;
	right: 3px;
	top: 18px;
	font-size: 0;
	color: #fff;
	background: url(../img/board/search.svg) no-repeat;
}

a.btn_cancel {

}
button.btn_cancel {display:inline-block;padding:10px 20px;border:1px solid #ccc;background:#fafafa;color:#000;vertical-align:top;text-decoration:none}

a.btn_frmline, button.btn_frmline {display:inline-block;padding:0 5px;height:32px;border:0;background:#333;color:#fff;letter-spacing:-0.1em;text-decoration:none;vertical-align:top} /* 우편번호검색버튼 등 */
a.btn_frmline {line-height:24px}
button.btn_frmline {font-size:1em}

/* 게시판용 버튼 */
a.btn_b01:focus, .btn_b01:hover {text-decoration:none}
a.btn_b01, a.btn_b02 {
	height: 50px;
	/*line-height: 50px;*/
	width: 165px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	font-size: 16px;
	color: #083583;
	background: none;
	box-shadow: none;
}
@media (max-width:768px){
	#bo_v_bot ul{
		width: 100%;
	}
	.bo_v_com li{
		width: 100%;
		margin: 0;
		margin-bottom: 6px;
	}
	a.btn_b01, a.btn_b02 {
		width: 100% !important;
	}
}
a.btn_b02:focus, .btn_b02:hover {text-decoration:none}
a.btn_admin {
	/*display:inline-block;padding:7px;border:1px solid #333;background:#333;color:#fff;text-decoration:none;vertical-align:middle*/

	display: inline-block;
	padding: 7px;
	border: 1px solid #333;
	background: #333;
	color: #fff;
	line-height: 37px;
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
} /* 관리자 전용 버튼 */
a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}

/* 댓글 스타일 */
.cnt_cmt {display:inline-block;margin:0 0 0 3px;font-weight:bold}

/* 분류 
#bo_cate h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_cate{width:100%; margin-bottom:30px;}
#bo_cate ul {padding-left:1px;zoom:1;border-bottom:1px solid #A6A6A6;}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {display:inline-block;margin-bottom:-1px}
#bo_cate a {display:inline-block;position:relative;margin-left:-1px;padding:15px 20px; width:auto;border:1px solid #ddd; border-bottom:1px solid #A6A6A6;
			background:#f7f7f7;color:#888;text-align:center;letter-spacing:-0.1em;line-height:1.2em; font-size:1.1em; cursor:pointer}
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none}
#bo_cate #bo_cate_on {z-index:2;border:1px solid #A6A6A6; border-bottom:1px solid #FFF; background:#fff;color:#565e60;font-weight:bold}*/

/* 20201222_분류 */
#bo_cate h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_cate{width:100%; margin-bottom:30px;}
#bo_cate ul {padding-left:1px;zoom:1;border-bottom:0px solid #A6A6A6;}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {display:inline-block;margin:0 5px 0 0}
#bo_cate a {display:inline-block;position:relative;margin-left:-1px;padding:15px 20px; width:auto;border:0px solid #ddd; border-bottom:0spx solid #A6A6A6;
			background:#e4e7eb;color:#555;text-align:center;letter-spacing:0;line-height:1.2em; font-size:.9em; cursor:pointer; border-radius: 5px !important}
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none}
#bo_cate #bo_cate_on {z-index:2;border:0px solid #A6A6A6; border-bottom:0px solid #FFF; background:#0032a0;color:#fff !important;font-weight:700}
.bo_cate_link{ 
	display: inline-block;
    margin: 5px 3px 8px 0 !important;
    padding: 5px 10px !important;
    border-right: 0px !important;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none;
    background:#0d3388;
	font-size: .8em !important;
}

/* 기본테이블 */
.tbl_wrap table {width:100%;border-collapse:collapse;border-spacing:0}
.tbl_wrap caption {padding:10px 0;font-weight:bold;text-align:left; font-size:1.2em;}

.tbl_head01 {margin:0 0 10px}
.tbl_head01 caption {padding:0;font-size:0;line-height:0;overflow:hidden}
.tbl_head01 thead th {
	padding: 20px 0;
	font-weight: 500;
	text-align: center;
	height: 60px;
	font-size: 1.05em;
	font-weight: 600;
	letter-spacing: 0 !important;
}
.tbl_head01 thead a {color:#383838}
.tbl_head01 thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head01 tfoot th, .tbl_head01 tfoot td {padding:10px 0;border-top:1px solid #c1d1d5;border-bottom:1px solid #c1d1d5;background:#d7e0e2;text-align:center}
.tbl_head01 tbody th {padding:8px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
.tbl_head01 td {
	padding: 20px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.5em;word-break:break-all
}
.tbl_head01 a {}

#bo_list .tbl_head01 a{text-decoration:none;}
#bo_list .tbl_head01 tbody tr:hover td{background:#F7F7F7;}
#bo_list .td_name{text-align:center!important;}
#bo_v header{}
#bo_v_title{
	padding: 10px 0;
	font-size: 1.8em;
	line-height: 1.3em;
	color: #333;
	font-weight: 500;
	letter-spacing: -.05em;
}
#bo_v_info{border-bottom:0;}

.tbl_head02 {margin:0 0 10px}
.tbl_head02 caption {padding:0;font-size:0;line-height:0;overflow:hidden}
.tbl_head02 thead th {padding:5px 0;border-top:1px solid #d1dee2;border-bottom:1px solid #d1dee2;background:#e5ecef;color:#383838;font-size:0.95em;text-align:center;letter-spacing:-0.1em}
.tbl_head02 thead a {color:#383838}
.tbl_head02 thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head02 tfoot th, .tbl_head02 tfoot td {padding:10px 0;border-top:1px solid #c1d1d5;border-bottom:1px solid #c1d1d5;background:#d7e0e2;text-align:center}
.tbl_head02 tbody th {padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
.tbl_head02 td {padding:5px 3px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.4em;word-break:break-all}
.tbl_head02 a {}


/* 검색 셀렉트박스 */ /* 게시판내에 js파일이 연결되어있어야 적용됨 */
.select-box{
	display:inline-block;position:relative;border:1px solid #e4eaec;vertical-align:middle;

	height: 52px !important;
}
.select-box select{position:absolute;left:-9999px;display:none;}
.select-box a{
	display:block;height:25px; line-height:25px;padding:0 10px;background:#FFF url(../img/board/select_box_ico.png) right center no-repeat;text-align:left !important;color:#333;font-size:1em;

	height: 50px !important;
	line-height: 50px !important;
}
.select-box a:visited, .select-box a:active, .select-box a:link, .select-box a:hover{text-decoration:none;}
.select-box a i.fa{vertical-align:middle;float:right;padding-top:7px;}
.select-box ul{
	position:absolute;left:-1px; top:50px !important;border:1px solid #ccc;display:none;background:#fff;max-height:240px; list-style:none;padding:0;margin:0;overflow:hidden;overflow-y:auto;z-index:999;
scrollbar-face-color: #eaeaea;scrollbar-track-color: #f7f7f7;scrollbar-3dlight-color: #e2e2e2;scrollbar-arrow-color: #8c8c8c;scrollbar-shadow-color: #eaeaea;scrollbar-highlight-color: #eaeaea;scrollbar-darkshadow-color: #e2e2e2;
}
.select-box ul a{display:block;line-height:25px;height:25px;background:none;}

.select-box.select-active a{color:#4B87C8; background:#FFF url(../img/board/select_box_ico_active.png) right center no-repeat;}
.select-box.select-active a i{color:#4B87C8}
.select-box.select-active ul a{
	color:#333;background:none;

	line-height: 36px !important;
	height: 36px !important;
}
.select-box.select-active ul a.hover{background: #1958c3;color:#fff;}
.select-box.select-active ul a.active{background:#083583;color:#fff;}

#bo_sch > form{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.select_box{
	display: inline-block;
	width: auto;
	margin-right: 6px;
}
#bo_sch select, select#ca_name{
	display: block;
	appearance: none;
	width: auto;
	height: 25px;
	line-height: 25px;
	padding: 0 10px;
	background: #FFF url(../img/board/select_box_ico.png) right center no-repeat !important;
	text-align: left !important;
	color: #333;
	font-size: 1em;
	height: 50px !important;
	line-height: 50px !important;
	outline: none;
	border: 1px solid #e4eaec;
}

/* 폼 테이블 */
.tbl_frm01 {margin:0 0 20px}
.tbl_frm01 table {width:100%;border-collapse:collapse;border-spacing:0}
.tbl_frm01 th {width:70px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#F7F7F7;text-align:left}
.tbl_frm01 td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
.tbl_frm01 textarea, .frm_input {border:1px solid #e4eaec;background:#f7f7f7;color:#000;vertical-align:middle;line-height:2em}
.tbl_frm01 textarea {padding:2px 2px 3px}
.frm_input {height:30px}
.tbl_frm01 textarea {width:98%;height:100px}
.tbl_frm01 a {text-decoration:none}
.tbl_frm01 .frm_file {display:block;margin-bottom:5px}
.tbl_frm01 .frm_info {display:block;padding:0 0 5px;line-height:1.4em}
#bo_w .tbl_frm01 textarea, #bo_w .tbl_frm01 .frm_input{width:50%;}

/* 필수입력 */
.required, textarea.required {background:url('../img/wrest.gif') #f7f7f7 top right no-repeat !important}

/* 테이블 항목별 정의 */
.td_board {width:120px;text-align:center}
.td_category {width:80px;text-align:center}
.td_chk {width:30px;text-align:center}
.td_date {width:60px;text-align:center}
.td_datetime {width:110px;text-align:center}
.td_group {width:100px;text-align:center}
.td_mb_id {width:100px;text-align:center}
.td_mng {width:80px;text-align:center}
.td_name {width:100px;text-align:left}
.td_nick {width:100px;text-align:center}
.td_num {width:50px;text-align:center}
.td_numbig {width:80px;text-align:center}
.td_stat {width:60px;text-align:center}

.txt_active {color:#5d910b}
.txt_done {color:#e8180c}
.txt_expired {color:#ccc}
.txt_rdy {color:#8abc2a}

/* 새창 기본 스타일 */
.new_win {}
.new_win .tbl_wrap {margin:0 20px}
.new_win #win_title {margin:0 0 20px;padding:20px;border-top:3px solid #333;border-bottom:1px solid #dde4e9;background:#fff;font-size:1.2em}
.new_win #win_title .sv {font-size:0.75em;line-height:1.2em}
.new_win .win_ul {margin:-20px 0 20px 0;padding:0 20px;border-bottom:1px solid #455255;background:#484848;list-style:none;zoom:1}
.new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_ul li {float:left;margin-left:-1px}
.new_win .win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-weight:bold;text-decoration:none}
.new_win .win_desc {padding:20px}

.new_win .win_btn {clear:both;padding:20px;text-align:center} /* 새창용 */
.new_win .win_btn button {background:#fff; color:#333; padding:5px 15px; height:auto; line-height:2em;}
.new_win .win_btn input { padding:5px 15px; height:auto; line-height:2em; border-radius:3px; }
.new_win .win_btn a {display:inline-block;padding:0 10px;height:30px;background:#4b545e;color:#fff;vertical-align:middle;line-height:2.4em}
.new_win .win_btn a:focus, .new_win .win_btn a:hover {text-decoration:none}

/* 검색결과 색상 */
.sch_word {color:#ff3061}

/* 페이징 */
.pg_wrap {clear:both;margin:0 0 20px;padding:20px 0 0;text-align:center}
.pg {}
.pg_page, .pg_current {display:inline-block;padding:0 8px;height:auto;color:#000;letter-spacing:0;line-height:2.2em;vertical-align:middle}
.pg a:focus, .pg a:hover {text-decoration:none}
.pg_page {text-decoration:none;background:#fff; border:1px solid #E3E3E3;}
.pg_start, .pg_prev {/* 이전 */text-indent:-9999px; width:10px; background:url(../img/board/icon_first.gif) no-repeat 50%/80% auto}
.pg_end, .pg_next {/* 다음 */text-indent:-9999px; width:10px; background:url(../img/board/icon_last.gif) no-repeat 50%/80% auto}
.pg_current {display:inline-block;margin:0;background:#333; border:1px solid #000; color:#fff;font-weight:normal}

@media screen and (max-width:768px){
	#bo_gall .gall_text_href .bo_cate_link{ display: inline-block}
/* 분류 
#bo_cate ul{border-bottom:0;}
#bo_cate li {width:calc(25% - 1px); margin-left:1px; margin-bottom:1px; box-sizing:border-box;}
#bo_cate a {padding:5px 10px; box-sizing:border-box; width:100%;border:1px solid #ddd; white-space: nowrap;overflow: hidden; text-overflow: ellipsis; vertical-align:middle;}
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none}
#bo_cate #bo_cate_on {border-bottom:1px solid #A6A6A6;}*/

/* 분류 */
#bo_cate ul{border-bottom:0; white-space:nowrap; overflow-x: scroll; width: 100%; display: block;}
#bo_cate li { margin-left:1px; margin-bottom:1px; box-sizing:border-box; float:none}
#bo_cate a {padding:8px 10px; box-sizing:border-box; width:100%;border:0px solid #ddd; white-space: nowrap;/*overflow: hidden; text-overflow: ellipsis;*/ vertical-align:middle; font-size:.85em}
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none}
#bo_cate #bo_cate_on {border-bottom:1px solid #A6A6A6;}
	
	
/* 쓰기 */
.cke_sc{display: none;}
#bo_w .tbl_frm01 th{padding:5px; background:#fff; border-right:0;}
.tbl_frm01 th{width:20%;}
.tbl_frm01 td{width:80%;}
#bo_w .tbl_frm01 textarea, #bo_w .tbl_frm01 .frm_input{width:100%;}

/* 읽기 */

#bo_v_bot .bo_v_nb{display:none;}
#bo_v_top .bo_v_com{display:none;}

	/* 검색 */
	.select-box{
		width: 100% !important;
		margin-bottom: 6px;
	}
	#bo_sch .sch_bar,
	.frm_input.sch_input,
	#bo_sch select, select#ca_name{
		width: 100% !important;
	}
	.select_box{
		margin-right: 0;
		width: 100% !important;
		margin-bottom: 6px;
	}

}

/* ═══════════════════════════════════════════════════════════
   부산보일러백화점 리뉴얼 — 게시판 공통 디자인 (목록 · 읽기 · 쓰기)
   제품게시판(boiler 스킨)과 같은 톤으로 맞춥니다.
   색상은 theme.css 의 :root 변수를 그대로 씁니다.
   로드 순서가 스킨 style.css → theme.css → sub.css → board.css 이므로
   이 블록이 마지막에 적용됩니다.
   ═══════════════════════════════════════════════════════════ */

/* ── 쓰기 폼 (.pb-form) ─────────────────────────────── */
/* 스마트에디터2 가 에디터 위에 출력하는 「단축키 일람」 도움말 버튼.
   위쪽 .cke_sc 규칙은 @media (max-width:768px) 안에 있어 PC 에서는 보였습니다.
   에디터 동작과 무관한 도움말 UI라 전 해상도에서 숨깁니다. */
.cke_sc{display:none}
.pb-row input[type=password],
.pb-row input[type=email]{width:100%;box-sizing:border-box;
  border:1px solid var(--ht-line);border-radius:6px;padding:12px 14px;
  font:inherit;font-size:15px;color:var(--ht-ink);background:#fff}
.pb-row input[type=file]{width:100%;box-sizing:border-box;
  border:1px dashed var(--ht-line);border-radius:6px;padding:10px 12px;
  font:inherit;font-size:14px;color:var(--ht-ink-2);background:#fff;cursor:pointer}
.pb-row input[type=file]:hover{border-color:var(--ht-gold)}
.pb-row input[type=file]+input[type=text]{margin-top:8px}
.pb-hint label{display:inline-flex;align-items:center;gap:6px;margin-left:8px;cursor:pointer}
.pb-row #btn_autosave{width:auto;height:36px;margin-top:8px;padding:0 14px;
  border:1px solid var(--ht-line);border-radius:6px;background:#fff;
  font:inherit;font-size:13.5px;color:var(--ht-mute);cursor:pointer}
.pb-row #btn_autosave:hover{border-color:var(--ht-gold);color:var(--ht-gold)}
/* 위쪽 .frm_input(height:30px) · .required(회색배경 + 별표이미지) 무력화
   — 필수 표시는 라벨의 <i>*</i> 가 대신합니다. */
.pb-row .frm_input{height:auto;line-height:normal}
.pb-row .required,
.pb-row textarea.required{background-image:none!important;background-color:#fff!important}
.pb-submit button,.pb-submit a{width:auto;height:auto;margin:0}

/* ── 목록 ───────────────────────────────────────────── */
/* 스킨 style.css 의 float 해제용 clearfix(:after)가 flex 항목으로 잡혀
   맨 끝에 빈 칸이 하나 더 생깁니다. 그래서 space-between 을 줘도 버튼이
   오른쪽 끝까지 가지 않고 가운데로 밀립니다. flex 컨테이너에서는 제거합니다. */
#bo_list .bo_fx:after,
#bo_gall .bo_fx:after,
#bo_gall #gall_ul:after,
#bo_v_top:after,
#bo_v_bot:after{content:none}

#bo_list .bo_fx,
#bo_gall .bo_fx{display:flex;flex-wrap:wrap;gap:10px;
  align-items:center;justify-content:space-between;margin:14px 0}
#bo_list_total{font-size:14.5px;color:var(--ht-mute)}
#bo_list_total span{font-weight:700;color:var(--ht-ink)}

#bo_list .tbl_head01{margin:0}
#bo_list .tbl_head01 table{border-top:1px solid var(--ht-line)}
#bo_list .tbl_head01 thead th{height:auto;padding:16px 10px;
  background:transparent;border-bottom:1px solid var(--ht-line);
  font-size:15px;font-weight:700;color:var(--ht-ink)}
#bo_list .tbl_head01 thead a{color:var(--ht-ink)}
#bo_list .tbl_head01 thead a:hover{color:var(--ht-gold)}
#bo_list .tbl_head01 td{padding:16px 10px;border-top:0;
  border-bottom:1px solid var(--ht-line);
  font-size:15px;color:var(--ht-mute)}
#bo_list .tbl_head01 tbody tr:hover td{background:#FAFCFE}
#bo_list .td_subject{text-align:left}
#bo_list .td_subject a{color:var(--ht-ink);font-size:15.5px;font-weight:600}
#bo_list .td_subject a:hover{color:var(--ht-gold);text-decoration:underline}
#bo_list .td_num{width:84px;white-space:nowrap}
#bo_list .td_num strong{display:inline-block;padding:4px 10px;border-radius:99px;
  background:var(--ht-gold);color:#fff;font-size:12.5px;font-weight:700;white-space:nowrap}
#bo_list .bo_current{display:inline-block;padding:4px 10px;border-radius:99px;
  background:var(--ht-panel);color:var(--ht-mute);font-size:12.5px;font-weight:700;white-space:nowrap}
#bo_list .bo_notice td{background:#F7FBFE}
#bo_list td.empty_table{padding:70px 10px;text-align:center;
  font-size:15.5px;color:var(--ht-mute-2)}
/* 분류 뱃지 — 위쪽 .bo_cate_link 규칙이 !important 라 같은 방식으로 덮습니다 */
#bo_list .bo_cate_link,
#bo_gall .bo_cate_link{display:inline-block;border-radius:99px;font-weight:700;
  background:var(--ht-gold);
  margin:0 7px 0 0!important;padding:4px 10px!important;
  color:#fff!important;font-size:12.5px!important}
#bo_list .bo_cate_link:hover,
#bo_gall .bo_cate_link:hover{background:var(--ht-gold-dark)}

/* ── 갤러리 목록 (#bo_gall) ──────────────────────────
   스킨 기본은 float + 인라인 width(px) 라 폭이 고정됩니다.
   그리드로 바꿔 화면 폭에 맞게 채워지도록 합니다. */
/* 전체선택 — 라벨이 sound_only 로 숨겨져 체크박스만 덩그러니 놓여 있어 라벨을 보입니다 */
#bo_gall #gall_allchk{display:flex;align-items:center;gap:8px;margin:0 0 12px}
#bo_gall #gall_allchk label.sound_only{position:static!important;width:auto!important;
  height:auto!important;margin:0!important;clip:auto!important;overflow:visible!important;
  font-size:13.5px;font-weight:600;color:var(--ht-mute);cursor:pointer}
#bo_gall #gall_allchk input[type=checkbox]{width:16px;height:16px;margin:0;cursor:pointer}

#bo_gall #gall_ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  gap:24px;width:100%;margin:0;padding:0}
/* .gall_li 는 관리자일 때 카드(.gall_con) 위에 체크박스를 하나 더 담습니다.
   .gall_con 에 height:100% 를 주면 체크박스 높이만큼 칸을 넘쳐 아래 버튼과 겹칩니다.
   세로 flex 로 두고 카드가 남은 높이를 채우게 합니다. */
#bo_gall .gall_li{position:relative;display:flex;flex-direction:column;
  float:none;width:auto!important;margin:0}
#bo_gall .gall_li > input[type=checkbox]{position:absolute;top:10px;left:10px;z-index:3;
  width:18px;height:18px;margin:0;cursor:pointer}
#bo_gall .gall_con{display:flex;flex-direction:column;flex:1;
  border:1px solid var(--ht-line);border-radius:12px;overflow:hidden;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
#bo_gall .gall_con:hover{border-color:var(--ht-gold);transform:translateY(-3px);
  box-shadow:0 16px 34px -24px rgba(16,26,38,.5)}
#bo_gall .gall_now .gall_con{border-color:var(--ht-gold)}

/* 썸네일 — 인라인 style 의 px 값을 덮어 4:3 으로 통일 */
#bo_gall .gall_con .gall_href{height:auto;overflow:hidden}
#bo_gall .gall_href a{display:block;position:static;transform:none;
  width:100%;aspect-ratio:4/3;background:var(--ht-panel);overflow:hidden}
#bo_gall .gall_href img{width:100%!important;height:100%!important;
  object-fit:cover;display:block;margin:0}
#bo_gall .gall_href strong,
#bo_gall .gall_href span.noimg{display:flex!important;align-items:center;justify-content:center;
  width:100%!important;height:100%!important;line-height:1.4!important;
  background:var(--ht-panel);color:var(--ht-mute-2);font-size:14px;font-weight:600}
#bo_gall .gall_href strong{background:var(--ht-gold);color:#fff;font-size:15px}

/* 제목 영역 */
#bo_gall .gall_text_href{display:flex;flex-direction:column;align-items:flex-start;gap:8px;
  padding:16px 18px 18px;white-space:normal;overflow:visible;text-overflow:clip}
#bo_gall .gall_text_href a.title{font-size:15.5px;font-weight:600;line-height:1.5;
  color:var(--ht-ink);word-break:keep-all;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#bo_gall .gall_text_href a.title:hover{color:var(--ht-gold)}
#bo_gall .gall_now .gall_text_href a.title{color:var(--ht-gold-dark)}
#bo_gall li.empty_list{grid-column:1/-1;padding:70px 0;text-align:center;
  font-size:15.5px;color:var(--ht-mute-2)}

/* 모바일 — 스킨 style.css 의 768px · 500px 블록이 썸네일을
   "높이 150px/100px 고정 + a 를 absolute 로 중앙정렬" 하도록 잡고 있습니다.
   그 선택자(#bo_gall .gall_con .gall_href a)가 더 구체적이라 데스크톱 규칙을 이기므로,
   같은 깊이로 다시 눌러 데스크톱과 같은 4:3 흐름을 유지합니다. */
@media screen and (max-width:768px){
    #bo_gall #gall_ul{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
    #bo_gall .gall_li{width:auto!important;margin:0}
    #bo_gall .gall_con .gall_href{height:auto;position:static;overflow:hidden}
    #bo_gall .gall_con .gall_href a{position:static;top:auto;transform:none;
      display:block;width:100%;aspect-ratio:4/3}
    #bo_gall .gall_con li .img,
    #bo_gall .gall_con li .noimg,
    #bo_gall .gall_con li strong{width:100%!important;height:100%!important;
      line-height:1.4!important}
    #bo_gall .gall_text_href{padding:12px 14px 14px}
    #bo_gall .gall_text_href a.title{font-size:14px}
}

/* 분류 탭 — 기존 남색(#0032a0)을 사이트 포인트 컬러로 */
#bo_cate a{border-radius:99px;font-size:15px;color:var(--ht-mute)}
#bo_cate a:hover{color:var(--ht-gold)}
#bo_cate #bo_cate_on{background:var(--ht-gold);color:#fff!important}

/* ── 읽기 ───────────────────────────────────────────── */
#bo_v{width:100%!important}
#bo_v > header{padding:26px 0 18px;border-top:2px solid var(--ht-navy);
  border-bottom:1px solid var(--ht-line)}
#bo_v_title{padding:0;font-size:clamp(20px,2.4vw,27px);line-height:1.4;
  font-weight:700;color:var(--ht-ink);letter-spacing:-.04em}
#bo_v_info{margin:12px 0 0;font-size:14px;color:var(--ht-mute-2)}
#bo_v_info h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
#bo_v_info strong{margin:0 14px 0 4px;font-weight:600;color:var(--ht-ink-2)}

#bo_v_file h2,#bo_v_link h2{margin:0 0 8px;font-size:14px;font-weight:700;color:var(--ht-ink)}
#bo_v_file,#bo_v_link{margin:20px 0 0;padding:18px 20px;
  background:var(--ht-panel);border-radius:8px}
#bo_v_file ul,#bo_v_link ul{margin:0;padding:0;list-style:none}
#bo_v_file li,#bo_v_link li{padding:5px 0}
#bo_v_file a,#bo_v_link a{color:var(--ht-ink-2);font-size:14.5px}
#bo_v_file a:hover,#bo_v_link a:hover{color:var(--ht-gold)}
#bo_v_file_cnt,#bo_v_link_cnt{font-size:12.5px;color:var(--ht-mute-2)}

#bo_v_atc{min-height:200px;padding:34px 0;border-bottom:1px solid var(--ht-line)}
#bo_v_atc_title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
#bo_v_con{font-size:16px;line-height:1.9;color:var(--ht-ink-2);word-break:keep-all}
#bo_v_con img{max-width:100%;height:auto}

/* 상·하단 버튼 줄 */
#bo_v_top,#bo_v_bot{display:flex;flex-wrap:wrap;gap:10px;
  align-items:center;justify-content:space-between;margin:18px 0}
#bo_v_top{margin-top:20px}
.bo_v_nb,.bo_v_com{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.bo_v_nb li,.bo_v_com li{margin:0}

/* ── 버튼 공통 — 고정폭 165px 을 내용폭으로 ──────────── */
a.btn_b01,a.btn_b02,a.btn_admin,a.btn_cancel,
.btn_bo_adm input,.btn_submit{display:inline-flex;width:auto;height:42px;
  margin:0;padding:0 20px;border:1px solid var(--ht-line);border-radius:6px;
  background:#fff;color:var(--ht-ink-2);font-size:14.5px;font-weight:600}
a.btn_b02{background:var(--ht-gold);border-color:var(--ht-gold);color:#fff}
a.btn_admin{border-style:dashed;color:var(--ht-mute)}
a.btn_b01:hover,a.btn_admin:hover,a.btn_cancel:hover,
.btn_bo_adm input:hover,.btn_submit:hover{background:var(--ht-navy)!important;
  border-color:var(--ht-navy)!important;color:#fff!important}
a.btn_b02:hover{background:var(--ht-gold-dark)!important;
  border-color:var(--ht-gold-dark)!important;color:#fff!important}
.btn_bo_user{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.btn_bo_adm{display:flex;flex-wrap:wrap;gap:8px}

/* ── 페이징 ─────────────────────────────────────────── */
.pg_wrap{margin:26px 0 0;padding:0}
.pg_page,.pg_current{min-width:38px;height:38px;padding:0 10px;margin:0 2px;
  border-radius:6px;line-height:36px;font-size:14.5px}
.pg_page{border:1px solid var(--ht-line);background:#fff;color:var(--ht-mute)}
.pg_page:hover{border-color:var(--ht-gold);color:var(--ht-gold)}
.pg_current{background:var(--ht-navy);border:1px solid var(--ht-navy);
  color:#fff;font-weight:700}
/* 화살표 — img/board/*.gif 의존을 없애고 문자로 그립니다 */
.pg_start,.pg_prev,.pg_end,.pg_next{width:38px;text-indent:0;background:#fff;
  font-size:0;color:var(--ht-mute)}
.pg_start:before{content:'\00AB'}
.pg_prev:before{content:'\2039'}
.pg_next:before{content:'\203A'}
.pg_end:before{content:'\00BB'}
.pg_start:before,.pg_prev:before,.pg_next:before,.pg_end:before{font-size:16px}

/* ── 검색 ───────────────────────────────────────────── */
#bo_sch{margin:22px 0 0!important;text-align:center}

@media screen and (max-width:768px){
    /* 좁은 화면에서는 번호 · 체크 · 글쓴이 열을 줄여 제목에 폭을 몰아줍니다.
       (날짜 · 조회는 스킨의 hidden-xs 로 이미 숨겨집니다) */
    #bo_list .tbl_head01 thead th,
    #bo_list .tbl_head01 td{padding:13px 6px;font-size:14px}
    #bo_list .td_num{width:42px}
    #bo_list .td_chk{width:30px}
    #bo_list .td_name{width:68px;font-size:13px}
    #bo_list .td_subject a{font-size:14.5px}
    #bo_list .td_num strong,
    #bo_list .bo_current{padding:3px 7px;font-size:11.5px}
    #bo_list .bo_cate_link{margin-right:5px!important;padding:3px 8px!important;font-size:11.5px!important}

    /* 버튼 줄이 두 줄로 접히면 등록하기가 왼쪽에 붙어 어색해서 오른쪽으로 보냅니다 */
    #bo_list .bo_fx .btn_bo_user,
    #bo_gall .bo_fx .btn_bo_user{margin-left:auto}

    #bo_v_top,#bo_v_bot{justify-content:flex-start}
    a.btn_b01,a.btn_b02,a.btn_admin,a.btn_cancel,
    .btn_bo_adm input,.btn_submit{height:40px;padding:0 15px;font-size:14px}
    .btn_bo_adm input{width:auto!important}
}

