@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}

/* 맨 위로(TOP) 버튼: 1200px 컨텐츠 영역 바깥 오른쪽(10px 띄움) 아래를 따라다닌다.
   화면이 좁아 바깥 자리가 없으면 화면 오른쪽 16px */
.go_top{position:fixed;z-index:900;bottom:30px;right:max(16px, calc((100vw - 1200px) / 2 - 64px));width:54px;height:54px;border-radius:50%;
	background:#1d4f91;color:#fff !important;text-decoration:none !important;display:flex;flex-direction:column;align-items:center;justify-content:center;
	box-shadow:0 4px 14px rgba(0,0,0,.25);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s,transform .2s,visibility .2s,background-color .2s}
.go_top.is-show{opacity:1;visibility:visible;transform:none}
.go_top:hover{background:#163d71}
.go_top:focus-visible{outline:3px solid #f5a623;outline-offset:3px}
.go_top_arrow{width:10px;height:10px;border-left:2px solid #fff;border-top:2px solid #fff;transform:rotate(45deg);margin-top:4px}
.go_top_txt{font-size:11px;font-weight:bold;line-height:1;margin-top:3px;letter-spacing:.5px}
@media (max-width:767px){.go_top{width:46px;height:46px;bottom:20px;right:14px}}
@media print{.go_top{display:none !important}}
@media (prefers-reduced-motion: reduce){.go_top{transition:none}}


/* 상단 메뉴(헤더): 스크롤을 내려도 화면 맨 위에 붙어 있다 (PC·모바일 모두).
   팝업(3001)·알림창보다는 아래, 본문보다는 위 */
header{position:sticky !important;top:0;z-index:1000}
/* 주소의 #위치로 이동하거나 글 위치로 내려갈 때 고정 메뉴에 가려지지 않게 그만큼 띄운다 */
html{scroll-padding-top:110px}
@media (max-width:1120px){html{scroll-padding-top:72px}}
@media print{header{position:static !important}}

/* 갤러리 목록(포토·영상): 이미지에 마우스를 올리거나 키보드로 고르면
   이미지가 살짝 커지고, 파란 덮개와 돋보기(영상은 재생 단추 강조)가 나타나며 제목 색이 바뀐다 */
.bl_list li .image{position:relative;overflow:hidden;transition:border-color .25s,box-shadow .25s}
.bl_list li .image img{display:block;transition:transform .45s ease}
.bl_list li .image::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
	background:rgba(13,58,118,0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") no-repeat center/0 0;
	transition:background-color .3s,background-size .3s}
.bl_list li .image .bl_play{z-index:2;transition:transform .3s,opacity .3s}
.bl_list li a:hover .image,.bl_list li a:focus-visible .image{border-color:#1d4f91;box-shadow:0 6px 16px rgba(13,58,118,.25)}
.bl_list li a:hover .image img,.bl_list li a:focus-visible .image img{transform:scale(1.08)}
.bl_list li a:hover .image::after,.bl_list li a:focus-visible .image::after{background-color:rgba(13,58,118,.35);background-size:40px 40px}
/* 영상: 돋보기 대신 재생 단추를 크게 */
.bl_list li a:hover .image:has(.bl_play)::after,.bl_list li a:focus-visible .image:has(.bl_play)::after{background-size:0 0}
.bl_list li a:hover .bl_play,.bl_list li a:focus-visible .bl_play{transform:scale(1.15)}
.bl_list li a:hover .name,.bl_list li a:focus-visible .name{color:#1d4f91;text-decoration:underline}
.bl_list li a:focus-visible{outline:3px solid #f5a623;outline-offset:3px}
@media (prefers-reduced-motion: reduce){
	.bl_list li .image img,.bl_list li .image::after,.bl_list li .bl_play{transition:none}
	.bl_list li a:hover .image img,.bl_list li a:focus-visible .image img{transform:none}
}

/* 왼쪽 메뉴(sub_left): 처음부터 상단 로고 바로 밑(간격 0)에 붙어 있고, 스크롤해도
   그 자리(메뉴 위쪽 = 로고 아래 124px)에 머물러 더 올라가지 않는다. PC 화면에서만.
   (메뉴는 원래 100px 에서 시작 + 위 여백 24px = 124px, 로고 아래와 간격 0.
    여백은 고정 메뉴 뒤로 숨는 투명한 부분이라, 고정 위치 top:100px + 24px = 124px 에서 멈춘다)
   창 높이가 낮아 메뉴가 다 안 보이면 메뉴 안에서만 스크롤된다 */
@media (min-width:1121px){
	.sub_left{position:sticky;top:100px;padding-top:24px;z-index:5;max-height:calc(100vh - 100px);overflow-y:auto;box-sizing:border-box;scrollbar-width:thin}
}

/* 가로 넘침 막기(태블릿·모바일): clip 은 스크롤 영역을 새로 만들지 않아 창 스크롤(맨 위로 버튼, 고정 메뉴)이 그대로 동작한다 */
@media (max-width:1120px){
	html,body{overflow-x:clip}
}

/* 지역지부(D110 등) 태블릿·모바일: 지도와 지역 목록을 위아래로, 검색줄은 그 아래 한 줄로 */
@media (max-width:1120px){
	.br_map_box{height:auto !important;overflow:hidden}
	.br_map{float:none !important;width:auto !important;overflow-x:auto;-webkit-overflow-scrolling:touch}
	.br_areas{float:none !important;width:auto}
	.br_areas table{width:100%;margin-top:8px !important}
	.br_map_box + .board_tools,.board_tools{clear:both}
}
/* 지부 목록 표 → 모바일에서는 지부마다 카드 한 장 */
@media (max-width:767px){
	table.br_tbl{background:none !important;border-spacing:0}
	table.br_tbl,table.br_tbl tbody,table.br_tbl tr,table.br_tbl td{display:block;width:auto !important}
	table.br_tbl tr:first-child{display:none}
	table.br_tbl tr{margin:0 0 10px;padding:10px 12px;border:1px solid #d5dbe1;border-radius:8px;background:#fff}
	table.br_tbl td{height:auto !important;padding:2px 0 !important;text-align:left !important;font-size:14px;line-height:1.5}
	table.br_tbl td:nth-child(1){font-weight:bold;font-size:15px;color:#1d4f91}
	table.br_tbl td:nth-child(2)::before{content:'전화  ';color:#888}
	table.br_tbl td:nth-child(3)::before{content:'주소  ';color:#888}
	table.br_tbl td:nth-child(4){padding-top:6px !important}
	table.br_tbl td[colspan]{text-align:center !important}
}

/* 후원신청 '주요사업' 목록: PC 2단(1~6, 7~11), 모바일 1단 */
.ct_biz_list{margin:4px 0 0;padding-left:1.8em;columns:2;column-gap:30px;list-style:decimal}
.ct_biz_list li{list-style:decimal;break-inside:avoid;padding:1px 0;line-height:1.7}
@media (max-width:767px){.ct_biz_list{columns:1}}

/* 입력표(후원신청 등 table.help) 모바일: 칸 이름 위, 입력칸 아래로 세로로 쌓아 화면 폭 안에 넣는다
   (폼 태그가 표 안에 끼어 있어 '>' 대신 하위 선택자를 쓴다. 안쪽 단추 표 helpin 은 원래대로) */
@media (max-width:767px){
	table.help,table.help tbody,table.help tr,table.help td,table.help th{display:block;width:auto !important;box-sizing:border-box}
	table.help{border:1px solid #d1d1d1;border-bottom:0}
	table.help td,table.help th{border:0 !important;border-bottom:1px solid #e3e3e3 !important;padding:8px 10px !important;height:auto !important;text-align:left !important}
	table.help td[bgcolor],table.help th{background:#ecf2f9;font-weight:bold;padding:6px 10px !important}
	table.help input[type=text],table.help input[type=password],table.help input:not([type]),table.help select,table.help textarea{max-width:100%;box-sizing:border-box}
	table.help table.helpin,table.help table.helpin tbody{display:table;width:100% !important}
	table.help table.helpin tr{display:table-row}
	table.help table.helpin td{display:table-cell;border:0 !important;background:none;text-align:center !important}
}

/* 쪽 번호(모바일): 스크립트가 넣는 고정 폭(예: 520px) 대신 화면 폭 안에서 줄바꿈하며 가운데 정렬 */
@media (max-width:767px){
	.pagingZone #pagination{width:auto !important;max-width:100%;height:auto;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 0}
	.pagingZone #pagination li{float:none;margin-right:6px}
	.pagingZone #pagination li:last-child{margin-right:0}
	/* 사이트맵 2단: 긴 글자 때문에 칸이 넓어지지 않게 */
	.sitemap{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
	.sitemap a{overflow-wrap:anywhere;word-break:keep-all}
}
