@charset "utf-8";

/* ===== BASIC 테마 - 다크모드 변수 정의 ===== */

/* 기본 라이트모드 변수 */
:root {
  --bg-primary: #fff;
  --bg-secondary: #eee;
  --bg-gray: #ccc;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --border-color: #ddd;
  --accent-color: #6195ce;
  --header-bg: #212020;
  --header-text: #ffffff;
  --link-color: #457db9;
  --link-hover: #1e61a8;
  --table-bg: #fff;
  --table-border: #dee2e6;
  --input-bg: #ffffff;
  --input-border: #ced4da;
  --button-bg: #1e61a8;
  --button-text: #ffffff;
  --notice: #fac091;
}

/* 다크모드 변수 오버라이드 */
[data-theme="dark"] {
  --bg-primary: #222;
  --bg-secondary: #444;
  --bg-gray: #777;
  --text-primary: #ccc;
  --text-secondary: #bbb;
  --border-color: #404040;
  --accent-color: #6195ce;
  --header-bg: #000000;
  --header-text: #ffffff;
  --link-color: #93b4d8;
  --link-hover: #457db9;
  --table-bg: #2d2d2d;
  --table-border: #404040;
  --input-bg: #2d2d2d;
  --input-border: #404040;
  --button-bg: #1e61a8;
  --button-text: #ccc;
  --notice: #da9963;
}

/* 다크모드 깜빡임 방지 - JavaScript 로드 전에도 적용 */
html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

/* 초기화 */
html {overflow-y:scroll;height:100%;min-width:320px}
body {margin:0;padding:0;background:var(--bg-primary);color:var(--text-primary);height:100%;font-family:'Malgun Gothic', sans-serif;transition:background-color 0.3s ease, color 0.3s ease}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-family:'Malgun Gothic', sans-serif}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
legend {position:absolute;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img {vertical-align:middle}
input, button {margin:0;padding:0;font-size:1em;font-family:'Malgun Gothic', sans-serif}
button {cursor:pointer}
input[type=text], input[type=password], input[type=submit], input[type=image], button {font-size:1em;-webkit-appearance:none}
textarea, select {font-size:1em;font-family:'Malgun Gothic', sans-serif}
textarea {border-radius:3px;-webkit-appearance:none;font-family:'Malgun Gothic', sans-serif}
select {margin:0;background:none;font-family:'Malgun Gothic', sans-serif}
p {margin:0;padding:0;word-break:break-all}
pre {overflow-x:scroll;font-size:1.1em}
h1 {font-size:1.8em}
h2 {font-size:1.6em}
h3 {font-size:1.4em}
h4 {font-size:1.2em}
h5 {font-size:0.8em}
h6 {font-size:0.6em}
hr {display:none}
a {color:var(--link-color);text-decoration:none}
a:hover {color:var(--link-hover)}
ul,li,dl,dt,dd {padding:0;margin:0}
ul {list-style:none}

img, iframe, video {max-width: 100%;}

*,:after,:before {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}


/* 글씨 크기 media 재설정 */
body {
  font-size: 0.8em;
}
@media (max-width: 70rem) {
  body {font-size: 0.85em;}
}
@media (max-width: 50rem) {
  body {font-size: 0.9em;}
}


/* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;width:100%;height:0}
#hd_pop h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff}
.hd_pops img {max-width:100%;height:auto}
.hd_pops_con {}
.hd_pops_footer {padding:10px 0;background:#000;color:#fff;text-align:right}
.hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff}


/* 최상단 레이아웃 */
.top_wrapper {position:absolute; float: left; clear: both; display: block; top:0;width:100%;height:100px;}
.top_space {position: relative; display: block; top:0;width:100%;height:100px;}

.topbar {position:fixed; top:0; display: block; background-color: var(--bg-primary); color: var(--text-primary); z-index: 77; width: 100%; height: 95px; 
  font-size:1.1em; font-family:'Malgun Gothic', sans-serif; transition:background-color 0.3s ease, color 0.3s ease}

.topbar-left {position:absolute;left:15px;top:13px;color:var(--text-primary);font-size:0.9em;line-height:1.3em;z-index:55;}
.topbar-left a {margin-left:5px;color:var(--text-primary)}
.topbar-left .drop-btn {margin-left:5px; display: inline;}

.topbar-right {position:absolute;right:10px;top:13px;font-size:0.9em;line-height:1.3em;z-index:55;}
.topbar-right a {margin-right:5px;color:var(--text-primary)}

#head-logo {position:fixed; top:38px; left: 20px; color: var(--text-primary); text-align:left; z-index: 99;}
#head-logo a {color: var(--text-primary)}
.head-menu {position:fixed; top:73px; left: 20px; color: var(--text-primary); text-align:left; z-index: 99;}
.head-menu a {color: var(--text-primary)}

#user_menu {display:none;position:absolute;top:95px;right:0px;width:100%;height:auto;background-color:var(--bg-primary);color:var(--text-primary);z-index:555;text-align:center}
#user_menu a {color: var(--text-primary)}
/* #user_close {display:block;position:absolute;right:8px;top:10px;z-index:99;font-weight:bold;margin:0;height:40px;width:40px;border:0;color:#bfb8b2;font-size:1.8em;background:transparent} */
#user_close {display:block;position:relative;z-index:99;font-weight:bold;margin:0 auto;height:40px;width:40px;border:0;color:#aaa;font-size:1.8em;background:transparent}


/* 상단 레이아웃 */
#hd {position:relative;background: var(--header-bg);}
#hd:after {display:block;visibility:visible;clear:both;content:""}
#hd_h1 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
.side-menu {text-align:left; padding-left: 18px; font-size: 1.5em;}
.side-menu2 {text-align:left; padding-left: 46px; font-size: 1.1em; line-height: 1.5em;}
.menu-li i {color:Chocolate}
.menu-li a {color:var(--text-primary);font-weight:600;}
.menu-li a:hover {color:Chocolate}

#logo {padding:15px 10px;height:65px;text-align:center}
#logo img {vertical-align:middle;margin-top:5px;max-height:100%;width:auto}
#gnb_open {position:absolute;top:15px;left:10px;padding:0 10px;height:40px;width:40px;border:0;background-size:70%;background:none;font-size:1em;}
#gnb {display:none; position:fixed; top:60px; left:0px; z-index:777; width:100%; height:auto; overflow-y:auto;
-webkit-box-shadow:0 0 5px rgba(55,55,5,0.4);
-moz-box-shadow:0 0 5px rgba(55,55,5,0.4);
box-shadow:0 0 5px rgba(55,55,5,0.4)}

#gnb_1dul li {display: inline;}
#gnb_1dul a {color:var(--text-primary)}
.gnb_1dli {position:relative;line-height:10px;}
.gnb_1da {margin-right:5px; font-size:1.1em;}
/* .gnb_1dli button {position:absolute;top:5px;right:0;width:40px;height:40px;overflow:hidden;border:0;font-size:1.2em;background:#eee;background:url(../img/mobile/gnb_bg2.png) no-repeat 50% 50%;text-indent:-9999px}
.gnb_1dli button.btn_gnb_cl {background:url(../img/mobile/gnb_bg.png) no-repeat 50% 50%}
.gnb_2dul {display:none;}
.gnb_2da {padding-left:30px} */

/* #gnb_1dul {background:#fff}
#gnb_1dul a {display:block;color:#333}
.gnb_1dli {position:relative;line-height:40px}
.gnb_1dli button {position:absolute;top:5px;right:0;width:40px;height:40px;overflow:hidden;border:0;font-size:1.2em;background:#eee;background:url(../img/mobile/gnb_bg2.png) no-repeat 50% 50%;text-indent:-9999px}
.gnb_1dli button.btn_gnb_cl {background:url(../img/mobile/gnb_bg.png) no-repeat 50% 50%}
.gnb_1da {padding:5px 20px;border-bottom:1px solid #eee;font-weight:bold;font-size:1em;}
.gnb_2dul {display:none;}
.gnb_2da {padding-left:30px} */

#gnb_close {display:block;position:absolute;right:8px;top:10px;z-index:99;font-weight:bold;margin:0;height:40px;width:40px;border:0;color:#555;font-size:1em;background:transparent}

#gnb_empty {padding:20px 0;color:#fff;text-align:center;line-height:2em}
#gnb_empty a {display:inline;text-decoration:underline}

#hd_sch {padding:12px 25px 12px 25px;}
#hd_sch h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#hd_sch form {position:relative; max-width: 500px; margin: 0 auto;}
#hd_sch #sch_stx {width:100%;height:35px;background-color: var(--input-bg); color: var(--text-primary); border:1px solid var(--input-border); padding: 5px 7px; border-radius: 5px;}
#hd_sch #sch_submit {position:absolute;top:0;right:0;width:34px;height:34px;border:none;border-radius:5px;cursor:pointer;background-color: var(--button-bg); color:var(--button-text);font-size:1.25em}

.hd_div {right:0;max-width:450px;border-bottom-left-radius:30px;
-webkit-box-shadow:0 5px 5px rgba(100,80,100,0.2);
-moz-box-shadow:0 5px 5px rgba(100,100,100,0.2);
box-shadow:0 5px 5px rgba(100,100,100,0.2)}

#snb_cnt span {display:inline-block;float:right;padding:0 7px;height:18px;margin-top:3px;line-height:18px;font-size:12px;background:#da22f5;border-radius:20px;color:#fff}

#hd_nb {background:var(--bg-primary);margin-top:10px;border-bottom:1px solid var(--border-color)}
#hd_nb:after {display:block;visibility:hidden;clear:both;content:""}
#hd_nb li {width:50%;float:left;text-align:center;line-height:25px;font-size:1.083em;font-weight:bold}
#hd_nb li a {display:block;color:var(--text-secondary);text-align:left;padding:10px 15px}
#hd_nb li i {font-size:14px;margin-right:10px;color:#a5a8ac}
#hd_nb .hd_nb1 {border-right:1px solid #efefef;border-bottom:1px solid #efefef}
#hd_nb .hd_nb2 {border-bottom:1px solid #efefef}
#hd_nb .hd_nb3 {border-right:1px solid #efefef}
#hd_nb .hd_nb4 {background-color: #eeccff}

/* 중간 레이아웃 */
#wrapper {}
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
#container {position:relative;min-height:300px;background-color: var(--bg-primary);color: var(--text-primary);}
#container:after {display:block;visibility:hidden;clear:both;content:""}
#container_title {font-size:1.2em;font-weight:bold;height:50px;padding:10px 15px;line-height:30px;background:var(--bg-primary);color:var(--text-primary);
-webkit-box-shadow:0 0 10px rgba(181, 181, 181, 0.4);
-moz-box-shadow:0 0 10px rgba(181, 181, 181, 0.4);
box-shadow:0 0 10px rgba(181, 181, 181, 0.4);
}
#container_title a {display:inline-block;margin-right:5px}
.top {position:relative}
.btn_top {position:absolute;top:0px;right:10px;z-index:999;padding:8px 0}
.btn_top li {display:inline-block}
.btn_top a,.btn_top button,.btn_top .btn_submit {}
.btn_top .btn_cancel,.btn_top .btn_b01 {border:1px solid #aaa;background:none;color:#666;line-height:28px;background:#fff}
.fixed {position:fixed;top:0;right:0;z-index:999}
.fixed.btn_bo_user {right:10px}
#container_title.fixed {width:100%}

/* 하단 레이아웃 */
#ft {background:var(--bg-primary);color:var(--text-primary);padding:10px;text-align:left}
#ft h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#ft p {margin:0;padding:10px 0;line-height:1.8em;color:var(--text-primary);font-size:0.9em}
#ft_logo {padding:20px 0 0}
#ft_company {}
#ft_company a {display:inline-block;padding-right:10px;line-height:1em;color:#fff}
#ft_company a:first-child {border:0}

#device_change {background:#302e2e;display:block;text-align:center;padding:10px;color:#afafaf;border-radius:5px}
/* #device_change {display:block;line-height:40px;border-radius:5px;background:#302e2e;color:#777;font-size:1em;text-decoration:none;text-align:center} */

/* #top_btn {position:fixed;bottom:10px;right:15px;width:50px;height:50px;line-height:36px;border:1px solid #ccc;border-radius:50%;background:#fff;color:#ccc;text-align:center;font-size:15px;z-index:99;
-webkit-box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4);
-moz-box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4);
box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4)}
#top_btn i {font-size:1.4em}
#top_btn:hover {background:#3b8afb;border-color:#3b8afb;color:#fff} */

#top_btn {position:fixed;bottom:65px;right:15px;opacity: 0.8; width:50px;height:50px;padding-bottom:5px; border:1px solid #888;border-radius:50%;background:#555;color:white;text-align:center;font-size:15px;z-index:99;
-webkit-box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4);
-moz-box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4);
box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4)}
#top_btn i {font-size:1.5em}
#top_btn:hover {background:#3e95ab;border-color:#3e95ab;color:#fff}

/* 게시물 선택복사 선택이동 */
#copymove {}
.copymove_current {float:right;color:#ff3061}
.copymove_currentbg {background:#f4f4f4}
#copymove .tbl_head01 {margin-top:10px}
#copymove td {background:#fff}
#copymove .win_btn {margin:10px}

/* 화면낭독기 사용자용 */
#hd_login_msg {position:absolute;top:0;left:0;width:0;height:0;overflow:hidden}
.msg_sound_only, .sound_only {display:inline-block;position:absolute;top:0;left:0;margin:0 !important;padding:0 !important;width:1px !important;height:1px !important;font-size:0 !important;line-height:0 !important;overflow:hidden}

/* 본문 바로가기 */
.to_content a {z-index:100000;position:absolute;top:0;left:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden}

/* 이미지 등비율 리사이징 */
.img_fix {width:100%;height:auto}

/* 캡챠 자동등록(입력)방지 기본 -pc */
#captcha {position:relative}
#captcha legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
#captcha #captcha_img {height:40px;border:1px solid #898989;vertical-align:top;padding:0;margin:0}
#captcha #captcha_mp3 {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;width:40px;height:40px;background:url('../../../img/captcha2.png') no-repeat;text-indent:-999px;border-radius:3px}
#captcha #captcha_reload {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha2.png') no-repeat 0 -40px;text-indent:-999px;border-radius:3px}
#captcha #captcha_key {margin:0 0 0 3px;padding:0 5px;width:90px;height:40px;border:1px solid #ccc;background:#fff;font-size:1.333em;font-weight:bold;text-align:center;border-radius:0;vertical-align:top}
#captcha #captcha_info {display:block;margin:3px 0 5px;font-size:0.95em;letter-spacing:-0.1em}

/* 캡챠 자동등록(입력)방지 기본 - mobile */
#captcha.m_captcha audio {display:block;margin:0 0 5px}

/* 구글리캡챠 크기 조정 scale */
#captcha.recaptcha {width:213px;height:55px;overflow:hidden}
#rc-imageselect, .g-recaptcha {transform:scale(0.7);-webkit-transform:scale(0.7);transform-origin:0 0;-webkit-transform-origin:0 0}

/* ckeditor 태그 기본값 */
#bo_v_con ul {display:block;list-style-type:disc;margin-top:1em;margin-bottom:1em;margin-left:0;margin-right:0;padding-left:40px}
#bo_v_con ol {display:block;list-style-type:decimal;margin-top:1em;margin-bottom:1em;margin-left:0;margin-right:0;padding-left:40px}
#bo_v_con li {display:list-item}

/*단축키일람 */
.cke_sc {text-align:right}
.btn_cke_sc {background:#333;color:#fff;padding:5px;border:none}
.cke_sc_def {margin:0 0 5px;padding:10px;border:1px solid #ccc;background:#f7f7f7;text-align:center}
.cke_sc_def dl {margin:0 0 5px;text-align:left;zoom:1}
.cke_sc_def dl:after {display:block;visibility:hidden;clear:both;content:""}
.cke_sc_def dt, .cke_sc_def dd {float:left;margin:0;padding:5px 0;border-bottom:1px solid #e9e9e9}
.cke_sc_def dt {width:50%;font-weight:bold}
.cke_sc_def dd {width:50%}
.btn_cke_sc_close {background:#333;padding:5px;border:none;color:#fff}

/* 버튼 */
.btn {display:inline-block;padding:0 5px;height:30px;line-height:30px;border-radius:3px}
a.btn01 {display:inline-block;background:var(--bg-secondary);color:var(--text-primary);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 var(--border-color);background:var(--bg-secondary);color:var(--text-primary);text-decoration:none}
a.btn02 {display:inline-block;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 {text-align:center} /* 서식단계 진행 */

.btn_submit {border:0;background:var(--button-bg);color:var(--button-text);cursor:pointer;border-radius:3px}
.btn_submit:hover {background:var(--link-hover)}
.btn_close {border:1px solid var(--border-color);cursor:pointer;border-radius:3px;background:var(--bg-primary)}
a.btn_close {text-align:center;line-height:50px}

a.btn_cancel {display:inline-block;background:var(--bg-secondary);color:var(--text-primary);text-decoration:none;vertical-align:middle}
button.btn_cancel {display:inline-block;border:1px solid var(--border-color);background:var(--bg-secondary);color:var(--text-primary);vertical-align:top;text-decoration:none}
a.btn_frmline, button.btn_frmline {display:inline-block;padding:0 5px;border:0;background:#fff;border:1px solid olive;color:olive;letter-spacing:-0.1em;text-decoration:none;vertical-align:top} /* 우편번호검색버튼 등 */
button.btn_frmline {font-size:1em}

/* 게시판용 버튼 */
a.btn_b01,.btn_b01 {display:inline-block;background:var(--button-bg);color:var(--button-text);border-radius:3px;padding:10px;border:0;text-decoration:none;vertical-align:middle}
.btn_b01:hover, .btn_b01:hover {background:var(--link-hover)}
a.btn_b02, .btn_b02 {display:inline-block;background:transparent;color:#fff;border:0;border-radius:3px;padding:10px;text-decoration:none;vertical-align:middle}
a.btn_b02:hover, .btn_b02:hover {}
a.btn_b03, .btn_b03 {display:inline-block;line-height:28px;border:0;background:transparent;color:#bababa;text-decoration:none;vertical-align:middle}
a.btn_b03:hover, .btn_b03:hover {}
a.btn_admin {display:inline-block;color:#d13f4a;font-size:1.5em;text-decoration:none;vertical-align:middle} /* 관리자 전용 버튼 */
a.btn_admin:focus, a.btn_admin:hover {}
.fix_btn {position:fixed;z-index:99;bottom:65px;right:15px;background:olive;width:50px;height:50px;color:#fff;text-align:center;border-radius:50% !important;font-size:1.8em;line-height:50px !important;-webkit-box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4);
-moz-box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4);
box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4)}
a.btn,.btn {line-height:35px;width:30px;height:35px;padding:0 5px;text-align:center;font-weight:500;border:0;font-size:1.5em;
-webkit-transition:background-color 0.3s ease-out;
-moz-transition:background-color 0.3s ease-out;
-o-transition:background-color 0.3s ease-out;
transition:background-color 0.3s ease-out}


/* 기본테이블 */
.tbl_wrap {margin:0 10px 10px}
.tbl_wrap table {width:100%;border-collapse:collapse;border-spacing:0;background:var(--table-bg);border-color:var(--table-border)}
.tbl_wrap caption {padding:10px 0;color:#4b8b99;font-weight:bold;text-align:left}

.tbl_head01 {}
.tbl_head01 caption {padding:0 0 10px;color:var(--text-secondary);text-align:left}
.tbl_head01 thead th {padding:12px 0;border:1px solid var(--table-border);background:var(--bg-secondary);color:var(--text-primary);font-size:0.95em;text-align:center;letter-spacing:-0.1em}
.tbl_head01 thead a {color:var(--text-primary)}
.tbl_head01 thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head01 tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
.tbl_head01 tfoot td {border-color:#e3e3e5;background:#484848;color:#fff;font-weight:bold;text-align:center}
.tbl_head01 tbody {text-align:left}
.tbl_head01 tbody th {padding:5px 0;border-top:1px solid var(--table-border);border-bottom:1px solid var(--table-border)}
.tbl_head01 td {padding:5px;border:1px solid var(--table-border);border-top:0;line-height:1.5em;word-break:break-all;color:var(--text-primary)}

.tbl_head02 {}
.tbl_head02 caption {padding:0 0 10px;color:#777;text-align:left}
.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 {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
.tbl_head02 tfoot td {background:#484848;color:#fff;font-weight:bold;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}

/* 기본리스트 */
.list_01 ul {}
.list_01 li {border-bottom:1px solid #e5ecee;padding:15px}
.list_01 li:after {display:block;visibility:hidden;clear:both;content:""}
.all_chk {padding:15px;border-bottom:1px solid var(--border-color);background:var(--bg-secondary);color:var(--text-secondary);border-radius: 5px}

/* 기본폼 */
.form_01 .write_div {margin-bottom:10px;position:relative}
.form_01 li {margin:0 0 10px;position:relative;list-style:none}
.form_01 textarea, .frm_input {border:1px solid var(--input-border);background:var(--input-bg);color:var(--text-primary);vertical-align:middle;padding:5px;border-radius:0;box-shadow:none}
.form_01 textarea {width:100%;height:100px}
.frm_input {height:45px}
.full_input {width:100%} 
.form_01 .frm_file {display:block;margin-bottom:5px;width:100%}
.form_01 select {height:40px;background-color:var(--input-bg);color:var(--text-primary);border-color:var(--input-border)}
.form_01 .frm_info {font-size:0.92em;color:olive;text-align:left;margin:3px 0 10px;display:block;line-height:1.3em}

/* 자료 없는 목록 */
.empty_table {padding:100px 0 !important;color:#777;text-align:center}
.empty_list {padding:20px 0 !important;text-align:center}

/* 필수입력 */
.required, textarea.required {background-image:url('../img/require.png') !important;background-repeat:no-repeat  !important;background-position:right top !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:150px;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:#999}
.txt_rdy {color:#8abc2a}

/* 새창 기본 스타일 */
.new_win {position:relative;background:#fff}
.new_win #win_title {font-size:1.3em;height:50px;line-height:30px;padding:10px 20px;background:#fff;color:#000;-webkit-box-shadow:0 1px 10px rgba(0,0,0,.1);
-moz-box-shadow:0 1px 10px rgba(0,0,0,.1);
box-shadow:0 1px 10px rgba(0,0,0,.1)}
.new_win #win_title .sv {font-size:0.75em;line-height:1.2em}
.new_win_con {}

.new_win .win_ul {margin-bottom:15px;padding:0 20px}
.new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_ul li {float:left;background:#fff;text-align:center;padding:0 10px;border:1px solid #d6e9ff;border-radius:30px;margin-left:5px}
.new_win .win_ul li:first-child {margin-left:0}
.new_win .win_ul li a {display:block;padding:8px 0;color:#6794d3}
.new_win .win_ul .selected {background:olive;border-color:olive;position:relative;z-index:5}
.new_win .win_ul .selected a {color:#fff;font-weight:bold}
.new_win .win_desc {position:relative;margin:10px;border-radius:5px;font-size:1em;background:#f2838f;color:#fff;line-height:50px;text-align:left;padding:0 20px}
.new_win .win_desc i {font-size:1.2em;vertical-align:baseline}
.new_win .win_desc:after {content:"";position:absolute;left:0;top:0;width:4px;height:50px;background:#da4453;border-radius:3px 0 0 3px}

.new_win .win_total {float:right;display:inline-block;line-height:30px;font-weight:normal;font-size:0.75em;color:olive;background:#f6f6f6;padding:0 10px;border-radius:5px}
.new_win .new_win_con {padding:20px}
.new_win .new_win_con:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .new_win_con2 {margin:20px 0}

.new_win .win_btn {clear:both;padding:10px 0 30px;text-align:center}
.new_win .win_btn a {display:inline-block;height:45px;line-height:40px;font-weight:bold}
.new_win .cert_btn {text-align:center}
.new_win .btn_close {width:60px;height:45px;overflow:hidden;cursor:pointer}
.new_win .btn_submit {padding:0 20px;height:45px;font-weight:bold;font-size:1.083em}

/* 검색결과 색상 */
.sch_word {color:#fff;background:chocolate;padding:2px 4px;margin:0 2px}

/* 사이드뷰 */
.sv_wrap {display:inline-block;position:relative;font-weight:normal;line-height:20px}
.sv_wrap .sv {z-index:1000;width:100px;display:none;margin:5px 0 0;font-size:0.92em;background:#333;text-align:left;
-webkit-box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2);
-moz-box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2);
box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2)}
.sv_wrap .sv:before {content:"";position:absolute;top:-6px;left:15px;width:0;height:0;border-style:solid;border-width:0 6px 6px 6px;border-color:transparent transparent #333 transparent}
.sv_wrap .sv a {display:inline-block;width:100px;margin:0;padding:0 10px;line-height:30px;font-weight:normal;color:#bbb}
.sv_wrap .sv a:hover {background:#000;color:#fff}
.sv_member {color:#333;font-weight:bold}
.sv_on {display:block !important;position:absolute;top:23px;left:0px;width:auto;height:auto}
.sv_nojs .sv {display:block}

/* 페이징 */
.pg_wrap {clear:both;display:block;padding:10px 0;text-align:center}
.pg_wrap:after {display:block;visibility:hidden;clear:both;content:""} 
.pg {text-align:center}
.pg_page, .pg_current {display:inline-block;vertical-align:middle;background:var(--bg-secondary);border:1px solid var(--border-color)}
.pg a:focus, .pg a:hover {text-decoration:none}
.pg_page {color:var(--text-primary);font-size:1.083em;height:30px;line-height:28px;padding:0 5px;min-width:30px;text-decoration:none;border-radius:3px}
.pg_page:hover {background-color:var(--bg-gray)}
.pg_start {text-indent:-999px;overflow:hidden;background:url('../img/btn_first.gif') no-repeat 50% 50% var(--bg-secondary);padding:0;border:1px solid var(--border-color)}
.pg_prev {text-indent:-999px;overflow:hidden;background:url('../img/btn_prev.gif') no-repeat 50% 50% var(--bg-secondary);padding:0;border:1px solid var(--border-color)}
.pg_end {text-indent:-999px;overflow:hidden;background:url('../img/btn_end.gif') no-repeat 50% 50% var(--bg-secondary);padding:0;border:1px solid var(--border-color)}
.pg_next {text-indent:-999px;overflow:hidden;background:url('../img/btn_next.gif') no-repeat 50% 50% var(--bg-secondary);padding:0;border:1px solid var(--border-color)}
.pg_start:hover,.pg_prev:hover,.pg_end:hover,.pg_next:hover {background-color:var(--bg-gray)}

.pg_current {display:inline-block;background:var(--button-bg);border:1px solid var(--button-bg);color:var(--button-text);font-weight:bold;height:30px;line-height:30px;padding:0 10px;min-width:30px;border-radius:3px}

/* #user_btn {position:fixed;top:50px;right:4px;z-index:99;height:40px;width:40px;border:0;font-size:1.5em;letter-spacing:-0.1em} */

#user_btn {
  position: fixed;
  top: 50px;
  right: 13px;
  z-index: 999;
  width: 35px;
  height: 35px;
  border: 1px solid var(--bg-secondary);
  border-radius: 50%;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

/* #user_btn:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
} */

#user_btn:active {
  transform: scale(0.95);
}

/* 다크모드 토글 버튼 */
.theme-toggle-btn {
  position: fixed;
  top: 50px;
  right: 55px;
  z-index: 998;
  width: 35px;
  height: 35px;
  border: 1px solid var(--bg-secondary);
  border-radius: 50%;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .theme-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
} */

.theme-toggle-btn:active {
  transform: scale(0.95);
}


/* 텍스트 크기 조절 */
#text_size {margin:10px 0;text-align:center;display:inline-block;padding:7px 20px;border-radius:25px;height:48px}
#text_size button {margin:0 5px;border:0;background: var(--bg-gray); color: var(--text-secondary); height:35px;width:35px;border-radius:50%}
#text_size button.select {background: var(--accent-color); color: var(--button-text); border-bottom:1px solid var(--border-color);
-webkit-box-shadow:0 0 5px rgba(100,80,100,0.2);
-moz-box-shadow:0 0 5px rgba(100,100,100,0.2);
box-shadow:0 0 5px rgba(100,100,100,0.2)}
.ts_up {font-size:1.167em !important}
.ts_up2 {font-size:1.3em !important}