@charset "utf-8";

/* 초기화 */
html { overflow-y: scroll; /* 세로 스크롤 강제 표시 */ } 
body { margin: 0; padding: 0; background-color: #fff !important;color: #121212 !important;transition: background-color 0.3s, color 0.3s;font-size: 0.80em;
   font-family: 'Noto Sans KR', 'Roboto', 'Arial', sans-serif;font-weight:400;
   background: none; overflow-x: hidden; /* 좌우 스크롤 방지 */ position: relative; /* static 대신 relative 권장 */ }
html.dark-mode body {background-color: #121212 !important;color: #f0f0f0 !important;}
.card {background:#fff;}
.dark-mode .card {background:#1c1c1c;}
.dark-mode #full_1dul li a {color: #ffffff !important;}
.dark-mode #full_1dul li a:hover {color: #ffd700 !important;background-color: rgba(255, 255, 255, 0.1) !important;}
.dark-mode .full_2dli {background-color: #000000 !important;}
.dark-mode .full_2dli li a {color: #ffffff !important;}
.dark-mode .full_2dli li a:hover {background-color: rgba(255, 215, 0, 0.2) !important;color: #ffd700 !important;}
html, body {margin:0;padding:0;overflow-x: hidden !important;}
:root {
  --bg-color: #ffffff;
  --text-color: #222222;
  --subtext-color: #666666;
  --border-color: #e9e9e9;
  --table-hover: #fafafa;
  --thead-bg: #f5f8f9;
  --input-bg: #ffffff;
}

.dark-mode {
  --bg-color: #121212;
  --text-color: #eeeeee;
  --subtext-color: #bbbbbb;
  --border-color: #333333;
  --table-hover: #1a1a1a;
  --thead-bg: #1e1e1e;
  --input-bg: #1c1c1c;
}
@media (max-width: 767px) {
  html.dark-mode body {
    background-color: #121212 !important;
    color: #f0f0f0 !important;
  }

  .dark-mode .card {
    background-color: #1c1c1c !important;
  }

  .dark-mode #full_1dul li a {
    color: #ffffff !important;
  }

  .dark-mode #full_1dul li a:hover {
    color: #ffd700 !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
  }

  /* 필요하면 더 많은 모바일 전용 스타일 추가 가능 */
}

/* 모달 박스 */
.post-modal-inner {background: var(--bg-color);color: var(--text-color);}
/* 헤더 */
.post-modal-header {border-bottom: 1px solid var(--border-color);}
/* 제목 */
.post-modal-title {color: var(--text-color);}
/* 닫기 버튼 */
.post-modal-close {color: var(--subtext-color);}
.post-modal-close:hover {color: var(--text-color);}

.main-title h1 { color: var(--title-color); } .main-title p { color: var(--subtitle-color); } 
/* #media-container-1 { color: var(--text-color); } */
.media-container { color: var(--text-color) !important; } .media-title { color: var(--title-color) !important; }
.main-title h1 {color: var(--title-color) !important;}
.main-title p {color: var(--subtitle-color) !important;}
#media-title, #media-content {color: var(--banner-color) !important;}

html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family: 'Noto Sans KR', sans-serif;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}

ul, dl,dt,dd {margin:0;padding:0;list-style:none}
legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img {vertical-align:middle;font-size:1em}
input, button {margin:0;padding:0;font-family: 'Noto Sans KR', sans-serif;font-size:1em}
input[type="submit"] {cursor:pointer}
button {cursor:pointer}



/* 기본 폼/텍스트/링크 스타일 */
textarea,
select,
input[type=text],
input[type=password] {
    font-family: 'Noto Sans KR', sans-serif;
    font-size:1em;
    background-color: var(--input-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

select { margin:0; }
#noti-nav * {display:none !important;}

textarea,
input[type=text],
input[type=password],
select {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    outline: none;
}

textarea:focus,
input[type=text]:focus,
input[type=password]:focus,
select:focus {
    -webkit-box-shadow: 0 0 5px #82b1ff;
    box-shadow: 0 0 5px #82b1ff;
    border: 1px solid #82b1ff !important;
}

.placeholdersjs {
    color: var(--subtext-color) !important;
}

p {
    margin:0;
    padding:0;
    word-break:break-all;
    color: var(--text-color);
}

hr { display:none; }

pre {
    overflow-x: scroll;
    font-size:1.1em;
    background-color: var(--bg-color);
    color: var(--text-color);
    padding:10px;
    border-radius:5px;
}

a {
    color: var(--text-color);
    text-decoration: none; /* 밑줄 제거 */
}

*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.dark-mode td.bo_tit a,
.dark-mode th.bo_tit a {
    color: var(--text-color);
    border-bottom: none !important;
}

/* 레이아웃 크기 지정 */
#hd_pop,
#hd_wrapper,
#tnb .inner,
#container_wr,
#ft_wr {max-width:1200px;width: 100%;padding: 0px 0px;}
@media (max-width: 1023px) {
  #hd_pop,
  #hd_wrapper,
  #tnb .inner,
  #container_wr {max-width:100%;width: 100%;padding: 0 10px !important}
}

#gnb .gnb_wrap {
  max-width: 100%;
  width: 100%;
  background-color: transparent; 
  display: flex;
  justify-content: flex-end; 
  align-items: center;

}

#logo2 {flex: 0 0 auto;text-align: left;margin: 0px 40px 0px 0px; /* 상 10px, 우 0px, 하 10px, 좌 20px */background-color: transparent;height: auto;align-items: center !important}
    
.sns-logo-top {display: flex;align-items: center;gap: 10px;}
.sns-link {display: flex;align-items: center;text-decoration: none;color: inherit;}
/* 로고 컨테이너 */
.sns-logo {width: 40px;height: 40px;}
/* 로고 이미지 */
.sns-logo-image {width: 100%;height: 100%;object-fit: cover; /* 이미지 왜곡 방지 */}
/* 텍스트 영역 */
.sns_title-right {display: flex;flex-direction: column;justify-content: center;}
/* 로로상단 타이틀  */
.title_lg_top {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  font-family: 'Noto Sans KR', sans-serif;
  margin-bottom: 0px;
  white-space: nowrap;
  overflow: hidden;       /* 넘치는 텍스트 숨김 */
  display: inline-block;}

@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: black; } /* 커서 깜박임 */
}
@keyframes colorChange {
  0% { color: red; }
  33% { color: blue; }
  66% { color: green; }
  100% { color: red; }
}
/* 로고하단 타이틀 */
.sns-title-log {width: 100%;display: flex;justify-content: space-between;margin-top: 0px;}
.title-char {flex: 1;text-align: center;font-size: 12px;font-family: 'Noto Sans KR', sans-serif;
    font-weight: 900;
    animation: colorChange 3s infinite; /* 색상 변화 애니메이션 */
  }
/* 팝업 레이어 */
.dark-mode .hd_pops {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
}
.dark-mode .hd_pops_footer {
    background: #1e1e1e;
    color: var(--text-color);
}
.dark-mode .hd_pops_footer button {
    background: #2a2a2a;
    color: var(--text-color);
}
.dark-mode .hd_pops_footer .hd_pops_reject {
    background: #2a2a2a;
    color: var(--text-color);
}
.dark-mode .hd_pops_footer .hd_pops_close {
    background: #333;
    color: var(--text-color);
}

/* 상단 레이아웃 */
.dark-mode #tnb {
    background: var(--bg-color);
    border-bottom: 100px solid var(--border-color);
}
.dark-mode #tnb .inner {
    background: none;
    color: var(--text-color);
}


/* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;height:0}
#hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff}
.hd_pops img {max-width:100%}
.hd_pops_con {}
.hd_pops_footer {padding:0;background:#000;color:#fff;text-align:left;position:relative}
.hd_pops_footer:after {display:block;visibility:hidden;clear:both;content:""}
.hd_pops_footer button {padding:10px;border:0;color:#fff}
.hd_pops_footer .hd_pops_reject {background:#000;text-align:left}
.hd_pops_footer .hd_pops_close {background:#393939;position:absolute;top:0;right:0}

/* 상단 레이아웃 */
#hd {background:none}
#hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
/* 상단바 dc3545 */
#tnb {border-bottom:100px solid #dfdfdf;margin:0 auto;background:#fff}
#tnb:after {display:block;visibility:hidden;clear:both;content:""}
#tnb .inner {margin:0 auto;display: flex;justify-content: space-between;background-color: transparent;}
/* 상단 로고,검색, 메뉴 및 로그인바*/
#hd_wrapper {
  display: flex;
  justify-content: space-between; /* 좌우 정렬 방식 */
  align-items: center; /* 자식 요소의 수직 중앙 정렬 */
  position: relative;
  margin: 0 auto;
  height: 50px; 
  zoom: 1;
  /* background: #e3e3e1; */
  border-bottom: 2px solid #dc3545; 
}

/* 탑 고정(스크롤) */
#hd_wrapper .fixed {
  position: fixed !important;
  top: 0; /* 상단에 고정 */
  left: 0; /* 좌측에 고정 */
  right: 0; /* 우측에 고정 */
  z-index: 1000; /* 다른 요소 위로 고정되도록 */
}
.top_menu {
  flex: 1 1 auto; /* 메뉴는 여유 공간에 맞게 확장 */
  text-align: left; /* 메뉴의 내용 우측 정렬 */
  box-shadow: none;
}

@media (max-width: 1024px) {
  #tnb {display:none;}
}
.hd_sch_wr{display:none;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);width:90%;max-width:550px;padding:15px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,0.2);border-radius:10px;z-index:999999;}
.hd_sch_wr.mo_active{display:block;}
.sch_closer{position:absolute;right:10px;top:10px;background:none;border:0;font-size:20px;cursor:pointer;}
/* 검색 폼 */
#hd_sch{margin-top:20px;}
#hd_sch select,
#hd_sch input{width:100%;padding:10px;margin-bottom:10px;border:1px solid #ddd;border-radius:5px;}
#sch_submit{width:100%;padding:10px;background:#333;color:#fff;border:0;border-radius:5px;}

/* #hd_sch {
  max-width: 100%;width: 100%;border-radius: 10px;overflow: hidden;
  display: flex;align-items: center;justify-content: center;margin: 0 auto;gap: 0px;}
#hd_sch select {
  float: left;width: 120px; height: 40px;border: 1px solid #ccc;
  border-radius: 10px 0 0 10px;padding-left: 10px;background: none;font-size: 1.25em;color: #000;}
#hd_sch #sch_stx {flex: 1;height: 40px;padding-left: 0px;border: 1px solid #ccc;
  border-left: 0;border-right: 0;font-size: 1.25em;color: #000;border-radius: 0;}
#hd_sch #sch_submit {width: 60px;height: 40px;border: 1px solid #ccc;background: none;color: #dc3545;
  border-radius: 0 10px 10px 0;cursor: pointer;font-size: 16px;border-left: 0;}
#hd_sch select + #sch_stx {border-radius: 0;}
#hd_sch select:first-child {
  border-radius: 10px 0 0 0px; }
@media screen and (max-width: 1024px) {#hd_sch select {display: none;}}
#text_size {display: none;} */

#hd_define {
  float: left;
  width: 100%;
  margin-right: 0px; /* 우측 여백 설정 */
}
#hd_define:after {display:block;visibility:hidden;clear:both;content:""}


#hd_define li {float:left;color:#000;font-size:1.083em;font-family: 'Noto Sans KR', sans-serif;
  line-height:14px;border-right:1px solid #4a4a4a;position:relative;text-align:center;margin:15px 10px 15px 0;padding-right:10px}
#hd_define li:last-child {padding-right:0;margin-right:0;border-right:0}
#hd_define li a {display: inline-block !important;color: #000 !important;text-decoration: none !important;}
#hd_define li.active_mt a {color: #000 !important;text-decoration: none !important;}
#hd_define li.active_mt a:hover {color: #dc3545 !important;text-decoration: none !important;}
.hd_opener, .sch_opener, .sch_closer {display: none;background:#dc3545}

#hd_qnb {
  display: flex;
  justify-content: flex-end; /* 전체 우측 정렬 */
  align-items: center; /* 자식 요소의 수직 중앙 정렬 */
  list-style: none;
  padding: 0;
  margin: 0;
}

#hd_qnb li {
  margin-left: 10px;
  font-size: 1.083em;
  text-align: center;
}

#hd_qnb .visit-counter {
  display: inline-block;
  text-align: right; /* 방문자 카운터를 우측 정렬 */
}

#hd_qnb .visit-counter {
  display: inline-block;
  text-align: right; /* 우측 정렬 */
}
/* #hd_qnb .visit .visit-num {display:inline-block;line-height:16px;padding:0 5px;margin-left:5px;border-radius:10px;background:#da22f5;color:#fff;font-size:10px} */


/* .hd_login {flex-shrink: 0;}
.hd_login li {float:left;margin:0 5px;border-left:1px solid #616161;padding-left:10px;line-height:13px}
.hd_login li:first-child {border-left:0}
.hd_login a {color:#000} */

/* 메인메뉴 */
#gnb.hd_div {display: none;}
#gnb {position:relative;background:none}
#gnb > h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#gnb .gnb_wrap {margin:0 auto;position:relative}
#gnb .gnb_wrap:hover, #gnb .gnb_wrap:focus, #gnb .gnb_wrap:active{z-index:3}

@media (min-width:1024px) {
#gnb #gnb_1dul {font-size:1.083em;padding:0;border-bottom:1px solid #e0e2e5;zoom:1}

#gnb ul:after {display:block;visibility:hidden;clear:both;content:""}
#gnb .gnb_1dli {float:left;line-height:35px;padding:0px;position:relative}

#gnb .gnb_1dli:hover > a {color:#dc3545;
-webkit-transition:background-color 2s 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}
.gnb_1dli .bg {position:absolute;top:24px;right:8px;display:inline-block;width:10px;height:10px;overflow:hidden;background:url('../img/gnb_bg2.gif') no-repeat 50% 50%;text-indent:-999px}
.gnb_1da {display:block;font-weight:bold;padding:0 15px;color:#080808;text-decoration:none}
.gnb_1dli.gnb_al_li_plus .gnb_1da{padding-right:25px}
.gnb_2dli:first-child {border:0}
.gnb_2dul {display:none;position:absolute;top:35px;min-width:140px;padding-top:2px}
.gnb_2dul .gnb_2dul_box {border:1px solid #e0e2e5;border-top:0;padding:0;
-webkit-box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2);
box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2)}
.gnb_2da {display:block;padding:0 10px;line-height:40px;background:#ffffff;color:#080808;text-align:left;text-decoration:none}
a.gnb_2da:hover {color:#dc3545;background:#f7f7f8;
-moz-transition:all 0.3s ease-out;
-o-transition:all 0.3s ease-out;
transition:all 0.3s ease-out}
.gnb_2da:focus, .gnb_2da:hover {color:#fff}
.gnb_1dli_over .gnb_2dul {display:block;left:0}
.gnb_1dli_over2 .gnb_2dul {display:block;right:0}
.gnb_wrap .gnb_empty {padding:10px 0;width:100%;text-align:center;line-height:2.7em;color:#080808}
.gnb_wrap .gnb_empty a {color:#dc3545;text-decoration:underline}
.gnb_wrap .gnb_al_ul .gnb_empty, .gnb_wrap .gnb_al_ul .gnb_empty a {color:#555}
}

/* 헴버그 pc*/
/* #gnb .gnb_menu_btn {background:none;color:#dc3545;width:35px;height:35px;border:0;vertical-align:middle;font-size:25px} */

#hd_wrapper .gnb_menu_btn {
  background: #007BFF;
  color: #dc3545;
  width: 50px;
  height: 50px;
  border: 0;
  font-size: 25px;
  vertical-align:middle;
  line-height: 50px; /* 버튼 높이와 동일하게 설정하여 수직 중앙 정렬 */
  text-align: right; /* 텍스트를 중앙 정렬 */
}
#gnb .gnb_close_btn {
  background: #fff;
  color: #b6b9bb;
  width: 50px;
  height: 50px;
  border: 0;
  vertical-align: top;
  font-size: 18px;
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease;
}
#gnb .gnb_close_btn:hover {
  background: #b6b9bb;
  color: #fff;
}

#full-menu-list .gnb_mnal {
  float: right;
  padding: 0;
}

#gnb_all {
  display: none;
  position: absolute;
  border: 1px solid #c5d6da;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

#gnb_all h2 {
  font-size: 1.5em;
  padding: 20px;
  border-bottom: 1px solid #e7eeef;
  background: #f7f9fa;
  font-weight: bold;
  color: #333;
}

#gnb_all .gnb_al_ul::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

#gnb_all .gnb_al_ul > li:nth-child(5n+1) {
  border-left: 0;
}

#gnb_all .gnb_al_li {
  float: left;
  width: 20%;
  min-height: 150px;
  padding: 20px;
  border-left: 1px solid #e7eeef;
  transition: background 0.3s ease;
}

#gnb_all .gnb_al_li:hover {
  background: #f2f5f7;
}

#gnb_all .gnb_al_li .gnb_al_a {
  font-size: 1.2em;
  display: block;
  position: relative;
  margin-bottom: 10px;
  font-weight: bold;
  color: #000;
  transition: color 0.3s ease;
}

#gnb_all .gnb_al_li .gnb_al_a:hover {
  color: #007BFF;
}

#gnb_all .gnb_al_li li {
  line-height: 2em;
}

#gnb_all .gnb_al_li li a {
  color: #555;
  transition: color 0.3s ease;
}

#gnb_all .gnb_al_li li a:hover {
  color: #007BFF;
}

#gnb_all_bg {
  display: none;
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  transition: background 0.3s ease;
}

/* 중간 레이아웃 */
#wrapper {}
#container_wr:after {display:block;visibility:hidden;clear:both;content:""}
/* #container_wr {margin:0 auto;zoom:1} */
#container_wr {
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  margin: 0 auto;
  padding: 0px; 
  /* background-color: rgba(255, 255, 255, 0.8);  */
  zoom: 1;
  /* border-radius: 10px 10px 0 0;  */
  overflow: hidden; 
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  */
}
#aside {float:right;width:280px;padding:0;height:100%;margin:0px 20px 0px 0px;background-color: transparent;}
#container_wr_main {
  width: 100%;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  margin: 0 auto;
  padding: 0px; 
  zoom: 1;position: relative;
  overflow: hidden;
}
/* 메인통합시사용 중간 센터 */
#container_main {position:relative;float:left;min-height:500px;height:auto !important;
  margin:0px 0;font-size:1em;width:100%;}
#container_mb.container_member {
    width: 487px !important;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    float: none !important;
}
#container {position:relative;float:right;min-height:500px;height:auto !important;
  background:none;margin:0px 0;font-size:1em;width:900px;zoom:1}
#container:after {display:block;visibility:hidden;clear:both;content:""}
#container_title {font-size:1.333em;margin:0 auto;font-weight:bold}
#container_title span {margin:0 auto 10px;display:block;line-height:30px}

.lt_wr {width:32%}
.lt_wr:nth-child(3n+1) {clear:both}
.latest_wr {margin-bottom:20px}
.latest_wr:after {display:block;visibility:hidden;clear:both;content:""}

.latest_top_wr {margin:0 -10px 20px}
.latest_top_wr:after {display:block;visibility:hidden;clear:both;content:""}

/* 하단 레이아웃 */
#ft {
  background: rgba(33, 32, 32, 0.5);
  margin: 0 auto;
  text-align: center;
}
#ft h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
@media (max-width: 768px) {
    #top_btn {display: none;}
}

#ft_copy {
  text-align: center;
  max-width: 100%;
  width: auto;
  margin: 0 auto;
  padding: 20px 0;
  color: #ffffff;
  background: rgba(33, 32, 32, 0.3);
  font-size: 0.92em;
}

/* 다크 모드 */
.dark-mode #ft_copy {
  background: rgba(20, 20, 20, 0.9); /* 더 진한 배경 */
  color: #ddd;                       /* 글자는 밝은 회색 */
  font-size: 1em;                     /* 살짝 크게 */
  letter-spacing: 0.5px;              /* 글자 간격 조금 넓게 */
}

.dark-mode #ft_copy a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.dark-mode #ft_copy a:hover {
  color: #66ccff; /* hover 시 포인트 컬러 */
}
#top_btn {position:fixed;bottom:100px;right:10px;width:50px;height:50px;line-height:46px;
  border:2px solid #333;color:#333;text-align:center;font-size:15px;z-index:9999999;
  border-radius: 50%; /* 둥글게 만들기 위해 변경 */
  background:rgba(255,255,255,0.5)
}
#top_btn:hover {border-color:#dc3545;background:#dc3545;color:#fff}

.hide-logo {
    display: none !important;
}
/* 게시물 선택복사 선택이동 */
#copymove {}
#copymove .win_desc {text-align:center;display:block}
#copymove .tbl_wrap {margin:20px}
#copymove .win_btn {padding:0 20px 20px}
.copymove_current {float:right;background:#ff3061;padding:5px;color:#fff;border-radius:3px}
.copymove_currentbg {background:#f4f4f4}

/* 화면낭독기 사용자용 */
#hd_login_msg {position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden}
.msg_sound_only, .sound_only {display:inline-block !important;position:absolute;top:0;left:0;width:0;height:0;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}

/* 본문 바로가기 */
#skip_to_container a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#skip_to_container a:focus, #skip_to_container a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em}

/* ie6 이미지 너비 지정 */
.img_fix {width:100%;height:auto}
.is_captcha_use {
  width: 100%;
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 10px 0;
}
/* 캡챠 자동등록(입력)방지 기본 -pc */
#captcha {display:inline-block;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;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:100px;height:40px;border:1px solid #ccc;background:#fff;font-size:1.333em;font-weight:bold;text-align:center;border-radius:3px;vertical-align:top}
#captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em}
.dark-mode #captcha #captcha_img {border: 1px solid #555;background-color: #222;}
.dark-mode #captcha #captcha_key {border: 1px solid #555;background: #333;color: #fff;}
.dark-mode #captcha_info {color: #ccc;}
/* 캡챠 자동등록(입력)방지 기본 - 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: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}
#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/captcha2.png') no-repeat 0 0 ; vertical-align:top;overflow:hidden;cursor:pointer;text-indent:-9999px;border:none}

/* ckeditor 단축키 */
.cke_sc {margin:0 0 5px;text-align:right}
.btn_cke_sc {display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:1.9em;vertical-align:middle;cursor:pointer}
.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:20%;font-weight:bold}
.cke_sc_def dd {width:30%}

/* 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}

/* 버튼 */
a.btn,.btn {line-height:35px;height:35px;padding:0 10px;text-align:center;font-weight:bold;border:0;font-size:1.4em;
-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}

a.btn01 {display:inline-block;padding:7px;border:1px solid #cccccc;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 {text-align:right} /* 서식단계 진행 */

.btn_submit {border:0;background:#dc3545;color:#fff;cursor:pointer;border-radius:3px}
.btn_submit:hover {background:#ffdd1a}
.btn_close {border:1px solid #dcdcdc;cursor:pointer;border-radius:3px;background:#fff}
a.btn_close {text-align:center;line-height:50px}

a.btn_cancel {display:inline-block;background:#969696;color:#fff;text-decoration:none;vertical-align:middle}
button.btn_cancel {display:inline-block;background:#969696;color:#fff;text-decoration:none;vertical-align:middle}
.btn_cancel:hover {background:#aaa}
a.btn_frmline, button.btn_frmline {display:inline-block;width:128px;padding:0 5px;height:40px;border:0;background:#434a54;border-radius:3px;color:#fff;text-decoration:none;vertical-align:top} /* 우편번호검색버튼 등 */
a.btn_frmline {}
button.btn_frmline {font-size:1em}

/* 게시판 리스트 */
.dark-mode #bo_list {
    background: var(--bg-color);
    color: var(--text-color);
}

.dark-mode #bo_list table {
    background: var(--bg-color);
}

.dark-mode #bo_list thead th {
    background: var(--thead-bg);
    color: var(--text-color);
    border-color: var(--border-color);
}

.dark-mode #bo_list tbody td {
    border-color: var(--border-color);
}

/* 게시판 hover */
.dark-mode #bo_list tbody tr:hover {
    background: var(--table-hover);
}

/* 게시판 제목 링크 */
.dark-mode td.bo_tit a {
    color: var(--text-color);
}

/* 게시판 view */
.dark-mode #bo_v {
    background: var(--bg-color);
    color: var(--text-color);
}

/* 게시글 제목 */
.dark-mode #bo_v_title {
    color: var(--text-color);
}

/* 게시글 정보 */
.dark-mode #bo_v_info {
    color: var(--subtext-color);
    border-color: var(--border-color);
}

/* 게시글 내용 */
.dark-mode #bo_v_con {
    color: var(--text-color);
}

/* 게시글 하단 버튼 */
.dark-mode #bo_v_btn a {
    background: var(--input-bg);
    color: var(--text-color);
    border:1px solid var(--border-color);
}

/* 댓글 영역 */
.dark-mode #bo_vc {
    background: var(--bg-color);
}

/* 댓글 리스트 */
.dark-mode .bo_vc_li {
    border-color: var(--border-color);
}

/* 댓글 작성 */
.dark-mode #bo_vc_w textarea {
    background: var(--input-bg);
    color: var(--text-color);
    border:1px solid var(--border-color);
}

/* 글쓰기 */
.dark-mode #bo_w {
    background: var(--bg-color);
}

.dark-mode #bo_w input,
.dark-mode #bo_w textarea,
.dark-mode #bo_w select {
    background: var(--input-bg);
    color: var(--text-color);
    border:1px solid var(--border-color);
}

/* 페이지 번호 */
.dark-mode .pg_page {
    background: var(--input-bg);
    color: var(--text-color);
    border:1px solid var(--border-color);
}

.dark-mode .pg_current {
    background: #333;
    color: #fff;
}
.dark-mode img {
    opacity:0.95;
}

.dark-mode iframe {
    filter: brightness(0.9);
}

/* 게시판용 버튼 */
a.btn_b01,.btn_b01 {display:inline-block;color:#bababa;text-decoration:none;vertical-align:middle;border:0;background:transparent}
.btn_b01:hover, .btn_b01:hover {color:#000}
a.btn_b02,.btn_b02 {display:inline-block;background:#dc3545;padding:0 10px;color:#fff;text-decoration:none;border:0;vertical-align:middle}
a.btn_b02:hover, .btn_b02:hover {background:#ffdd1a}
a.btn_b03, .btn_b03 {display:inline-block;background:#fff;border:1px solid #b9bdd3;color:#646982;text-decoration:none;vertical-align:middle}
a.btn_b03:hover, .btn_b03:hover {background:#ebedf6}
a.btn_b04, .btn_b04 {display:inline-block;background:#fff;border:1px solid #ccc;color:#707070;text-decoration:none;vertical-align:middle}
a.btn_b04:hover, .btn_b04:hover {color:#333;background:#f9f9f9}
a.btn_admin,.btn_admin {display:inline-block;color:#dc3545;text-decoration:none;vertical-align:middle} /* 관리자 전용 버튼 */
.btn_admin:hover, a.btn_admin:hover {color:#ff3746}

.tbl_wrap table {
    background: var(--bg-color);border-top:1px solid var(--border-color);
}
/* 기본테이블 */
.tbl_wrap table {width:100%;border-collapse:collapse;border-spacing:0 5px;border-top:1px solid #ececec;}
.tbl_wrap caption {padding:10px 0;font-weight:bold;text-align:left}
.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:normal;text-align:center;border-bottom:1px solid #ececec;height:40px}
.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-bottom:1px solid #e8e8e8}
.tbl_head01 td {color: var(--subtext-color);padding:10px 5px;border-top:1px solid #ecf0f1;border-bottom:1px solid #ecf0f1;line-height:1.4em;height:60px;word-break:break-all}
.tbl_head01 tbody tr:hover td {background: var(--table-hover);}
.tbl_head01 a:hover {text-decoration:underline}

.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;background:#fff}
.tbl_head02 td {padding:5px 3px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#fff;line-height:1.4em;word-break:break-all}
.tbl_head02 a {}

/* 폼 테이블 */
.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:#f5f8f9;text-align:left}
.tbl_frm01 td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
.wr_content textarea,.tbl_frm01 textarea,.form_01 textarea, .frm_input {border:1px solid #d0d3db;background: var(--input-bg);color: var(--text-color);vertical-align:middle;border-radius:3px;padding:5px;
-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);
box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);
}
.tbl_frm01 textarea {padding:2px 2px 3px}
.frm_input {height:40px}

.full_input {width:100%}
.half_input {width:49.5%}
.twopart_input {width:385px;margin-right:10px}
.tbl_frm01 textarea, .write_div textarea {width:100%;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}

/*기본 리스트*/
.list_01 ul {border-top:1px solid #ececec}
.list_01 li {border-bottom:1px solid #ececec;background:#fff;padding:10px 15px;list-style:none;position:relative}
.list_01 li:nth-child(odd) {background:#f6f6f6}
.list_01 li:after {display:block;visibility:hidden;clear:both;content:""}
.list_01 li:hover {background:#f9f9f9}
.list_01 li.empty_li {text-align:center;padding:20px 0;color:#666}
/* 기본 테이블 */ 
.dark-mode .tbl_wrap table { background: #1e1e1e; border-top: 1px solid #444; } 
.dark-mode .tbl_head01 thead th { background: #2a2a2a; color: #e0e0e0; border-bottom: 1px solid #444; } 
.dark-mode .tbl_head01 td { color: #cccccc; border-top: 1px solid #333; border-bottom: 1px solid #333; } 
.dark-mode .tbl_head01 tbody tr:hover td { background: #2a2a2a; } 
.dark-mode .tbl_head01 a:hover { color: #23db79; } /* 테이블 헤드02 */ 
.dark-mode .tbl_head02 thead th { background: #2a2a2a; color: #e0e0e0; border-top: 1px solid #444; border-bottom: 1px solid #444; } 
.dark-mode .tbl_head02 td { background: #1e1e1e; color: #cccccc; border-top: 1px solid #333; border-bottom: 1px solid #333; } 
.dark-mode .tbl_head02 tbody th { background: #2a2a2a; color: #e0e0e0; } /* 폼 테이블 */ 
.dark-mode .tbl_frm01 th { background: #2a2a2a; color: #23db79; border: 1px solid #444; } 
.dark-mode .tbl_frm01 td { background: #1e1e1e; color: #e0e0e0; border-top: 1px solid #333; border-bottom: 1px solid #333; } 

.dark-mode .frm_input, 
.dark-mode .tbl_frm01 textarea {
  border: 1px solid #555; color: #e0e0e0; 
} 
/* 기본 리스트 */ 
.dark-mode .list_01 ul { border-top: 1px solid #444; } 
.dark-mode .list_01 li { background: #1e1e1e; border-bottom: 1px solid #333; color: #e0e0e0; } 
.dark-mode .list_01 li:nth-child(odd) { background: #2a2a2a; } 
.dark-mode .list_01 li:hover { background: #333; }
.dark-mode .list_01 li.empty_li { color: #999; }

/*폼 리스트*/
.form_01 h2 {font-size:1.167em}
.form_01 li {margin-bottom:10px}
.form_01 ul:after,
.form_01 li:after {display:block;visibility:hidden;clear:both;content:""}
.form_01 .left_input {float:left}
.form_01 .margin_input {margin-right:1%}
.form_01 textarea {height:100px;width:100%}
.form_01 .frm_label {display:inline-block;width:130px}

/* 자료 없는 목록 */
.empty_table {padding:50px 0 !important;text-align:center}
.empty_list {padding:20px 0 !important;color:#666;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:80px;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:auto;text-align:center}
.td_group {width:80px;text-align:center}
.td_mb_id {width:100px;text-align:center}
.td_mng {width:80px;text-align:center}
.td_name {width:100px;text-align:right}
.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 {position:relative}
.new_win .tbl_wrap {margin:0 20px}
.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);
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 .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:#ffe75e}
.new_win .win_ul .selected {background:#dc3545;border-color:#dc3545;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 .frm_info {font-size:0.92em;color:#919191}
.new_win .win_total {float:right;display:inline-block;line-height:30px;font-weight:normal;font-size:0.75em;color:#dc3545;background:#f6f6f6;padding:0 10px;border-radius:5px}
.new_win .new_win_con {margin:20px 0;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 .btn_confirm:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_btn {text-align:center}
.new_win .cert_btn {margin-bottom:30px;text-align:center}
.new_win .btn_close {padding:0 20px;height:45px;overflow:hidden;cursor:pointer}
.new_win .btn_submit {padding:0 20px;height:45px;font-weight:bold;font-size:1.083em}
/* =========================
   NEW WIN 다크모드 처리
========================= */
.dark-mode .new_win #win_title {
  background:#1c1c1c;
  color:#eee;
  box-shadow:0 1px 10px rgba(0,0,0,.6);
}
.dark-mode .new_win .win_ul li {
  background:#1a1a1a;
  border:1px solid #333;
}
.dark-mode .new_win .win_ul li a {
  color:#ffd76a;
}
.dark-mode .new_win .win_ul .selected {
  background:#dc3545;
  border-color:#dc3545;
}
.dark-mode .new_win .win_ul .selected a {
  color:#fff;
}
.dark-mode .new_win .win_desc {
  background:#2a1f22;
  color:#ffb3bd;
}
.dark-mode .new_win .win_desc:after {
  background:#dc3545;
}
.dark-mode .new_win .frm_info {
  color:#aaa;
}
.dark-mode .new_win .win_total {
  background:#1a1a1a;
  color:#ff6b6b;
}

/* 검색결과 색상 */
.sch_word {color:#292929;font-weight: bold;font-size: 16px;text-decoration: underline solid;text-decoration-thickness: 3px;text-decoration-color: #ffd500;text-align: left;}
.dark-mode .sch_word {color:#f5f5f5;text-decoration-color:#ffc107;}

/* 자바스크립트 alert 대안 */
#validation_check {margin:100px auto;width:500px}
#validation_check h1 {margin-bottom:20px;font-size:1.3em}
#validation_check p {margin-bottom:20px;padding:30px 20px;border:1px solid #e9e9e9;background:#fff}

/* 사이드뷰 */
.sv_wrap {position:relative;font-weight:normal}
.sv_wrap .sv {z-index:99999;display:none;margin:5px 0 0;font-size:0.92em;background:#dc3545;
-webkit-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 #dc3545 transparent}
.sv_wrap .sv a {display:inline-block;margin:0;padding:0 10px;line-height:30px;width:100px;font-weight:normal;color:#000}
.sv_wrap .sv a:hover {background:#dc3545;color:#fff}
.sv_member {color:#333}
.sv_on {display:block !important;position:absolute;top:20px;left:0px;width:auto;height:auto}
.sv_nojs .sv {display:block}

/* 페이징 */
.pg_wrap {clear:both;float:left;display:inline-block}
.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:#eee;border:1px solid #eee}
.pg a:focus, .pg a:hover {text-decoration:none}
.pg_page {color:#959595;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:#fafafa}
.pg_start {text-indent:-999px;overflow:hidden;background:url('../img/btn_first.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_prev {text-indent:-999px;overflow:hidden;background:url('../img/btn_prev.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_end {text-indent:-999px;overflow:hidden;background:url('../img/btn_end.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_next {text-indent:-999px;overflow:hidden;background:url('../img/btn_next.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_start:hover,.pg_prev:hover,.pg_end:hover,.pg_next:hover {background-color:#fafafa}

.pg_current {display:inline-block;background:#dc3545;border:1px solid #dc3545;color:#fff;font-weight:bold;height:30px;line-height:30px;padding:0 10px;min-width:30px;border-radius:3px}
/* 검색결과 강조 */
.dark-mode .sch_word {
    color: #f5f5f5;
    text-decoration-color: #ffc107; /* 옐로 포인트 */
}

/* 자바스크립트 alert 대안 */
.dark-mode #validation_check p {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

/* 사이드뷰 */
.dark-mode .sv_wrap .sv {background: #2a2a2a;box-shadow: 2px 2px 3px rgba(255,255,255,0.05);}
.dark-mode .sv_wrap .sv:before {border-color: transparent transparent #2a2a2a transparent;}
.dark-mode .sv_wrap .sv a {color: var(--text-color);}
.dark-mode .sv_wrap .sv a:hover {background: #23db79;color: #fff;}
.dark-mode .sv_member {color: var(--text-color);}
/* 페이징 */
.dark-mode .pg_page {background: #1e1e1e;border: 1px solid var(--border-color);color: var(--text-color);}
.dark-mode .pg_page:hover {background-color: #2a2a2a;color: #23db79;}
.dark-mode .pg_current {background: #23db79;border: 1px solid #23db79;color: #fff;font-weight: bold;}
.dark-mode .pg_start,
.dark-mode .pg_prev,
.dark-mode .pg_end,
.dark-mode .pg_next {background-color: #1e1e1e;border: 1px solid var(--border-color);}
.dark-mode .pg_start:hover,
.dark-mode .pg_prev:hover,
.dark-mode .pg_end:hover,
.dark-mode .pg_next:hover {background-color: #2a2a2a;}

/* cheditor 이슈 */
.cheditor-popup-window *, .cheditor-popup-window :after, .cheditor-popup-window :before {
-webkit-box-sizing:content-box;
-moz-box-sizing:content-box;
box-sizing:content-box;
}

/* Mobile화면으로 */
#device_change {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center}
@media (max-width:1024px) {
  /* #aside,  */
  .hd_sch_wr ,.hd_login, .top_menu, nav#gnb {display: none;}
  #aside { float: none; width: 100%;  margin: 0; }
  /* 모바일 반응 상단 hd_sch select*/
    #hd_wrapper {
    height: 50px;
    /* background: #dc3545 !important; */

    position: static !important;
  }

  #container {width: 100%;margin-top:0px !important;}
  #container_main {width: 100%;margin-top:0px !important;}

  .lt_wr {width: 100%; margin-left: 0 !important;}
  #logo {
    display: flex; /* Flexbox 컨텍스트 활성화 */
    justify-content: center; /* 수평 중앙 정렬 */
    align-items: center; /* 수직 중앙 정렬 */
    margin: 0 auto; /* 가운데 배치를 위한 여백 */
}
  /* 반응 햄버 검색 모바일 상단 */
  .hd_opener, .sch_opener, .hd_sch_wr.mo_active, #text_size {display: block;}

  /* 모바일 및 햄버그 반응메뉴 */
  #gnb_open {position:absolute;top:10px;left:10px;padding:0 10px;height:40px;width:40px;border:0;background-size:100%;color:#ffffff;background:none;font-size:2em}
  #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:#bfb8b2;font-size:2em;background:transparent}
  #gnb.mo_active {display: block;background:#efefef;position:fixed;top:0;left:0;z-index:99999;width:100%;max-width:400px;height:100%;overflow-y:auto;
  -webkit-box-shadow:0 0 5px rgba(55,55,5,0.4);
  box-shadow:0 0 5px rgba(55,55,5,0.4)}

  #gnb_empty {padding:20px 0;color:#fff;text-align:center;line-height:2em}
  #gnb_empty a {display:inline;text-decoration:underline}

  #hd_nb {background:#fff;margin-top:10px;border-bottom:1px solid #e1e1e1}
  #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:#717171;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_sch {max-width: 100%;text-align:center;padding:12px 55px 12px 15px;background:#212020;border-radius: 0px;}
  #hd_sch h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
  #hd_sch form {position:relative;padding-right:40px}
  #hd_sch #sch_stx {width:100%;height:38px;margin-left:40px;background:#464646;border:0;color:#fff;border-radius: 0;}
  #hd_sch #sch_submit {position:absolute;top:0;left:0;width:40px;height:38px;border:0;border-radius:3px;cursor:pointer;color:#a6a5a5;background:#464646;font-size:1.25em} */
  /* 반응형 검색버튼 */
  /* #user_btn {position:absolute;top:10px;right:10px;padding:0 10px;height:40px;width:40px;border:0;color:#ffffff;font-size:1.8em;background:none;letter-spacing:-0.1em}
  #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}
  .hd_sch_wr.mo_active {position:fixed;top:0;right:0;width:100%;max-width: 100%;height:100%;overflow-y:auto;z-index:9999;background:#efefef;padding: 0;text-align:center}
  .hd_sch_wr.mo_active #popular h2 {position: static;font-size: 16px;text-align:left;color:#8d8c8c;line-height:24px;padding:10px}
  .hd_sch_wr.mo_active #popular {margin: 0;max-width: 100%;}
  .hd_sch_wr.mo_active #popular .popular_inner {height: auto;}
  .hd_sch_wr.mo_active #popular ul {flex-direction: column;}
  .hd_sch_wr.mo_active #popular li {background:#fff;padding:0 15px;border-bottom:1px solid #e5ecee;width: 100% !important;height: auto;line-height: normal;}
  .hd_sch_wr.mo_active #popular li a {display:block;text-align:left;color:#000;padding:10px 0;border-bottom:1px solid #e5ecee} */

  #gnb_1dul {background:#fff}
  #gnb_1dul a {display:block;color:#000}
  .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:#fff;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:1.2em;}
  .gnb_2dul {display:none;background:#fafafa}
  .gnb_2da {padding-left:30px}

  #gnb a.btn_b01,#gnb .btn_b01 {display:inline-block;background:#dc3545;color:#fff;border-radius:3px;padding:10px;border:0;text-decoration:none;vertical-align:middle}
  #gnb a.btn_b02,#gnb .btn_b02 {display:inline-block;background:transparent;color:#fff;border:0;border-radius:3px;padding:10px;text-decoration:none;vertical-align:middle}
}