/* common */
body {padding:0;margin:0;}
img,p {border:0;margin:0;padding:0;}
form {display:inline;margin:0;padding:0;}

.b {font-weight:bold;}
.u {text-decoration:underline;}
.s {text-decoration:line-through;}
.left {float:left;}
.right {float:right;}
.clear {clear:both;}
.shift {position:relative;left:-2px;}
.hand {cursor:pointer;}
.hide {display:none;}
.sysMsgBox {padding:30px;font-size:15px;font-family:"malgun gothic",dotum;color:#ff0000;font-weight:bold;border:#dfdfdf solid 5px;background:#f9f9f9;text-align:center;}
.sysMsgBox img {position:relative;top:2px;left:-2px;}
.filter {filter:alpha(opacity=20);opacity:0.2;}
.gray {filter:gray();}
.nopm {padding:0;margin:0;}
/* @common */

/* mobile */
#pctomobile {margin:20px 0 0 0;text-align:center;border:#dfdfdf solid 1px;background:#f9f9f9;font-size:25px;font-weight:bold;}
#pctomobile a {display:block;margin:5px;padding:15px;}
/* @mobile */

/* member layer */
.mbrLayerBlock {position:absolute;display:block;background:#ffffff;width:310px;height:450px;border:#333333 solid 1px;border-bottom:#333333 solid 2px;}
/* @member layer */

/* button */
.btn00 {display:inline-block;border-top:#DFDFDF solid 1px;border-left:#DFDFDF solid 1px;border-right:#DFDFDF solid 1px;border-bottom:#C0C0C0 solid 1px;}
.btn00 a {display:inline-block;border-top:#FFFFFF solid 1px;background:#EFEFEF;padding:4px 7px 4px 7px;color:#444;font-family:dotum;font-size:11px;text-decoration:none;letter-spacing:-1px;}
.btn00 a:hover {background:#E1E1E1;}
.btn00 input {margin:0;cursor:pointer;border-top:#DFDFDF solid 1px;border-left:#DFDFDF solid 1px;border-right:#DFDFDF solid 1px;border-bottom:#C0C0C0 solid 1px;background:#EFEFEF;height:18px;color:#444;font-family:dotum;font-weight:bold;font-size:11px;text-decoration:none;letter-spacing:-1px;}
.btn00 input:hover {background:#E1E1E1;}

.btn01 {display:inline-block;border-top:#29447E solid 1px;border-left:#29447E solid 1px;border-right:#29447E solid 1px;border-bottom:#1A356E solid 1px;}
.btn01 a {display:inline-block;border-top:#8A9CC2 solid 1px;background:#5972A8;padding:3px 7px 4px 7px;color:#ffffff;font-family:dotum;font-weight:bold;font-size:11px;text-decoration:none;letter-spacing:-1px;}
.btn01 a:hover {background:#687EAC;color:#ffffff;}
.btn01 input {margin:0;cursor:pointer;border-top:#8A9CC2 solid 1px;border-left:#5972A8 solid 1px;border-right:#5972A8 solid 1px;border-bottom:#5972A8 solid 1px;background:#5972A8;height:18px;color:#ffffff;font-family:dotum;font-weight:bold;font-size:11px;text-decoration:none;letter-spacing:-1px;}
.btn01 input:hover {background:#687EAC;}

.btn02 {display:inline-block;border-top:#3B6E22 solid 1px;border-left:#3B6E22 solid 1px;border-right:#3B6E22 solid 1px;border-bottom:#2C5115 solid 1px;}
.btn02 a {display:inline-block;border-top:#98C286 solid 1px;background:#6DA952;padding:3px 7px 4px 7px;color:#ffffff;font-family:dotum;font-weight:bold;font-size:11px;text-decoration:none;letter-spacing:-1px;}
.btn02 a:hover {background:#6DB947;color:#ffffff;}
.btn02 input {margin:0;cursor:pointer;border-top:#98C286 solid 1px;border-left:#6DA952 solid 1px;border-right:#6DA952 solid 1px;border-bottom:#6DA952 solid 1px;background:#6DA952;height:18px;color:#ffffff;font-family:dotum;font-weight:bold;font-size:11px;text-decoration:none;letter-spacing:-1px;}
.btn02 input:hover {background:#6DB947;}

.btnblue {cursor:pointer;border:#3399DD solid 1px;background:url('../image/_public/grad_blue.jpg') #33C9FD left bottom repeat-x;color:#ffffff;height:21px;}
.btngray {cursor:pointer;border:#666666 solid 1px;background:url('../image/_public/grad_gray.jpg') #B3B3B3 left bottom repeat-x;color:#ffffff;height:21px;}

.btnGray01 {display:block;height:27px;background:url('../image/btn/gray_01_left.jpg') left no-repeat;}
.btnGray01 i {display:block;height:27px;background:url('../image/btn/gray_01_right.jpg') right no-repeat;font-weight:bold;font-family:dotum;font-size:11px;font-style:normal;color:#333333;}
.btnGray01 s {display:inline-block;text-decoration:none;padding:9px 0 0 10px;letter-spacing:-1px;}

.plusBlue s {background:url('../image/btn/add_01_blue.gif') 10px 6px no-repeat;padding:9px 0 0 30px;}
.txtCenter {text-align:center;}
.noIcon s {padding:9px 0 0 0;}
/* @button */

/* pagebpx */
.pagebox01 {}
.pagebox01 .selected,.pagebox .notselected:hover {padding:0 4px 0 4px;font-family:arial;font-size:12px;font-weight:bold;color:#FF5B01;}
.pagebox01 .notselected {padding:0 4px 0 4px;text-decoration:none;font-family:arial;font-size:12px;color:#222;font-weight:bold;}
.pagebox01 img {padding:0 4px 0 4px;margin-bottom:-2px;}

.pagebox02 {}
.pagebox02 .selected,.pagebox .notselected:hover {padding:4px 8px 3px 8px;margin:0 1px 0 1px;border:#dfdfdf solid 1px;font-family:arial;font-size:12px;font-weight:bold;color:#01939c;}
.pagebox02 .notselected {padding:4px 8px 3px 8px;margin:0 1px 0 1px;border:#ffffff solid 1px;text-decoration:none;font-family:arial;font-size:12px;font-weight:bold;color:#777;}
.pagebox02 .split {display:none;}
.pagebox02 img {padding:0 4px 0 4px;margin-bottom:-2px;}
/* @pagebox */

/* input */
.input {border:#dfdfdf solid 1px;padding:2px 0 0 2px;margin:1px;height:16px;}
.input:hover {border:#cdcdcd solid 1px;background:#f9f9f9;}
.input:focus {border:#FF9D1D solid 2px;margin:0;background:#f9f9f9;}
/* @input */

/* scroll */
.scrollbar01 {scrollbar-base-color:#E1E1E1;scrollbar-face-color:#FFF;scrollbar-track-color:#FFF;scrollbar-highlight-color:#FFF;scrollbar-3dlight-color:#E1E1E1;scrollbar-shadow-color:#E1E1E1;scrollbar-darkshadow-color:#FFF;scrollbar-arrow-color:#7a7a7a;}
/* @scroll */

/* tooltip */
.tooltip {position:relative;z-index:20;}
.tooltip span {display:none;}
.tooltip:hover {z-index:21;}
.tooltip:hover span {display:block;position:absolute;padding:10px;line-height:150%;font-weight:normal;font-size:11px;font-family:dotum;font-style:normal;color:#222222;text-decoration:none;background:#F4EFDE;border:#666666 solid 1px;filter:alpha(opacity=90);opacity:0.9;border-radius:5px 5px 5px 5px;}
.tooltip ._top {left:-20px;bottom:25px;}
.tooltip ._top i {display:block;width:13px;height:8px;background:url('../image/_public/arr_bottom.gif') no-repeat;position:absolute;bottom:-8px;left:20px;}
.tooltip ._bottom {left:-20px;top:25px;}
.tooltip ._bottom i {display:block;width:13px;height:8px;background:url('../image/_public/arr_top.gif') no-repeat;position:absolute;top:-8px;left:20px;}
.tooltip ._left {top:-10px;}
.tooltip ._left i {display:block;width:8px;height:13px;background:url('../image/_public/arr_right.gif') no-repeat;position:absolute;right:-8px;top:10px;}
.tooltip ._right {top:-10px;}
.tooltip ._right i {display:block;width:8px;height:13px;background:url('../image/_public/arr_left.gif') no-repeat;position:absolute;left:-8px;top:10px;}
.tooltip ._w100 {width:100px;}
.tooltip ._w150 {width:150px;}
.tooltip ._w200 {width:200px;}
.tooltip ._w250 {width:250px;}
.tooltip ._w300 {width:300px;}
.tooltip ._l100 {left:-135px;}
.tooltip ._l150 {left:-185px;}
.tooltip ._l200 {left:-235px;}
.tooltip ._l250 {left:-285px;}
.tooltip ._l300 {left:-335px;}
.tooltip ._r100 {right:-135px;}
.tooltip ._r150 {right:-185px;}
.tooltip ._r200 {right:-235px;}
.tooltip ._r250 {right:-285px;}
.tooltip ._r300 {right:-335px;}
/* @tooltip */


/* 클릭시 포커스 외곽선 제거 (이미지/링크 검정 테두리 방지) */
a:focus, a:active, a:hover { outline: 0 !important; }
a img, img { border: 0; outline: 0; }

/* 이미지 클릭 눌림 효과 (press-in) */
a img { transition: transform .08s ease; }
a:active img { transform: scale(0.94); }

/* ===== 게시판 마크다운 (2026-09-25 docrb 에서 이식) ===== */
/* 첨부파일 .md 자동 Markdown 미리보기 */
.md-attach-preview { margin:14px 0; border:1px solid #e2e2e8; border-radius:8px; overflow:hidden; }
.md-attach-title { background:#f5f5f8; padding:8px 14px; font-size:.9em; color:#666; border-bottom:1px solid #e2e2e8; }
.md-attach-body { padding:16px 20px; line-height:1.7; overflow-x:auto; }
.md-attach-body h1,.md-attach-body h2,.md-attach-body h3 { margin-top:1em; margin-bottom:.5em; border-bottom:1px solid #eee; padding-bottom:.3em; }
.md-attach-body pre { background:#2d2d2d; color:#f8f8f2; padding:12px 14px; border-radius:6px; overflow-x:auto; }
.md-attach-body code { background:#f1f1f4; padding:.1em .35em; border-radius:4px; font-family:Consolas,monospace; font-size:.9em; }
.md-attach-body pre code { background:none; color:inherit; padding:0; }
.md-attach-body blockquote { border-left:4px solid #ccc; margin:.8em 0; padding:.3em 1em; color:#666; background:#fafafa; }
.md-attach-body table { border-collapse:collapse; width:100%; margin:.8em 0; }
.md-attach-body th, .md-attach-body td { border:1px solid #ddd; padding:.4em .6em; }
.md-attach-body img { max-width:100%; }
.md-error { color:#999; font-style:italic; padding:12px 16px; }

/* 게시글 본문이 마크다운으로 렌더링된 경우 (.md-body 로 감싸짐 - 일반 에디터 글에는 적용 안 됨) */
.md-body h1, .md-body h2, .md-body h3, .md-body h4 { margin-top:1.2em; margin-bottom:.5em; border-bottom:1px solid #eee; padding-bottom:.3em; line-height:1.4; }
.md-body h1 { font-size:1.6em; }
.md-body h2 { font-size:1.35em; }
.md-body h3 { font-size:1.15em; }
.md-body ul, .md-body ol { margin:.6em 0; padding-left:1.6em; }
.md-body li { margin:.25em 0; }
.md-body pre { background:#2d2d2d; color:#f8f8f2; padding:12px 14px; border-radius:6px; overflow-x:auto; margin:.8em 0; }
.md-body code { background:#f1f1f4; padding:.1em .35em; border-radius:4px; font-family:Consolas,monospace; font-size:.9em; }
.md-body pre code { background:none; color:inherit; padding:0; }
.md-body blockquote { border-left:4px solid #ccc; margin:.8em 0; padding:.3em 1em; color:#666; background:#fafafa; }
.md-body table { border-collapse:collapse; margin:.8em 0; max-width:100%; }
.md-body th, .md-body td { border:1px solid #ddd; padding:.4em .6em; }
.md-body th { background:#f8f9fa; }
.md-body hr { border:none; border-top:1px solid #e2e2e8; margin:1.5em 0; }

/* 게시판 글쓰기 - 마크다운 작성 모드 */
/* 주의: textarea 의 display:none 초기값과 height 는 write.php 인라인에 남겨둠
   (JS 로딩 전 깜빡임 방지 / height 는 게시판별 설정값 $d['theme']['edit_height']) */
.md-mode-toggle { margin-bottom:6px; }
.md-mode-toggle label { font-weight:normal; cursor:pointer; }
.mdModeTextarea { width:100%; box-sizing:border-box; font-family:Consolas,monospace; font-size:14px; padding:10px; }

/* 마크다운 확장: 체크리스트 / 각주 / 정의 목록 / 약어 - ParsedownDocrb */
li.task-item { list-style:none; }
ul > li.task-item { margin-left:-1.2em; }
.task-box { display:inline-block; width:1.2em; }
li.task-item.done { color:#888; }
.footnotes { font-size:.9em; color:#555; margin-top:2em; }
.footnotes hr { margin:1em 0 .6em; }
.footnote-ref, .footnote-backref { text-decoration:none; }
dl.md-dl dt { font-weight:bold; margin-top:.6em; }
dl.md-dl dd { margin:0 0 .4em 1.5em; }
.md-body abbr[title], .md-attach-body abbr[title] { border-bottom:1px dotted #999; text-decoration:none; cursor:help; }
