@charset "utf-8";
/*
 * 글씨 크기·글꼴 통일 (모든 페이지). head.php 에서 맨 마지막에 읽는다.
 *  예전 화면은 12px 돋움 + 11px 버튼·입력칸이라 글씨가 작고 페이지마다 달랐다.
 *  기본 14px 나눔바른고딕, 본문 영역 15px 로 맞춘다.
 *  편집기로 쓴 본문 안의 작은 글씨(9pt 등)는 PHP content_html() 이 지운다.
 */
body,h1,h2,h3,h4,h5,input,button,select,textarea,table{font-family:'NanumBarunGothic','Malgun Gothic','맑은 고딕',AppleSDGothicNeo,sans-serif}
body,input,button,select,textarea{font-size:14px}
input,select,textarea{color:#333}

/* 서브 페이지 본문 */
.contents{font-size:15px;line-height:1.7;word-break:keep-all}
.contents p,.contents li,.contents td,.contents th,.contents dd,.contents dt,.contents span,.contents div{line-height:inherit}
.contents font{font-family:inherit}
.contents .cate_content,.contents .board_contents,.view_news_con .news_con_txt{font-size:15px;line-height:1.8;color:#333}
.contents .cate_content *,.view_news_con .news_con_txt *{font-family:inherit}
.contents .route{font-size:13px}

/* 게시판 */
.board_list th,.board_list td{font-size:14px;font-family:inherit}
.board_list td.ac{font-size:13px}
.board_view th,.board_view td{font-size:14px;font-family:inherit}
.view_news_con .news_tit_txt{font-size:20px;line-height:1.5;font-weight:bold;font-family:inherit}
.view_news_con .news_tit_txt span.sub_info{font-size:13px;line-height:1.5;font-weight:normal;font-family:inherit}
.view_news_con .news_con_txt{width:auto;max-width:100%;font-family:inherit;word-break:keep-all}
#sub_news_view .view_route_txt span.route_txt{font-size:13px;font-family:inherit}
.pagingZone #pagination li{font-size:14px;font-family:inherit}

/* 입력칸·버튼 (예전 11~12px) */
.input_text,.inputDe,.inputKo,.inputEn,.inputX,.input,.input2,.input5,.gs-textArea,.calenderTxt{font-size:14px;font-family:inherit}
.input_text,.inputDe,.inputKo,.inputEn,.inputX{height:28px;box-sizing:border-box;padding:0 6px}
.btn02,.btn03,.btn04,.btn05,.btn06,.btn07,.btnBlack,.calenderBox{font-size:13px;font-family:inherit}
.btnGrey{font-family:inherit}
.email_cfm .numsend,.email_cfm .numsend2{font-size:13px}
table.help th,table.help td{font-size:14px}
.review_assess .top_txt,.raty_box .raty_txt,.review_txt_byte,.review_buy_chk .chk_box span{font-size:13px}

/* 머리·메인·꼬리 */
.gnb a{font-size:12px}
.snb_wrap h2 .en{font-size:13px}
.tit_box .cmt{font-size:14px}
.mc_introduce1 .con,.mc_cs .duty_hours,.mc_cs .phone_number div,.mc_vs .con,.mc_etc a{font-size:14px}
.sc_cs dd{font-size:14px}
.copyright{font-size:13px}

@media (max-width:767px){
	body,input,button,select,textarea{font-size:14px}
	.contents,.contents .cate_content,.contents .board_contents,.view_news_con .news_con_txt{font-size:15px}
	.board_list td.ac{font-size:13px}
	.board_view th{font-size:13px}
	.gnb a{font-size:12px}
	.copyright{font-size:12px}
}

/* 편집기 본문 안의 제목 태그 (기본 초기화로 12px 이 되던 것) */
.cate_content h1:not([class]),.board_contents h1:not([class]),.news_con_txt h1:not([class]){font-size:24px;line-height:1.4;margin:10px 0}
.cate_content h2:not([class]),.board_contents h2:not([class]),.news_con_txt h2:not([class]){font-size:20px;line-height:1.4;margin:8px 0}
.cate_content h3:not([class]),.board_contents h3:not([class]),.news_con_txt h3:not([class]){font-size:18px;line-height:1.4;margin:8px 0}
.cate_content h4:not([class]),.board_contents h4:not([class]),.news_con_txt h4:not([class]),.cate_content h5:not([class]),.board_contents h5:not([class]),.news_con_txt h5:not([class]){font-size:16px;line-height:1.4}

/* 버튼 (예전 이미지 버튼 대신) — 같은 높이·글씨 크기 */
.ui-btn{display:inline-block;min-width:170px;height:46px;padding:0 24px;border:1px solid #b9c3cf;border-radius:4px;background:#fff;color:#333 !important;font-size:16px;font-weight:bold;line-height:44px;text-align:center;text-decoration:none !important;vertical-align:middle;box-sizing:border-box;cursor:pointer;font-family:inherit;white-space:nowrap}
.ui-btn:hover{background:#f3f6f9}
.ui-btn.primary{border-color:#1a7ec3;background:#1a7ec3;color:#fff !important}
.ui-btn.primary:hover{background:#156aa5}
.ui-btn.sm{min-width:0;height:32px;padding:0 14px;font-size:14px;font-weight:normal;line-height:30px}
.ui-btn.sm.primary{font-weight:bold}
.ui-btn.login{min-width:0;width:72px;height:50px;padding:0;line-height:48px}
.ui-btns{margin:10px auto !important;width:auto !important}
.ui-btns td{padding:0 4px}
.wkr-btn,.button03{height:32px;padding:0 12px;border:1px solid #b9c3cf;border-radius:4px;background:#fff;color:#333;font-size:14px;line-height:30px;cursor:pointer;vertical-align:middle;font-family:inherit}
.wkr-btn:hover,.button03:hover{background:#f3f6f9}
@media (max-width:767px){
	.ui-btn{min-width:140px;padding:0 16px;font-size:15px}
	.ui-btn.sm{font-size:14px}
}
.agree-msg{margin:16px 0 4px;padding:10px 14px;border:1px solid #f1b0b7;border-radius:4px;background:#fff1f2;color:#c0262d;font-size:15px;font-weight:bold;text-align:center}
.agree-need{color:#c0262d;outline:2px solid #f1b0b7;outline-offset:3px;border-radius:3px}

/* 입력 양식 (회원가입·정보수정·찾기·후원신청): 선택칸 높이를 입력칸(28px)에 맞추고, 좁던 칸을 넓힌다 */
.contents select{height:28px;padding:0 4px;border:1px solid #ccc;border-radius:2px;background:#fff;font-size:14px;font-family:inherit;color:#333;box-sizing:border-box;vertical-align:middle}
.contents input.w40{width:62px;text-align:center}   /* 전화번호 가운데·끝 4자리 */
.contents input[name=txtCaptcha]{width:100px}       /* 스팸방지 글자 */
.contents input[type=radio],.contents input[type=checkbox]{width:16px;height:16px;margin:0 4px 0 0;vertical-align:-3px}
.contents input[type=radio]~input[type=radio]{margin-left:14px}
.pw-confirm-label{display:inline-block;margin:0 8px 0 18px;color:#555}
.agree-date{margin-left:8px;color:#888;font-size:13px}

/* 입력칸 안내문(placeholder): 옅은 회색, 칸을 누르면 사라진다 */
input::placeholder,textarea::placeholder{color:#9aa3ad !important;opacity:1}
input:focus::placeholder,textarea:focus::placeholder{color:transparent !important}
input:-ms-input-placeholder{color:#9aa3ad}

/* 게시판 목록: 첨부·영상 표시 */
.bl_mark{display:inline-block;margin-left:5px;padding:0 5px;border-radius:3px;font-size:11px;line-height:17px;vertical-align:1px;white-space:nowrap}
.bl_movie{background:#e53935;color:#fff}
.bl_file{background:#eef1f4;color:#555;border:1px solid #d5dbe1}

/* 게시글 보기 아래 목록 버튼 */
.bv_btns{clear:both;text-align:center;margin:24px 0 40px}
.bv_btns .ui-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;min-width:110px;padding:0 20px;font-size:14px;border-radius:4px;box-sizing:border-box}
.bv_btns a+a{margin-left:6px}
.bv_btns .bv_list:before{content:"";width:12px;height:10px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;background:linear-gradient(currentColor,currentColor) center/100% 2px no-repeat}
.bv_btns .bv_print:before{content:"";width:12px;height:9px;border:2px solid currentColor;border-radius:2px;box-sizing:border-box;box-shadow:inset 0 -3px 0 #fff}
.view_news_con .sns_icon{margin-top:16px}
.view_news_con .bv_btns{border-top:1px solid #ccc;padding-top:20px}

/* 목록 바로 위: 왼쪽 글 수, 오른쪽 검색 */
.board_tools{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 10px;padding:0}
.board_tools .bt_count{margin:0;font-size:14px;color:#555;line-height:34px}
.board_tools .bt_count strong{color:#1f73b7;font-weight:700}
.board_tools .bt_sub{color:#888;font-size:13px}
.board_tools .bt_search{display:flex;align-items:center;gap:4px;margin:0}
.board_tools .bt_search select,.board_tools .bt_search input[type=text]{box-sizing:border-box;height:34px;margin:0;border:1px solid #c9d0d8;border-radius:4px;background:#fff;font-size:14px;color:#333;vertical-align:middle}
.board_tools .bt_search select{width:auto;min-width:76px;padding:0 6px}
.board_tools .bt_search input[type=text]{width:220px;padding:0 10px}
.board_tools .bt_search input[type=text]:focus,.board_tools .bt_search select:focus{outline:none;border-color:#1f73b7;box-shadow:0 0 0 2px rgba(31,115,183,.15)}
.board_tools .bt_search .ui-btn{height:34px;line-height:32px;padding:0 16px;font-size:14px;border-radius:4px;margin:0}
.board_tools .bt_all{margin-left:4px;font-size:13px;color:#666;text-decoration:underline;white-space:nowrap}
@media (max-width:600px){
.board_tools{flex-direction:column;align-items:stretch}
.board_tools .bt_search{width:100%}
.board_tools .bt_search input[type=text]{flex:1 1 auto;width:auto;min-width:0}
.board_tools .bt_search select{flex:0 0 auto}
}
.board_list{padding-bottom:40px}

/* 게시판 목록 공지 줄 */
.board_list tr.bl_notice td{background:#f4f8fc}
.board_list tr.bl_notice td a{font-weight:700}
.bl_notice_mark{display:inline-block;padding:0 6px;border-radius:3px;background:#1f73b7;color:#fff;font-size:11px;line-height:18px;white-space:nowrap}

/* 게시글 보기 사진 갤러리 (본문 사진 2장 이상) */
.bv_gallery{max-width:760px;margin:6px auto 24px;outline:none}
.bv_gallery:focus-visible{box-shadow:0 0 0 3px rgba(31,115,183,.35);border-radius:12px}
.bv_gallery .bg_stage{position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#f1f3f5}
.bv_gallery .bg_main{display:block;width:100%;height:100%;max-width:none !important;object-fit:contain}
.bv_gallery .bg_prev,.bv_gallery .bg_next{position:absolute;top:50%;width:44px;height:54px;margin-top:-27px;border:0;border-radius:6px;background:rgba(0,0,0,.45);color:#fff;font-size:30px;line-height:50px;cursor:pointer;opacity:.85}
.bv_gallery .bg_prev{left:12px}.bv_gallery .bg_next{right:12px}
.bv_gallery .bg_prev:hover,.bv_gallery .bg_next:hover{opacity:1;background:rgba(0,0,0,.7)}
.bv_gallery .bg_count{position:absolute;right:12px;bottom:12px;padding:3px 10px;border-radius:12px;background:rgba(0,0,0,.6);color:#fff;font-size:13px;line-height:20px}
.bv_gallery .bg_strip{display:flex;align-items:center;gap:8px;margin-top:12px}
.bv_gallery .bg_sprev,.bv_gallery .bg_snext{flex:0 0 32px;height:44px;border:1px solid #d5dbe1;border-radius:4px;background:#fff;color:#555;font-size:22px;line-height:40px;cursor:pointer}
.bv_gallery .bg_thumbs{flex:1;display:flex;gap:8px;overflow-x:auto;scroll-behavior:smooth;padding:3px 2px 6px}
.bv_gallery .bg_thumb{flex:0 0 86px;height:60px;padding:0;border:2px solid transparent;border-radius:4px;background:#eee;overflow:hidden;cursor:pointer;opacity:.75}
.bv_gallery .bg_thumb img{display:block;width:100%;height:100%;max-width:none !important;object-fit:cover}
.bv_gallery .bg_thumb:hover{opacity:1}
.bv_gallery .bg_thumb.on{border-color:#e08a2c;opacity:1}
@media (max-width:600px){
.bv_gallery .bg_prev,.bv_gallery .bg_next{width:34px;height:44px;margin-top:-22px;font-size:24px;line-height:40px}
.bv_gallery .bg_sprev,.bv_gallery .bg_snext{display:none}
.bv_gallery .bg_thumb{flex-basis:64px;height:46px}
}

/* 본문 속 넓은 표·고정 폭 문단을 화면 폭에 맞춘다 (편집기·기사 복사로 들어온 width:1178px 같은 값) */
.board_view > table{table-layout:fixed;width:100%}
.board_contents,.news_con_txt,.cate_content{max-width:100%;box-sizing:border-box}
.board_contents table,.news_con_txt table,.cate_content table{max-width:100% !important;table-layout:auto !important}
.board_contents td,.board_contents th,.news_con_txt td,.news_con_txt th{width:auto !important;overflow-wrap:anywhere;word-break:keep-all}
.board_contents [style*="width"],.news_con_txt [style*="width"],.cate_content [style*="width"]{max-width:100% !important;box-sizing:border-box}

/* 글보기 사진 크게 보기 팝업 (scripts/img_popup.js) */
.ip_zoom{cursor:zoom-in}
html.ip_lock,html.ip_lock body{overflow:hidden}
.ip_box{display:none;position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.88)}
.ip_box.on{display:block}
.ip_box .ip_stage{position:absolute;inset:48px 64px;display:flex;align-items:center;justify-content:center}
.ip_box .ip_img{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 6px 30px rgba(0,0,0,.5);background:#fff}
.ip_box button{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;border-radius:6px}
.ip_box button:hover,.ip_box button:focus-visible{background:rgba(255,255,255,.28);outline:none}
.ip_box .ip_close{top:10px;right:12px;width:44px;height:44px;font-size:32px;line-height:40px}
.ip_box .ip_prev,.ip_box .ip_next{display:none;top:50%;width:48px;height:64px;margin-top:-32px;font-size:40px;line-height:58px}
.ip_box.multi .ip_prev,.ip_box.multi .ip_next{display:block}
.ip_box .ip_prev{left:10px}.ip_box .ip_next{right:10px}
.ip_box .ip_cap{position:absolute;left:0;right:0;bottom:14px;text-align:center;color:#ddd;font-size:14px}
@media (max-width:600px){
.ip_box .ip_stage{inset:56px 8px 44px}
.ip_box .ip_prev,.ip_box .ip_next{width:36px;height:52px;margin-top:-26px;font-size:30px;line-height:48px;background:rgba(0,0,0,.35)}
}
.ip_box .ip_img{cursor:zoom-in}
.ip_box.full .ip_stage{display:block;overflow:auto;text-align:center;-webkit-overflow-scrolling:touch}
.ip_box.full .ip_img{max-width:none;max-height:none;cursor:zoom-out}
.ip_box .ip_bar{position:absolute;top:12px;left:12px;right:68px;display:flex;align-items:center;gap:8px;color:#ccc;font-size:13px}
.ip_box .ip_bar button,.ip_box .ip_bar a{position:static;padding:0 12px;height:32px;line-height:32px;border-radius:6px;background:rgba(255,255,255,.14);color:#fff;font-size:13px;text-decoration:none;white-space:nowrap}
.ip_box .ip_bar a:hover,.ip_box .ip_bar a:focus-visible{background:rgba(255,255,255,.28);outline:none}
.ip_box .ip_info{margin-right:auto}
@media (max-width:600px){.ip_box .ip_info{display:none}.ip_box .ip_bar{justify-content:flex-end}}

/* 메인 포토갤러리: 섬네일을 칸 비율에 맞춰 잘라 보인다 (늘려서 찌그러지지 않게) */
.mc_ptg li .img img{object-fit:cover;object-position:center}
/* 소개·사업 본문(cate_content) 속 px 폭이 박힌 표(예: width:875px)가 본문보다 넓어지지 않게 */
.cate_content table[style*="px"]{width:auto !important;max-width:100% !important}

/* 카카오(다음) 지도 퍼가기: 본문 그림 맞춤 규칙(max-width:100%)이 지도 타일·핀에 걸리면 타일 너비가 0 이 되어 지도가 비어 보인다 → 지도 안에서는 풀어 준다 */
.root_daum_roughmap img,.root_daum_roughmap [style*="width"]{max-width:none !important}
.root_daum_roughmap img{height:auto}
.cate_content .root_daum_roughmap{max-width:100% !important;overflow:hidden}
