

#header .topSection{padding-left:0;}
#header .topSection.scroll{}


#header .topSection .top-header-logo{margin-left:0;}
#header .topSection .top-header-logo img{height:var(--topSection-height) !important;width:auto !important;max-width:none;}
#header .leftSecOpener [class*='line']{background:#fff}
#header .leftSecOpener .line-2:after{border-color:#fff;}
#header .leftSecOpener{animation:bg-ani 1s 0s infinite alternate;}
@keyframes bg-ani {
	0% {background:#1a1a1a;}
	100% {background:#606163}
}


/* 회원가입 버튼 히든처리 */
#header .sideContainer .member-wrap .btn_join{display:none !important;}
#login-form #login_info{display:none !important;}

#header .sideContainer .member-wrap .mamber-tag{display:none !important;}


/* 회원 로그인후 정보수정 히든처리*/
#header .sideContainer .member-wrap .btnMypage{display:none !important;}


/* 회원 로그인버튼 하단으로 이동*/
#header .sideContainer .hlc-body{display:flex;flex-direction:column;}
#header .sideContainer .hlc-body .member-wrap{order:7;margin-top:-20px;}


/* office365버튼 추가 */
#header .member-wrap .user_info{align-items:flex-start;}
#header .member-wrap .user_info .user_profile{margin-left:10px;}
#header .member-wrap .member-btnSet{display:inline-flex;align-items:center;justify-content:center;}
#header .member-wrap .member-btnSet .office365{font-size:11px;font-weight:600;color:#fff;background-color:#5c99ea;padding:0 15px;height:29px;border-radius:12px;margin-top:12px;margin-left:10px;display:inline-flex;align-items:center;justify-content:center;}
#header .member-wrap .member-btnSet .office365:hover{background-color:#508ddf;}



#header .topSection .top-menu{margin-left:auto;margin-right:0;}
#header #hd-search-opener{}

@media screen and (max-width:1527px) {
	#header .topSection .top-menu{gap:20px;}
	#header .topSection .top-menu li{font-size:14px;}
	#header .topSection .top-menu li:not(:first-child){margin-left:0;}
	#header #hd-search-opener{margin-left:20px;}
}

@media screen and (max-width:1390px) {
	#header .topSection{min-width:1430px;overflow:visible;}
	#wrapper{min-width:1400px;overflow-x:auto;}
}



@media screen and (min-width:768px) and (max-width:1527px) {
    /* 창보다 넓게 유지되던 최소 너비 해제 */
    body {
        min-width:0;
    }

    body #header .topSection {
        min-width:0;
        width:100%;
        padding-right:16px;
        overflow:visible;
    }

    body #wrapper {
        min-width:0;
        width:100%;
        overflow:visible;
    }

    /* 로고 51px + 메뉴 44px 공간 확보 */
    body #wrapper, body .boCover, body .fixed {
        padding-top:95px;
    }

    body #bufsmain_2023 #pageMake {
        margin-top:0;
    }

    body #header #hd-search-opener {
        margin-left:auto;
        flex-shrink:0;
    }

    /* 상단 메뉴를 로고 아래로 배치 */
    body #header ._TOP_SUB {
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        height:44px;
        background:#fff;
        border-bottom:1px solid #ddd;
    }

    body #header ._TOP_SUB ._ul_submenu {
        gap:0;
    }

    body #header ._TOP_SUB ._ul_submenu .subnav_li {
        position:relative;
        height:44px;
    }

    body #header ._TOP_SUB ._ul_submenu ._a_dep1 {
        font-size:14px;
        padding:5px 10px;
    }

    /* 하위 메뉴가 두 번째 줄 아래에서 펼쳐지도록 조정 */
    body #header ._TOP_SUB ._ul_submenu ._sub_dep2 {
        top:100%;
        left:0;
        transform:translateY(10px);
    }

    body #header ._TOP_SUB ._ul_submenu .subnav_li:hover ._sub_dep2,
    body #header ._TOP_SUB ._ul_submenu .subnav_li:focus-within ._sub_dep2 {
        opacity:1;
        visibility:visible;
        transform:translateY(0);
    }

    /* 오른쪽 끝 하위 메뉴의 화면 이탈 방지 */
    body #header ._TOP_SUB ._ul_submenu .subnav_li:nth-last-child(-n+2) ._sub_dep2 {
        left:auto;
        right:0;
    }
}