@charset "utf-8";
@import url('//fonts.googleapis.com/css?family=Roboto:400,700');
@import url('../../../nariya/css/g5.css');

/********************************************************
■ Theme Common
********************************************************/
body { margin:0; padding:0;	  background: var(--bg);
  color: var(--text);
  transition: background var(--transition-fast), color var(--transition-fast);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }
  h1, h2, h3, h4, h5, h6, .en { font-family:"Roboto", sans-serif; }
/********************************************************
■ Theme Layout : 테마 레이아웃
********************************************************/
.view_user_img { width:30px; }
.wrapper { /*background:#fff;*/ }
@media all and (max-width:991px) {
	.responsive .wrapper { overflow-x:hidden; }
}
.nt-container,
.nt-container-wide { margin:0 auto; }
@media all and (min-width:992px) {
	.responsive .boxed-a.wrapper .nt-container.px-xl-0 { padding-left:1.5rem !important; padding-right:1.5rem !important; }
	.responsive .boxed-b.wrapper { padding-left:1.5rem !important; padding-right:1.5rem !important; }
	.responsive .boxed-b.wrapper #nt_title .nt-container.px-xl-0,
	.responsive .boxed-b.wrapper #nt_wing .nt-container.px-xl-0 { padding-left:1.5rem !important; padding-right:1.5rem !important; }
}

/* 비반응형 */
.no-responsive .boxed-a.wrapper .nt-container.px-xl-0 { padding-left:1.5rem !important; padding-right:1.5rem !important; }
.no-responsive .boxed-b.wrapper { padding-left:1.5rem !important; padding-right:1.5rem !important; }
.no-responsive .boxed-b.wrapper #nt_title .nt-container.px-xl-0,
.no-responsive .boxed-b.wrapper #nt_wing .nt-container.px-xl-0 { padding-left:1.5rem !important; padding-right:1.5rem !important; }
@media all and (max-width:1200px) {
	.no-responsive .wrapper.wided .nt-container.px-xl-0 { padding-left:1.5rem !important; padding-right:1.5rem !important; }
	.no-responsive .wrapper.wided #nt_title .nt-container.px-xl-0,
	.no-responsive .wrapper.wided #nt_wing .nt-container.px-xl-0 { padding-left:1.5rem !important; padding-right:1.5rem !important; }
}

.badge_color { color:#1aa080 !important;font-size:16px; }						
/* ====== 다크모드: CSS 변수 정의 (기본: 라이트) ====== */
:root {
  --bg: #ffffff;
  --surface: #fbfbfb;
  --card: #ffffff;
  --text: #222222;
  --text2: #222222;
  --muted: #666666;
  --link: #000;
  --link2: #000;
  --border: #e6e6e6;
  --border2: #e6e6e6;
  --accent: #0066cc;
  --gray: #fafafa;
  --gray2: #333;
  --gray3: #f8f9fa;
  --gray4: #fafafa;
  --ibtn: rgba(0, 0, 0, .5) !important;
  --shadow: rgba(0,0,0,0.06);
  --transition-fast: 180ms;
}

/* 다크 모드: data-theme="dark" 사용 (html에 설정) */
html[data-theme="dark"] {
  --bg: #0f1115;
  --surface: #0b0d10;
  --card: #101217;
  --text: #e6eef6;
  --text2: #222222;
  --muted: #9aa6b2;
  --link: #fff;
  --link2: #fff;
  --border: #22272d;
  --border2: #858585;
  --accent: #66a8ff;
  --gray: #0f1115;
  --gray2: #fff;
  --gray3: #0f1115;
  --gray4: #313131;
  --ibtn: rgba(255, 255, 255, .5) !important;
  --shadow: rgba(0,0,0,0.6);
}
html[data-theme="dark"] [style*="color:rgb(0,0,0)"] { color: var(--text) !important; }
html[data-theme="dark"] [style*="color:rgb(255,255,255)"] { color: #ddd !important; }
html[data-theme="dark"] [style*="color:rgb(53, 46, 44)"] { color: var(--text) !important; }
html[data-theme="dark"] [style*="color:rgb(37,37,37)"] { color: #ddd !important; }

html[data-theme="dark"] #nt_title { background: #1e1e1e !important;border-bottom: 1px solid #333; }

html[data-theme="dark"] #nt_menu a:hover,
html[data-theme="dark"] #nt_menu a:focus,
html[data-theme="dark"] #nt_menu a:active {
    color: var(--link2) !important;
}

html[data-theme="dark"] .sidebar-list .me-ul { background: #000; }

html[data-theme="dark"] .sidebar-list li a:hover,
html[data-theme="dark"] .sidebar-list li a:focus,
html[data-theme="dark"] .sidebar-list li a:active {
    color: var(--text) !important;
}

html[data-theme="dark"] .list-group-item { border: 1px solid #333; }

html[data-theme="dark"] .sidebar-list li a { border-bottom: 1px solid #333; }

html[data-theme="dark"] .border-top { border-top: 1px solid #333 !important; }

html[data-theme="dark"] #nt_menu { background: #0f1115; }

html[data-theme="dark"] .by-writer { background: #333 !important; }

html[data-theme="dark"] .sidebar-list .me-ul1 { background: #1e1e1e; }

html[data-theme="dark"] .bg-white {
    background-color: #1e1e1e !important;
}
html[data-theme="dark"] .border-bottom { border-bottom: 1px solid #333 !important; }
html[data-theme="dark"] .border-right { border-right: 1px solid #333 !important; }

html[data-theme="dark"] hr.hr::before { background-color: #333; }

html[data-theme="dark"] .nt-menu .sub-1da { color:#fff; }

html[data-theme="dark"] .nt-menu .sub-1div { background-color: #333; }

html[data-theme="dark"] .nt-menu .sub-1dli .sub-1da { color:#fff;background: #000;border-color: #333; }
html[data-theme="dark"] .nt-menu .sub-1dli:hover .sub-1da { background: #000;border-color: #333; }

html[data-theme="dark"] .sly-tab hr { border-top: 1px solid #333; }

html[data-theme="dark"] .sly-tab li a { color:#fff;background: #000;border: 1px solid #333; }
html[data-theme="dark"] .sly-tab li.active a { background: #333;border-bottom: 1px solid #333; }

html[data-theme="dark"] #calendar .flipover .goto-btn .btn { color:#fff; }



/* 전역 반영 예시 (필요한 셀렉터 더 추가) */
body {  }

/* 링크, 버튼, 카드 등 예시 */
a { color: var(--link); }
.header, .gnb, .navbar { background: var(--surface); border-bottom: 1px solid var(--border); }
.card { background: var(--card); box-shadow: 0 6px 18px var(--shadow); border: 1px solid var(--border); color: var(--text); }

/* input, textarea, select */
textarea, select {
  background: linear-gradient(var(--card), var(--card));
  color: var(--text);
  border: 1px solid var(--border);
}
input {
  color: var(--text2) !important;
  border: 1px solid var(--border2) !important;;
}

/* 이미지/아이콘 주의: 밝은 이미지 자동 보정 (선택사항) */
img.invert-in-dark {
  transition: filter var(--transition-fast);
}
html[data-theme="dark"] img.invert-in-dark {
  filter: brightness(0.95) contrast(1.02);
}

/* 스위치 기본 */
.switch {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 16px;margin-bottom:1px;
}

/* 체크박스 숨기기 */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* 슬라이더 */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 8px;
}

/* 원형 버튼 */
.slider:before {
  position: absolute;
  content: "";
  height: 12px; width: 12px;
  left: 3px; bottom: 2px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

/* 체크 ON 상태 */
input:checked + .slider {
  background-color: #1aa080;
}
input:checked + .slider:before {
  transform: translateX(17px);
}

.affiliate01_title { width:100%;height:auto;overflow:hidden;color:#1aa080;font-size:17px;font-weight:600; }

.radioicon { width:100px;color:#1aa080;font-size:20px; }

.bg-light { background-color: var(--gray3) !important; }
.text-black-50 { color:var(--ibtn) !important; }
.list-group-item { background-color:var(--bg) !important; }

.table { color:var(--link) !important; }

.tab-container { display: flex;gap: 20px; }
.tab-box { flex: 1;border: 1px solid var(--border2);padding:10px;border-radius:6px;color:#282828; }
.tab-box2 { flex: 1;color:#282828; }
.tab-menu { display: flex;/*border-bottom: 1px solid #ddd;*/margin: 0;padding: 0;list-style: none; }
.tab-menu li { flex: 1;text-align: center;padding: 8px 0;cursor: pointer;font-weight: bold;font-size: 14px;/*border-right: 1px solid #ddd;*/color: #aaa; }
.tab-menu li:last-child { border-right: none; }
.tab-menu li.active { /*background-color: #f0f0f0;*/color: var(--link); }
.tab-content { display: none;padding: 10px; }
.tab-content .tab_halfbox { width:100%;height:auto;overflow:hidden;display:flex;gap:15px; }
.tab-content .tab_halfbox2 { width:100%;height:auto;overflow:hidden; }
.tab-content .tab_half { width:50%;height:auto;overflow:hidden; }
.tab-content.active { display: block; }
.tab-content ol { margin: 0;padding-left: 0px; }
.tab-content li { font-size: 14px;margin: 4px 0; }

.tab-content li a {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tab-box2 .tab-menu { border: 1px solid #1aa080;line-height:23px;border-radius:4px; }
.tab-box2 .tab-menu li.active { background-color: #1aa080;color: #fff; }

.tab-box2 .tab-content { padding:0px 0px; }

.vstyle { font-size:14px;padding: 10px !important; }

.bgray { color:#ccc; }
.bred { color:#dd4957; }

@media all and (max-width:991px) {
.tab-container { flex-direction: column;gap: 10px; }
.tab-box { padding:0px; }
.tab-content .tab_halfbox { flex-direction: column;gap:0px; }
.tab-content .tab_half { width:100%; }
}



.gallery-wrapper {
  width: 100%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery {
  width: calc(25% - 8px);
  box-sizing: border-box;
  cursor: pointer;
}

.gallery-item {
  width: 100%;
  height: 180px; /* ✅ 고정 높이 */
  overflow: hidden;
  border-radius: 8px; /* 선택사항: 둥근 모서리 */
  background: #f8f8f8; /* 이미지 없을 때 배경 */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ 이미지 비율 유지하며 영역 꽉 채움 */
  display: block;
}

.gallery-info {
  margin-top: 5px;
  font-size: 14px;
  color: var(--link);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center; /* 가운데 정렬 (선택사항) */
}

@media all and (max-width: 700px) {
  .gallery {
    width: calc(50% - 5px);
  }
}

@media all and (max-width:767px) {
.morder1 { order: 1; }
.morder2 { order: 2; }
}

#mlogo_img { max-height:27px; }

.mo_left { width:87px; }
.mo_right { width:87px;font-size:13px;line-height:27px; }

.rankcenter { display: flex;width: 100%;justify-content: flex-start;gap: 3px; }


.state_btn { width:150px;height:auto;overflow:hidden;margin:0px auto;padding:2px 15px;color:#fff;background:#1aa080;text-align:center;font-weight:bold;cursor:pointer; }

.vboard {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #ccc;
}
.vboard th, table td {
  border: 1px solid #ddd;
  padding: 6px;
  text-align: center;font-size:14px;
}
.vboard th {
  background-color: #f5f5f5;
  font-weight: bold;
}
#ctt div { width:100% !important; }

@media all and (max-width: 991px) {
#ctt h1 { font-size:25px !important; }

#ctt h2 { font-size:20px !important; }
#ctt h2 span { font-size:20px !important; }

#ctt h3 { font-size:18px !important; }
#ctt h3 span { font-size:18px !important; }
}



.progress-bar2 {
    display: -ms-flexbox;
    display: flex
;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #e83e8c;
    transition: width .6s 
ease;
}
/********************************************************
■ Loader : 페이지 로딩바
********************************************************/
#nt_loader { background: #fff; left: 0; top: 0; width: 100%; height: 100%; display: block; position: fixed; z-index: 100000; }
#nt_loader .loader { margin: -25px 0 0 -25px; left: 50%; top: 50%; width: 50px; height: 50px; line-height:50px; font-size: 45px; position: absolute; z-index: 10001; }

/********************************************************
■ LNB
********************************************************/
#nt_lnb ul { list-style: none; margin: 0; }
#nt_lnb ul > li { float: left; padding: 0 13px; }
#nt_lnb ul > li::after { font-family: dotum; font-weight: normal; float: right; color:#ccc; content: "|"; margin-right:-15px; }
#nt_lnb ul > li:first-child { padding-left:0; }
#nt_lnb ul > li:last-child { padding-right:0; }
#nt_lnb ul > li:last-child::after { content: ""; margin-right:0; }
#nt_lnb ul > li > a { float:left; white-space:nowrap; }
#nt_lnb .dropdown-toggle::after { color:#ccc; }

/********************************************************
■ PC 헤더(Header)
********************************************************/
#header_pc .nt-container { text-align:center; }
#header_pc .header-logo img { max-width:300px;width:100%; }
#header_pc .header-search { width:100%;	max-width:400px; }
#header_pc .header-search form { padding:0; border-width:2px; border-style:solid; }
#header_pc .header-search input { font-size:16px !important; background: #fff; border:0 !important; box-shadow:none !important; -webkit-box-shadow:none !important; }
#header_pc .header-search .form-control:focus { box-shadow:none !important; -webkit-box-shadow: none !important; }
#header_pc .header-search .btn { border:0; background: none !important; outline:none; }

/********************************************************
■ 모바일 헤더(Header)
********************************************************/
#header_mo { box-shadow: 0px 5px 5px -2px rgba(50, 60, 70, 0.15); -webkit-box-shadow: 0px 5px 5px -2px rgba(50, 60, 70, 0.15); -moz-box-shadow: 0px 5px 5px -2px rgba(50, 60, 70, 0.15);border-bottom: 2px solid #1aa080; }

/********************************************************
■ PC 주메뉴
********************************************************/
/* 공통 */
#nt_menu { position:relative; z-index:20;background:#fff; box-shadow: 0px 5px 5px -2px rgba(50, 60, 70, 0.15); -webkit-box-shadow: 0px 5px 5px -2px rgba(50, 60, 70, 0.15); -moz-box-shadow: 0px 5px 5px -2px rgba(50, 60, 70, 0.15);border-bottom:2px solid #1aa080; }
#nt_menu .nt-container,
#nt_menu .me-list .me-li,
#nt_menu .sub-1dul,
#nt_menu .sub-1dli { position:relative; }
#nt_menu .sub-slide { display:none; visibility:visible; }
#nt_menu .sub-icon::after { font-family: "FontAwesome"; float: right; position: relative; content: "\f105"; }
#nt_menu .me-icon {	width:4.0rem; text-align:center; }
#nt_menu .me-a { display:block; position:relative; text-align:center; font-weight:600 !important; /*color:#fff;*/ }
#nt_menu .me-li.on .me-a,
#nt_menu .me-li:hover .me-a { /*color:#fff;background:rgba(0,0,0,0.2) !important;*/ }
#nt_menu .sub-2div { left:100%; top:0; position:absolute; z-index:22; background: #fff; box-shadow: 0 6px 12px rgba(0, 0, 0, .175); -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); } 
#nt_menu .sub-2dul { }
#nt_menu .sub-2dli { }
#nt_menu .sub-2da { display:block; color:#000; border-bottom: 1px solid #eee; } 
#nt_menu .sub-2dli.on .sub-2da,
#nt_menu .sub-2dli:hover .sub-2da { color:#000; background: #fafafa; border-color: #eee; font-weight: bold; }
#nt_menu .sub-2line { display:block; color:#000; font-weight:bold; background:#f5f5f5; }
.nt-menu .sub-1div { position:absolute; left:0; z-index:21; width:auto; text-align:left; top:100%; left:0; background:#fff; border:2px solid #1aa080;box-shadow: 0 6px 12px rgba(0, 0, 0, .175); -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); }
.nt-menu .sub-1div::before { left: 50%; margin-left:-8px; }
.nt-menu .sub-1da { display:block; color:#000; border-bottom: 1px solid #eee; }
.nt-menu .sub-1line { position:relative; display:block; }
.nt-menu .sub-1dli.on .sub-1da,
.nt-menu .sub-1dli:hover .sub-1da { color:#000; background: #f5f5f5; border-color: #eee; font-weight:bold; }
.nt-menu .sub-1line { color:#000; font-weight:bold; background:#fafafa; }
.nt-menu .me-sh { padding:0.59rem 0.7rem; } /* 서브메뉴 높이설정 : 페딩값으로 조절 */

/* 메뉴 상단 고정 */
#nt_sticky_wrap.me-sticky { position:fixed; width:100%; z-index:999; left:0; top:0; }
@media all and (min-width:992px) {
	.wrapper.m-lg-auto #nt_sticky_wrap.me-sticky nav { margin:0 auto !important; }
	.wrapper.ml-lg-auto #nt_sticky_wrap.me-sticky nav { margin:0 0 0 auto !important; }
	.wrapper.mr-lg-auto #nt_sticky_wrap.me-sticky nav { margin:0 auto 0 0 !important; }
}

/********************************************************
■ 페이지 타이틀
********************************************************/
#nt_title { position:relative; overflow:hidden; color:var(--text); background:var(--gray); border-bottom:1px solid #dee2e6; }
#nt_title .nt-container { position:relative; z-index:2; height:70px; }
#nt_title .page-title { font-size:26px; letter-spacing:-1px; line-height:1.4; }
#nt_title .breadcrumb a { color:var(--gray2); }
#nt_title .breadcrumb-item + .breadcrumb-item::before {	font-family: dotum;	font-weight: normal; color:#aaa; content:">"; }
@media all and (max-width:991px) {
	.responsive #nt_title .page-title { font-size:24px; letter-spacing:0; }
}
@media all and (max-width:767px) {
	.responsive #nt_title .page-title { font-size:22px; }
	.responsive #nt_title .nt-container { height:60px; }
}
@media all and (max-width:575px) {
	.responsive #nt_title .page-title { font-size:20px; }
	.responsive #nt_title .nt-container { height:50px; }
}

/********************************************************
■ Wing
********************************************************/
#nt_wing .nt-container { position:relative; overflow:visible !important; }
#nt_wing img { max-width:100%; }
#nt_wing .wing-left,
#nt_wing .wing-right { position:absolute; width:160px; }
#nt_wing .wing-left { left:-180px; }
#nt_wing .wing-right { right:-180px; }
.boxed-b #nt_wing .wing-left { left:-200px; }
.boxed-b #nt_wing .wing-right { right:-200px; }

/********************************************************
■ Footer 
********************************************************/
#nt_footer .nt-links ul { list-style: none; margin: 0; padding:0; }
#nt_footer .nt-links ul > li { float: left; padding: 0 13px; }
#nt_footer ul > li:first-child { padding-left:0; }
#nt_footer ul > li:last-child { padding-right:0; }
#nt_footer .nt-links ul > li::after { font-family: dotum; font-weight: normal; float: right; color:#ccc; content: "|"; margin-right:-15px; }
#nt_footer .nt-links ul > li:last-child::after { content: ""; }
#nt_footer .nt-links ul > li > a { /*color: #333;*/ white-space:nowrap;	}
@media all and (max-width:991px) {
	.responsive #nt_footer .nt-links ul > li { float:none; display:inline-block; }
}

/********************************************************
■ Widget Title 위젯 타이틀
********************************************************/
h3.h3 { padding:0; margin:0; font-weight:bold; }
hr.hr::before { width:100%; height:1px; content: ""; position:absolute; left:0; bottom:1px; line-height:1px; background-color:#ddd; }
hr.hr { display:block; position:relative; height:3px; border: none; line-height:1px; padding:0;	margin:0; }
hr.hr::after { width:4.0rem; height:3px; content: ""; position:absolute; left:0; bottom:0; line-height:1px; }
@media all and (max-width:575px) {
	.responsive h3.h3 {	padding-left:1.0rem; padding-right:1.0rem; }
	.responsive hr.hr::after { left:1.0rem;	}
}

/********************************************************
■ Bootstrap 4 : 부트스트랩 기본 속성
********************************************************/
/* 툴팁 */
.tooltip .tooltip-inner { font-size:1.0rem !important; }

/* 체크박스, 라디오버튼 재지정 */
.custom-checkbox .custom-control-label::before,
.custom-checkbox .custom-control-label::after,
.custom-radio .custom-control-label::before,
.custom-radio .custom-control-label::after { top:0.15rem !important; width:1.4rem !important; height:1.4rem !important; }

/* 체크박스, 라디오버튼과 글자간 간격 */
.custom-checkbox .custom-control-label span,
.custom-radio .custom-control-label span { cursor: pointer; padding-left:0.5rem !important; }

/* 스위치 버튼 재지정 */
.custom-switch .custom-control-label::before,
.custom-switch .custom-control-label::after { margin-top:2px; }

/* Button */
.btn-lg { padding: 10px 16px; border-radius: 3px; line-height: 1.33; font-size: 18px; }
.btn-lg i {	top: 3px; font-size: 24px; position: relative; }

/* Form */
.col-form-label { font-weight:bold; }

/* Pagenation */
.page-link,
.page-link:hover,
.page-link:focus { color: #333; }

/* 라운드 스타일 */
.na-round,
.view_image img,
.pretty-embed img { border-radius: 0.3rem !important; }

/* 사각 스타일 */
.is-square .na-round,
.is-square .view_image img,
.is-square .pretty-embed img,
.is-square .btn,
.is-square .alert,
.is-square .nav-link,
.is-square .form-control,
.is-square .input-group-prepend,
.is-square .input-group-append,
.is-square .input-group-text,
.is-square .custom-file-label,
.is-square .custom-file-label:after,
.is-square .custom-select,
.is-square .label,
.is-square .progress,
.is-square .pagination li a,
.is-square .list-group-item { border-radius:0 !important; }
/* 내용관리 영역 링크 밑줄 */
#ctt a {
    text-decoration: underline;
}
