/* 메인메뉴 */
#gnb { position:absolute; left:0; top:0; width:100%; height:120px; border:0px solid red; z-index:1000; }
#gnb * {z-index:10000;}
.gnb_wrap { float:left; margin-left:37%; width:850px; border:0px solid red;}
#gnb #gnb_1dul { width:100%; padding: 0; zoom:1; text-align:center;}
#gnb ul:after {display:block;visibility:hidden;clear:both;content:""}
#gnb .gnb_1dli {float:left; /*padding:0 37px;*/ line-height:1.1; height:120px; text-align:center; box-sizing:border-box;position:relative; display: flex; align-items: center; justify-content: center;}
#gnb .gnb_1dli:nth-child(1) { width:17%; }
#gnb .gnb_1dli:nth-child(2) { width:25%; }
#gnb .gnb_1dli:nth-child(3) { width:20%; }
#gnb .gnb_1dli:nth-child(4) { width:17%; }
#gnb .gnb_1dli:nth-child(5) { width:21%; }

#gnb .gnb_1dli:hover{/*background-color:#ffffff;*/}
#gnb .gnb_1dli:hover .gnb_1da {/*color:#ffffff !important;*/}

.gnb_1da { display:block;color:#000000 !important; text-decoration:none; width:100%; font-size:22px; font-family:"NanumSquare", sans-serif; font-weight:700; }
.gnb_1dli .gnb_1dli_line { display:none; position:absolute; top:25px; right:0; width:1px; height:30px; background-color:#e0e0e0;  }

.gnb_2dul {display:none;position:absolute;top:119px;min-width:100%; padding:10px 0 !important;	background-color:#ffffff; border-left:1px solid #eeeeee; border-right:1px solid #eeeeee; border-bottom:1px solid #eeeeee; }
.gnb_2dli{text-align:center; line-height:30px;}
.gnb_2dli:first-child{border:0}
a.gnb_2da {display:inline-block;padding:0;line-height:30px;color:#000000 !important;text-align:left;text-decoration:none; font-size:15px; font-weight:400; letter-spacing:-1px;}
a.gnb_2da:hover{color:#000000; font-weight:600;/* text-decoration: underline;*/}

#gnb .gnb_1dli.on {}
#gnb .gnb_1dli.on .gnb_1da {color:#338e2f}
#gnb .gnb_1dli.on .gnb_2dul .gnb_2da.on {color:#000; font-weight:700; text-decoration: underline;}
#gnb .gnb_1dli_over ul.gnb_2dul {display:block;left:0}

#btnNav {display:none; position:absolute; top:20px; right:50px; width:40px; height:40px; border:none; background-color:transparent; cursor:pointer; z-index:1000}
#btnNav span {position:absolute; display:block; left:5px; width:30px; height:5px; background:#1B70A7; transition:all .4s ease; box-shadow: 0px 0px 2px #fff;}
#btnNav span.bar1 {top:5px}
#btnNav span.bar2 {top:15px}
#btnNav span.bar3 {top:25px}
#btnNav.active span.bar1 {top:18px; transform:rotate(45deg)}
#btnNav.active span.bar2 {display:none}
#btnNav.active span.bar3 {top:18px; transform:rotate(-45deg)}

#btnUser {display:none; position:absolute; top:25px; right:100px; width:25px; height:25px; background:url(../img/ic_user.png) no-repeat center center; background-size:100%;}



/* 서브페이지 가로소메뉴 */
#aside { position:relative; height:auto; background-color:#f7f7f7; width:100%; border-bottom:1px solid #cccccc; box-sizing:border-box; padding:0px 0; }
/*
.lnb {overflow:hidden; margin:0px 0 20px; max-width:1460px; margin:auto; }
.lnb h2 {display:none;}
.lnb dl { width:100%; margin:0; }
.lnb dl dd { float:left; height:60px; text-align:center; background:url(../img/icon_aside_line.png) no-repeat center right; }
.lnb dl dd a { display:inline-block; padding:0 40px; line-height:60px; font-size:22px; color:#333333; font-weight:500; transition:all 0.2s; cursor:pointer;}
.lnb dl dd.on > a { color:#437125;}
.lnb dl dd:last-child { background:none; }

.lnb dl dd.home { background-color:#274c0f; background-image:none;}
.lnb dl dd.home a { padding:0 10px; }

.lnb dl dd.cate1 { background-color:#437125; background-image:none; }
.lnb dl dd.cate1 a { color:#ffffff; }
*/
.lnb {height:60px; width:100%; max-width:1460px; margin:0 auto; }
.lnb > ul > li {float:left;position:relative;box-sizing:border-box;border-right:1px solid #ddd; }
.lnb > ul > li > a { display:block; height:60px; width:100%; background:url('../img/icon_aside_arrow_down.png') no-repeat right 7% top 52%;color:#555555;font-size:18px;line-height:60px;}

.lnb > ul > li.home { width:80px; text-align:center; border-right:1px solid #dddddd; border-left:1px solid #dddddd; box-sizing:border-box;}
.lnb > ul > li.home a { background:none; text-align:center; padding:0; }
.lnb > ul > li.home > a > img { height:auto; margin-top:-4px; }

.lnb > ul > li#menuList1 { width:300px; padding-left:20px; }
.lnb > ul > li#menuList1 > a {  color:#0077be; }
.lnb > ul > li#menuList2 { width:300px; padding-left:20px; background-color:#ffffff; }
.lnb > ul > li#menuList2 > a { color:#333333; }
.lnb > ul > li#menuList3 { width:auto; min-width:230px; padding:0 30px 0 20px;}
.lnb > ul > li#menuList3 > a { padding-right:30px }

.lnb > ul > li > ul { position:absolute;left:-1px;top:61px; z-index:5; border:1px solid #ddd; border-top:0; width:100%;background-color:#f4f4f4; padding:0px 0; display:none; }
.lnb > ul > li > ul > li {width:100%; padding:15px 0; border-bottom:1px solid #ddd; }
.lnb > ul > li > ul > li.active,
.lnb > ul > li > ul > li:hover { background:url('../img/icon_aside_arrow_right.png') no-repeat right 7% top 52%; }
.lnb > ul > li > ul a {padding:0;background:none;font-size:18px;height:auto; padding:7px 20px;line-height:normal; color:#333333; }
.lnb > ul > li > ul li.active a {/*color:#0077be;*/}
.lnb > ul > li > ul > li:last-child { border-bottom:0; }

.lnb > ul > li.on > a { background:url('../img/icon_aside_arrow_up.png') no-repeat right 7% top 52%; }
.lnb > ul > li.on > ul {display:block;}
.lnb > ul > li.on > a.current { background:url('../img/icon_aside_arrow_up.png') no-repeat right 7% top 52%; }

@media ( max-width: 1300px ) {
	.gnb_wrap { float:right; margin-left:0; width:70%; }
	.gnb_1da { font-size:20px; }
	a.gnb_2da { font-size:14px; }
	#gnb .gnb_1dli:nth-child(1) { width:17%; }
	#gnb .gnb_1dli:nth-child(2) { width:29%; }
	#gnb .gnb_1dli:nth-child(3) { width:18%; }
	#gnb .gnb_1dli:nth-child(4) { width:16%; }
	#gnb .gnb_1dli:nth-child(5) { width:20%; }
}
@media ( max-width: 1199px ) {
	#gnb_1dul > li.gnb_1dli { padding:0 25px; }
}

@media ( max-width: 1023px ) {
	.gnb_wrap { width:100%; position:relative;}
	#gnb_wrap {position:fixed !important; top:0; right:-270px; width:250px; height:100%; background:#1B70A7; box-shadow:-2px 0 6px 0 rgba(0,0,0,.3); z-index:990;}
	#gnb_wrap a.gnb_top {position:relative; display:block !important; padding:0 0 0 25px; height:80px; font-size:16px; color:#fff; line-height:80px; background:#555}
	#gnb_wrap a.gnb_top > span.nav-home {display:inline-block; width:17px; height:16px; margin-right:10px; background:url(../img/nav_home.png) 0 0 no-repeat; vertical-align:-2px}
	#gnb_wrap button {display:block; position:absolute; top:20px; right:50px; width:40px; height:40px; border:none; border-radius:2px; background:#333; cursor:pointer}
	#gnb_wrap button span {position:absolute; display:block; left:10px; width:20px; height:2px; background:#fff; transition:all .4s ease}
	#gnb_wrap button span.bar1 {top:12px}
	#gnb_wrap button span.bar2 {top:18px}
	#gnb_wrap button span.bar3 {top:24px}
	#gnb_wrap button.active span.bar1 {top:18px; transform:rotate(45deg)}
	#gnb_wrap button.active span.bar2 {display:none}
	#gnb_wrap button.active span.bar3 {top:18px; transform:rotate(-45deg)}
	#gnb_1dul {float:none}
	#gnb_1dul > li.gnb_1dli {float:none; width:100% !important; height:auto; text-align:left; padding:0; float:none; line-height:18px; display: block; }
	#gnb_1dul > li > a {position: relative; height:auto; padding:15px 25px; padding-left:60px; font-size:16px; border-bottom:1px solid #eeeeee; }
	#gnb_1dul > li > a > span {padding:0}
	#gnb_1dul > li > a > span:before {display:none}
	#gnb_1dul > li > ul.gnb_2dul li:before {display:none}
	#gnb_1dul > li > a:before {position:absolute; display:block; width:2px; height:14px; left:31px; top:50%; margin-top:-7px; content:''; background:#fff; transition:all .3s ease}
	#gnb_1dul > li > a:after {position:absolute; display:block; width:14px; height:2px; left:25px; top:50%; margin-top:-1px; content:''; background:#fff}
/*
	#gnb_1dul > li.dropdown > a:before {position:absolute; display:block; width:2px; height:14px; left:31px; top:50%; margin-top:-7px; content:''; background:#fff; transition:all .3s ease}
	#gnb_1dul > li.dropdown > a:after {position:absolute; display:block; width:14px; height:2px; left:25px; top:50%; margin-top:-1px; content:''; background:#fff}
*/
	#gnb_1dul > li.open > a:before {transform:rotate(90deg)}
	#gnb_1dul > li > ul.gnb_2dul {display:none; position:static; width:100%; padding:0; background:#f8f8f8; opacity:1 !important; filter:alpha(opacity='100') !important; box-shadow:none}
	#gnb_1dul > li > ul.gnb_2dul li {padding:0; border-color:#dedede; text-align:left;}
	#gnb_1dul > li > ul.gnb_2dul li a {font-size:15px; padding:10px 25px; line-height:18px;}
	.gnb_1da { color:#ffffff !important; }
	#gnb_1dul > li > ul.gnb_2dul > li.none { display:none !important; }

	#gnb_mask {display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:#000; opacity:.6; filter:alpha(opacity='60'); z-index:200}
	#btnNav {display:block; }
	#btnUser {display:block; }

	#gnb .gnb_1dli:hover .gnb_1dli_line { display:none; }

	#aside { margin-top:0px; padding:0px 0; }
	.lnb {height:50px; }
	.lnb > ul > li > a { height:50px; font-size:17px; line-height:50px;}

	.lnb > ul > li.home { width:45px; }
	.lnb > ul > li.home > a > img { height:25px; }

	.lnb > ul > li#menuList1 { width:300px; padding-left:10px; }
	.lnb > ul > li#menuList2 { width:300px; padding-left:10px; }
	.lnb > ul > li#menuList3 { width:auto; min-width:200px; padding:0 30px 0 20px; }
	.lnb > ul > li#menuList3 > a { padding-right:30px }

	.lnb > ul > li > ul {top:51px; padding:10px 0; }
	.lnb > ul > li > ul > li { padding:3px 0; }
	.lnb > ul > li > ul a {font-size:15px; padding:5px 10px; }


}

@media ( max-width: 767px ) {
	#gnb {height:0px !important}

	#btnNav { right:10px}
	#btnUser {right:60px}

	/*#aside {display:none;}*/
	.lnb {height:30px; }
	.lnb > ul > li > a { height:30px; font-size:15px; line-height:30px; background-size:auto 10px;}
	.lnb > ul > li.on > a,
	.lnb > ul > li.on > a.current { background-size:auto 10px;}

	.lnb > ul > li.home { width:40px; }
	.lnb > ul > li.home > a > img { height:20px; vertical-align:bottom; margin-bottom:5px; }

	.lnb > ul > li#menuList1 { width:calc(40% - 40px); padding-left:10px; }
	.lnb > ul > li#menuList2 { width:50%; padding-left:10px; }
	.lnb > ul > li#menuList3 { width:44%; min-width:0; padding:0 30px 0 20px; background-color:#f7f7f7; border-bottom:1px solid #cccccc; }
	.lnb > ul > li#menuList3 > a { padding-right:30px }

	.lnb > ul > li > ul {top:31px; padding:0px 0;z-index:5; }
	.lnb > ul > li > ul > li { padding:5px 0; background-size:10px auto; }
	.lnb > ul > li > ul a {font-size:15px; padding:5px 10px; }
	.lnb > ul > li > ul > li.active,
	.lnb > ul > li > ul > li:hover { background-size:10px auto; }

}

@media ( max-width: 479px ) {
	#aside { margin-top:0px; padding:0; }
	.lnb > ul > li#menuList1 { width:calc(40% - 40px); }
	.lnb > ul > li#menuList2 { width:60%; }
	.lnb > ul > li#menuList3 { width:100%; }
	.lnb > ul > li#menuList3 > a { width:auto; min-width:0; }

}