@charset "utf-8";

/********************************************************
■ SideBar : 사이드바(모바일 메뉴)
********************************************************/

/* sidebar Box */
#nt_sidebar { top: 0; width: 280px; height:100%; position: fixed; z-index:500; box-shadow: 0 0 5px 5px rgba(50, 60, 70, 0.15); -webkit-box-shadow: 0 0 5px 5px rgba(50, 60, 70, 0.15); -moz-box-shadow: 0 0 5px 5px rgba(50, 60, 70, 0.15); }
#nt_sidebar .sidebar-content { height: 100%; overflow-y:auto; overflow-x:hidden; -webkit-overflow-scrolling:touch; }

/* Icon */
.sidebar-icon i { font-size:40px; line-height:40px; }

/* Menu */
.sidebar-list h5 { padding:0.55rem 1.0rem; margin:0; font-weight:bold !important; border-top:1px solid #dee2e6; margin-top:-1px; }
.sidebar-list ul.off { display:none; }
.sidebar-list li { position:relative; }
.sidebar-list li a { display:block; padding:0.45rem 1.0rem; border-bottom:1px solid #eee; overflow:hidden; }
.sidebar-list li .me-a { padding-right:2.5rem; }
.sidebar-list .tree-toggle { position:absolute; z-index:1; top:0rem; right:0; width:2.5rem; padding:0.75rem 0; margin-top:0.15rem;	text-align:center; cursor:pointer; color:#aaa; }

.sidebar-list .me-ul { background:#fff; }
.sidebar-list .me-ul1 { background:#fafafa; }
.sidebar-list .me-ul2 { }
.sidebar-list .me-li1 .me-a1,
.sidebar-list .me-li2 .me-a2 { padding-left:2.0rem; }
.sidebar-list .me-li.active .me-a,
.sidebar-list .me-li1.active .me-a1,
.sidebar-list .me-li2.active .me-a2 { font-weight:bold; }
.sidebar-list .me-line1 .me-a1 { background:#eee; font-weight:bold; }
.sidebar-list .me-line2 .me-a2 { background:#eee; font-weight:bold; }
@media (min-width: 768px) {
	#nt_sidebar { right: -300px; }
}
@media (max-width: 767px) {
	#nt_sidebar { left: -300px; }
}

/* Mask */
#nt_sidebar_mask { display:none; position:fixed; z-index:499; background:rgba(0,0,0,0.75); left:0; top:0; width:100%; height:100%; }

/* Noti Tack */
#nt_sidebar_noti { position: fixed; z-index: 100; }
@media (min-width: 768px) {
	#nt_sidebar_noti { top:40%; right: 0; border-top-left-radius: 50rem !important; border-bottom-left-radius: 50rem !important; }
}
@media (max-width: 767px) {
	#nt_sidebar_noti { left:0; bottom:25px; border-top-right-radius: 50rem !important; border-bottom-right-radius: 50rem !important; }
}

/* Go to Top */
#nt_sidebar_move { display:none; position: fixed; width: 40px; bottom: 20px; right: 25px; z-index: 2; }
#nt_sidebar_move span { display: block; color:#fff; background: rgba(0,0,0,0.5); margin:5px 0; text-align: center; border-radius: 50%; width: 42px; height: 42px; line-height: 42px !important; font-size: 19px; }
#nt_sidebar_move .sidebar-move-bottom { display:none; }


/* =========================================================
   TG PATCH v11 (사이드바 헤더: 로고/창닫기 버튼)
   - 로고 사이즈 강제 (600x160 원본이어도 축소)
   - 로고 흰색 반전
   - '창 닫기' 버튼형(화이트)
   ========================================================= */
#nt_sidebar_header.tg-sidebar-header{
    padding-top:12px;
    padding-bottom:14px;
}
#nt_sidebar_header .tg-sidebar-head-inner{
    display:flex;
    flex-direction:column;
    gap:10px;
}
#nt_sidebar_header .tg-sidebar-closebtn{
    align-self:flex-start;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 12px;
    border:1px solid rgba(255,255,255,.75);
    border-radius:999px;
    background:rgba(255,255,255,.14);
    color:#fff !important;
    font-weight:700;
    font-size:13px;
    line-height:1;
    text-decoration:none !important;
}
#nt_sidebar_header .tg-sidebar-closebtn:hover{
    background:rgba(255,255,255,.22);
}
#nt_sidebar_header .tg-sidebar-brand{
    display:flex;
    align-items:center;
    justify-content:center;
    padding-top:2px;
    padding-bottom:2px;
}
#nt_sidebar_header .tg-sidebar-logo-img{
    height:44px;
    width:auto;
    max-width:92%;
    object-fit:contain;
    filter:brightness(0) invert(1);
}
/* 혹시 예전 로고텍스트(<h3>..logo_text..)가 남아있어도 강제 축소/반전 */
#nt_sidebar_header h3 a img{
    max-height:44px !important;
    width:auto !important;
    max-width:92% !important;
    object-fit:contain !important;
    filter:brightness(0) invert(1) !important;
}
#nt_sidebar_header:before,
#nt_sidebar_header:after{
    content:none !important;
}
.tg-sidebar-patch-mark{ display:none !important; }
