@charset "utf-8";

/* sidebar Box */
#sidebar-box { 
    top: 0px; 
    width: 320px; 
    height: 100%; 
    position: fixed; 
    z-index:99998; 
    background: #fff; 
    display: none; /* 기본적으로 숨김 */
    right: 0; /* 기본 위치 */
    transform: translateX(100%); /* GPU 가속으로 화면 밖으로 이동 */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* GPU 가속 애니메이션 */
    padding-bottom: 0px; 
    border-left: 1px solid #ddd;
    will-change: transform; /* GPU 레이어 최적화 힌트 */
}

/* 사이드바가 열린 상태 */
#sidebar-box.sidebar-open {
    display: block !important; /* 강제로 보이기 */
    transform: translateX(0) !important; /* 화면 안으로 이동 */
}
#sidebar-box .sidebar-content { position:relative; padding:0px 15px; overflow:auto; overflow-x:hidden; height:100%; -webkit-overflow-scrolling:touch; }
#sidebar-box .sidebar-head { position:absolute; top:0; left:-1px; width:325px; height:5px; z-index:10; }
#sidebar-box .div-title-underline-thin { margin-bottom:8px; }
#sidebar-box .sidebar-sns-login img { margin:5px 0px 0px; width:20%; float:left; }
#sidebar-box .sidebar-icon-tbl { display:table; width:100%; table-layout:fixed; }
#sidebar-box .sidebar-icon-cell { display:table-cell;	text-align:center; vertical-align:top; padding:0px 0px 10px; }
#sidebar-box .sidebar-icon-cell span { display:block; font-size:12px; letter-spacing:-1px; margin-top:6px; }
#sidebar-box-mask { 
    display:none; 
    position:fixed; 
    z-index:99997; 
    background:rgba(0,0,0,0.75); 
    left:0; 
    top:0; 
    width:100%; 
    height:100%; 
    opacity: 0;
    transform: translateZ(0); /* GPU 레이어 강제 생성 */
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity; /* GPU 레이어 최적화 힌트 */
}
#sidebar-box-mask.show {
    opacity: 1;
}

#sidebar-box .sidebar-menu { margin:0px; border-top:1px solid #eee; }
#sidebar-box .sidebar-menu a { display:block; }
#sidebar-box .sidebar-menu .panel { background: none; margin-top:0px; line-height:24px; }
#sidebar-box .sidebar-menu .ca-head { padding: 0px; border-bottom:1px solid #eee; }
#sidebar-box .sidebar-menu .ca-head > a { padding: 4px 15px; }
#sidebar-box .sidebar-menu .ca-head.active > a { font-weight:bold !important; color: crimson !important; }
#sidebar-box .sidebar-menu .ca-head > a.no-sub::after { top: 0px; font-family: "FontAwesome"; float: right; position: relative; content: "\f105"; }
#sidebar-box .sidebar-menu .ca-head > a > .ca-href { display:inline-block; width:30px; cursor:pointer; }
#sidebar-box .sidebar-menu .ca-head > a > .ca-href::after { top: 0px; float: right; position: relative; content: "+"; }
#sidebar-box .sidebar-menu .ca-head.active > a > .ca-href::after { top: 0px; font-family: "FontAwesome"; float: right; position: relative; content: "\f107"; }
#sidebar-box .sidebar-menu .ca-sub { padding:0; margin:0; list-style:none; background: #fafafa; padding:0px; margin:0px; border-bottom:1px solid #eee }
#sidebar-box .sidebar-menu .ca-sub li { padding:5px 25px; padding-right:12px; border-bottom:1px solid #eee; }
#sidebar-box .sidebar-menu .ca-sub li:last-child { border-bottom:0px; }
#sidebar-box .sidebar-menu .ca-sub li.on a { font-weight:bold !important; color: crimson !important; }
#sidebar-box .sidebar-menu .ca-line { border:0px; background:#fff; font-weight:bold; }

#sidebar-box .sidebar-search { border:1px solid #eee; background:#fafafa; padding:8px; margin-bottom:10px; }
#sidebar-box .sidebar-search .row { margin-left:-3px; margin-right:-3px; }
#sidebar-box .sidebar-search .row > div { padding-left:3px; padding-right:3px; }

#sidebar-box .sidebar-media { border-bottom:1px solid #eee; margin:0px 0px 8px; padding:0px 0px 8px; line-height:20px; }
#sidebar-box .sidebar-media .media-photo i { background:#eee; border-radius: 50%; padding: 8px; width: 40px; height: 40px; text-align: center; font-size: 22px; display: inline-block; }
#sidebar-box .sidebar-media .media-photo img { border-radius: 50%; width: 40px !important; height: 40px !important; display:inline-block; }
#sidebar-box .sidebar-media .media-info { font-size:12px; color:#888; }
#sidebar-box .sidebar-media .media-info i { margin-left:10px; }

#sidebar-box .sidebar-login label { line-height:12px !important; font-weight: normal; cursor: pointer; }
#sidebar-box .sidebar-login .profile .photo { margin-right:12px; }
#sidebar-box .sidebar-login .profile .photo img { width:60px; height:60px; border-radius: 50%; border:0; }
#sidebar-box .sidebar-login .profile .photo i { width:60px; height:60px; font-size:30px; padding:15px 0px 0px; text-align:center; background:#ddd; color:#fff; border-radius: 50%; }
#sidebar-box .sidebar-login .profile h3 { font-size:18px; line-height:32px; padding:0px; margin:0px; letter-spacing:-1px; display:block; text-overflow:ellipsis; white-space:nowrap; word-wrap:normal; overflow:hidden; }
#sidebar-box .sidebar-login .form-group { margin-bottom:10px; }

#sidebar-box .sidebar-list { padding:0px; margin:0px; list-style:none; }
#sidebar-box .sidebar-list a { display:block; padding:4px 15px; border-bottom:1px solid #eee; }
#sidebar-box .sidebar-list.list-links a::after { top: 0px; font-family: "FontAwesome"; float: right; position: relative; content: "\f105"; }
#sidebar-box .sidebar-list.list-links a.no-fa::after { content: ""; }

#sidebar-box .progress { position:relative; border-radius: 0px; height: 28px; overflow: hidden; margin-bottom: 15px; box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1); background-color: rgb(245, 245, 245); -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); }
#sidebar-box .progress .sr-only { margin: 0px 15px; left: 0px; width: auto; height: 28px; line-height: 28px; font-size: 12px; clip: auto; }
#sidebar-box .sr-score { height: 28px; line-height: 28px; font-size: 12px; padding-right:8px; }
#sidebar-box .sr-secret { display:inline-block; padding:0px; margin:0px; line-height:12px; vertical-align:middle; background-repeat: no-repeat; background-position: 0px 0px; width:12px; height:12px; background-image: url('./img/icon_secret.gif'); }

#sidebar-box .sidebar-wing-icon { width:34px; }
#sidebar-box .sidebar-wing-icon a { display:block; }
#sidebar-box .sidebar-wing-btn { position:relative; display:block; font-size: 18px; height:40px; line-height:40px !important; }
#sidebar-box .sidebar-wing-label { position:absolute; top:0; right:0; z-index:2; width:18px; height:18px; line-height:18px !important; font-size:11px; text-align:center; letter-spacing:-1px; }
#sidebar-box .sidebar-wing-icon .sidebar-scrollup { display:none; }

/* 사이드바 윙 스타일 */
#sidebar-box .sidebar-wing { 
    position: absolute;
    width: 36px;
    z-index: 1;
    text-align: center;
    right: 355px;
    margin-right: -36px;
    top: 20px;
    transform: translateX(0); /* GPU 가속 */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform; /* GPU 레이어 최적화 */
}
#sidebar-box .sidebar-wing-close { 
    background: #fff;
    font-size: 18px;
    font-weight: 300 !important;
    width: 36px;
    height: 50px;
    line-height: 50px !important;
    border: 1px solid #ddd;
    cursor: pointer;
    border-right: 0px;
}

/* sidebar Button */
#sidebar-btn { position:fixed; z-index:99997; }
#sidebar-btn ul { padding:0px; margin:0px; list-style:none; }
#sidebar-btn ul > li > a,
#sidebar-btn .sidebar-btn-box { position:relative; display:block; text-align:center; }
#sidebar-btn .sidebar-btn { position:relative; display:inline-block; text-align:center;	border-radius:50%; width:36px; height:36px;	line-height:36px !important; font-size:19px; }
#sidebar-btn .sidebar-btn-label { position:absolute; border-radius: 50%; width:18px;	height:18px; line-height:18px !important; font-size:11px; text-align:center; padding-right:1px; letter-spacing:-1px; }

/* 사이드바 버튼 기본 스타일 */
#sidebar-box .sidebar-wing-icon { 
    border-right: 0px; 
    display: block; 
}
#sidebar-btn { 
    top: 25%; 
    right: 25px; 
}
#sidebar-btn .sidebar-btn-box { 
    width: 42px; 
    height: 42px; 
    line-height: 48px !important; 
    border-radius: 50%; 
    margin-bottom: 7px; 
}
#sidebar-btn .sidebar-btn-label { 
    top: -4px; 
    right: -4px; 
}
#sidebar-btn .sidebar-scrollup { 
    display: none; 
}