@charset "utf-8";
/* 모바일 전체메뉴 - 구미시 누리집 /common/css/all_layout.css 의 #m_menu 모바일(1024px 이하) 규칙 복사 (2026-11-24), 이미지 경로만 ../img/allmenu/ 로 변경 */

/* 전체메뉴 버튼: 1024px 이하에서만 헤더 윗줄 오른쪽에 노출, Language 는 가운데로 이동 */
#openMenu {display:none;}
@media all and (max-width:1024px) {
	.gnbWrap .inner {position:relative;}
	.gnbWrap .otherNav.lang {float:none; position:absolute; top:0; left:50%; margin-left:-3.7em;}
	#openMenu {display:block; position:absolute; top:0; right:.5em; width:2.05em; height:2.05em; padding:0; border:0; overflow:hidden; text-indent:-999px; background:url(../img/allmenu/btn_allmenu_w.svg) no-repeat 50% 50%; background-size:contain; cursor:pointer; z-index:10;}
}
/* 좁은 화면은 정가운데면 포털사이트 버튼과 겹쳐서, 포털사이트 버튼과 전체메뉴 버튼 사이 가운데에 둠 */
@media all and (max-width:480px) {
	.gnbWrap .otherNav.lang {left:calc(50% - 1em); margin-left:0;}
}

#m_menu {display:none;}
@media all and (min-width:1025px) {
	#m_menu {display:none !important;}
}
@media all and (max-width:1024px) {
	#m_menu {display:none; position:fixed; top:0; bottom:0; right:0; left:0; background:rgba(0,0,0,.4); z-index:99999;}
	.open-mo-lnb #m_menu {display:block;}
	#m_menu .mnu-tit {display:block; position:relative;}
	#m_menu .mnu-tit a {display:block; position:relative;}
	#m_menu .mnu-tit a[target="_blank"]:after {content:""; display:block; position:absolute; top:0; bottom:0; right:0.25em; width:1.125em; background:url(../img/allmenu/ico_lnb_blank.svg) no-repeat 50% 50%; background-size:contain;}
	#m_menu .open-submenu {display:block; position:absolute; overflow:hidden; text-indent:-999px;}
	#m_menu > div {display:block; position:absolute; top:0; bottom:0; right:0; width:22.5em; max-width:100%; background:#fff; border-radius:1em 0 0 1em; overflow:hidden;}
	#m_menu .btn_menu_close {display:block; position:absolute; top:.75em; right:.75em; width:1.75em; height:1.75em; border-radius:100%;  overflow:hidden; text-indent:-999px; background:url(../img/allmenu/ico_close_w.svg) no-repeat 50% 50%; background-size:contain; z-index:99;}
	#m_menu .side-menu-top {display:block; position:absolute; top:0; left:0; right:0; height:3em; box-sizing:border-box; padding:.75em; color:#fff; background: linear-gradient(142deg, #4037AA 25.75%, #0B73D2 109.42%); z-index:0;}
	#m_menu .side-menu-top .logo {display:block; width:8em; height:100%; overflow:hidden; text-indent:-9999px; background:url(../img/allmenu/logo_w.svg) no-repeat left center; background-size:auto 100%;}
	#m_menu .depth1 {display:block; position:absolute; top:3em; left:0; right:0; bottom:0; padding:.8em 0; z-index:0;}
	#m_menu .depth1:before {content:""; display:block; position:absolute; top:0; left:0; bottom:0; width:8em; background:#F8F8F8; z-index:-1;}
	#m_menu .depth1 > li {width:8em;}
	#m_menu .depth1 > li > .mnu-tit a {padding:1em 1.25em; z-index:0; color:#333; font-weight:700;}
	#m_menu .depth1 > li > .mnu-tit a span {display:block; font-size:1.125em; letter-spacing:-.1em;}
	#m_menu .depth1 > li > .mnu-tit .open-submenu {position:absolute; top:0; left:0; width:100%; height:100%; z-index:1;}
	#m_menu .depth1 > li.active > .mnu-tit a span {color:#E74C4C; font-weight:700;}
	#m_menu .depth1 > li.active > .mnu-tit .open-submenu {background:url(../img/allmenu/ico_lnb_depth1_mobile_on.svg) no-repeat top 50% right .5em; background-size:1.25em auto;}
	#m_menu .depth2Wrap {display:none; position:absolute; top:0; left:8em; right:0; bottom:0; padding:.75em; overflow:auto;}
	#m_menu li.active > .depth2Wrap {display:block;}
	#m_menu .depth2 {min-width:160px;}
	#m_menu .depth2 > li > .mnu-tit {border-bottom:1px solid #C7CCDD;}
	#m_menu .depth2 > li > .mnu-tit a {padding:.75em .625em; margin-right:1.25em;}
	#m_menu .depth2 > li > .mnu-tit a[target="_blank"]:after {right:auto; left:100%;}
	#m_menu .depth2 > li > .mnu-tit a span {font-size:1.0625em; font-weight:700;}
	#m_menu .depth2 > li > .mnu-tit .open-submenu {position:absolute; top:0; bottom:0; right:0; width:1.25em; background:url(../img/allmenu/ico_lnb_depth2_mobile.svg) no-repeat 50% 50%; background-size:100% auto;}
	#m_menu .depth2 > li.active > .mnu-tit a span {color:#323768; font-weight:700;}
	#m_menu .depth2 > li.active > .mnu-tit .open-submenu {background-image:url(../img/allmenu/ico_lnb_depth2_mobile_on.svg);}
	#m_menu .depth3 {display:none; position:relative; padding:.625em 0 1.25em; border-bottom:1px solid #DFE4EF; background:#fcfcfc;}
	#m_menu li.active > .depth3 {display:block;}
	#m_menu .depth3 li > .mnu-tit a {padding:.375em 0 .375em 1.25em;}
	#m_menu .depth3 li > .mnu-tit a[target="_blank"] {padding-right:1.25em;}
	#m_menu .depth3 li > .mnu-tit a:before {content:""; display:block; position:absolute; left:.5em; top:50%; margin-top:-.175em; width:.25em; height:.25em; background:url(../img/allmenu/ico_lnb_depth3_mobile.svg) no-repeat 50% 50%; background-size:contain; border-radius:100%;}
	#m_menu .depth4 {display:none;}
}
@media all and (max-width:360px) {
	#m_menu .depth1:before,
	#m_menu .depth1 > li {width:8em;}
	#m_menu .depth2Wrap {left:8em;}
}
