@charset "utf-8";

/********************************************************
■ SideBar : 사이드바(모바일 메뉴)
********************************************************/

/* sidebar Box */
#nt_sidebar { top: 0; width: 100%; 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:22px; line-height:22px; }

/* 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; }
#nt_sidebar {
	position: fixed;
	top: 0;
	bottom: 0;
	background: #fff;
	z-index: 9999;
	transition: all 0.3s ease;
}

@media (max-width: 767px) {
	#nt_sidebar {
		width: 100%;
		left: -100%;
		right: auto;
	}
}

@media (min-width: 768px) {
	#nt_sidebar {
		width: 280px;
		right: -300px;
		left: auto;
	}
}
@media (max-width: 767px) {
	ul.sidebar-icon {
		display: none !important;
	}
}


/* 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; }

@media (max-width: 767px) {

	/* 닫기 버튼 위치 (오른쪽 상단) */
	.float-right.sidebar-close {
		right: 0;
		position: absolute;
		margin-right: 15px;
	}

	/* 상단 텍스트 라인: flex로 양쪽 정렬 */
	.clearfix.f-mo.font-weight-bold.en {
		width: 100%;
		display: flex;
		justify-content: space-between;
	}

	/* 사이드바 헤더 스타일 */
	#nt_sidebar_header {
		display: flex;
		width: 100%;
		justify-content: space-between;
		margin: 0;
		padding: 0;
	}
}
/* 기본값: PC에서는 숨김 */
.card2-container-mobile {
	display: none !important;
}

/* 모바일에서만 보이게 + 여백/높이 조정 */
@media (max-width: 767px) {
	.card2-container-mobile {
		display: flex !important;
		justify-content: space-between;
		padding: 8px 6px; /* 좌우 여백 줄임 */
		gap: 6px; /* 카드 간격 축소 */
	}

	.card2-mobile {
		flex: 1;
		background: #fff;
		padding: 8px 4px;
		height: 50px;
		box-shadow: 5px 5px 8px rgb(50 60 70 / 10%);
		text-decoration: none;
		color: #333;
		display: flex;
		justify-content: center;
		width: calc((100% - 10px) / 3);
		text-align: center;
		cursor: pointer;
		border-radius: 6px;
	}

		.card2-mobile img {
			width: 24px;
			height: 24px;
			margin-bottom: 4px;
			object-fit: contain;
		}

	.card2-title {
		font-size: 14px;
		font-weight: 600;
		line-height: 1;
		letter-spacing: -0.08rem;
	}
	.card2-header {
		display: flex;
		justify-content: center;
		gap: 10px;
		background: white;
		border-bottom: 0px;
		align-items: center;
		margin-bottom: 0 !important;
	}
	.m_side_img {
		width: 100%;
		padding: 10px;
	}

		.m_side_img img {
			width: 100%;
			border-radius: 10px;
		}
}
@media (max-width: 767px) {
	.fa-check,
	.fa-diamond {
		display: none !important;
	}
}
@media (max-width: 767px) {
	.p-3.pb-5.border-top {
		display: none !important;
	}
}
